Photo album access management method and device, wearable equipment and storage medium

By introducing the second system cached album data into the smart wearable device, the problem of the device frequently waking up the main operating system when accessing the album is solved, achieving more efficient image display and lower power consumption, and improving user experience.

CN119127811APending Publication Date: 2024-12-13GEER TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310695881.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-12
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

When accessing albums, smart wearable devices need to frequently wake up the main operating system with the albums stored, resulting in large power consumption and latency in image display, and poor user experience.

Method used

By introducing a second system into the wearable device to cache the data generated by album access, when receiving the album access request, the cached data of the target image is first found in the second system, and if there is, it will be displayed directly, otherwise the first system will be accessed and The cached data is stored in the second system to reduce system switching frequency and power consumption.

Benefits of technology

It effectively avoids image display delay, improves image display speed, reduces device power consumption, and improves album access efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119127811A_ABST
    Figure CN119127811A_ABST
Patent Text Reader

Abstract

The invention discloses a photo album access management method and device, wearable equipment and a storage medium, the method is applied to the wearable equipment, and the wearable equipment comprises a first system storing a photo album and a second system storing cache data generated by photo album access; the method comprises the steps that when a photo album access request is received, a target image is determined based on the photo album access request, and when cache data corresponding to the target image is found in a second system, the target image is visually displayed based on the cache data; when the cache data is not found in the second system, the photo album in the first system is accessed based on the photo album access request, the target image is visually displayed according to the access result, and the cache data generated when the photo album in the first system is currently accessed is stored in the second system, so that the system switching frequency is effectively reduced, and the system switching efficiency is improved. The equipment power consumption is greatly reduced, the photo album access efficiency is improved, and the browsing experience of the user for browsing the image is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart devices, and in particular to a photo album access management method, device, wearable device and storage medium. Background Art

[0002] In recent years, with the rapid development and popularization of science and technology, smart wearable devices have been slowly entering people's lives. Therefore, people have higher and higher requirements for smart wearable devices. In order to better improve performance, reduce power consumption, reduce weight, etc., the structure of smart wearable devices is becoming more and more sophisticated and more suitable for people to wear. In order to be able to be applied in AR / VR products and to achieve more favorable endurance performance, there are more and more developments based on dual operating systems. However, when users currently access photo albums through smart wearable devices, smart wearable devices need to switch between dual systems to access photo albums, and frequently wake up the main operating system where photo albums are stored, resulting in high power consumption of smart wearable devices and image display delays, resulting in poor user experience.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of the present invention is to provide a photo album access management method, apparatus, wearable device and storage medium, aiming to solve the technical problem that the prior art needs to frequently wake up the main operating system storing the photo album when accessing the photo album, resulting in high power consumption of the smart wearable device and image display delay, resulting in a poor user experience.

[0005] To achieve the above object, the present invention provides a photo album access management method, which is applied to a wearable device, wherein the wearable device includes a first system and a second system, wherein the first system stores a photo album, and the second system stores cache data generated by photo album access;

[0006] The method comprises the following steps:

[0007] Upon receiving the album access request, determining a target image based on the album access request;

[0008] Searching whether there is cache data corresponding to the target image in the second system;

[0009] If yes, visually displaying the target image based on the cached data;

[0010] If not, the photo album in the first system is accessed based on the photo album access request, the target image is visualized according to the access result, and the cache data generated by the current access to the photo album in the first system is stored in the second system.

[0011] Optionally, storing the cache data generated by the current access to the photo album in the first system into the second system includes:

[0012] Acquiring image information of the target image;

[0013] Based on the image information, cache data generated by currently accessing the photo album in the first system is stored in a cache area in the second system, where the cache area is an area in the second system that stores cache data generated by accessing the photo album.

[0014] Optionally, the photo album includes at least one sub-album; and storing the cache data generated by currently accessing the photo album in the first system into a cache area in the second system based on the image information includes:

[0015] Determine the sub-album where the target image is located according to the image information;

[0016] Determining the degree of arrangement association between each image in the sub-album and the target image based on the image information;

[0017] Determining, according to the arrangement association degree, an associated image among the images that meets a preset arrangement association condition;

[0018] The cache data of the associated image and the cache data generated by currently accessing the photo album in the first system are stored in a cache area in the second system.

[0019] Optionally, determining the arrangement correlation degree between each image in the sub-album and the target image based on the image information includes:

[0020] Traversing each image contained in the sub-album, and determining the arrangement order of each image based on the traversal result;

[0021] Determine the arrangement distance between each image and the target image according to the image arrangement order and the image information;

[0022] The degree of arrangement association between each image in the sub-album and the target image is determined based on the arrangement distance.

[0023] Optionally, storing cache data generated by currently accessing the photo album in the first system into a cache area in the second system based on the image information includes:

[0024] determining a first editing time of the target image according to the image information;

[0025] Traversing each image in the album, and determining a second editing time of each image based on the traversal result;

[0026] determining a date association degree between each image and the target image according to the first editing time and the second editing time;

[0027] Determining, according to the date association degree, an associated image among the images that meets a preset date association condition;

[0028] The cache data of the associated image and the cache data generated by currently accessing the photo album in the first system are stored in a cache area in the second system.

[0029] Optionally, determining, according to the date association degree, an associated image among the images that meets a preset date association condition includes:

[0030] Determining, according to the date association degree, a candidate image among the images that meets a preset date association condition;

[0031] Performing feature extraction on the target image and the candidate images to obtain a first feature vector of the target image and a second feature vector of each candidate image;

[0032] Determine a feature correlation degree between each candidate image and the target image based on the first feature vector and the second feature vector;

[0033] According to the feature association degree, an associated image that meets a preset feature association condition is determined among the candidate images.

[0034] Optionally, storing cache data generated by currently accessing the photo album in the first system into a cache area in the second system based on the image information includes:

[0035] Obtaining the access log of the album;

[0036] Determine, based on the image information, the album access behavior in the access log that contains the access record of the target image;

[0037] Determine, based on each access record included in the album access behavior, an associated image accessed in association with the target image;

[0038] The cache data of the associated image and the cache data generated by currently accessing the photo album in the first system are stored in a cache area in the second system.

[0039] In addition, to achieve the above-mentioned purpose, the present invention also proposes a photo album access management device, the photo album access management device comprising:

[0040] A request receiving module, configured to determine a target image based on the album access request when receiving the album access request;

[0041] A cache search module, used to search whether there is cache data corresponding to the target image in the second system;

[0042] a cache display module, configured to, when cache data corresponding to the target image exists in the second system, visually display the target image based on the cache data;

[0043] A cache update module is used to access the album in the first system based on the album access request when the cache data corresponding to the target image does not exist in the second system, visualize the target image according to the access result, and store the cache data generated by the current access to the album in the first system into the second system.

[0044] In addition, to achieve the above-mentioned purpose, the present invention also proposes a wearable device, which includes: a memory, at least one processor, and an album access management program stored in the memory and executable on the processor, wherein the album access management program is configured to implement the steps of the album access management method described above.

[0045] In addition, to achieve the above-mentioned purpose, the present invention further proposes a storage medium, on which a photo album access management program is stored, and when the photo album access management program is executed by a processor, the steps of the photo album access management method described above are implemented.

[0046] The present invention determines the target image based on the album access request when receiving the album access request, searches whether there is cache data corresponding to the target image in the second system, and if so, visualizes the target image based on the cache data; if not, accesses the album in the first system based on the album access request, visualizes the target image according to the access result, and stores the cache data generated by the current access to the album in the first system in the second system; because the present invention determines the target image based on the album access request when receiving the album access request, and visualizes the target image based on the cache data when the cache data corresponding to the target image is found in the second system, there is no need to access the album of the first system again, effectively avoiding image display delay and improving image display speed; if the cache data is not found in the second system, accesses the album in the first system based on the album access request, visualizes the target image according to the access result, and stores the cache data generated by the current access to the album in the first system in the second system, thereby effectively reducing the frequency of switching systems, greatly reducing device power consumption, improving album access efficiency, and improving the user's browsing experience of browsing images. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 is a schematic diagram of the structure of a wearable device in a hardware operating environment involved in an embodiment of the present invention;

[0048] Figure 2 It is a flowchart of the first embodiment of the photo album access management method of the present invention;

