Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

24 results about "Hard link" patented technology

In computing, a hard link is a directory entry that associates a name with a file on a file system. All directory-based file systems must have at least one hard link giving the original name for each file. The term “hard link” is usually only used in file systems that allow more than one hard link for the same file.

File hiding method and system based on ext4 file system

The invention discloses a file hiding method and system based on an ext4 file system, and the method comprises the steps: obtaining a target file and metadata information of a directory where the target file is located according to a target file path needing to be hidden, and distributing a new mapping item in an internal mapping table of the ext4 file system for recording; creating a new hard link in a directory where the target file is located, and associating the new hard link with an inode node for storing metadata information of the target file; reopening the ext4 file system, and deleting the directory entry of the target file, so that the target file cannot be found in the ext4 file system; and re-mounting the ext4 file system, refreshing the Linux kernel cache, and recording the new hard link, the original name of the target file, the inode node number of the target file and the file type into a new mapping item. According to the invention, data security can be ensured, and efficient hidden storage of files is realized.
Owner:KYLIN CORP

Method and system for realizing compatible file hard link and S3 shallow copy based on distributed key-value pair

The invention discloses a method and a system for realizing compatible file hard link and S3 shallow copy based on a distributed key-value pair, a file metadata key-value pair is used as a metadata storage main body of a file or a directory, a key consists of a file system ID (Identity), a parent directory ID and a file or directory name, and a value contains metadata information; a reverse index file handle key value pair is introduced to serve as a unique invariant identifier, a key is composed of a file system ID, an initial parent directory ID, an initial file or first N characters of a directory name and a file ID, and a value contains a current file metadata key and a reference count. When files or directories are created and deleted, the files or the directories are located at the same one-key value pair node in a large probability, and one-stage submission is supported to improve performance; hard linking and S3 shallow copying are achieved at the same time, independent file metadata key-value pairs and reverse index file handle key-value pairs are created for the hard linking and the S3 shallow copying, reverse index file handle keys of the target file are recorded by file metadata values of the file metadata key-value pairs, reference counts of the reverse index file handle values of the target file are updated, and performance and compatibility are both considered.
Owner:SANDSTONE DATA TECH CO LTD +1

Method and apparatus for dynamically presenting content using an interface for setting conditional network destinations

QR codes or the like are used in hardlink applications, by which different users may receive different information in response to a user's interaction with a touchpoint. The content delivered to a particular user in response to a hardlink code or a presented hyperlink may be dependent on the time of the scan, the geographic location of the user, a weather condition at the geographical location, personal information associated with the user, a number of previous scans of the code by prior individuals, and any combination of the these or other variables, which may be determined by an originator of the QR code or other party. User devices may be re-directed to alternate content or network addresses based on one or more programmed conditions.
Owner:LIFE IN MOBILE INNOVATIONS INC

Method, apparatus and product for deduplication

The invention relates to a method, a device and a computer program product for deduplication. The method includes obtaining a plurality of mirror image files, wherein each of the plurality of mirror image files includes at least one layer. The method further includes generating a directory by de-duplicating the plurality of layers of the plurality of mirror image files. The method also includes redirecting the plurality of de-duplicated mirror image files to a directory using a hard link. The method further includes packaging the plurality of redirected mirror image files and directories into a target package. By means of the method, duplicate removal can be conducted on the multiple mirror image files with the layer as the unit, and the flexibility of downloading part of the mirror image files in the multiple mirror image files can be guaranteed.
Owner:DELL PROD LP

Method and apparatus for dynamically presenting content using an interface for setting conditional network destinations

QR codes or the like are used in hardlink applications, by which different users may receive different information in response to a user's interaction with a touchpoint. The content delivered to a particular user in response to a hardlink code or a presented hyperlink may be dependent on the time of the scan, the geographic location of the user, a weather condition at the geographical location, personal information associated with the user, a number of previous scans of the code by prior individuals, and any combination of the these or other variables, which may be determined by an originator of the QR code or other party. User devices may be re-directed to alternate content or network addresses based on one or more programmed conditions.
Owner:LIFE IN MOBILE INNOVATIONS INC

File deduplication method for terminal device, terminal device and storage medium

The embodiment of the application discloses a file deduplication method for terminal equipment, a terminal equipment and a storage medium, which are used for eliminating redundant files generated by a user when using the terminal equipment and reducing the time required by the deduplication process. The method comprises the following steps: obtaining a write request; obtaining a foreground hash value and metadata of a write page according to the write request; obtaining idle information of the terminal equipment and determining a trigger timing; when the trigger timing is met, calculating a file identical to the foreground hash value, and outputting inode information of the file identical to the foreground hash value; calculating a background hash value according to the foreground hash value, the metadata and the inode information; and using a hard link method to deduplicate the same file in the background hash value.
Owner:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD +1

File processing method and device

The present application provides a method and device for file processing, the method comprising: calculating a hash value corresponding to a first file, determining whether a second file exists in a pre-created first global hash index directory based on the hash value corresponding to the first file, and if the second file exists in the first global hash index directory, replacing the first file with a hard link to the second file; and / or when a third file is uploaded, obtaining a hash value corresponding to the third file, determining whether a fourth file exists in a pre-created second global hash index directory based on the hash value corresponding to the third file, and if the fourth file exists in the second global hash index directory, creating the third file and hard linking the third file to the fourth file, which can save disk space and is simpler to implement.
Owner:BEIJING HAIYUDONGXIANG TECH CO LTD

Method and device for updating application program and electronic equipment

The invention relates to the technical field of program updating, and discloses a method for updating an application program, which comprises the following steps: creating a temporary backup directory and a decompression directory; processing an original file of the application program and a to-be-installed new-version patch file by utilizing a hard link technology; wherein the new version patch file comprises a plurality of patch formats; the original file of the application program is replaced with the new version patch file through atomization operation, so that application program updating is achieved. According to the method, rapid backup and recovery are realized through a hard link technology, and the updating time is greatly shortened. The atomization operation guarantees the completeness and consistency of the updating process, and avoids the problems caused by partial updating residues. Therefore, the application program updating efficiency is improved, the application program updating stability and safety are enhanced, and better use experience is provided for users. The invention further discloses a device for updating the application program and electronic equipment.
Owner:QINGDAO JUSHANGHUI NETWORK TECH CO LTD

Unity AssetBundle-based course resource increment downloading method and system

The invention relates to the technical field of computer software, in particular to a course resource increment downloading method and system based on Unity AssetBundle, and the method comprises the steps: constructing, analyzing and referencing dependency through a resource packet topology to generate AssetBundle with a version identifier; the increment configuration file manages and associates a course ID and an AssetBundle path and marks a necessary / increment resource type; a scene triggers and downloads a response course selection layer / chapter entering layer / experiment interaction layer behavior, a necessary resource bundle is forcibly updated, and an incremental resource bundle is triggered by a user as required by providing UGUI interface elements; according to block difference updating, a resource packet is divided into 512 KB blocks to verify differences, and only server-side identification blocks are downloaded; the resource isolated storage creates a sandbox directory and generates a disk hard link. The hierarchical loading efficiency is substantially improved, the incremental transmission flow is declined, the multi-course conflict is thoroughly eradicated, and the storage reuse rate is multiplied in magnitude.
Owner:JIANGSU LIREN TECH CO LTD

Method and device for uploading file

The invention provides a method and a device for uploading a file. The method comprises the following steps: acquiring file attributes of the file based on a file uploading request; if the file attributes are not stored in the file attribute material library of the cloud, storing the file attributes in the file attribute material library, storing the files in the file material library, and creating corresponding records in the MD5 code material library; and when file attributes are stored in the file attribute material library, obtaining a target path, and if a file exists in the target path of the cloud, but the file corresponding to the MD5 code corresponding to the target path is not subjected to hard linking to the target path, performing hard linking on the file corresponding to the MD5 code to the target path. And in combination with the material library of the primary account level, efficient duplicate removal is realized, and the uploading efficiency is remarkably improved. The MD5 check code is used for carrying out secondary duplicate removal on the file, so that repeated uploading and coverage caused by file attribute difference are avoided, the rendering problem is reduced, the integrity of file content and the rendering stability are guaranteed, and meanwhile, the file sharing and storage efficiency is optimized.
Owner:XUANWO INFORMATION TECH (BEIJING) CO LTD

