WebDAV protocol-based mounted photo album management method, system and device, and medium

Through the mount album management method based on the WebDAV protocol, the target server is mounted to the target terminal, solving the problems of limited storage capacity and low cross-device access efficiency in traditional album management methods, and achieving efficient cross-device album access and management.

CN119420744APending Publication Date: 2025-02-11GUANGDONG ESHORE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411576517.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

Due to the limited local storage capacity of traditional album management, it is impossible to effectively manage and access a large number of photos, and the cross-device access efficiency is inefficient.

Method used

Through the mount album management method based on the WebDAV protocol, the target server is mounted to the target terminal, and the image album in the target server is accessed and managed by the WebDAV protocol, achieving efficient access and management across devices.

Benefits of technology

Access and manage album content without repeated downloads or synchronization, reducing local storage space usage, simplifying operational steps, and achieving efficient cross-device access requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119420744A_ABST
    Figure CN119420744A_ABST
Patent Text Reader

Abstract

The invention provides a WebDAV protocol-based mounted photo album management method, system and device and a medium, and the method comprises the steps: obtaining a mounting request initiated by a target terminal, connecting a target server through a network according to the mounting request, and mounting the target server to the target terminal; wherein an image album is pre-stored in the target server, and the target server is a server configured based on a WebDAV protocol in advance; and responding to a management request initiated by the target terminal, accessing the image album in the target server through the WebDAV protocol, and synchronously executing corresponding image management operation on the image album according to the management request to obtain an updated album and displaying the updated album by the target terminal. Through the mounting mode, the user can access and manage the photo album like accessing a local folder, so that the operation steps are greatly simplified, and the efficient cross-device access requirement is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer networks, and in particular to a mounted album management method, system, device and medium based on the WebDAV protocol. Background Art

[0002] With the advent of the digital age, the number of photos people take has increased dramatically, and the demand for photo management and access has become increasingly complex and diverse. The traditional way of managing photo albums is to store the albums locally on the user's terminal, but due to the limited storage capacity of the user's terminal, it is impossible to store a large number of photos; and the photos are only stored locally on the terminal, and users cannot view and manage photos from other terminal devices that do not store photos. They even need to copy them manually or synchronize them through specific applications to achieve cross-device access, which makes it impossible to improve the efficiency of photo album management. Summary of the invention

[0003] The embodiment of the present invention provides a mounted album management method, system, device and medium based on the WebDAV protocol to solve the problems existing in the related technologies. The technical solution is as follows:

[0004] In a first aspect, an embodiment of the present invention provides a method for managing a mounted album based on the WebDAV protocol, comprising:

[0005] Obtaining a mount request initiated by a target terminal, connecting to a target server through a network according to the mount request, and mounting the target server to the target terminal; wherein the target server has an image album pre-stored therein, and the target server is a server pre-configured based on the WebDAV protocol;

[0006] In response to a management request initiated by the target terminal, the image album in the target server is accessed through the WebDAV protocol, and corresponding image management operations are synchronously performed on the image album according to the management request to obtain an updated album stored in the target server, which is displayed by the target terminal.

[0007] In one embodiment, it further includes:

[0008] Pre-configure a server that supports the WebDAV protocol, create multiple image albums and establish album directories in the server, the image albums are used to store image data, the album directories are divided according to image types, and each image album is marked with label information related to the image type;

[0009] Obtain permission configuration information, configure corresponding access permissions for each image album according to the permission configuration information, and obtain the target server.

[0010] In one embodiment, it further includes:

[0011] Acquire image data, classify each image data based on a pre-built learning model, and obtain an image type of each image data;

[0012] The image data are stored in the corresponding image album in the target server according to the image type.

[0013] In one implementation, synchronously performing corresponding image management operations on the image album according to the management request includes:

[0014] Encrypt and transmit management requests to the target server via HTTPS;

[0015] After the target server completes the decryption, the specified image album and / or the specified image data are adjusted accordingly according to the management request.

[0016] In one implementation, the management operation includes a creation operation, a modification operation, and a deletion operation.

[0017] In one embodiment, it further includes:

[0018] The tag definition information uploaded by the target terminal is obtained, and the tag information of the image album specified in the target server is adjusted according to the tag definition information, or the tag information of the specified image data is adjusted.

[0019] In one embodiment, it further includes:

[0020] When a search request is received, a target tag is determined according to the search request, and an image album or image data corresponding to the target tag is searched in the target server for display.

