# US 2016/0253388 A1 · Method and Apparatus for Sharing Environment Context

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

- Number: US 2016/0253388 A1
- Document ID: US20160253388A1
- Status: Published application
- Kind: A1
- Application number: 15/151,704
- Filed: 2016-05-11
- Published: 2016-09-01
- Earliest claimed: 2013-11-11
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Heng Chang; Qian Zhang
- Web page: https://patentgrep.com/patent/US20160253388A1

## CPC

- G06F 16/2455: Query execution
- G06F 16/24575: {using context}
- G06F 16/252: {between a Database Management System and a front-end application}
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04W 4/029: Location-based management or tracking services
- H04W 4/33: for indoor environments, e.g. buildings
- H04W 4/38: for collecting sensor information
- H04L 67/12: specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04W 4/80: Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
- 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)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

Embodiments of the present disclosure provide a method and an apparatus for sharing an environment context. When an environment context of a first user is lacking, a context awareness platform can acquire an environment context of a second user adjacent to a first user, and provide, to the first user for accessing an application device such that when a user accesses an application in non-smart space or different smart space, the user can also obtain an environment context lacked by the user, and therefore the embodiments of the present disclosure have strong commonality.

## Claims

### Claim 1

A method for sharing an environment context, comprising:
receiving, by a context awareness platform, a request for acquiring an environment context of a first user, wherein the request is initiated by an application device and comprises an identifier of the first user and an environment context identifier;
searching for an environment context record of the first user according to the identifier of the first user;
querying, in the environment context record of the first user, an environment context corresponding to the environment context identifier;
acquiring, according to the environment context identifier, the environment context of a second user adjacent to the first user when the environment context corresponding to the environment context identifier is not found in the environment context record of the first user; and
returning the environment context to the application device.

### Claim 2 (depends on 1)

The method according to claim 1, wherein acquiring, according to the environment context identifier, a second environment context of the second user adjacent to the first user, comprises:
determining, by the context awareness platform, the second user adjacent to the first user,
performing a search using the environment context identifier, in a second environment context record of the second user adjacent to the first user; and
acquiring, from the second environment context record of the second user, the environment context corresponding to the environment context identifier when the second user adjacent to the first user has the environment context corresponding to the environment context identifier.

### Claim 3 (depends on 2)

The method according to claim 2, wherein before acquiring, from the environment context record of the second user, the environment context corresponding to the environment context identifier, the method further comprises determining, by the context awareness platform, that the second user sets environment context sharing.

### Claim 4 (depends on 2)

The method according to claim 2, wherein before acquiring, from the context record of the second user, the environment context corresponding to the environment context identifier, the method further comprises confirming, by the context awareness platform, an authenticity of adjacency of the first user and the second user.

### Claim 5 (depends on 4)

The method according to claim 4, wherein confirming, by the context awareness platform, authenticity of adjacency of the first user and the second user comprises:
requesting, by the context awareness platform, from the second user, information about a user adjacent to the second user;
receiving the information about the user adjacent to the second user from the second user; and
determining, by the context awareness platform, whether the information comprises information about the first user.

### Claim 6 (depends on 1)

The method according to claim 1, wherein acquiring, according to the environment context identifier, the environment context of the second user adjacent to the first user comprises:
sending, by the context awareness platform, to the first user, a notification indicating that the environment context of the first user is not found, wherein the notification comprises the environment context identifier; and
receiving, by the context awareness platform, the environment context corresponding to the environment context identifier after sending the notification to the first user.

### Claim 7 (depends on 6)

The method according to claim 6, wherein receiving, by the context awareness platform, the environment context comprises:
searching, by the first user, for the second user adjacent to the first user after receiving of the notification;
initiating an environment context sharing request to the second user adjacent to the first user, wherein the environment context sharing request comprises the environment context identifier;
receiving the environment context corresponding to the environment context identifier from the second user; and
returning the environment context to the context awareness platform.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the method further comprises:
saving, by the context awareness platform, the environment context of the second user to the environment context record of the first user as a temporary environment context of the first user; and
setting a validity period for the temporary environment context.

