IP Library Granted Patent US 10,134,249
Granted Patent B2
US 10,134,249 · App. 14/996,686 · Granted Nov 20, 2018

Method and device for sending message

Inventors: Qiang Fu (Beijing, CN); Yang Wang (Beijing, CN); Ting Chen (Beijing, CN)
Assignee: Xiaomi Inc.
G08B13/08G08B25/10H04L12/2825H04L67/12H04L67/18H04W4/02H04W4/043H04W4/12
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 10,134,249
App. No.
14/996,686
Granted
Nov 20, 2018
Kind
B2
Abstract

A method for sending a message is provided. The method includes: detecting whether a user is located in a target place; if the user is not located in the target place, detecting whether an entrance of the target place is opened; and if the entrance of the target place is opened, sending a prompt message to a device carried by the user.

Claims (65)

1. A method for sending a prompt message to a wearable device of a user to indicate a status of an entrance among a plurality of entrances of a target place, comprising:

detecting, by a server device, whether the user is located in the target place based on a first message sent from the wearable device carried by the user and a pre-stored message corresponding to the target place, the first message indicating a location of the user and the pre-stored message indicating a location of the target place, wherein the server device determines whether the user is located in the target place based on whether the two locations are identical;

if it is determined that the user is not located in the target place, detecting, by the server device, whether an entrance of the target place is opened; and

if it is determined that the entrance of the target place is opened, sending, by the server device, the prompt message to the wearable device to indicate the state of the entrance to the user via the wearable device;

wherein the server device determines whether the user is located in the target place based on the first message and the pre-stored message corresponding to the target place comprises:

when the first message is a first device list and the pre-stored message is a second device list, detecting whether the user is located in the target place based on a similarity between the first device list and the second device list, the first device list being a list of devices which are connected in a first network covering a place where the user is currently located, and the second device list being a list of devices which are connected in a second network covering the target place; and

when the first message is a first location message of the wearable device of the user and the pre-stored message is a second location message of the target place, detecting whether the user is located in the target place based on the first location message and the second location message; and

wherein when the first location message is a geographic position message of the wearable device and the second location message is a geographic position message of the target place, detecting, by the server device, whether a distance between the wearable device and the target place is less than a predetermined threshold; and

when the first location message is an Internet Protocol (IP) address of the wearable device and the second location message is an address of a network segment corresponding to the target place, detecting, by the server device, whether the IP address of the wearable device is contained in the address of the network segment.

2. The method of claim 1 , wherein detecting whether the user is located in the target place further comprises:

receiving, by the server device, a second message sent from a device in the target place, and

detecting, by the server device, whether the user is located in the target place based on the second message.

3. The method of claim 2 , wherein detecting, by the server device, whether the user is located in the target place based on the second message comprises:

when the second message is a movement-indicating message, detecting whether the user is moving in the target place during a preset time period based on the movement-indicating message; and

when the second message is a monitoring message obtained from monitoring of the target place, detecting whether the user leaves the target place based on the monitoring message.

4. The method of claim 3 , wherein detecting whether an entrance of the target place is opened comprises:

receiving state messages sent from entrance-opening sensors of the target place, each of the entrance-opening sensors being associated with a corresponding entrance of the plurality of the entrances;

detecting whether one of the state messages indicates that the corresponding entrance, of the target place is in an opened state; and

if it is detected that one of the state messages indicates that the corresponding entrance of the target place is in the opened state, determining that the corresponding entrance of the target place is opened.

5. The method of claim 1 , wherein detecting, by the server device, whether the entrance among the plurality of the entrances of the target place is opened comprises:

receiving state messages sent from entrance-opening sensors of the target place, each of the entrance-opening sensors being associated with a corresponding entrance of the plurality of the entrances;

detecting whether one of the state messages indicates that the corresponding entrance of the target place is in an opened state; and

if it is detected that one of the state messages indicates that the corresponding entrance of the target place is in the opened state, determining that the corresponding entrance of the target place is opened.

6. The method of claim 2 , wherein detecting, by the server device, whether the entrance among the plurality of the entrances of the target place is opened comprises:

receiving state messages sent from entrance-opening sensors of the target place, each of the entrance-opening sensors being associated with a corresponding entrance of the plurality of the entrances;

detecting whether one of the state messages indicates that the corresponding entrance of the target place is in an opened state; and

if it is detected that one of the state messages indicates that the corresponding entrance of the target place is in the opened state, determining that the corresponding entrance of the target place is opened.

7. A server device for sending a prompt message to a wearable device of a user to indicate a status of an entrance among a plurality of entrances of a target place, comprising:

a processor; and

a memory for storing instructions executable by the processor; wherein the processor is configured to perform:

detecting whether the user is located in the target place based on a first message sent from the wearable device carried by the user and a pre-stored message corresponding to the target place, the first message indicating a location of the user and the pre-stored message indicating a location of the target place, wherein the server device determines whether the user is located in the target place based on whether the two locations are identical;