[0021] In a second aspect, an embodiment of the present invention provides a mounted album management system based on the WebDAV protocol, which executes the mounted album management method based on the WebDAV protocol as described above.

[0022] In a third aspect, an embodiment of the present invention provides an electronic device, the device comprising: a memory and a processor. The memory and the processor communicate with each other through an internal connection path, the memory is used to store instructions, the processor is used to execute the instructions stored in the memory, and when the processor executes the instructions stored in the memory, the processor executes the method in any one of the above-mentioned embodiments.

[0023] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, the method in any one of the above-mentioned embodiments is executed.

[0024] The advantages or beneficial effects of the above technical solution include at least:

[0025] The present invention mounts the target server directly on the target terminal. No matter which device the user uses, the user can directly access the image album in the target server by mounting, without repeated downloading or synchronization, and reduces the occupation of local storage space. It is particularly suitable for devices with limited storage capacity. Through WebDAV mounting, the user can access and manage the album like accessing a local folder, which greatly simplifies the operation steps, thereby realizing efficient cross-device access requirements.

[0026] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present invention will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present invention and should not be regarded as limiting the scope of the present invention.

[0028] Figure 1 It is a flowchart of the mounted album management method based on the WebDAV protocol of the present invention;

[0029] Figure 2 A schematic diagram of a framework for mounting an image album of the present invention to a target terminal;

[0030] Figure 3 The structure block diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0031] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present invention. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.

[0032] With the advent of the digital age, the number of photos people take has increased dramatically, and the demand for photo management and access has become increasingly complex and diverse. The traditional way of managing photo albums is to store the albums locally on the user's terminal, but due to the limited storage capacity of the user's terminal, it is impossible to store a large number of photos; and the photos are only stored locally on the terminal, and users cannot view and manage photos from other terminal devices that do not store photos. They even need to copy them manually or synchronize them through specific applications to achieve cross-device access, which makes it impossible to improve the efficiency of photo album management.

[0033] In order to solve the above problems, the embodiment of the present invention provides a mounted album management method based on the WebDAV protocol, such as Figure 1 , Figure 2 As shown, the method specifically comprises the following steps:

[0034] Step S1: obtaining a mount request initiated by a target terminal, connecting to a target server through a network according to the mount request, and mounting the target server to the target terminal; wherein the target server pre-stores an image album, and the target server is a server pre-configured based on the WebDAV protocol.

[0035] It should be noted that before mounting the album, the WebDAV server needs to be configured to store image data. Specifically, a server that supports the WebDAV protocol is pre-configured on the server side, and safe and stable WebDAV server software is selected. Multiple image albums are created on the server through the software, and corresponding album directories are established according to each image album. The album directories are divided according to the image type. Different types of image data are stored in different types of image albums, and each image album is marked with label information related to the image type to facilitate subsequent photo searches.

[0036] By creating an album directory, the image albums stored on the target server can be organized and classified, making the management of the image albums more orderly. For the image albums of this embodiment, the album directory can help users to classify and store image data according to different themes, dates or events, where the image data refers to photos and / or videos.

[0037] At the same time, by setting the access rights of the image album, including read and write permissions, execute permissions, delete permissions, modify permissions, control permissions, etc., you can control the access rights of different users to the album files. For example, you can set certain directories to read-only to prevent users from accidentally modifying or deleting files. Combined with HTTP authentication, the server is allowed to verify the identity of the user through the username and password prompt, ensuring that only authenticated users can access specific image albums, enhancing data security. After completing the above configuration, restart the server to apply the configuration and obtain the target server.

[0038] Furthermore, the photos and / or videos to be stored are obtained to obtain image data, and the image data are classified based on the pre-built learning model to obtain the image type of each image data; and then the image data is stored in the image album of the same image type in the target server according to the image type. This is equivalent to storing multiple image albums in the target server, each image album storing a certain amount of image data, and realizing orderly storage of images.

[0039] It should be noted that the learning model can use a deep learning model such as tensorflow, and the image data can be classified by the deep learning model. The rules involved in the classification process of the image data are determined by the architecture of the model and the training data. The training method of the deep learning model can be based on a large amount of sample data, and will not be repeated here.

[0040] Furthermore, in addition to configuring the WebDAV protocol on the target server, it is also necessary to configure services that support the WebDAV protocol on the PC and mobile terminals to ensure that the image album can be accessed through the WebDAV protocol and that the album content can be accessed consistently on different terminal devices.

