mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
🎨 公测云端同步数据仓库 https://github.com/siyuan-note/siyuan/issues/5337
This commit is contained in:
parent
f5ccf07540
commit
b387adb81a
4 changed files with 519 additions and 1335 deletions
|
|
@ -4,7 +4,7 @@
|
|||
"Properties": {
|
||||
"id": "20210721112206-mhr9wxi",
|
||||
"title": "Data Sync",
|
||||
"updated": "20220703223222"
|
||||
"updated": "20220420100331"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -197,16 +197,63 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"ID": "20211027220510-0egr1r9",
|
||||
"ID": "20220703231817-nbhxxb6",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20211027220510-0egr1r9",
|
||||
"updated": "20211106114232"
|
||||
"id": "20220703231817-nbhxxb6",
|
||||
"updated": "20220703231839"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Open "
|
||||
"Data": "After "
|
||||
},
|
||||
{
|
||||
"Type": "NodeBlockRef",
|
||||
"Data": "span",
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeOpenParen"
|
||||
},
|
||||
{
|
||||
"Type": "NodeOpenParen"
|
||||
},
|
||||
{
|
||||
"Type": "NodeBlockRefID",
|
||||
"Data": "20220615120602-iya2886"
|
||||
},
|
||||
{
|
||||
"Type": "NodeBlockRefSpace"
|
||||
},
|
||||
{
|
||||
"Type": "NodeBlockRefText",
|
||||
"Data": "initializing the data repo key"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCloseParen"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCloseParen"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": ", if all goes well, the synchronization is already configured."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220703231817-t13itml",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220703231817-t13itml",
|
||||
"updated": "20220703231817"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "If you need to pause sync, you can turn off the option "
|
||||
},
|
||||
{
|
||||
"Type": "NodeKbd",
|
||||
|
|
@ -217,7 +264,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Settings - Cloud - Cloud sync"
|
||||
"Data": "Settings"
|
||||
},
|
||||
{
|
||||
"Type": "NodeKbdCloseMarker"
|
||||
|
|
@ -226,150 +273,47 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " and proceed through the synchronization setting wizard."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20211027220510-4qkvcnz",
|
||||
"Type": "NodeList",
|
||||
"ListData": {
|
||||
"Typ": 1
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20211027220510-4qkvcnz",
|
||||
"updated": "20220110113833"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20211027220510-4qik87y",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"Typ": 1,
|
||||
"Delimiter": 46,
|
||||
"Marker": "MS4=",
|
||||
"Num": 1
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20211027220510-4qik87y",
|
||||
"updated": "20220110113833"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20211027220510-4acljz5",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20211027220510-4acljz5",
|
||||
"updated": "20220110113833"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Set the "
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "end-to-end encryption"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " password"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"Data": " - "
|
||||
},
|
||||
{
|
||||
"ID": "20211027220510-arpjijt",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"Typ": 1,
|
||||
"Delimiter": 46,
|
||||
"Marker": "Mi4=",
|
||||
"Num": 2
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20211027220510-arpjijt"
|
||||
},
|
||||
"Type": "NodeKbd",
|
||||
"Data": "kbd",
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20211027220510-wz0rbnw",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20211027220510-wz0rbnw"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Create or select a cloud synchronization directory. After selecting, the cloud synchronization directory will be used for data synchronization in the current workspace"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20211027220510-i02t3c4",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"Typ": 1,
|
||||
"Delimiter": 46,
|
||||
"Marker": "My4=",
|
||||
"Num": 3
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20211027220510-i02t3c4"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20211027220510-u8153il",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20211027220510-u8153il"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Enable sync switch"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20210727103226-gfx0f7l",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20210727103226-gfx0f7l",
|
||||
"updated": "20210727103347"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Please perform the above operations on the "
|
||||
},
|
||||
{
|
||||
"Type": "NodeEmphasis",
|
||||
"Data": "em",
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeEmA6kOpenMarker",
|
||||
"Data": "*"
|
||||
"Type": "NodeKbdOpenMarker"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "main"
|
||||
"Data": "Cloud"
|
||||
},
|
||||
{
|
||||
"Type": "NodeEmA6kCloseMarker",
|
||||
"Data": "*"
|
||||
"Type": "NodeKbdCloseMarker"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " device first, then select the same cloud sync directory on other devices and turn on the sync switch. If you want to switch, rename or remove the cloud sync directory, please turn off the sync switch on all devices before proceeding."
|
||||
"Data": " - "
|
||||
},
|
||||
{
|
||||
"Type": "NodeKbd",
|
||||
"Data": "kbd",
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeKbdOpenMarker"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Enable cloud sync"
|
||||
},
|
||||
{
|
||||
"Type": "NodeKbdCloseMarker"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "."
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -535,187 +479,146 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"ID": "20210721112403-k020foj",
|
||||
"ID": "20220703232248-hhbh17m",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20210721112403-k020foj",
|
||||
"updated": "20220510104937"
|
||||
"id": "20220703232248-hhbh17m",
|
||||
"updated": "20220703232251"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "SiYuan performs corresponding operations by comparing the cloud data version and the local data version:"
|
||||
"Data": "SiYuan performs corresponding operations by comparing cloud data snapshots and local data snapshots:"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20210721112403-7z02hlf",
|
||||
"ID": "20220703232248-j1dq9w6",
|
||||
"Type": "NodeList",
|
||||
"ListData": {},
|
||||
"Properties": {
|
||||
"id": "20210721112403-7z02hlf",
|
||||
"updated": "20210901163505"
|
||||
"id": "20220703232248-j1dq9w6",
|
||||
"updated": "20220703232358"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20210721112403-6vsuax6",
|
||||
"ID": "20220703232248-anr56yy",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20210721112403-6vsuax6",
|
||||
"updated": "20210901163400"
|
||||
"id": "20220703232248-anr56yy",
|
||||
"updated": "20220703232248"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20210721112403-vy0km58",
|
||||
"ID": "20220703232248-sq7sqfd",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20210721112403-vy0km58",
|
||||
"updated": "20210901163400"
|
||||
"id": "20220703232248-sq7sqfd",
|
||||
"updated": "20220703232248"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Skip if the version is equal"
|
||||
"Data": "If the snapshots are the same, ignore this synchronization"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20210721112403-t742q8e",
|
||||
"ID": "20220703232248-nuapm43",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20210721112403-t742q8e",
|
||||
"updated": "20220510104256"
|
||||
"id": "20220703232248-nuapm43",
|
||||
"updated": "20220703232358"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20210721112403-ai2lz2c",
|
||||
"ID": "20220703232248-6oj5sng",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20210721112403-ai2lz2c",
|
||||
"updated": "20220510104256"
|
||||
"id": "20220703232248-6oj5sng",
|
||||
"updated": "20220703232248"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "If the cloud version is greater than the local version, download the cloud data locally and decrypt it to the "
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpan",
|
||||
"Data": "code",
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeCodeSpanOpenMarker"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanContent",
|
||||
"Data": "workspace/data/"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanCloseMarker"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " folder, and the local overwritten or deleted files will be moved to the "
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpan",
|
||||
"Data": "code",
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeCodeSpanOpenMarker"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanContent",
|
||||
"Data": "workspace/history/"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanCloseMarker"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " folder"
|
||||
"Data": "If the snapshots are different, upload the local changes from the last sync to the cloud, and merge the latest changes from the cloud to the local"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20210721112403-5kg7vat",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20210721112403-5kg7vat",
|
||||
"updated": "20210901163505"
|
||||
},
|
||||
"Children": [
|
||||
},
|
||||
{
|
||||
"ID": "20210721112403-lyikpwu",
|
||||
"Type": "NodeParagraph",
|
||||
"ID": "20220703232248-kl3io11",
|
||||
"Type": "NodeList",
|
||||
"ListData": {},
|
||||
"Properties": {
|
||||
"id": "20210721112403-lyikpwu",
|
||||
"updated": "20210901163505"
|
||||
"id": "20220703232248-kl3io11",
|
||||
"updated": "20220703232358"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "If the cloud version is less than the local version, scan for changes in "
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpan",
|
||||
"Data": "code",
|
||||
"ID": "20220703232248-z2ww7lp",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220703232248-z2ww7lp",
|
||||
"updated": "20220703232248"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeCodeSpanOpenMarker"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanContent",
|
||||
"Data": "/workspace/data/"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanCloseMarker"
|
||||
"ID": "20220703232248-qj3gsdd",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220703232248-qj3gsdd",
|
||||
"updated": "20220703232248"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Merge directly if there is no conflict between the changes at both ends"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": ", then encrypt the changes and copy them to the folder "
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpan",
|
||||
"Data": "code",
|
||||
"ID": "20220703232248-jneoxfm",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220703232248-jneoxfm",
|
||||
"updated": "20220703232358"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeCodeSpanOpenMarker"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanContent",
|
||||
"Data": "workspace/sync/"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanCloseMarker"
|
||||
"ID": "20220703232248-x7l12qz",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220703232248-x7l12qz",
|
||||
"updated": "20220703232358"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "If there is a file conflict, the local will overwrite the cloud, and the conflicting files from the cloud will be generated in the data history."
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": ", and finally upload and overwrite the cloud data"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -724,16 +627,16 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220510105000-503cjse",
|
||||
"ID": "20220703232248-f48ijwk",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220510105000-503cjse",
|
||||
"updated": "20220510105000"
|
||||
"id": "20220703232248-f48ijwk",
|
||||
"updated": "20220703232248"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "The version comparison is automatically performed at regular intervals. The time interval algorithm is described as follows:"
|
||||
"Data": "Synchronization occurs automatically at regular intervals, and the time interval algorithm is described as follows:"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -839,12 +742,12 @@
|
|||
"HeadingLevel": 3,
|
||||
"Properties": {
|
||||
"id": "20220307095105-xr4ht8a",
|
||||
"updated": "20220307095105"
|
||||
"updated": "20220703232432"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Normal scene"
|
||||
"Data": "Normal scenario"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -988,33 +891,33 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307095105-fiqosxx",
|
||||
"ID": "20220703232421-8zpzkw4",
|
||||
"Type": "NodeHeading",
|
||||
"HeadingLevel": 3,
|
||||
"Properties": {
|
||||
"id": "20220307095105-fiqosxx",
|
||||
"updated": "20220307095105"
|
||||
"id": "20220703232421-8zpzkw4",
|
||||
"updated": "20220703232435"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Override scene"
|
||||
"Data": "Conflict scenario"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307095105-ep79t8e",
|
||||
"ID": "20220703232421-gmxxahn",
|
||||
"Type": "NodeList",
|
||||
"ListData": {
|
||||
"Typ": 1
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307095105-ep79t8e",
|
||||
"updated": "20220307095105"
|
||||
"id": "20220703232421-gmxxahn",
|
||||
"updated": "20220703232715"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307095105-8826dy9",
|
||||
"ID": "20220703232421-tfvngal",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"Typ": 1,
|
||||
|
|
@ -1023,26 +926,28 @@
|
|||
"Num": 1
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307095105-8826dy9"
|
||||
"id": "20220703232421-tfvngal",
|
||||
"updated": "20220703232625"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307095105-x0he7bs",
|
||||
"ID": "20220703232421-vhp8oio",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307095105-x0he7bs"
|
||||
"id": "20220703232421-vhp8oio",
|
||||
"updated": "20220703232625"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Not syncing after editing on device A (for example, when there is no network and it is offline)"
|
||||
"Data": "Sync after editing the file a on device A"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307095105-izitvbz",
|
||||
"ID": "20220703232421-wfhhavr",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"Typ": 1,
|
||||
|
|
@ -1051,26 +956,28 @@
|
|||
"Num": 2
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307095105-izitvbz"
|
||||
"id": "20220703232421-wfhhavr",
|
||||
"updated": "20220703232627"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307095105-w9ngf5y",
|
||||
"ID": "20220703232421-2wl7eyb",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307095105-w9ngf5y"
|
||||
"id": "20220703232421-2wl7eyb",
|
||||
"updated": "20220703232627"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Not syncing after editing on device B"
|
||||
"Data": "Sync after editing the file a on device B"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307095105-sd6qr1j",
|
||||
"ID": "20220703232421-axvmpcs",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"Typ": 1,
|
||||
|
|
@ -1079,153 +986,25 @@
|
|||
"Num": 3
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307095105-sd6qr1j"
|
||||
"id": "20220703232421-axvmpcs",
|
||||
"updated": "20220703232715"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307095105-3u4gbc3",
|
||||
"ID": "20220703232421-r4nw5op",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307095105-3u4gbc3"
|
||||
"id": "20220703232421-r4nw5op",
|
||||
"updated": "20220703232715"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Perform synchronization on device A. At this time, the cloud data will be overwritten by the data of device A, that is, the cloud and device A keep the same data."
|
||||
"Data": "At this time, the cloud file a will be overwritten by a of the B device, and the history of the previous A device file a will be generated on the B device"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307095105-e5htllk",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"Typ": 1,
|
||||
"Delimiter": 46,
|
||||
"Marker": "NC4=",
|
||||
"Num": 4
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307095105-e5htllk"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307095105-dhos0vm",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307095105-dhos0vm"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Perform a sync on device B, at which point there are three possible scenarios"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307095105-278fg11",
|
||||
"Type": "NodeList",
|
||||
"ListData": {},
|
||||
"Properties": {
|
||||
"id": "20220307095105-278fg11"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307095105-yq7mdka",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307095105-yq7mdka"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307095105-6dgsvev",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307095105-6dgsvev"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Device B data skip synchronization because the version and cloud are the same"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307095105-spgvmup",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307095105-spgvmup"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307095105-4etoiq4",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307095105-4etoiq4"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Device B data covers the cloud"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307095105-w45og3n",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307095105-w45og3n"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307095105-9cvcbpq",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307095105-9cvcbpq"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Device B data is overwritten by the cloud"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307095105-gl7j2q4",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307095105-gl7j2q4",
|
||||
"updated": "20220307095105"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "In this scenario, the process of using synchronization is to edit offline on both devices, and then perform synchronization, so that the expected results of normal synchronization cannot be obtained. Even so, the data will not be lost, and the overwritten data can be retrieved through history."
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -1293,34 +1072,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20210721195846-if71i5z",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20210721195846-if71i5z",
|
||||
"updated": "20210721195846"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20210721195846-wcikaav",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20210721195846-wcikaav",
|
||||
"updated": "20210721195846"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Before renaming or deleting the cloud directory, please turn off synchronization on all devices before editing or deleting"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20210721160159-gc5tin2",
|
||||
"Type": "NodeListItem",
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
"Properties": {
|
||||
"id": "20210721103420-vn6g2yy",
|
||||
"title": "数据同步",
|
||||
"updated": "20220703222554"
|
||||
"updated": "20220703232528"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -212,16 +212,59 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"ID": "20210721103955-bqzteuz",
|
||||
"ID": "20211027205711-07u1glm",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20210721103955-bqzteuz",
|
||||
"updated": "20211106114053"
|
||||
"id": "20211027205711-07u1glm",
|
||||
"updated": "20220703225408"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeBlockRef",
|
||||
"Data": "span",
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeOpenParen"
|
||||
},
|
||||
{
|
||||
"Type": "NodeOpenParen"
|
||||
},
|
||||
{
|
||||
"Type": "NodeBlockRefID",
|
||||
"Data": "20220615113758-i2279ot"
|
||||
},
|
||||
{
|
||||
"Type": "NodeBlockRefSpace"
|
||||
},
|
||||
{
|
||||
"Type": "NodeBlockRefText",
|
||||
"Data": "初始化数据仓库密钥"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCloseParen"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCloseParen"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "后如果一切正常就已经配置好同步了。"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220703225413-0ir4w8k",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220703225413-0ir4w8k",
|
||||
"updated": "20220703225453"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "打开 "
|
||||
"Data": "如果需要暂停同步,可关闭选项 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeKbd",
|
||||
|
|
@ -232,7 +275,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "设置 - 云端 - 云端同步"
|
||||
"Data": "设置"
|
||||
},
|
||||
{
|
||||
"Type": "NodeKbdCloseMarker"
|
||||
|
|
@ -241,154 +284,47 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " ,通过同步设置向导进行操作。"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20210721103758-pc3i4x8",
|
||||
"Type": "NodeList",
|
||||
"ListData": {
|
||||
"Typ": 1
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20210721103758-pc3i4x8",
|
||||
"updated": "20211027205734"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20211027205711-eup41br",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"Typ": 1,
|
||||
"Delimiter": 46,
|
||||
"Marker": "MS4=",
|
||||
"Num": 1
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20211027205711-eup41br",
|
||||
"updated": "20220110113741"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20211027205711-07u1glm",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20211027205711-07u1glm",
|
||||
"updated": "20220110113741"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "设置"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "端到端加密"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "密码"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"Data": " - "
|
||||
},
|
||||
{
|
||||
"ID": "20210721104534-zgn4ihf",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"Typ": 1,
|
||||
"Delimiter": 46,
|
||||
"Marker": "Mi4=",
|
||||
"Num": 2
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20210721104534-zgn4ihf",
|
||||
"updated": "20211027205734"
|
||||
},
|
||||
"Type": "NodeKbd",
|
||||
"Data": "kbd",
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20210721104534-2yhd04d",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20210721104534-2yhd04d",
|
||||
"updated": "20211027205734"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "创建或选择一个云端同步目录,选择以后该云端同步目录将用于当前工作空间数据同步"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20210721103957-niox81t",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"Typ": 1,
|
||||
"Delimiter": 46,
|
||||
"Marker": "My4=",
|
||||
"Num": 3
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20210721103957-niox81t",
|
||||
"updated": "20210901163120"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20210721103957-6v20946",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20210721103957-6v20946",
|
||||
"updated": "20211027205115"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "启用同步开关"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20210727102835-sm3eyau",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20210727102835-sm3eyau",
|
||||
"updated": "20210727103336"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "以上操作请先在"
|
||||
},
|
||||
{
|
||||
"Type": "NodeEmphasis",
|
||||
"Data": "em",
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeEmA6kOpenMarker",
|
||||
"Data": "*"
|
||||
"Type": "NodeKbdOpenMarker"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "主力"
|
||||
"Data": "云端"
|
||||
},
|
||||
{
|
||||
"Type": "NodeEmA6kCloseMarker",
|
||||
"Data": "*"
|
||||
"Type": "NodeKbdCloseMarker"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "设备上进行,然后在其他设备上选择相同的云端同步目录,并打开同步开关即可。如果要切换、重命名或者删除云端同步目录,请先在所有设备上关闭同步开关后再操作。"
|
||||
"Data": " - "
|
||||
},
|
||||
{
|
||||
"Type": "NodeKbd",
|
||||
"Data": "kbd",
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeKbdOpenMarker"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "启用云端同步"
|
||||
},
|
||||
{
|
||||
"Type": "NodeKbdCloseMarker"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "。"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -560,12 +496,12 @@
|
|||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20210721103726-sbnev8w",
|
||||
"updated": "20220510104539"
|
||||
"updated": "20220703225614"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "思源通过对比云端数据版本和本地数据版本进行相应操作:"
|
||||
"Data": "思源通过对比云端数据快照和本地数据快照进行相应操作:"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -575,7 +511,7 @@
|
|||
"ListData": {},
|
||||
"Properties": {
|
||||
"id": "20210721105306-biv12a6",
|
||||
"updated": "20220510104208"
|
||||
"updated": "20220703230810"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -595,12 +531,12 @@
|
|||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20210721105353-aseijn5",
|
||||
"updated": "20210901163356"
|
||||
"updated": "20220703230507"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "如果版本相等则略过"
|
||||
"Data": "如果快照相同则忽略本次同步"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -615,7 +551,7 @@
|
|||
},
|
||||
"Properties": {
|
||||
"id": "20210721105305-dt1ritx",
|
||||
"updated": "20220510104208"
|
||||
"updated": "20220703230810"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -623,136 +559,78 @@
|
|||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20210721105305-kx4c8fj",
|
||||
"updated": "20220510104208"
|
||||
"updated": "20220703230630"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "如果云端版本大于本地版本,则将云端数据下载到本地并解密到 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpan",
|
||||
"Data": "code",
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeCodeSpanOpenMarker"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanContent",
|
||||
"Data": "工作空间/data/"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanCloseMarker"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 文件夹下,本地被覆盖或者删除的文件会移动到 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpan",
|
||||
"Data": "code",
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeCodeSpanOpenMarker"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanContent",
|
||||
"Data": "工作空间/history/"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanCloseMarker"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 文件夹下"
|
||||
"Data": "如果快照不同,则将本地距离上次同步的变更上传到云端,将云端最新的变更合并到本地"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20210721105329-52g70vv",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20210721105329-52g70vv",
|
||||
"updated": "20210901163421"
|
||||
},
|
||||
"Children": [
|
||||
},
|
||||
{
|
||||
"ID": "20210721105329-ypobf4a",
|
||||
"Type": "NodeParagraph",
|
||||
"ID": "20220703230633-13vbbzy",
|
||||
"Type": "NodeList",
|
||||
"ListData": {},
|
||||
"Properties": {
|
||||
"id": "20210721105329-ypobf4a",
|
||||
"updated": "20210901163421"
|
||||
"id": "20220703230633-13vbbzy",
|
||||
"updated": "20220703230810"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "如果"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "云端"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "版本小于本地,则扫描 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpan",
|
||||
"Data": "code",
|
||||
"ID": "20220703230631-lbfy9lc",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220703230631-lbfy9lc"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeCodeSpanOpenMarker"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanContent",
|
||||
"Data": "/工作空间/data/"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanCloseMarker"
|
||||
"ID": "20220703230631-0tywed7",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220703230631-0tywed7",
|
||||
"updated": "20220703230650"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "如果两端的变更没有冲突则直接合并"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 变更,然后将变更加密复制到 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpan",
|
||||
"Data": "code",
|
||||
"ID": "20220703230651-ofu1uh9",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220703230651-ofu1uh9",
|
||||
"updated": "20220703230810"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeCodeSpanOpenMarker"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanContent",
|
||||
"Data": "工作空间/sync/"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanCloseMarker"
|
||||
"ID": "20220703230651-vzbvnjf",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220703230651-vzbvnjf",
|
||||
"updated": "20220703230810"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "如果存在文件冲突,则以本地为准覆盖云端,同时拉取到的云端冲突文件会归入到数据历史中"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 文件夹下,最后进行上传并覆盖"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "云端"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "数据"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -765,12 +643,12 @@
|
|||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220510104118-7cotqs7",
|
||||
"updated": "20220510104547"
|
||||
"updated": "20220703230821"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "版本对比每隔一段时间自动进行,时间间隔算法描述如下:"
|
||||
"Data": "同步每隔一段时间自动进行,时间间隔算法描述如下:"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -1035,12 +913,12 @@
|
|||
"HeadingLevel": 3,
|
||||
"Properties": {
|
||||
"id": "20220307093107-2e2r5ps",
|
||||
"updated": "20220307093112"
|
||||
"updated": "20220703231010"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "覆盖场景"
|
||||
"Data": "冲突场景"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -1052,7 +930,7 @@
|
|||
},
|
||||
"Properties": {
|
||||
"id": "20220307093112-lz7p32d",
|
||||
"updated": "20220307093113"
|
||||
"updated": "20220703232528"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -1073,12 +951,12 @@
|
|||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307093113-bxpwcpj",
|
||||
"updated": "20220307093144"
|
||||
"updated": "20220703231043"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "在设备 A 上编辑后不同步(比如没有网络处于离线状态时)"
|
||||
"Data": "在设备 A 上编辑 a 文件后同步"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1094,7 +972,8 @@
|
|||
"Num": 2
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307093124-wkxgisu"
|
||||
"id": "20220307093124-wkxgisu",
|
||||
"updated": "20220703231050"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -1102,41 +981,12 @@
|
|||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307093124-0pb8mwl",
|
||||
"updated": "20220307093152"
|
||||
"updated": "20220703231050"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "在设备 B 上编辑后不同步"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307093153-alpffju",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"Typ": 1,
|
||||
"Delimiter": 46,
|
||||
"Marker": "My4=",
|
||||
"Num": 3
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307093153-alpffju"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307093153-znl772s",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307093153-znl772s",
|
||||
"updated": "20220307094020"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "设备 A 上执行同步,此时云端数据会被设备 A 数据覆盖,既云端和设备 A 保持数据一致"
|
||||
"Data": "在设备 B 上编辑 a 文件后同步"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1148,11 +998,12 @@
|
|||
"ListData": {
|
||||
"Typ": 1,
|
||||
"Delimiter": 46,
|
||||
"Marker": "NC4=",
|
||||
"Num": 4
|
||||
"Marker": "My4=",
|
||||
"Num": 3
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307094021-74y5lau"
|
||||
"id": "20220307094021-74y5lau",
|
||||
"updated": "20220703232528"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -1160,104 +1011,12 @@
|
|||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307094021-jtlbgw4",
|
||||
"updated": "20220307094152"
|
||||
"updated": "20220703232528"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "在设备 B 上执行同步,此时会出现三种可能的情况"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307094056-jmfulxx",
|
||||
"Type": "NodeList",
|
||||
"ListData": {},
|
||||
"Properties": {
|
||||
"id": "20220307094056-jmfulxx",
|
||||
"updated": "20220307094059"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307094201-bbiy343",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307094201-bbiy343"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307094201-d28icvq",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307094201-d28icvq",
|
||||
"updated": "20220307094237"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "设备 B 数据因为版本和云端相同进而略过同步"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307094059-pxgspk6",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307094059-pxgspk6"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307094059-11ww58o",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307094059-11ww58o",
|
||||
"updated": "20220307094116"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "设备 B 数据覆盖云端"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307094116-s90arq8",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307094116-s90arq8"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307094116-q6j55pf",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307094116-q6j55pf",
|
||||
"updated": "20220307094210"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "设备 B 数据被云端覆盖"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"Data": "此时云端 a 文件会被 B 设备上的 a 覆盖,同时在 B 设备上生成之前 A 设备 a 的历史"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1265,20 +1024,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307094246-38jrwfr",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307094246-38jrwfr",
|
||||
"updated": "20220307094825"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "该场景下,使用同步的过程是在两个设备上都离线编辑,然后再执行同步,这样无法得到正常的同步预期结果。尽管如此,数据也不会发生丢失,可通过历史找回被覆盖的数据。"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20210721105949-0diekoc",
|
||||
"Type": "NodeHeading",
|
||||
|
|
@ -1343,42 +1088,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20210721195711-c0ljv7q",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20210721195711-c0ljv7q",
|
||||
"updated": "20210721195828"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20210721195711-gvej1i2",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20210721195711-gvej1i2",
|
||||
"updated": "20210721195828"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "重命名或删除"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "云端"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "目录前,请在所有设备上关闭同步后再修改或删除"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20210721155947-tnbqkki",
|
||||
"Type": "NodeListItem",
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
"Properties": {
|
||||
"id": "20211226121438-xaafdo8",
|
||||
"title": "資料同步",
|
||||
"updated": "20220703223113"
|
||||
"updated": "20220703232524"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -196,16 +196,59 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"ID": "20211226121454-eo49ng8",
|
||||
"ID": "20220703231425-knmdjxb",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20211226121454-eo49ng8",
|
||||
"updated": "20211228130421"
|
||||
"id": "20220703231425-knmdjxb",
|
||||
"updated": "20220703231555"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeBlockRef",
|
||||
"Data": "span",
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeOpenParen"
|
||||
},
|
||||
{
|
||||
"Type": "NodeOpenParen"
|
||||
},
|
||||
{
|
||||
"Type": "NodeBlockRefID",
|
||||
"Data": "20220615120134-y8wnvbq"
|
||||
},
|
||||
{
|
||||
"Type": "NodeBlockRefSpace"
|
||||
},
|
||||
{
|
||||
"Type": "NodeBlockRefText",
|
||||
"Data": "初始化數據倉庫密鑰"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCloseParen"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCloseParen"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "后如果一切正常就已经配置好同步了。"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220703231555-yc4t5qa",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220703231555-yc4t5qa",
|
||||
"updated": "20220703231604"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "打開 "
|
||||
"Data": "如果需要暫停同步,可關閉選項 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeKbd",
|
||||
|
|
@ -216,7 +259,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "設置 - 雲端 - 雲端同步"
|
||||
"Data": "設置"
|
||||
},
|
||||
{
|
||||
"Type": "NodeKbdCloseMarker"
|
||||
|
|
@ -225,152 +268,47 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " ,通過同步設置向導進行作業。"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20211226121454-jhgfygm",
|
||||
"Type": "NodeList",
|
||||
"ListData": {
|
||||
"Typ": 1
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20211226121454-jhgfygm",
|
||||
"updated": "20220110114127"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20211226121454-uv2o9ya",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"Typ": 1,
|
||||
"Delimiter": 46,
|
||||
"Marker": "MS4=",
|
||||
"Num": 1
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20211226121454-uv2o9ya",
|
||||
"updated": "20220110114127"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20211226121454-jht5wtu",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20211226121454-jht5wtu",
|
||||
"updated": "20220110114127"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "設置"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "端到端加密"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "密碼"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"Data": " - "
|
||||
},
|
||||
{
|
||||
"ID": "20211226121454-q2nwzs4",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"Typ": 1,
|
||||
"Delimiter": 46,
|
||||
"Marker": "Mi4=",
|
||||
"Num": 2
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20211226121454-q2nwzs4",
|
||||
"updated": "20211228141154"
|
||||
},
|
||||
"Type": "NodeKbd",
|
||||
"Data": "kbd",
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20211226121454-7ui6tey",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20211226121454-7ui6tey",
|
||||
"updated": "20211228141154"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "創建或選擇一個雲端同步目錄,選擇以後該雲端同步目錄將用於當前工作空間資料同步"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20211226121454-ggm3tr1",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"Typ": 1,
|
||||
"Delimiter": 46,
|
||||
"Marker": "My4=",
|
||||
"Num": 3
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20211226121454-ggm3tr1"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20211226121454-upj6vzq",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20211226121454-upj6vzq"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "啟用同步開關"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20211226121454-z4qs6jx",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20211226121454-z4qs6jx",
|
||||
"updated": "20211228130502"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "以上作業請先在"
|
||||
},
|
||||
{
|
||||
"Type": "NodeEmphasis",
|
||||
"Data": "em",
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeEmA6kOpenMarker",
|
||||
"Data": "*"
|
||||
"Type": "NodeKbdOpenMarker"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "主力"
|
||||
"Data": "雲端"
|
||||
},
|
||||
{
|
||||
"Type": "NodeEmA6kCloseMarker",
|
||||
"Data": "*"
|
||||
"Type": "NodeKbdCloseMarker"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "設備上進行,然後在其他設備上選擇相同的雲端同步目錄,並打開同步開關即可。如果要切換、重命名或者刪除雲端同步目錄,請先在所有設備上關閉同步開關後再作業。"
|
||||
"Data": " - "
|
||||
},
|
||||
{
|
||||
"Type": "NodeKbd",
|
||||
"Data": "kbd",
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeKbdOpenMarker"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "啟用雲端同步"
|
||||
},
|
||||
{
|
||||
"Type": "NodeKbdCloseMarker"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "。"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -534,203 +472,146 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"ID": "20211226121454-qo8jhii",
|
||||
"ID": "20220703231942-d4h4gcm",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20211226121454-qo8jhii",
|
||||
"updated": "20220510104916"
|
||||
"id": "20220703231942-d4h4gcm",
|
||||
"updated": "20220703231942"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "思源通過對比雲端數據版本和本地數據版本進行相應作業:"
|
||||
"Data": "思源通過對比雲端數據快照和本地數據快照進行相應操作:"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20211226121454-v4rgxob",
|
||||
"ID": "20220703231942-e565c49",
|
||||
"Type": "NodeList",
|
||||
"ListData": {},
|
||||
"Properties": {
|
||||
"id": "20211226121454-v4rgxob",
|
||||
"updated": "20211228141209"
|
||||
"id": "20220703231942-e565c49",
|
||||
"updated": "20220703231942"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20211226121454-t7668m6",
|
||||
"ID": "20220703231942-78uj9i1",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20211226121454-t7668m6",
|
||||
"updated": "20211226121454"
|
||||
"id": "20220703231942-78uj9i1",
|
||||
"updated": "20220703231942"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20211226121454-lci1ctl",
|
||||
"ID": "20220703231942-04tl6at",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20211226121454-lci1ctl",
|
||||
"updated": "20211226121454"
|
||||
"id": "20220703231942-04tl6at",
|
||||
"updated": "20220703231942"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "如果版本相等則略過"
|
||||
"Data": "如果快照相同則忽略本次同步"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20211226121454-mk5pevf",
|
||||
"ID": "20220703231942-xzs4i10",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20211226121454-mk5pevf",
|
||||
"updated": "20220510104240"
|
||||
"id": "20220703231942-xzs4i10",
|
||||
"updated": "20220703231942"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20211226121454-s9uvmqy",
|
||||
"ID": "20220703231942-314drnc",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20211226121454-s9uvmqy",
|
||||
"updated": "20220510104240"
|
||||
"id": "20220703231942-314drnc",
|
||||
"updated": "20220703231942"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "如果雲端版本大於本地版本,則將雲端資料下載到本地並解密到 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpan",
|
||||
"Data": "code",
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeCodeSpanOpenMarker"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanContent",
|
||||
"Data": "工作空間/data/"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanCloseMarker"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 文件夾下,本地被覆蓋或者刪除的文件會移動到 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpan",
|
||||
"Data": "code",
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeCodeSpanOpenMarker"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanContent",
|
||||
"Data": "工作空間/history/"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanCloseMarker"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 文件夾下"
|
||||
"Data": "如果快照不同,則將本地距離上次同步的變更上傳到雲端,將雲端最新的變更合併到本地"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20211226121454-rmdap08",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20211226121454-rmdap08",
|
||||
"updated": "20211228141209"
|
||||
},
|
||||
"Children": [
|
||||
},
|
||||
{
|
||||
"ID": "20211226121454-o5x53rx",
|
||||
"Type": "NodeParagraph",
|
||||
"ID": "20220703231942-kniy7e9",
|
||||
"Type": "NodeList",
|
||||
"ListData": {},
|
||||
"Properties": {
|
||||
"id": "20211226121454-o5x53rx",
|
||||
"updated": "20211228141209"
|
||||
"id": "20220703231942-kniy7e9",
|
||||
"updated": "20220703231942"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "如果"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "雲端"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "版本小於本地,則掃描 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpan",
|
||||
"Data": "code",
|
||||
"ID": "20220703231942-70w9qsj",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220703231942-70w9qsj",
|
||||
"updated": "20220703231942"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeCodeSpanOpenMarker"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanContent",
|
||||
"Data": "/工作空間/data/"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanCloseMarker"
|
||||
"ID": "20220703231942-uq6hcsx",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220703231942-uq6hcsx",
|
||||
"updated": "20220703231942"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "如果兩端的變更沒有衝突則直接合併"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 變更,然後將變更加密複製到 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpan",
|
||||
"Data": "code",
|
||||
"ID": "20220703231942-skyyrpj",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220703231942-skyyrpj",
|
||||
"updated": "20220703231942"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeCodeSpanOpenMarker"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanContent",
|
||||
"Data": "工作空間/sync/"
|
||||
},
|
||||
{
|
||||
"Type": "NodeCodeSpanCloseMarker"
|
||||
"ID": "20220703231942-24cgfdl",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220703231942-24cgfdl",
|
||||
"updated": "20220703231942"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "如果存在文件衝突,則以本地為準覆蓋雲端,同時拉取到的雲端衝突文件會歸入到數據歷史中"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 文件夾下,最後進行上傳並覆蓋"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "雲端"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "資料"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -739,16 +620,16 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220510105029-rawx8il",
|
||||
"ID": "20220703231942-pkvgxz9",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220510105029-rawx8il",
|
||||
"updated": "20220510105029"
|
||||
"id": "20220703231942-pkvgxz9",
|
||||
"updated": "20220703231942"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "版本對比每隔一段時間自動進行,時間間隔算法描述如下:"
|
||||
"Data": "同步每隔一段時間自動進行,時間間隔算法描述如下:"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -1003,33 +884,33 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307095239-tezgp0o",
|
||||
"ID": "20220703231640-y2kpysi",
|
||||
"Type": "NodeHeading",
|
||||
"HeadingLevel": 3,
|
||||
"Properties": {
|
||||
"id": "20220307095239-tezgp0o",
|
||||
"updated": "20220307095239"
|
||||
"id": "20220703231640-y2kpysi",
|
||||
"updated": "20220703231640"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "覆蓋場景"
|
||||
"Data": "衝突場景"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307095239-7565ggv",
|
||||
"ID": "20220703231640-9pkvgzl",
|
||||
"Type": "NodeList",
|
||||
"ListData": {
|
||||
"Typ": 1
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307095239-7565ggv",
|
||||
"updated": "20220307095239"
|
||||
"id": "20220703231640-9pkvgzl",
|
||||
"updated": "20220703232524"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307095239-7ea0sqd",
|
||||
"ID": "20220703231640-i8rkg1k",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"Typ": 1,
|
||||
|
|
@ -1038,26 +919,28 @@
|
|||
"Num": 1
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307095239-7ea0sqd"
|
||||
"id": "20220703231640-i8rkg1k",
|
||||
"updated": "20220703231640"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307095239-zx0xhv2",
|
||||
"ID": "20220703231640-jqwuxcf",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307095239-zx0xhv2"
|
||||
"id": "20220703231640-jqwuxcf",
|
||||
"updated": "20220703231640"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "在設備 A 上編輯後不同步(比如沒有網絡處於離線狀態時)"
|
||||
"Data": "在設備 A 上編輯 a 文件後同步"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307095239-ab37rw8",
|
||||
"ID": "20220703231640-avwyybn",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"Typ": 1,
|
||||
|
|
@ -1066,26 +949,28 @@
|
|||
"Num": 2
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307095239-ab37rw8"
|
||||
"id": "20220703231640-avwyybn",
|
||||
"updated": "20220703231640"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307095239-ejo8dqf",
|
||||
"ID": "20220703231640-2klknr1",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307095239-ejo8dqf"
|
||||
"id": "20220703231640-2klknr1",
|
||||
"updated": "20220703231640"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "在設備 B 上編輯後不同步"
|
||||
"Data": "在設備 B 上編輯 a 文件後同步"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307095239-9bq1woa",
|
||||
"ID": "20220703231640-ytzbgh6",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"Typ": 1,
|
||||
|
|
@ -1094,153 +979,25 @@
|
|||
"Num": 3
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307095239-9bq1woa"
|
||||
"id": "20220703231640-ytzbgh6",
|
||||
"updated": "20220703232524"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307095239-2cm8wqx",
|
||||
"ID": "20220703231640-qqg6ca6",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307095239-2cm8wqx"
|
||||
"id": "20220703231640-qqg6ca6",
|
||||
"updated": "20220703232524"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "設備 A 上執行同步,此時雲端數據會被設備 A 數據覆蓋,既云端和設備 A 保持數據一致"
|
||||
"Data": "此時雲端 a 文件會被 B 設備上的 a 覆蓋,同時在 B 設備上生成之前 A 設備 a 的歷史"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307095239-yt5ulni",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"Typ": 1,
|
||||
"Delimiter": 46,
|
||||
"Marker": "NC4=",
|
||||
"Num": 4
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307095239-yt5ulni"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307095239-ee4xhp1",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307095239-ee4xhp1"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "在設備 B 上執行同步,此時會出現三種可能的情況"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307095239-df4h0fo",
|
||||
"Type": "NodeList",
|
||||
"ListData": {},
|
||||
"Properties": {
|
||||
"id": "20220307095239-df4h0fo"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307095239-2yvb8si",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307095239-2yvb8si"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307095239-y7qy3tr",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307095239-y7qy3tr"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "設備 B 數據因為版本和雲端相同進而略過同步"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307095239-xy53q6n",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307095239-xy53q6n"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307095239-nehg0y8",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307095239-nehg0y8"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "設備 B 數據覆蓋雲端"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307095239-b4a1r7g",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20220307095239-b4a1r7g"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20220307095239-z38fy9q",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307095239-z38fy9q"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "設備 B 數據被雲端覆蓋"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20220307095239-3qnw1k7",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220307095239-3qnw1k7",
|
||||
"updated": "20220307095239"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "該場景下,使用同步的過程是在兩個設備上都離線編輯,然後再執行同步,這樣無法得到正常的同步預期結果。儘管如此,數據也不會發生丟失,可通過歷史找回被覆蓋的數據。"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -1277,7 +1034,7 @@
|
|||
"ListData": {},
|
||||
"Properties": {
|
||||
"id": "20211226121454-kv5itch",
|
||||
"updated": "20220420100403"
|
||||
"updated": "20220703231653"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -1308,40 +1065,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20211226121454-4vhcu0v",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20211226121454-4vhcu0v"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20211226121454-f8zn2s6",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20211226121454-f8zn2s6"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "重命名或刪除"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "雲端"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "目錄前,請在所有設備上關閉同步後再修改或刪除"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20211226121454-150ti1m",
|
||||
"Type": "NodeListItem",
|
||||
|
|
|
|||
|
|
@ -35,9 +35,10 @@ type Sync struct {
|
|||
|
||||
func NewSync() *Sync {
|
||||
return &Sync{
|
||||
CloudName: "main",
|
||||
Enabled: true,
|
||||
Mode: 1,
|
||||
CloudName: "main",
|
||||
Enabled: true,
|
||||
Mode: 1,
|
||||
UseDataRepo: true,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue