# US 2025/0209152 A1 · Method for device sharing connection, electronic device, and storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0209152 A1
- Document ID: US20250209152A1
- Status: Published application
- Kind: A1
- Application number: 18/907,239
- Filed: 2024-10-04
- Published: 2025-06-26
- Earliest claimed: 2023-12-20
- Assignees: Beijing Xiaomi Mobile Software Co., Ltd.
- Applicants: Beijing Xiaomi Mobile Software Co., Ltd.
- Inventors: Jianxin PENG
- Web page: https://patentgrep.com/patent/US20250209152A1

## CPC

- G06F 21/445: {by mutual authentication, e.g. between devices or programs}
- H04L 63/104: {Grouping of entities}
- H04L 9/3263: {involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements (network architectures or network communication protocols for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for device sharing connection includes: obtaining, in response to that a connection request message sent by a target device is received, a first team account for the target device according to the connection request message; obtaining, when the first team account matches a second team account for the user device, a first device role of the target device; sending, when determining that the first device role and a second device role of the user device meet a role combination condition, response information to the target device to execute device authentication; and creating, when determining that the device authentication succeeds, a sharing connection with the target device.

## Claims

### Claim 1

A method for device sharing connection, applied to a user device and comprising:
obtaining, in response to that a connection request message sent by a target device is received, a first team account for the target device according to the connection request message;
obtaining, when the first team account matches a second team account for the user device, a first device role of the target device;
sending, when determining that the first device role and a second device role of the user device meet a role combination condition, response information to the target device to execute device authentication; and
creating, when determining that the device authentication succeeds, a sharing connection with the target device.

### Claim 2 (depends on 1)

The method of claim 1, wherein the role combination condition comprises:
the first device role indicates a controller and the second device role indicates a controlee; or
the first device role indicates a controlee and the second device role indicates a controller.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first team account is determined according to a first team certificate comprised in the connection request message; the first team certificate comprises a first certificate time and a first member set; and the first member set comprises user accounts for respective team members corresponding to the first team account; and
wherein the second team account is determined according to a second team certificate of the user device; the second team certificate comprises a second certificate time and a second member set; and the second member set comprises user accounts for respective team members corresponding to the second team account.

### Claim 4 (depends on 3)

The method of claim 3, wherein the sending response information to the target device to execute device authentication, comprises:
executing certificate verification for the first team certificate of the target device;
when determining that the certificate verification succeeds, the first certificate time is not later than the second certificate time, and the second member set comprises a first user account for the target device and a second user account for the user device, determining that the device authentication succeeds; or
when determining that the certificate verification succeeds and the first certificate time is later than the second certificate time,
updating the second team certificate and determining a new second member set from the updated second team certificate; and
when the new second member set comprises the first user account for the target device and the second user account for the user device, determining that the device authentication succeeds.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
generating a transmission key when determining that the certificate verification succeeds; and
communicating data with the target device through the transmission key.

### Claim 6 (depends on 1)

The method of claim 1, wherein before receiving the connection request message sent by the target device, the method further comprises:
sending a team account creation request to a server, so that the server generates the second team account based on the team account creation request;
receiving the second team account returned by the server; and
sending a team invitation notification to the target device, so that the target device sends a team joining request to the server and receives the first team account returned by the server based on the second team account.

### Claim 7 (depends on 1)

The method of claim 1, wherein before receiving the connection request message sent by the target device, the method further comprises:
when determining that a team invitation notification is received, sending a team joining request to a server, and receiving the second team account that is returned by the server based on the team joining request; or
when determining that a team information update notification sent by the server is received, sending a team information update request to the server, and receiving the second team account that is returned by the server based on the team information update request.

### Claim 8

A method for device sharing connection, applied to a target device and comprising:
sending a connection request message, wherein the connection request message is for determining a first team account for the target device;
executing, when determining that a response message returned by a user device based on the connection request message is received, device authentication for the user device, wherein the response message is sent in response to determining that the first team account matches a second team account for the user device and a first device role of the target device and a second device role of the user device meet a role combination condition; and
creating, when determining that the device authentication succeeds, a sharing connection with the user device.

### Claim 9 (depends on 8)

The method of claim 8, wherein the first team account is determined according to a first team certificate comprised in the connection request message; the first team certificate comprises a first certificate time and a first member set; and the first member set comprises user accounts for respective team members corresponding to the first team account; and
wherein the second team account is determined according to a second team certificate of the user device; the second team certificate comprises a second certificate time and a second member set; and the second member set comprises user accounts for respective team members corresponding to the second team account.

### Claim 10 (depends on 9)

The method of claim 9, wherein the executing device authentication for the user device, comprises:
executing certificate verification for the second team certificate of the user device;
when determining that the certificate verification succeeds, the first certificate time is not earlier than the second certificate time, and the first member set comprises a first user account for the target device and a second user account for the user device, determining that the device authentication succeeds; or
when determining that the certificate verification succeeds and the first certificate time is earlier than the second certificate time,
updating the first team certificate and determining a new first member set from the updated first team certificate; and
when the new first member set comprises the first user account for the target device and the second user account for the user device, determining that the device authentication succeeds.

### Claim 11

An electronic device, comprising:
a processor; and
a memory storing computer instructions executable by the processor;
wherein the processor is configured to:
obtain, in response to that a connection request message sent by a target device is received, a first team account for the target device according to the connection request message;
obtain, when the first team account matches a second team account for the user device, a first device role of the target device;
send, when determining that the first device role and a second device role of the user device meet a role combination condition, response information to the target device to execute device authentication; and
create, when determining that the device authentication succeeds, a sharing connection with the target device.

### Claim 12 (depends on 11)

The electronic device of claim 11, wherein the role combination condition comprises:
the first device role indicates a controller and the second device role indicates a controlee; or
the first device role indicates a controlee and the second device role indicates a controller.

### Claim 13 (depends on 11)

The electronic device of claim 11, wherein the first team account is determined according to a first team certificate comprised in the connection request message; the first team certificate comprises a first certificate time and a first member set; and the first member set comprises user accounts for respective team members corresponding to the first team account; and
wherein the second team account is determined according to a second team certificate of the user device; the second team certificate comprises a second certificate time and a second member set; and the second member set comprises user accounts for respective team members corresponding to the second team account.

### Claim 14 (depends on 13)

The electronic device of claim 13, wherein the processor is further configured to:
execute certificate verification for the first team certificate of the target device;
when determining that the certificate verification succeeds, the first certificate time is not later than the second certificate time, and the second member set comprises a first user account for the target device and a second user account for the user device, determine that the device authentication succeeds; or
when determining that the certificate verification succeeds and the first certificate time is later than the second certificate time,
update the second team certificate and determining a new second member set from the updated second team certificate; and
when the new second member set comprises the first user account for the target device and the second user account for the user device, determine that the device authentication succeeds.

### Claim 15 (depends on 14)

The electronic device of claim 14, wherein the processor is further configured to:
generate a transmission key when determining that the certificate verification succeeds; and
communicate data with the target device through the transmission key.

### Claim 16 (depends on 11)

The electronic device of claim 11, wherein the processor is further configured to:
send a team account creation request to a server, so that the server generates the second team account based on the team account creation request;
receive the second team account returned by the server; and
send a team invitation notification to the target device, so that the target device sends a team joining request to the server and receives the first team account returned by the server based on the second team account.

### Claim 17 (depends on 11)

The electronic device of claim 11, wherein the processor is further configured to:
when determining that a team invitation notification is received, send a team joining request to a server, and receive the second team account that is returned by the server based on the team joining request; or
when determining that a team information update notification sent by the server is received, send a team information update request to the server, and receive the second team account that is returned by the server based on the team information update request.

### Claim 18 (depends on 8)

An electronic device, comprising:
a processor; and
a memory storing computer instructions executable by the processor;
wherein the processor is configured to perform the method of claim 8.

### Claim 19 (depends on 1)

A non-transitory computer readable storage medium, storing computer instructions that, when executed by a processor, cause the processor to perform the method of claim 1.

### Claim 20 (depends on 8)

A non-transitory computer readable storage medium, storing computer instructions that, when executed by a processor, cause the processor to perform the method of claim 8.