[0049] Figure 3 It is a flowchart of the second embodiment of the photo album access management method of the present invention;

[0050] Figure 4 It is a flowchart of a third embodiment of the photo album access management method of the present invention;

[0051] Figure 5 It is a structural block diagram of the first embodiment of the photo album access management device of the present invention.

[0052] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0053] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0054] Reference Figure 1 , Figure 1 The figure is a schematic diagram of the structure of a wearable device in the hardware operating environment involved in the embodiment of the present invention.

[0055] like Figure 1 As shown, the wearable device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0056] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the wearable device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0057] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and an album access management program.

[0058] exist Figure 1 In the wearable device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the wearable device of the present invention can be set in the wearable device, and the wearable device calls the album access management program stored in the memory 1005 through the processor 1001, and executes the album access management method provided in the embodiment of the present invention.

[0059] The embodiment of the present invention provides a method for managing photo album access. Figure 2 , Figure 2 It is a flowchart of a first embodiment of a method for managing photo album access according to the present invention.

[0060] In this embodiment, the album access management method is applied to a wearable device, the wearable device includes a first system and a second system, the first system stores the album, and the second system stores cache data generated by album access;

[0061] The album access management method comprises the following steps:

[0062] Step S10: upon receiving an album access request, determining a target image based on the album access request.

[0063] It should be noted that this embodiment is applied when a user accesses an album through a wearable device. When this embodiment receives an album access request, it determines the target image based on the album access request, and when the cache data corresponding to the target image is found in the second system, the target image is visually displayed based on the cache data, thereby eliminating the need to access the album of the first system again, effectively avoiding image display delays and improving the speed of image display; if the cache data is not found in the second system, the album in the first system is accessed based on the album access request, the target image is visually displayed according to the access result, and the cache data generated by the current access to the album in the first system is stored in the second system, thereby effectively reducing the frequency of switching systems, greatly reducing device power consumption, improving album access efficiency, and improving the user's browsing experience of browsing images.

[0064] It should be understood that the executor of the method of this embodiment can be a wearable device with data processing, network communication and program running functions, such as a smart head-mounted device (such as a VR helmet, an AR helmet), smart glasses (such as VR glasses, AR glasses), etc., or other devices or equipment that can achieve the same or similar functions. The above-mentioned wearable devices are used as an example for illustration.

[0065] It should be noted that the first system may be a main operating system (for example, the first system may be an Android system), the second system may be a secondary operating system (for example, the second system may be an RTOS (Real-time operating system)), and the wearable device may include a first processor and a second processor, the first processor runs the first system, and the second processor runs the second system. The first system stores a photo album, which may be an application for storing images. The second system stores cache data generated by album access, and the wearable device may pre-set a cache area in the second system to store cache data generated by album access through the cache area. The cache data may be cache data corresponding to the accessed image when the user accesses the image in the album.

[0066] The album access request may be an album access instruction issued by a user, and the album access request includes data such as a target image that the user needs to access and image information of the target image. The target image may be an image contained in an album that the user wants to access. The album may be an application that stores images of a wearable device.

[0067] Step S20: Find whether there is cache data corresponding to the target image in the second system.

[0068] It should be noted that the cache data may be image cache data pre-stored in the second system. When the wearable device accesses the photo album, the cache data generated by accessing the photo album in the first system is stored in the second system.

[0069] Step S30: If yes, then visually display the target image based on the cached data.

[0070] It should be understood that the wearable device has pre-established a cache area in the second system, and the cache data generated when accessing the photo album in the first system is stored in the cache area, so that when accessing the image next time, it is directly checked whether there is cache data corresponding to the target image in the cache area. If so, the cache data is directly called to visualize the target image, thereby reducing the wake-up frequency of the first system, reducing device power consumption, and improving image browsing efficiency.

[0071] For example, the wearable device determines that the target image is image A based on the album access request, searches the cache area of ​​the second system, and determines whether cache data corresponding to image A is stored in the cache area. If so, the cache data is directly called to visualize image A.

[0072] Step S40: If not, access the album in the first system based on the album access request, visualize the target image according to the access result, and store the cache data generated by the current access to the album in the first system into the second system.

[0073] It should be noted that if the wearable device fails to find the cache data corresponding to the target image in the cache area of ​​the second system, it means that the target image has not been accessed recently. At this time, the file system of the first system is directly accessed, and the target image is searched from the photo album of the file system. The target image in the photo album is directly displayed visually, and the cache data generated by the current access to the photo album in the first system is stored in the second system, thereby updating the data in the cache area of ​​the second system, so that when the same image is accessed subsequently, the cache area can be directly called to visualize the image, thereby improving the efficiency of album access and image display.

[0074] It is understandable that the wearable device caches part of the image data on the second system, thereby occupying only a small part of the memory to improve the image display efficiency and user experience, thereby greatly saving the access process, reducing power consumption while operating it in real time to avoid problems such as inverted operations not being implemented or delayed due to transmission problems.

[0075] In a specific implementation, when the wearable device receives an operation request such as copying, modifying or deleting, it directly wakes up the first system and performs corresponding operations on the photo album in the file system of the first system.

[0076] In this embodiment, when an album access request is received, the target image is determined based on the album access request, and whether there is cache data corresponding to the target image in the second system is searched. If yes, the target image is visually displayed based on the cache data; if not, the album in the first system is accessed based on the album access request, the target image is visually displayed according to the access result, and the cache data generated by the current access to the album in the first system is stored in the second system; because in this embodiment, when an album access request is received, the target image is determined based on the album access request, and when the cache data corresponding to the target image is found in the second system, the target image is visually displayed based on the cache data, there is no need to access the album of the first system again, which effectively avoids image display delay and improves image display speed; if the cache data is not found in the second system, the album in the first system is accessed based on the album access request, the target image is visually displayed according to the access result, and the cache data generated by the current access to the album in the first system is stored in the second system, thereby effectively reducing the frequency of switching systems, greatly reducing device power consumption, improving album access efficiency, and improving the user's browsing experience of browsing images.

[0077] refer to Figure 3 , Figure 3 This is a flow chart of a second embodiment of a method for managing photo album access according to the present invention.

[0078] Based on the above first embodiment, in this embodiment, step S40 includes:

[0079] Step S41: Acquire image information of the target image.

[0080] It should be noted that the image information may be relevant data and information of the target image. For example, the image information may include album location information, name information, capacity information, pixel information, grayscale information, etc. of the target image.

[0081] Step S42: Based on the image information, the cache data generated by the current access to the photo album in the first system is stored in the cache area in the second system, and the cache area is an area in the second system that stores the cache data generated by the photo album access.

[0082] It should be noted that the cache area can be an area pre-set by the wearable device in the second system for caching image data and cache data generated by accessing the album in the first system, and the cache area can be a cache area of ​​ring-chain storage.

[0083] It should be understood that in order to reduce repeated accesses, when the wearable device needs to access the photo album, it will first search the cache area in the second processor to see whether the cache data required to access the photo album already exists. If it already exists, the photo album of the first processor will no longer be accessed, thereby reducing the wake-up frequency of the first processor and reducing device power consumption.

[0084] Furthermore, in order to improve the efficiency of album access, the above step S42 may include:

[0085] determining a first editing time of the target image according to the image information;

[0086] Traversing each image in the album, and determining a second editing time of each image based on the traversal result;

[0087] determining a date association degree between each image and the target image according to the first editing time and the second editing time;

[0088] Determining, according to the date association degree, an associated image among the images that meets a preset date association condition;

[0089] The cache data of the associated image and the cache data generated by currently accessing the photo album in the first system are stored in a cache area in the second system.

[0090] It should be noted that the first editing time may be the most recent editing time of the target image; the second editing time may be the most recent editing time of each image in the album. The date association degree may be the degree of proximity of the editing time between each image and the target image. For example, the date association degree of images with a similar editing time to the target image is higher, and the date association degree of images with a different editing time from the target image is lower. The associated image may be an image with a similar editing time to the target image. For example, the editing dates of image A and the target image are both the 23rd, then it is determined that the date association degree between image A and the target image is higher. The preset date association condition may be a time interval threshold preset by the wearable device. For example, if the editing time difference between image B and the target image is 3 hours, and the time interval threshold of the preset date association condition is 2 hours, then it is determined that image B meets the preset date association condition, and image B is used as the associated image.

[0091] It can be understood that the degree of date correlation between each image in the album and the target image reflects the time interval between the editing time of each image and the target image. Images that are edited closer to the target image are considered to have a higher degree of correlation, and images that are edited farther from the target image are considered to have a lower degree of correlation.

[0092] It should be understood that this embodiment determines the second editing time of each image by traversing each image in the album, determines the editing time interval between each image and the target image based on the second editing time and the first editing time of the target image, compares the editing time interval of each image with the time interval threshold in the preset date association condition, determines the associated image whose editing time interval does not exceed the time interval threshold in each image (the image whose editing time interval does not exceed the time interval threshold is determined to be close to the editing time of the target image), and stores the cache data of the associated image and the cache data generated by the current access to the album in the first system into the cache area in the second system, thereby improving the efficiency of subsequent album access and improving the efficiency of user browsing of images.

[0093] Furthermore, in order to accurately obtain images associated with the date of the target image, the above-mentioned determining, according to the date association degree, the associated images satisfying the preset date association condition among the images may include:

[0094] Determining, according to the date association degree, a candidate image among the images that meets a preset date association condition;

[0095] Performing feature extraction on the target image and the candidate images to obtain a first feature vector of the target image and a second feature vector of each candidate image;

[0096] Determine a feature correlation degree between each candidate image and the target image based on the first feature vector and the second feature vector;

[0097] According to the feature association degree, an associated image that meets a preset feature association condition is determined among the candidate images.

[0098] It should be noted that the candidate image may be an image edited at a similar time to the target image. The first feature vector may be an image feature vector of the target image, and the second feature vector may be an image feature vector of each candidate image. The preset feature association condition may be a judgment condition for judging whether the image and the target image have similar features.

[0099] It is understandable that images in the candidate images that are similar to the target image in features may be repeated or similar images. Therefore, in order to avoid caching unnecessary repeated or similar images, this embodiment performs feature extraction on the target image and the candidate images to obtain the first feature vector of the target image and the second feature vector of each candidate image, performs feature comparison on the second feature vector of each candidate image and the first feature vector of the target image, eliminates repeated images that are similar to the target image in features, and uses the remaining images as associated images.

[0100] For example, if the editing time intervals between image A, image B, image C and image D in the album and the target image do not exceed the time interval threshold in the preset date association condition, the above four images are taken as candidate images, feature extraction is performed on the target image and the candidate images, feature comparison is performed between each candidate image and the target image, and according to the comparison results, it is determined that the features of image B and image D are similar to the target image, and image B and image D are determined to be similar repeated images, and image A and image C are taken as associated images.

[0101] Furthermore, in order to improve the user experience and the efficiency of album browsing, the above step S42 may include:

[0102] Obtaining the access log of the album;

[0103] Determine, based on the image information, the album access behavior in the access log that contains the access record of the target image;

[0104] Determine, based on each access record included in the album access behavior, an associated image accessed in association with the target image;

[0105] The cache data of the associated image and the cache data generated by currently accessing the photo album in the first system are stored in a cache area in the second system.

[0106] It should be noted that the access log may be a log recording access behaviors of accessing the photo album of the first system. The photo album access behaviors may be operation behaviors of accessing images in the photo album.

[0107] It should be understood that the wearable device obtains the access log of the album, determines the album access behavior that contains the access record of the target image in the access log based on the image information, thereby obtaining the user's album access habits, and pre-caches image data based on the user's access habits, thereby improving the user's usage experience and realizing the formulation of personalized data based on the user's access habits.

[0108] This embodiment obtains image information of the target image, and based on the image information, stores cache data generated by currently accessing the photo album in the first system into a cache area in the second system; since this embodiment accesses the photo album of the first system when relevant data of the target image cached in the second system is not found, and then stores cache data generated by accessing the photo album in the first system into the cache area in the second system, data update of the cache area is achieved, and the efficiency of subsequent photo album access and image display is improved, so there is no need to wake up the first system for album access when accessing the same image, thereby improving user experience and reducing device power consumption.

[0109] refer to Figure 4 , Figure 4 This is a flow chart of a third embodiment of a method for managing photo album access according to the present invention.

[0110] Based on the above second embodiment, in this embodiment, the step S42 may include:

[0111] Step S421: Determine the sub-album where the target image is located according to the image information.

[0112] It should be noted that the sub-album can be a sub-directory album in the album of the first system, and the album can contain at least one sub-album. The wearable device can classify the images in the album to construct multiple sub-albums.

[0113] In a specific implementation, the wearable device may classify images based on the editing date of each image, or based on the creation path of the image, or based on the type of image, etc.

[0114] For example, the wearable device stores images created / edited by application A in sub-album A, and images created / edited by application B in sub-album B; it can also store images taken by the device in sub-album C, and images created by the application in sub-album D.

[0115] Step S422: Determine the degree of arrangement association between each image in the sub-album and the target image based on the image information.

[0116] It should be noted that the arrangement correlation degree can be the correlation degree between the arrangement order of each image in the sub-album and the target image. For example, the arrangement correlation degree of images adjacent to the target image is higher, and the arrangement correlation degree of images farther away from the target image is lower.

[0117] Furthermore, in order to accurately obtain the degree of association between each image and the target image, the above step S422 further includes:

[0118] Step S4221: traversing each image contained in the sub-album, and determining the arrangement order of each image based on the traversal result;

[0119] Step S4222: determining the arrangement distance between each image and the target image according to the image arrangement order and the image information;

[0120] Step S4223: Determine the degree of arrangement correlation between each image in the sub-album and the target image based on the arrangement distance.

[0121] It should be noted that the arrangement order may be the image position order of each image in the sub-album. The arrangement distance may be the position distance between the arrangement order of each image and the arrangement order of the target image. For example, the arrangement order of image A is 23, the arrangement order of the target image is 26, and the arrangement distance between image A and the target image is 2.

[0122] It should be understood that this embodiment determines the distance between each image and the target image by determining the arrangement distance between each image in the sub-album and the target image support. The arrangement correlation degree of images that are closer to the target image is higher, and the arrangement correlation degree of images that are farther from the target image is lower.

[0123] Step S423: determining, according to the arrangement association degree, associated images among the images that meet a preset arrangement association condition.

[0124] It should be noted that the associated image may be an image that is highly associated with the target image, for example, the associated image may be an image that is adjacent to or arranged closely to the target image. The above-mentioned preset arrangement association condition may be a pre-set condition for determining whether an image is arranged closely to the target image.

[0125] It should be understood that this embodiment determines whether the arrangement association degree of each image meets the preset arrangement association condition, and uses the images that meet the condition as associated images, thereby filtering out associated images whose arrangement order is closer to the target image from the images in the sub-album.

[0126] Step S424: storing the cache data of the associated image and the cache data generated by currently accessing the photo album in the first system into the cache area in the second system.

[0127] It should be understood that in order to facilitate users to browse images, this embodiment also stores the cache data of associated images that are arranged in a closer order to the target image in the cache area of ​​the second system, thereby improving the image display efficiency and avoiding delays in image display when the user browses the target image and images adjacent to the target image.

[0128] For example, photo A, photo B, and photo C are stored in the same sub-album, and the three are arranged in adjacent order. Here, assuming that the target image to be read is photo B, the cache data of the two photos A and C before and after photo B will be stored together in the cache area so that the user can perform smooth sliding operations. After the operation is completed, the operation will update the data in the cache area.

[0129] This embodiment determines the sub-album where the target image is located according to the image information, determines the degree of arrangement association between each image in the sub-album and the target image based on the image information, determines the associated images in each image that meet the preset arrangement association conditions according to the arrangement association degree, and stores the cache data of the associated images and the cache data generated by the current access to the album in the first system into the cache area in the second system; because this embodiment determines the degree of arrangement association between each image in the sub-album and the target image, determines the associated graphics in each image that are closer to the target image in arrangement order according to the arrangement association degree, and stores the cache data of the associated images and the cache data generated by the current access to the album in the first system into the cache area in the second system, it is convenient for users to browse to the associated images that are closer to the target image when browsing the target image, thereby improving the efficiency of users browsing images and the speed of loading images.

[0130] In addition, an embodiment of the present invention further provides a storage medium, on which a photo album access management program is stored. When the photo album access management program is executed by a processor, the steps of the photo album access management method described above are implemented.

[0131] Since the storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described one by one here.