Processing method and apparatus, electronic device, storage medium, and program product

The application relates to an application processing method and device, electronic equipment, a storage medium and a program product, and belongs to the technical field of computers. The method comprises the following steps: in response to an application installation operation, obtaining a first dynamic link library in an installation package of an application to be installed and an installation path of the first dynamic link library under an application directory of the application to be installed; querying whether information of the first dynamic link library exists in a dynamic link library information table; if the information of the first dynamic link library exists in the dynamic link library information table, establishing a hard link from the installation path to a storage path of the first dynamic link library for the first dynamic link library; if the information of the first dynamic link library does not exist in the dynamic link library information table, copying the first dynamic link library to the installation path, and adding a mapping relationship between the first dynamic link library and the storage path in the dynamic link library information table. The application can reduce the memory and storage space.
Owner:BEIJING YOUZHUJU NETWORK TECH CO LTD

A distributed file system orphan file semantic provenance lazy recovery method

This invention discloses a semantic tracing and lazy reclamation method for orphan files in a distributed file system, belonging to the field of distributed file system technology. This method persists directory entry change operations through full-link logging and establishes an independent operation log index for each inode. It monitors changes in the inode hard link count in real time, marks files to be classified as orphan files when the hard link count reaches zero, and triggers the semantic tracing process. It traces back the file's entire lifecycle relationships to complete the classification, matches the corresponding hierarchical reclamation strategy based on the classification results, and generates a read-only snapshot before releasing space when the reclamation trigger conditions are met. This method can accurately distinguish different types of orphan files, reduce resource consumption during the reclamation process, avoid accidental deletion of business data, balance storage space reclamation efficiency and data security, and improve the operational stability of the distributed file system.
Owner:SICHUAN HUACUNZHIGU TECH CO LTD +1

Automatic driving software upgrading method and device, storage medium and computer device

The application provides an automatic driving software upgrading method and device, a storage medium and a computer device. The method comprises the following steps: obtaining metadata of target version software according to version information of the target version software; obtaining version records of local version software according to version information of the local version software; determining to-be-downloaded files and to-be-copied files based on the metadata and the version records; creating a new storage directory under a system partition; creating a hard link from an original storage directory of each to-be-copied file to the new storage directory according to a file name, a file fingerprint and a relative path of each to-be-copied file; creating a download link according to a file name, a file fingerprint and a storage path of each to-be-downloaded file; and downloading the corresponding to-be-downloaded file to the new storage directory based on the download link of each to-be-downloaded file. The application can save the storage space of the system, save the network resources and computing resources required for downloading, and improve the efficiency of software upgrading of the system partition.
Owner:GUANGZHOU WERIDE TECH LTD CO

De-duplication

The present disclosure relates to de-duplication. An example method includes acquiring mirror files, wherein each mirror file in the mirror files includes at least one layer. The method further includes generating a directory by de-duplicating layers of the mirror files. The method further includes redirecting the de-duplicated mirror files to the directory by using hard links. The method further includes packaging the redirected mirror files and the directory into a target package. Beneficially, the mirror files can be de-duplicated in a unit of layer, and the flexibility in downloading a part of the mirror files can further be ensured.
Owner:DELL PROD LP

Selecting new source file methods, apparatus, computer equipment, and storage media

This invention relates to the field of distributed file system technology, and discloses a method, apparatus, computer device, and storage medium for selecting new source files. Upon receiving a deletion operation instruction, the invention determines the target file to be deleted based on the instruction. When the target file to be deleted is a source file, the first inode number of the source file is obtained from its directory entries. Based on the first inode number, the first metadata of the source file is obtained. Hard link data for at least one hard link file corresponding to the source file is obtained from the first metadata. Based on each hard link data, the directory entry corresponding to each hard link file is determined. Based on the target entry of each hard link file, it is determined whether there are any hard link files not currently used by the client. When at least one hard link file not currently used by the client exists, a new source file can be selected using different methods. This invention can avoid the problem of business processing failures caused by the inability to select a new source file.
Owner:JINAN INSPUR DATA TECH CO LTD

