IP Library Granted Patent US 11,470,153
Granted Patent B2
US 11,470,153 · App. 17/268,415 · Granted Oct 11, 2022

Photo sharing method and electronic device

Inventor: Sheng Bi (Shanghai, CN)
Assignee: Huawei Technologies Co., Ltd.
H04L67/1095G06F3/0488G06F16/178H04L9/3236H04L65/403H04L67/06G06Q10/1095H04L9/50H04L2209/60
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,470,153
App. No.
17/268,415
Granted
Oct 11, 2022
Kind
B2
Abstract

A method includes: When a first electronic device does not initiate synchronization with a second electronic device, the first electronic device detects a first operation of a user. In response to the first operation, the first electronic device adds first photo information to a first shared album of the first electronic device. When the first electronic device initiates synchronization with the second electronic device, the first electronic device sends, to the second electronic device, a first request message for adding the first photo information. In this way, after receiving a first request response message that is sent by the second electronic device and that is used for refusing to add the first photo information, the first electronic device deletes the first photo information from the first shared album.

Claims (91)

1. A method, comprising:

when a first electronic device is not synchronizing with a second electronic device, detecting, by the first electronic device, a first operation of a user;

in response to the first operation, adding, by the first electronic device, first photo information to a first shared album of the first electronic device, wherein the first shared album comprises photo information added by the first electronic device;

after the first electronic device initiates synchronization with the second electronic device, sending, by the first electronic device to the second electronic device, a first request message for adding the first photo information;

receiving, by the first electronic device from the second electronic device, a first request response message indicating refusal to add the first photo information; and

deleting, by the first electronic device, the first photo information from the first shared album.

2. The method according to claim 1 , wherein the method further comprises:

after the deleting the first photo information:

synchronizing photo information in a fourth shared album of the second electronic device to the first electronic device, wherein the fourth shared album comprises the photo information in the first shared album, photo information in a second shared album of the second electronic device, and photo information in a third shared album of a third electronic device, and the photo information in the first shared album excludes the first photo information.

3. The method according to claim 2 , further comprising:

before the detecting the first operation of the user, when the first electronic device is not synchronizing with the second electronic device, detecting a second operation of the user;

in response to the second operation, adding second photo information to the first shared album;

after the first electronic device initiates second synchronization with the second electronic device, sending, to the second electronic device, a second request message for adding the second photo information;

receiving, from the second electronic device, a second request response message that indicates that the second photo information is successfully added;

when the first electronic device is not synchronizing with the second electronic device, detecting a third operation of the user;

in response to the third operation, adding third photo information to the first shared album that comprises the second photo information;

after the first electronic device initiates third synchronization with the second electronic device, sending, to the second electronic device, a third request message for adding the third photo information; and

receiving, from the second electronic device, a third request response message that indicates that the third photo information is successfully added.

4. The method according to claim 3 ,

wherein the first electronic device and the second electronic device are in a blockchain network,

wherein a first record corresponding to the second photo information comprises a first identifier, a hash value of a second photo, and content data of the second photo, and

wherein a second record corresponding to the third photo information comprises a second identifier, the hash value of the second photo, content data of a third photo, and the first identifier.

5. The method according to claim 3 , further comprising:

when the first electronic device is not synchronizing with the second electronic device, detecting a fourth operation of the user;

in response to the fourth operation, deleting the third photo information from the first shared album;

after the first electronic device initiates fourth synchronization with the second electronic device, sending a fourth request message for deleting the third photo information to the second electronic device; and

receiving, from the second electronic device, a fourth request response message that indicates that the third photo information is successfully deleted.

6. The method according to claim 1 , wherein the photo information added by the first electronic device forms a blockchain.

7. The method according to claim 2 , the synchronizing the photo information in the fourth shared album comprising:

locally synchronizing the photo information in the fourth shared album so that the second electronic device ensures sequential growth of a blockchain corresponding to the first shared album.

8. A first electronic device, comprising:

one or more processors; and

one or more memories coupled to the one or more processors, the one or more memories storing programming for execution by the one or more processors, the programming including instructions to:

when the first electronic device is not synchronizing with a second electronic device, detect a first operation of a user;

in response to the first operation, add first photo information to a first shared album of the first electronic device, wherein the first shared album comprises photo information added by the first electronic device;

after the first electronic device initiates synchronization with the second electronic device, send, to the second electronic device, a first request message for adding the first photo information;

receive, from the second electronic device, a first request response message indicating refusal to refusing to add the first photo information; and

delete the first photo information from the first shared album.

9. The first electronic device according to claim 8 , the programming further including instructions to:

after deleting the first photo information:

synchronize photo information in a fourth shared album of the second electronic device to the first electronic device, wherein the fourth shared album comprises the photo information in the first shared album, photo information in a second shared album of the second electronic device, and photo information in a third shared album of a third electronic device, and the photo information in the first shared album excludes the first photo information.

10. The first electronic device according to claim 9 , the programming further including instructions to:

