Network disk organization account synchronization conflict resolution method and device, network disk and storage medium
An account synchronization and conflict resolution technology, applied in the field of devices, network disks and storage media, and network disk organization account synchronization conflict resolution methods, can solve problems such as data conflicts, inability to synchronize updates, inconvenient use, etc., to eliminate data conflicts. possibility, improve the synchronization success rate, and avoid the effect of data conflict
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0063] Embodiment 1 of the present invention proposes a specific method for eliminating data conflicts, the process is as follows figure 1 shown, including:
[0064] S1. The network disk server receives the organization account data file ferried by the gatekeeper, parses it and assembles it into two files, one is the team organization file, and the other is the user file;
[0065] The organization account data file described in this step is a structured data file, which is constructed by the network disk server that sends the file; the structured data file includes team organization data information, user data information, and basic attributes information; the basic attribute information includes, but is not limited to: the unique identifier timesid of the network disk, the unique identifier object_id of the account, the team_path to which the user belongs, the mtime identifier of time, and the order_num of the sorting field; wherein the unique identifier timesid of the networ...
Embodiment 2
[0077] Embodiment 2 of the present invention, on the basis of Embodiment 1, further provides a specific method for processing conflicting team information and synchronizing team organization data described in step S3, such as figure 2 shown, including:
[0078] processing team-organized data;
[0079] According to the unique account identifier object_id in the organization account data file, determine whether the team already exists;
[0080] If the team already exists, judge whether the team is a team organization under this unique identifier; if not, judge that updating the team failed, and enter the next cycle to process the next team data; if so, judge whether it needs to be updated according to the name of the team organization, no If it needs to be updated, it will enter the next cycle to process the next team data, and if it needs to be updated, it will update the team information;
[0081] If the team does not exist, check whether the team has a parent team, if ther...
Embodiment 3
[0085] Embodiment 3 of the present invention, on the basis of Embodiment 1 or Embodiment 2, further provides a specific method for processing conflicting user information and synchronizing user data described in step S4, such as image 3 shown, including:
[0086] Process user data; if the organization information corresponding to the unique identifier of the user data cannot be resolved in the file, the user will be regarded as an unmatched user and frozen;
[0087] For the matched user, judge whether the user already exists according to the unique account identifier object_id in the organization account data file;
[0088] If the user does not exist, enter the logic of creating a new user, verify whether the user information can be created, if not, the creation fails, write the conflict information into the log, and create a new user information if it can be created; if the user already exists, determine whether the user is an ordinary user;
[0089] If the user is an ordin...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com