if it is determined that the user is not located in the target place, detecting whether an entrance of the target place is opened; and

if it is determined that the entrance of the target place is opened, sending the prompt message to the wearable device to indicate the state of the entrance to the user via the wearable device;

wherein the server device determines whether the user is located in the target place based on the first message and the pre-stored message corresponding to the target place comprises:

when the first message is a first device list and the pre-stored message is a second device list, detecting whether the user is located in the target place based on a similarity between the first device list and the second device list, the first device list being a list of devices which are connected in a first network covering a place where the user is currently located, and the second device list being a list of devices which are connected in a second network covering the target place; and

when the first message is a first location message of the wearable device of the user and the pre-stored message is a second location message of the target place, detecting whether the user is located in the target place based on the first location message and the second location message; and

wherein when the first location message is a geographic position message of the wearable device and the second location message is a geographic position message of the target place, detecting whether a distance between the wearable device and the target place is less than a predetermined threshold; and

when the first location message is an Internet Protocol (IP) address of the wearable device and the second location message is an address of a network segment corresponding to the target place, detecting whether the IP address of the wearable device is contained in the address of the network segment.

8. The server device of claim 7 , wherein the processor is further configured to perform:

receiving a second message sent from a device in the target place, and

detecting whether the user is located in the target place based on the second message.

9. The server device of claim 8 , wherein the processor is further configured to perform:

when the second message is a movement-indicating message, detecting whether the user is moving in the target place during a preset time period based on the movement-indicating message; and

when the second message is a monitoring message obtained from monitoring of the target place, detecting whether the user leaves the target place based on the monitoring message.

10. The server device of claim 9 , wherein the processor is further configured to perform:

receiving state messages sent from entrance-opening sensors of the target place, each of the entrance-opening sensors being associated with a corresponding entrance of the plurality of the entrances;

detecting whether one of the state messages indicates that the corresponding entrance of the target place is in an opened state; and

if it is detected that one of the state messages indicates that the corresponding entrance of the target place is in an opened state, determining that the corresponding entrance of the target place is opened.

11. The server device of claim 7 , wherein the processor is further configured to perform:

receiving state messages sent from entrance-opening sensors of the target place, each of the entrance-opening sensors being associated with a corresponding entrance of the plurality of the entrances;

detecting whether one of the state messages indicates that the corresponding entrance of the target place is in an opened state; and

if it is detected that one of the state messages indicates that the corresponding entrance of the target place is in the opened state, determining that the corresponding entrance of the target place is opened.

12. The server device of claim 8 , wherein the processor is further configured to perform:

receiving state messages sent from entrance-opening sensors of the target place, each of the entrance-opening sensors being associated with a corresponding entrance of the plurality of the entrances;

detecting whether one of the state messages indicates that the corresponding entrance of the target place is in an opened state; and

if it is detected that one of the state messages indicates that the corresponding entrance of the target place is in an opened state, determining that the corresponding entrance of the target place is opened.

13. A non-transitory computer-readable storage medium storing instructions, for sending a prompt message to a wearable device of a user to indicate a status of an entrance among a plurality of entrances of a target place, that, when executed by a processor of a server device, cause the server device to perform:

detecting whether the user is located in the target place based on a first message sent from the wearable device carried by the user and a pre-stored message corresponding to the target place, the first message indicating a location of the user and the pre-stored message indicating a location of the target place, wherein the server device determines whether the user is located in the target place depending on whether the two locations are identical;

if it is determined that the user is not located in the target place, detecting whether an entrance of the target place is opened; and

if it is determined that the entrance of the target place is opened, sending the prompt message to the wearable device to indicate the state of the entrance to the user via the wearable device;

wherein the server device determines whether the user is located in the target place based on the first message and the pre-stored message corresponding to the target place comprises:

when the first message is a first device list and the pre-stored message is a second device list, detecting whether the user is located in the target place based on a similarity between the first device list and the second device list, the first device list being a list of devices which are connected in a first network covering a place where the user is currently located, and the second device list being a list of devices which are connected in a second network covering the target place; and

when the first message is a first location message of the wearable device of the user and the pre-stored message is a second location message of the target place, detecting whether the user is located in the target place based on the first location message and the second location message; and

wherein when the first location message is a geographic position message of the wearable device and the second location message is a geographic position message of the target place, detecting whether a distance between the wearable device and the target place is less than a predetermined threshold; and

when the first location message is an Internet Protocol (IP) address of the wearable device and the second location message is an address of a network segment corresponding to the target place, detecting whether the IP address of the wearable device is contained in the address of the network segment.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 3, 2016
From: FU, QIANG; WANG, YANG; CHEN, TING
To: XIAOMI INC.
Reel/Frame 037652/0673 →
Priority Claims (2)
CN 2015 1 0020652 · Jan 15, 2015 · national
CN 2015 1 0042057 · Jan 28, 2015 · national
Continuity (1)
Related Publication 20160210827A1 · Jul 21, 2016
Cited By (1)
US 12,469,345