before detecting the first operation of the user, when the first electronic device is not synchronizing with the second electronic device, detect a second operation of the user;

in response to the second operation, add second photo information to the first shared album;

after the first electronic device initiates second synchronization with the second electronic device, send, to the second electronic device, a second request message for adding the second photo information;

receive, from the second electronic device, a second request response message that indicates that the second photo information is successfully added;

when the first electronic device is not synchronizing with the second electronic device, detect a third operation of the user;

in response to the third operation, add third photo information to the first shared album that comprises the second photo information;

after the first electronic device initiates third synchronization with the second electronic device, send, to the second electronic device, a third request message for adding the third photo information; and

receive, from the second electronic device, a third request response message that indicates that the third photo information is successfully added.

11. The first electronic device according to claim 10 ,

wherein the first electronic device and the second electronic device are in a blockchain network,

wherein a first record corresponding to the second photo information comprises a first identifier, a hash value of a second photo, and content data of the second photo, and

wherein a second record corresponding to the third photo information comprises a second identifier, the hash value of the second photo, content data of a third photo, and the first identifier.

12. The first electronic device according to claim 10 , the programming further including instructions to:

when the first electronic device is not synchronizing with the second electronic device, detect a fourth operation of the user;

in response to the fourth operation, delete the third photo information from the first shared album;

after the first electronic device initiates fourth synchronization with the second electronic device, send a fourth request message for deleting the third photo information to the second electronic device; and

receive, from the second electronic device, a fourth request response message that indicates that the third photo information is successfully deleted.

13. The first electronic device according to claim 8 , wherein the photo information added by the first electronic device forms a blockchain.

14. The first electronic device according to claim 9 , the instructions to synchronize the photo information in the fourth shared album comprising:

locally synchronizing the photo information in the fourth shared album so that the second electronic device ensures sequential growth of a blockchain corresponding to the first shared album.

15. A non-transitory computer storage medium, having instructions stored thereon that, when executed by a first electronic device, cause the first electronic device to perform operations, the operations comprising:

when the first electronic device is not synchronizing with a second electronic device, detecting a first operation of a user;

in response to the first operation, adding first photo information to a first shared album of the first electronic device, wherein the first shared album comprises photo information added by the first electronic device;

after the first electronic device initiates synchronization with the second electronic device, sending, to the second electronic device, a first request message for adding the first photo information;

receiving, from the second electronic device, a first request response message indicating refusal to add the first photo information; and

deleting the first photo information from the first shared album.

16. The non-transitory computer storage medium according to claim 15 , the operations further comprising:

after the deleting the first photo information:

synchronizing photo information in a fourth shared album of the second electronic device to the first electronic device, wherein the fourth shared album comprises the photo information in the first shared album, photo information in a second shared album of the second electronic device, and photo information in a third shared album of a third electronic device, and the photo information in the first shared album excludes the first photo information.

17. The non-transitory computer storage medium according to claim 16 , the operations further comprising:

before the detecting the first operation of the user, when the first electronic device is not synchronizing with the second electronic device, detecting a second operation of the user;

in response to the second operation, adding second photo information to the first shared album;

after the first electronic device initiates second synchronization with the second electronic device, sending, to the second electronic device, a second request message for adding the second photo information;

receiving, from the second electronic device, a second request response message that indicates that the second photo information is successfully added;

when the first electronic device is not synchronizing with the second electronic device, detecting a third operation of the user;

in response to the third operation, adding third photo information to the first shared album that comprises the second photo information;

after the first electronic device initiates third synchronization with the second electronic device, sending, to the second electronic device, a third request message for adding the third photo information; and

receiving, from the second electronic device, a third request response message that indicates that the third photo information is successfully added.

18. The non-transitory computer storage medium according to claim 17 ,

wherein the first electronic device and the second electronic device are devices in a blockchain network,

wherein a first record corresponding to the second photo information comprises a first identifier, a hash value of a second photo, and content data of the second photo, and

wherein a second record corresponding to the third photo information comprises a second identifier, the hash value of the second photo, content data of a third photo, and the first identifier.

19. The non-transitory computer storage medium according to claim 17 , the operations further comprising:

when the first electronic device is not synchronizing with the second electronic device, detecting a fourth operation of the user;

in response to the fourth operation, deleting the third photo information from the first shared album;

when the first electronic device initiates fourth synchronization with the second electronic device, sending a fourth request message for deleting the third photo information to the second electronic device; and

receiving, from the second electronic device, a fourth request response message that indicates that the third photo information is successfully deleted.

20. The non-transitory computer storage medium according to claim 16 , the synchronizing the photo information in the fourth shared album comprising:

locally synchronizing the photo information in the fourth shared album so that the second electronic device ensures sequential growth of a blockchain corresponding to the first shared album.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 16, 2021
From: BI, SHENG
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 057496/0851 →
Continuity (1)
Related Publication 20210320974A1 · Oct 14, 2021