Device collaboration method
Abstract
This application discloses a device collaboration method. A first electronic device establishes a collaboration connection to a second electronic device. The first electronic device obtains a first instance attribute of a first data object and a second instance attribute of a second data object. The first electronic device sends the first instance attribute to the second electronic device through a first session, and sends the second instance attribute to the second electronic device through a second session. In this way, two data objects that are the same on the first electronic device and the second electronic device are associated with a same session identifier. The first electronic device may monitor attribute changes of data objects of different types, and send only a data object whose attribute changes to the second electronic device.
Claims
exact text as granted — not AI-modified1 . A device collaboration method, comprising:
establishing, by a first electronic device, a collaboration connection to a second electronic device; obtaining, by the first electronic device, a first instance attribute of a first data object and a second instance attribute of a second data object; sending, by the first electronic device, the first instance attribute to the second electronic device through a first session, wherein the first instance attribute is used by the second electronic device to generate the first data object; and sending, by the first electronic device, the second instance attribute to the second electronic device through a second session, wherein the second instance attribute is used by the second electronic device to generate the second data object.
2 . The method according to claim 1 , the method further comprising:
obtaining, by the first electronic device, a third instance attribute of the first data object; and sending, by the first electronic device, the third instance attribute to the second electronic device through the first session, wherein the first instance attribute and the third instance attribute are jointly used by the second electronic device to generate the first data object.
3 . The method according to claim 1 , the method further comprising:
obtaining, by the first electronic device, a third instance attribute of the first data object; and sending, by the first electronic device, the third instance attribute to the second electronic device through a third session, wherein the first instance attribute and the third instance attribute are jointly used by the second electronic device to generate the first data object.
4 . The method according to claim 1 , wherein after the sending, by the first electronic device, the first instance attribute to the second electronic device through the first session, the method further comprises:
detecting, by the electronic device, that the first instance attribute changes, and sending a changed first instance attribute to the second electronic device through the first session, wherein the changed first instance attribute is used by the second electronic device to update the first data object.
5 . The method according to claim 1 , wherein the establishing, by the first electronic device, the collaboration connection to the second electronic device comprises:
sending, by the first electronic device, a collaboration message to the second electronic device, wherein the collaboration message comprises an instance identifier of a first instance and a session identifier of the first session, and the session identifier of the first session is associated with the first instance.
6 . The method according to claim 1 , the method further comprising:
establishing, by the first electronic device, a collaboration connection to a third electronic device; sending, by the first electronic device, the first instance attribute to the third electronic device through a fourth session, wherein the first instance attribute is used by the third electronic device to generate the first data object; and sending, by the first electronic device, the second instance attribute to the third electronic device through a fifth session, wherein the second instance attribute is used by the third electronic device to generate the second data object.
7 . The method according to claim 1 , the method further comprising:
establishing, by the first electronic device, a collaboration connection to a third electronic device; generating, by the first electronic device, a third data object; obtaining, by the first electronic device, a fourth instance attribute of the third data object; and sending, by the first electronic device, the fourth instance attribute to the third electronic device through a sixth session, wherein the fourth instance attribute is used by the third electronic device to generate the third data object.
8 . The method according to claim 1 , wherein the obtaining, by the first electronic device, the first instance attribute of the first data object and the second instance attribute of the second data object comprises:
obtaining, by the first electronic device, the first instance attribute of the first data object and the second instance attribute of the second data object through data interception.
9 . The method according to claim 1 , wherein the first data object is associated with the first session, the second data object is associated with the second session, and the first data object is different from the second data object.
10 . The method according to claim 1 , wherein the first data object comprises at least one of a text data object, a picture data object, an audio data object, or a video data object.
11 . An electronic device, comprising:
one or more processors; and one or more non-transitory memories storing computer program code, the computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform operations including: establishing a collaboration connection to a second electronic device; obtaining a first instance attribute of a first data object and a second instance attribute of a second data object; sending the first instance attribute to the second electronic device through a first session, wherein the first instance attribute is used by the second electronic device to generate the first data object; and sending the second instance attribute to the second electronic device through a second session, wherein the second instance attribute is used by the second electronic device to generate the second data object.
12 . The electronic device according to claim 11 , the operations further comprising:
obtaining a third instance attribute of the first data object; and sending the third instance attribute to the second electronic device through the first session, wherein the first instance attribute and the third instance attribute are jointly used by the second electronic device to generate the first data object.
13 . The electronic device according to claim 11 , the operations further comprising:
obtaining a third instance attribute of the first data object; and sending the third instance attribute to the second electronic device through a third session, wherein the first instance attribute and the third instance attribute are jointly used by the second electronic device to generate the first data object.
14 . The electronic device according to claim 1 , the operations further comprising:
detecting that the first instance attribute changes; and sending a changed first instance attribute to the second electronic device through the first session, wherein the changed first instance attribute is used by the second electronic device to update the first data object.
15 . The electronic device according to claim 1 , wherein the establishing the collaboration connection to the second electronic device comprises:
sending a collaboration message to the second electronic device, wherein the collaboration message comprises an instance identifier of a first instance and a session identifier of the first session, and the session identifier of the first session is associated with the first instance.
16 . The electronic device according to claim 1 , the operations further comprising:
establishing a collaboration connection to a third electronic device; and sending the first instance attribute to the third electronic device through a fourth session, wherein the first instance attribute is used by the third electronic device to generate the first data object; and sending the second instance attribute to the third electronic device through a fifth session, wherein the second instance attribute is used by the third electronic device to generate the second data object.
17 . The electronic device according to claim 1 , the operations further comprising:
establishing a collaboration connection to a third electronic device; generating a third data object; obtaining a fourth instance attribute of the third data object; and sending the fourth instance attribute to the third electronic device through a sixth session, wherein the fourth instance attribute is used by the third electronic device to generate the third data object.
18 . The electronic device according to claim 1 , the obtaining the first instance attribute of the first data object and the second instance attribute of the second data object comprises:
obtaining the first instance attribute of the first data object and the second instance attribute of the second data object through data interception.
19 . The electronic device according to claim 1 , wherein the first data object is associated with the first session, the second data object is associated with the second session, and the first data object is different from the second data object.
20 . A non-transitory computer-readable storage medium, configured to store computer instructions, wherein when the computer instructions are run on a first electronic device, the first electronic device is enabled to perform operations including:
establishing a collaboration connection to a second electronic device; obtaining a first instance attribute of a first data object and a second instance attribute of a second data object; sending the first instance attribute to the second electronic device through a first session, wherein the first instance attribute is used by the second electronic device to generate the first data object; and sending the second instance attribute to the second electronic device through a second session, wherein the second instance attribute is used by the second electronic device to generate the second data object.Join the waitlist — get patent alerts
Track US2024422020A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.