[0132] Reference Figure 5 , Figure 5 It is a structural block diagram of the first embodiment of the photo album access management device of the present invention.

[0133] like Figure 5 As shown, the album access management device proposed in the embodiment of the present invention includes:

[0134] A request receiving module 10, configured to determine a target image based on a photo album access request when receiving the photo album access request;

[0135] A cache search module 20, used to search whether there is cache data corresponding to the target image in the second system;

[0136] A cache display module 30, configured to visually display the target image based on the cache data when there is cache data corresponding to the target image in the second system;

[0137] The cache update module 40 is used to access the album in the first system based on the album access request when the cache data corresponding to the target image does not exist in the second system, visualize the target image according to the access result, and store the cache data generated by the current access to the album in the first system into the second system.

[0138] Furthermore, the cache update module 40 is also used to obtain image information of the target image; based on the image information, the cache data generated by the current access to the photo album in the first system is stored in the cache area in the second system, and the cache area is an area in the second system for storing cache data generated by the album access.

[0139] Furthermore, the album contains at least one sub-album; the cache update module 40 is also used to determine the sub-album where the target image is located based on the image information; determine the degree of arrangement association between each image in the sub-album and the target image based on the image information; determine the associated images that meet the preset arrangement association conditions among each image based on the arrangement association degree; and store the cache data of the associated images and the cache data generated by the current access to the album in the first system into the cache area in the second system.

[0140] Furthermore, the cache update module 40 is also used to traverse the images contained in the sub-album, determine the arrangement order of the images based on the traversal results; determine the arrangement distance between each image and the target image according to the image arrangement order and the image information; and determine the degree of arrangement correlation between each image in the sub-album and the target image based on the arrangement distance.

[0141] Furthermore, the cache update module 40 is also used to determine the first editing time of the target image based on the image information; traverse each image in the album, and determine the second editing time of each image based on the traversal result; determine the degree of date association between each image and the target image based on the first editing time and the second editing time; determine the associated images among the images that meet the preset date association conditions based on the date association degree; and store the cache data of the associated images and the cache data generated by the current access to the album in the first system into the cache area in the second system.

[0142] Furthermore, the cache update module 40 is also used to determine the candidate images that meet the preset date association conditions in each image according to the date association degree; perform feature extraction on the target image and the candidate images to obtain the first feature vector of the target image and the second feature vector of each candidate image; determine the feature association degree between each candidate image and the target image based on the first feature vector and the second feature vector; and determine the associated images that meet the preset feature association conditions in each candidate image according to the feature association degree.

[0143] Furthermore, the cache update module 40 is also used to obtain the access log of the album; determine the album access behavior containing the access record of the target image in the access log based on the image information; determine the associated image associated with the target image based on each access record contained in the album access behavior; and store the cache data of the associated image and the cache data generated by the current access to the album in the first system into the cache area in the second system.

[0144] In this embodiment, when an album access request is received, the target image is determined based on the album access request, and whether there is cache data corresponding to the target image in the second system is searched. If yes, the target image is visually displayed based on the cache data; if not, the album in the first system is accessed based on the album access request, the target image is visually displayed according to the access result, and the cache data generated by the current access to the album in the first system is stored in the second system; because in this embodiment, when an album access request is received, the target image is determined based on the album access request, and when the cache data corresponding to the target image is found in the second system, the target image is visually displayed based on the cache data, there is no need to access the album of the first system again, which effectively avoids image display delay and improves image display speed; if the cache data is not found in the second system, the album in the first system is accessed based on the album access request, the target image is visually displayed according to the access result, and the cache data generated by the current access to the album in the first system is stored in the second system, thereby effectively reducing the frequency of switching systems, greatly reducing device power consumption, improving album access efficiency, and improving the user's browsing experience of browsing images.

[0145] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present invention. In specific applications, technicians in this field can make settings as needed, and the present invention does not limit this.

[0146] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.

[0147] In addition, for technical details not fully described in this embodiment, reference can be made to the album access management method provided in any embodiment of the present invention, and will not be repeated here.