File cloning method and device of distributed file system and storage medium

The embodiment of the invention provides a file cloning method and device of a distributed file system and a storage medium. In the file cloning method, a client obtains fragment identifiers of a plurality of source file fragments corresponding to a source file from a source management node, and generates respective fragment identifiers of a plurality of target file fragments according to the fragment identifiers of the plurality of source file fragments. Based on the fragment identifier of the source file fragment and the fragment identifier of the destination file fragment, the client may send a hard link establishment request to the storage cluster. The storage cluster can establish a corresponding relationship between the fragment identifier of the target file fragment and the data block according to the corresponding relationship between the source file fragment and the data block. And the destination management node can create a destination file under the request of the client, establish an association relationship between the destination file and the respective fragment identifiers of the plurality of destination file fragments, and publish the destination file. Furthermore, the cloning of the source file is realized without copying and migrating the data block, and the complexity of file cloning is reduced.
Owner:ALIBABA CLOUD COMPUTING CO LTD

Implementation method and system of compatible file hard link and s3 shallow copy based on distributed key-value pair

An implementation method and system compatible with file hard link and S3 shallow copy based on distributed key-value pairs, taking file metadata key-value pairs as the metadata storage body of files or directories, the key of which is composed of file system ID, parent directory ID and file or directory name, and the value contains metadata information; a reverse index file handle key-value pair is introduced as a unique invariant identifier, the key of which is composed of file system ID, initial parent directory ID, initial file or directory name N characters and file ID, and the value contains current file metadata key and reference count. When creating and deleting files or directories, they are probably in the same key-value pair node with high probability, supporting one-phase commit to improve performance; at the same time, hard link and S3 shallow copy are implemented, both of which create independent file metadata key-value pairs and reverse index file handle key-value pairs, the file metadata value of which records the reverse index file handle key of the target file, and updates the reference count of the reverse index file handle value of the target file, taking into account performance and compatibility.
Owner:SANDSTONE DATA TECH CO LTD +1

Metadata sharing method and system for deletion marker in a union file system

ActiveCN122470574BHard linkinode
The application relates to a metadata sharing method and system for a deletion marker in a union file system, and belongs to the technical field of computers. The method solves the problem of inode resource consumption and inode resource exhaustion risk in the prior art. The method comprises the following steps: initiating a file deletion operation, checking whether a deletion marker file template exists, returning a directory entry of the deletion marker file template if the deletion marker file template exists, creating a temporary deletion marker file, pointing an inode pointer field in a directory entry of the temporary deletion marker file to an inode pointer of the deletion marker file template, establishing a temporary hard link of the temporary deletion marker file to the deletion marker file template, making the temporary deletion marker file inherit the inode of the deletion marker file template, and atomically renaming the temporary deletion marker file to a file name to be deleted and storing the file name to an upper directory of the union file system. The application reduces inode consumption and avoids inode resource exhaustion risk.
Owner:SICHUAN MEDITATION SOFTWARE CO LTD

An inode processing method, device, equipment and storage medium

The present disclosure provides a processing method and device of an index node, equipment and a storage medium, the method comprising: in response to a preset hard link creation request for a first file, creating a hard link for the first file, and obtaining index node identification information of the first file from a metadata information table of the first file, migrating an index node corresponding to the index node identification information in the metadata information table of the first file to a reverse lookup table, wherein the index node in the reverse lookup table is used to respond to a file access request for the first file. It can be seen that, by migrating the index node corresponding to the index node identification information in the metadata information table of the first file to the reverse lookup table, when a file access request for the first file is received, the index node obtained from the reverse lookup table can be directly accessed, so that the storage location information of the first file carried by the index node is used to access the first file, thereby improving the file access efficiency.
Owner:CHINA ELECTRONICS CLOUD DIGITAL INTELLIGENCE TECH CO LTD

