Boundary detection algorithm for embedded devices
First Claim
1. A method for detecting a crossing of a boundary, the method comprising:
- receiving a representation of a boundary within a coordinate system, wherein the boundary is defined by at least one rectangle;
receiving a set of coordinates associated with a location of a monitored device;
rotating, by a processor, the received set of coordinates by an angle between a selected side of a particular rectangle of the boundary and an axis of the coordinate system; and
comparing, by the processor, the rotated set of coordinates to a rotated rectangle to determine whether the location of the monitored device is located within the particular rectangle, wherein the particular rectangle is rotated by the angle to form the rotated rectangle such that the selected side of the rotated rectangle is oriented parallel to the axis of the coordinate system.
6 Assignments
0 Petitions
Accused Products
Abstract
Techniques for detecting boundary crossings may involve the use of rectangles that approximate a boundary. Data defining the rectangles may be retrieved, and a current location of a monitored device may be identified. The current location may be compared with the rectangles, and a determination that the current location is located within a rectangle may indicate a boundary crossing. To simplify the calculations on the monitored device, certain calculations may be performed in advance. For example, an angle between a selected side of a particular rectangle and an axis of the coordinate system may be determined, and the particular rectangle may be rotated by the angle to orient the rotated rectangle parallel to the axis of the coordinate system. Subsequently, location coordinates for a monitored device may be rotated and compared with a corresponding rotated rectangle to determine whether the monitored device is located within the particular rectangle.
59 Citations
33 Claims
-
1. A method for detecting a crossing of a boundary, the method comprising:
-
receiving a representation of a boundary within a coordinate system, wherein the boundary is defined by at least one rectangle; receiving a set of coordinates associated with a location of a monitored device; rotating, by a processor, the received set of coordinates by an angle between a selected side of a particular rectangle of the boundary and an axis of the coordinate system; and comparing, by the processor, the rotated set of coordinates to a rotated rectangle to determine whether the location of the monitored device is located within the particular rectangle, wherein the particular rectangle is rotated by the angle to form the rotated rectangle such that the selected side of the rotated rectangle is oriented parallel to the axis of the coordinate system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A method for detecting a crossing of a border between different jurisdictions, the method comprising:
-
retrieving data defining at least one rectangle that represents the border between the different jurisdictions; receiving information relating to a current location of a monitored device; and comparing, by a processor, the current location with the at least one rectangle using the data defining the at least one rectangle, wherein a determination that the current location is located within the at least one rectangle indicates a border crossing by the monitored device between the different jurisdictions. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25, 26, 27)
-
-
28. A method for detecting movement across a boundary, the method comprising:
-
storing at least two sets of rotated coordinates associated with a predetermined rectangular boundary segment, the at least two sets of rotated coordinates corresponding to at least two sets of original coordinates that define the predetermined rectangular boundary segment in a coordinate system, wherein each of the sets of original coordinates is rotated by an angle of rotation to generate the corresponding set of rotated coordinates prior to storing each set of rotated coordinates, and the at least two sets of rotated coordinates define a rotated boundary segment having sides that are parallel to an axis of the coordinate system; storing the angle of rotation, wherein the angle of rotation is defined by an angle between the axis of the coordinate system and a side of the predetermined rectangular boundary segment; identifying a location of a monitored device; rotating, by the monitored device, a set of coordinates representing the identified location of the monitored device by the angle of rotation to generate a rotated set of location coordinates; and comparing, by the monitored device, the rotated set of location coordinates with the at least two sets of rotated coordinates to determine a position of the monitored device relative to the predetermined rectangular boundary segment. - View Dependent Claims (29, 30, 31, 32, 33)
-
Specification