[0148] In addition, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0149] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0150] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0151] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A photo album access management method, characterized in that: The album access management method is applied to a wearable device, the wearable device includes a first system and a second system, the first system stores an album, and the second system stores cache data generated by album access; The album access management method comprises: Upon receiving the album access request, determining a target image based on the album access request; Searching whether there is cache data corresponding to the target image in the second system; If yes, visually displaying the target image based on the cached data; If not, the photo album in the first system is accessed based on the photo album access request, the target image is visualized according to the access result, and the cache data generated by the current access to the photo album in the first system is stored in the second system.

2. The album access management method according to claim 1, characterized in that: The step of storing the cache data generated by the current access to the photo album in the first system into the second system includes: Acquiring image information of the target image; Based on the image information, cache data generated by currently accessing the photo album in the first system is stored in a cache area in the second system, where the cache area is an area in the second system that stores cache data generated by accessing the photo album.

3. The album access management method according to claim 1, characterized in that: The photo album includes at least one sub-album; and storing the cache data generated by the current access to the photo album in the first system into the cache area in the second system based on the image information includes: Determine the sub-album where the target image is located according to the image information; Determining the degree of arrangement association between each image in the sub-album and the target image based on the image information; Determining, according to the arrangement association degree, an associated image among the images that meets a preset arrangement association condition; The cache data of the associated image and the cache data generated by currently accessing the photo album in the first system are stored in a cache area in the second system.

4. The album access management method according to claim 3, characterized in that: The determining, based on the image information, the degree of arrangement association between each image in the sub-album and the target image comprises: Traversing each image contained in the sub-album, and determining the arrangement order of each image based on the traversal result; Determine the arrangement distance between each image and the target image according to the image arrangement order and the image information; The degree of arrangement association between each image in the sub-album and the target image is determined based on the arrangement distance.

5. The album access management method according to claim 1, characterized in that: The step of storing the cache data generated by currently accessing the photo album in the first system into a cache area in the second system based on the image information includes: determining a first editing time of the target image according to the image information; Traversing each image in the album, and determining a second editing time of each image based on the traversal result; determining a date association degree between each image and the target image according to the first editing time and the second editing time; Determining, according to the date association degree, an associated image among the images that meets a preset date association condition; The cache data of the associated image and the cache data generated by currently accessing the photo album in the first system are stored in a cache area in the second system.

6. The album access management method according to claim 5, characterized in that: The determining, according to the date association degree, an associated image among the images that meets a preset date association condition comprises: Determining, according to the date association degree, a candidate image among the images that meets a preset date association condition; Performing feature extraction on the target image and the candidate images to obtain a first feature vector of the target image and a second feature vector of each candidate image; Determine a feature correlation degree between each candidate image and the target image based on the first feature vector and the second feature vector; According to the feature association degree, an associated image that meets a preset feature association condition is determined among the candidate images.

7. The album access management method according to claim 1, characterized in that: The step of storing the cache data generated by currently accessing the photo album in the first system into a cache area in the second system based on the image information includes: Obtaining the access log of the album; Determine, based on the image information, the album access behavior in the access log that contains the access record of the target image; Determine, based on each access record included in the album access behavior, an associated image accessed in association with the target image; The cache data of the associated image and the cache data generated by currently accessing the photo album in the first system are stored in a cache area in the second system.

8. A device for managing photo album access, characterized in that: The photo album access management device comprises: A request receiving module, configured to determine a target image based on the album access request when receiving the album access request; A cache search module, used to search whether there is cache data corresponding to the target image in the second system; a cache display module, configured to, if yes, visually display the target image based on the cache data; The cache update module is used to access the album in the first system based on the album access request, if not, visualize the target image according to the access result, and store the cache data generated by the current access to the album in the first system into the second system.

9. A wearable device, characterized in that: The wearable device includes: a memory, at least one processor, and an album access management program stored in the memory and executable on the processor, wherein the album access management program is configured to implement the album access management method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores an album access management program, and when the album access management program is executed by the processor, the album access management method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Image pre-loading and caching method of Android watch

    CN105487640A

  • Photo live broadcast system with face recognition and method thereof

    CN110191170A

  • Image display method for switching between systems, intelligent wearable device and storage medium

    CN115421681A

  • Wearable device display resource dynamic loading method and system and storage medium

    CN115617711A

  • Processing method and portable electronic device

    WO2017128288A1