[0041] After completing the above WebDAV server configuration and album image storage, perform the mounting operation according to user needs, specifically:

[0042] The terminal device that needs to access the target server is called the target terminal, which can be a computer, smart phone, tablet and other devices.

[0043] The target server that supports the WebDAV protocol is mounted as a local disk or folder of the target terminal through a network connection. At this time, users can browse and operate the mounted album content through the network just like accessing local files. The mounting process needs to ensure the stability of the network connection, and wired network can be used to browse the album content online. Among them, different terminals use webdav configuration to solve the compatibility issues between different operating systems and devices.

[0044] It should be noted that mounting the target server on the user's target terminal usually means mapping the file system of the remote target server to a local directory of the target terminal in the user's operating system so that the remote files can be accessed like local files.

[0045] Furthermore, after the mounting is completed, a user interface is displayed on the target terminal, and the user can initiate a corresponding request through the user interface to perform operations such as photo browsing, management and search according to the request.

[0046] Step S2: In response to the management request initiated by the target terminal, the image album in the target server is accessed through the WebDAV protocol, and corresponding image management operations are synchronously performed on the image album according to the management request to obtain an updated album stored in the target server, and the updated album is displayed by the target terminal.

[0047] Users can initiate management requests, search requests, or browse requests through the user interface.

[0048] When a user initiates a browsing request, the browsing request is synchronized to the target server, and the target terminal browses all image data or specified local image data online from the mounted target server.

[0049] Among them, management requests include creation requests, modification requests and deletion requests. When a user initiates a creation request, the creation request will be encrypted and transmitted to the target server via HTTPS. The target server will decrypt the creation request and create a new image album based on the creation request. At the same time, the corresponding image data can be transferred to the newly created image album for storage according to the user's operation.

[0050] Similarly, when the user initiates a modification request, the target server makes corresponding modifications to the existing image album according to the modification request, such as tag modification, name modification, album content modification, etc. The modification request includes the tag definition information uploaded by the target terminal, and the target server adjusts the tag information of the image album specified in the target server or adjusts the tag information of the specified image album according to the tag definition information, providing users with a custom tag function to achieve personalized album tags and improve the user experience.

[0051] When a user initiates a deletion request, the deletion request is synchronized to the target server to delete the existing image album, or to delete the local image data in the existing image album.

[0052] When a user initiates a search request, the search request is synchronized to the target server, and the target server can search for the image data or image album required by the user in each image album according to the search request, and display the image data or image album through the user's target terminal. In the search process, the image data or image album with the tag can be searched according to the tag information entered by the user, that is, the target tag is determined according to the search request, and the image album or album directory corresponding to the target tag is searched in the target server for display; in addition, the user can also enter an image keyword, and search for image data with the same image features through the image keyword for display.

[0053] In this embodiment, the data transmission between the WebDAV server and the target terminal is encrypted by HTTPS, which can ensure the security of user data. In addition, the album management has a powerful synchronization mechanism, creation, modification and deletion operations: when the user creates, modifies or deletes files in the album on a terminal device, these operations will be transmitted to the target server, and the target server will immediately process these requests and update its file system, thereby ensuring that the data and operations on the server are consistent, and ensuring that the user's modifications to the album content on different terminal devices (such as uploading and deleting photos) can be updated in real time to all mounted devices.

[0054] Another embodiment of the present invention provides a mounted album management system based on the WebDAV protocol, which executes the mounted album management method based on the WebDAV protocol as described above.

[0055] This embodiment provides a mounted album management system based on the WebDAV protocol. This system solves the user's large storage needs, classification needs, and the limitations of expansion and maintenance of traditional storage devices. And through cross-terminal, remote access and management capabilities are provided. Through the WebDAV protocol, this embodiment allows users to mount the image album in the target server to various terminal devices (such as computers, mobile phones, tablets, etc.), thereby realizing unified management and access to the album content. No matter which device the user uses, the pictures and videos in the album can be directly accessed by mounting without repeated downloading or synchronization. Traditional album management may require users to manually back up, synchronize and manage files. In this embodiment, through WebDAV mounting, users can access smart albums like accessing local folders, greatly simplifying the operation steps. The WebDAV protocol has good cross-platform compatibility and supports multiple operating systems. Through this protocol, smart albums can be easily mounted on different terminal devices, making it convenient for users to access and manage album content anytime, anywhere. Through the WebDAV protocol, users can synchronize the changes to the album content (such as uploading and deleting photos) on one device in real time to all terminal devices where the album is mounted, thereby ensuring the consistency of the album content. Data transmitted via the WebDAV protocol can be encrypted via HTTPS, which enhances the security of data transmission and protects user privacy. Using the mounting method, the terminal device can dynamically load the album content when needed, instead of downloading all the content locally, thus reducing the local storage space occupied, which is particularly suitable for devices with limited storage capacity.