Minimizing data transfer and storage usage on cloud object storage systems

A method and system for minimizing data transfer and storage usage on a cloud object storage system is disclosed. First, a file is replicated from a production system to a cloud object storage system. Next, it is determined whether the number of hard links associated with the file is greater than one. If the number is greater than one, a special object is created on the cloud object storage system for the file and the file is associated with the special object. If a hard link is created on the production system in association with the file, the hard link is replicated from the production system to the cloud object storage system without replicating data associated with the file. Finally, a metadata reference to the special object is added to the hard link on the cloud object storage system.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Data deletion method, data copy method, device, equipment and storage medium

The embodiment of the application discloses a data deletion method, a data copy method, a device, equipment and a storage medium. The method comprises the following steps: an object index service deletes a target storage index stored by the object index service in response to a deletion operation, and instructs a data index service to delete the target storage index and a hard link record of the target storage index and generate a successful deletion result when the target storage index has a target hard link record or an associated storage index; when the target storage index does not correspond to the target hard link record and the associated storage index, the target storage index is deleted and a data deletion instruction is generated. If the object index service receives the data deletion instruction, the physical data corresponding to the target storage index is deleted. Since one hard link record is generated every time a copy operation is performed on the physical data, one hard link record is deleted every time a data deletion operation is performed, and the physical data is deleted when there is no target hard link record and associated storage index, the reliability of data deletion is ensured.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Data processing method, block server, storage medium, and program product

This application provides a data processing method, a block server, a storage medium, and a program product. The method relates to the field of distributed storage and includes: in response to a hard link request for a first data block, obtaining the identification information of the first data block and the identification information of a first linked data block to be linked to the first data block; if the first data block is determined to be a source data block, then, based on the identification information of the first linked data block and the first data block itself, adding a link mapping relationship from the first linked data block to the first data block to a link mapping relationship table; updating the number of links in the metadata of the first data block, where the number of links represents the number of linked data blocks linked to the first data block, thereby implementing a hard link from the first linked data block to the first data block, and thus realizing block-level hardlink functionality.
Owner:ALIBABA CLOUD COMPUTING CO LTD

Remote file rapid synchronization method and device

The present application provides a method and device for rapid remote file synchronization, the method comprising: receiving information of files to be transmitted sent by a first device; for each information of the file to be transmitted, determining whether the hash value, file access mode, owner identifier and group identifier in the information of the file to be transmitted are respectively the same as the hash value, file access mode, owner identifier and group identifier of a piece of data in a database of a second device; if they are the same, recording part or all of the information of the file to be transmitted in a first file; otherwise, recording part or all of the information of the file to be transmitted in a second file; sending the first file and / or the second file to the first device; for each information of the file to be transmitted in the first file, if the paths of the third file and the fourth file are different, creating a hard link; and / or receiving and storing the files to be transmitted sent by the first device, which can improve the file transmission speed and save storage space.
Owner:HAIMA CLOUD TIANJIN INFORMATION TECH CO LTD

Remote file fast synchronization method and device

The invention provides a remote file rapid synchronization method and device. The method comprises the following steps: receiving to-be-transmitted file information sent by first equipment; for the information of each to-be-transmitted file, judging whether the hash value, the file access mode, the owner identifier and the belonging group identifier in the information of the to-be-transmitted file are the same as the hash value, the file access mode, the owner identifier and the belonging group identifier of one piece of data in the database of the second equipment or not; recording part or all of the information of the to-be-transmitted file in a first file, otherwise, recording part or all of the information of the to-be-transmitted file in a second file; sending the first file and / or the second file to the first device; for the information of each file to be transmitted in the first file, if the paths of the third file and the fourth file are different, creating a hard link; and / or receiving and storing the to-be-transmitted file sent by the first device, thereby improving the file transmission speed and saving the storage space.
Owner:HAIMA CLOUD TIANJIN INFORMATION TECH CO LTD