### Claim 9

A method for sharing an environment context, comprising:
receiving, by user equipment, a notification from a context awareness platform;
searching for a device adjacent to the user equipment when the notification indicates that an environment context is lacking; and
acquiring, by the user equipment, the lacking environment context from the adjacent device that; and
sending the lacking environment context to the context awareness platform as the environment context of the user equipment.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the notification comprises an environment context identifier, and wherein the acquiring, by the user equipment, the lacking environment context from the adjacent device comprises:
initiating, by the user equipment, an environment context sharing request to the adjacent device, wherein the environment context sharing request comprises the environment context identifier; and
receiving, by the user equipment, the environment context corresponding to the environment context identifier from the adjacent device.

### Claim 11

A context awareness platform, comprising:
a receiver configured to receive a request for acquiring an environment context of a first user, wherein the request is initiated by an application device and comprises an identifier of the first user and an environment context identifier; and
a processor coupled to the receiver and configured to:
find an environment context record of the first user according to the identifier of the first user,
query, in the environment context record of the first user, an environment context corresponding to the environment context identifier when the environment context corresponding to the environment context identifier is not found in the environment context record of the first user; and
acquire, according to the environment context identifier, an environment context of a second user adjacent to the first user; and
a transmitter configured to transmit the environment context of the second user to the application device.

### Claim 12 (depends on 11)

The context awareness platform according to claim 11, wherein the processor is further configured to:
determine the second user adjacent to the first user;
perform a search using the environment context identifier in the environment context record of the second user adjacent to the first user; and
acquire, from the environment context record of the second user, the environment context corresponding to the environment context identifier when the second user adjacent to the first user has the environment context corresponding to the environment context identifier.

### Claim 13 (depends on 12)

The context awareness platform according to claim 12, wherein the processor is further configured to determine that the second user sets environment context sharing.

### Claim 14 (depends on 12)

The context awareness platform according to claim 12, wherein the processor is further configured to confirm an authenticity of adjacency of the first user and the second user.

### Claim 15 (depends on 14)

The context awareness platform according to claim 14, wherein the processor is further configured to:
request information about a user adjacent to the second user from the second user;
receive the information about the user adjacent to the second user from the second user; and
determine whether the information comprises information about the first user.

### Claim 16 (depends on 11)

The context awareness platform according to claim 11, wherein the transmitter is further configured to send, to the first user, a notification indicating that the environment context of the first user is lacking, wherein the notification comprises the environment context identifier, wherein the receiver is further configured to receive the environment context corresponding to the environment context identifier after receiving the notification.

### Claim 17 (depends on 11)

The context awareness platform according to claim 11, wherein the processor is further configured to:
save the acquired environment context of the second user to the environment context record of the first user as a temporary environment context of the first user; and \
set a validity period for the temporary environment context.

### Claim 18

User equipment, comprising:
a receiver configured to receive a notification from a context awareness platform;
a processor coupled to the receiver;
a memory coupled to the processor in which a computer program is stored, the computer program including instructions that, when executed by the processor, cause the processor to search for a device adjacent to the user equipment when the notification indicates that an environment context is lacking, wherein the receiver is further configured to acquire the lacking environment context from the adjacent device; and
a transmitter coupled to the processor and configured to send the environment context acquired from the adjacent device to the context awareness platform as the environment context of the user equipment.

### Claim 19 (depends on 18)

The user equipment according to claim 18, wherein the notification comprises an environment context identifier, wherein the instructions that, when executed by the processor, further cause the processor to initiate an environment context sharing request to the adjacent device that is searched out, wherein the environment context sharing request carries the environment context identifier, and wherein the receiver is further configured to receive an environment context that is returned by the adjacent device and corresponding to the environment context identifier.