[0056] The functions of each module in the system of the embodiment of the present invention can be found in the corresponding description of the above method, which will not be repeated here.

[0057] Another embodiment of the present invention provides an electronic device, Figure 3 FIG. 2 shows a structural block diagram of an electronic device according to an embodiment of the present invention. Figure 3 As shown, the electronic device includes: a memory 100 and a processor 200, wherein the memory 100 stores a computer program that can be run on the processor 200. When the processor 200 executes the computer program, the mounted album management method based on the WebDAV protocol in the above embodiment is implemented. The number of the memory 100 and the processor 200 can be one or more.

[0058] The electronic device also includes:

[0059] The communication interface 300 is used to communicate with external devices and perform data exchange transmission.

[0060] If the memory 100, the processor 200 and the communication interface 300 are implemented independently, the memory 100, the processor 200 and the communication interface 300 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc.

[0061] Optionally, in a specific implementation, if the memory 100, the processor 200 and the communication interface 300 are integrated on a chip, the memory 100, the processor 200 and the communication interface 300 can communicate with each other through an internal interface.

[0062] An embodiment of the present invention provides a computer-readable storage medium storing a computer program, which implements the method provided in the embodiment of the present invention when executed by a processor.

[0063] An embodiment of the present invention further provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present invention.

[0064] An embodiment of the present invention also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided by the embodiment of the invention.

[0065] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.

[0066] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).

[0067] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.

[0068] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.

[0069] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0070] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of various changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for managing mounted photo albums based on the WebDAV protocol, characterized in that: include: Obtaining a mount request initiated by a target terminal, connecting to a target server through a network according to the mount request, and mounting the target server to the target terminal; The target server has an image album pre-stored therein, and the target server is a server pre-configured based on the WebDAV protocol; In response to the management request initiated by the target terminal, the image album in the target server is accessed through the WebDAV protocol, and corresponding image management operations are synchronously performed on the image album according to the management request to obtain an updated album and display it by the target terminal.

2. The method for managing mounted photo albums based on the WebDAV protocol according to claim 1, characterized in that: Also includes: Preconfigure a server supporting the WebDAV protocol, create a plurality of the image albums and establish an album directory in the server, the image albums are used to store image data, the album directories are divided according to image types, and each image album is marked with tag information related to the image type; Obtain authority configuration information, configure corresponding access rights for each of the image albums according to the authority configuration information, and obtain the target server.

3. The method for managing mounted photo albums based on the WebDAV protocol according to claim 1, characterized in that: Also includes: Acquire image data, and classify each image data based on a pre-built learning model to obtain an image type of each image data; The image data are stored in the corresponding image album in the target server according to the image type.

4. The method for managing mounted photo albums based on the WebDAV protocol according to claim 1, characterized in that: The synchronously performing corresponding image management operations on the image album according to the management request includes: Transmitting the management request to the target server via HTTPS encryption; After the target server completes the decryption, the designated image album and / or designated image data are adjusted accordingly according to the management request.

5. The method for managing mounted photo albums based on the WebDAV protocol according to claim 1, characterized in that: The management operation includes a creation operation, a modification operation, and a deletion operation.

6. The method for managing mounted photo albums based on the WebDAV protocol according to claim 1, characterized in that: Also includes: The tag definition information uploaded by the target terminal is obtained, and the tag information of the image album specified in the target server is adjusted according to the tag definition information, or the tag information of the specified image data is adjusted.

7. The method for managing mounted photo albums based on the WebDAV protocol according to claim 1, characterized in that: Also includes: When a search request is received, a target tag is determined according to the search request, and the image album or image data corresponding to the target tag is searched in the target server for display.

8. A mounted photo album management system based on the WebDAV protocol, characterized in that: Execute the mounted album management method based on the WebDAV protocol as described in any one of claims 1 to 7.

9. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the mounted album management method based on the WebDAV protocol as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the mounted album management method based on the WebDAV protocol as claimed in any one of claims 1 to 7 is implemented.