Method and device for sending message
First Claim
Patent Images
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.
1 Assignment
0 Petitions
Accused Products
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.
34 Citations
13 Claims
-
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. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
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. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
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.
-
Specification