CN110858424A - Anti-theft method and device for lottery robot and lottery robot - Google Patents

Anti-theft method and device for lottery robot and lottery robot Download PDF

Info

Publication number
CN110858424A
CN110858424A CN201810973345.3A CN201810973345A CN110858424A CN 110858424 A CN110858424 A CN 110858424A CN 201810973345 A CN201810973345 A CN 201810973345A CN 110858424 A CN110858424 A CN 110858424A
Authority
CN
China
Prior art keywords
lottery
robot
current position
legal
alarm information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810973345.3A
Other languages
Chinese (zh)
Other versions
CN110858424B (en
Inventor
熊芳波
卢健财
王可可
沈剑波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Smart Dynamics Co Ltd
Original Assignee
Smart Dynamics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Smart Dynamics Co Ltd filed Critical Smart Dynamics Co Ltd
Priority to CN201810973345.3A priority Critical patent/CN110858424B/en
Publication of CN110858424A publication Critical patent/CN110858424A/en
Application granted granted Critical
Publication of CN110858424B publication Critical patent/CN110858424B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C15/00Generating random numbers; Lottery apparatus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0029Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement being specially adapted for wireless interrogation of grouped or bundled articles tagged with wireless record carriers

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Burglar Alarm Systems (AREA)

Abstract

The invention is suitable for the technical field of lottery robots, and provides an anti-theft method and device for a lottery robot and the lottery robot, wherein the anti-theft method comprises the following steps: acquiring the current position of a lottery robot and the equipment identification of the lottery robot at preset time intervals; determining a legal location associated with the lottery robot based on the device identification; and judging whether to send alarm information or not based on the relation between the current position and the legal position. The current position and the legal position of the lottery robot are obtained, and the alarm information is sent, so that the responsible person of the lottery robot can be timely informed after the position of the lottery robot is changed, the probability of the lottery robot being stolen is greatly reduced, and the lottery robot is effectively prevented from being stolen.

Description

Anti-theft method and device for lottery robot and lottery robot
Technical Field
The invention belongs to the technical field of lottery robots, and particularly relates to an anti-theft method and device for a lottery robot and the lottery robot.
Background
With the development of the lottery industry and the growing number of lottery players, the existing lottery sales mode has been gradually changed from manual sales to autonomous sales of lottery robots. Due to the lottery robot, lottery players can purchase lottery tickets on the lottery robot, and great convenience is brought to the majority of lottery players.
However, lottery robots are generally small in size and can be easily stolen when being released in public places.
Disclosure of Invention
In view of this, embodiments of the present invention provide an anti-theft method, apparatus and device for a lottery robot, so as to solve the problem that a lottery robot in the prior art is easily stolen.
The first aspect of the embodiment of the invention provides an anti-theft method for a lottery robot, which comprises the following steps:
acquiring the current position of a lottery robot and the equipment identification of the lottery robot at preset time intervals;
determining a legal location associated with the lottery robot based on the device identification;
and sending alarm information based on the current position and the legal position.
A second aspect of an embodiment of the present invention provides an anti-theft device for a lottery robot, including:
the acquisition module is used for acquiring the current position of the lottery robot and the equipment identification of the lottery robot at preset time intervals;
a determination module to determine a legal location associated with the lottery robot based on the device identification;
and the alarm module is used for sending alarm information based on the current position and the legal position.
A third aspect of an embodiment of the present invention provides a lottery robot, including: comprising a memory, a processor and a computer program stored in said memory and executable on said processor, characterized in that said processor implements the steps of the method according to the first aspect as described above when executing said computer program.
A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, which stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method according to the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides an anti-theft method, an anti-theft device and anti-theft equipment for a lottery robot, which comprises the steps of firstly, acquiring the current position of the lottery robot and the equipment identification of the lottery robot at preset intervals; then determining a legal location associated with the lottery robot based on the device identification; and finally, judging whether to send alarm information or not based on the relationship between the current position and the legal position. Therefore, by the mode, the current position of the lottery robot is compared with the legal position of the lottery robot, and whether alarm information is sent or not is judged, so that a responsible person of the lottery robot can be timely notified after the position of the lottery robot is changed, the probability that the lottery robot is stolen is greatly reduced, and the lottery robot can be effectively prevented from being stolen.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation of an anti-theft method for a lottery robot according to an embodiment of the present invention;
fig. 2 shows a schematic implementation flow diagram of step S103 according to a first embodiment of the present invention;
fig. 3 shows a schematic implementation flow diagram of step S1031 provided in the first embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating an implementation of an anti-theft method for a lottery robot according to a second embodiment of the present invention;
fig. 5 is a schematic composition diagram of an anti-theft device of a lottery robot according to a third embodiment of the present invention;
fig. 6 shows a schematic diagram of a lottery robot provided by the fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example one
Fig. 1 shows a schematic implementation flow diagram of an anti-theft method for a lottery robot according to an embodiment of the present invention. The anti-theft method of the lottery robot in the embodiment is performed by a device having the anti-theft method of the lottery robot in the embodiment of the present invention, and the device may include, but is not limited to, a lottery robot.
As shown in fig. 1, the anti-theft method for a lottery robot provided by the embodiment of the present invention is detailed as follows:
s101, acquiring the current position of the lottery robot and the equipment identification of the lottery robot at preset time intervals.
Optionally, the preset time is set based on a placement position of the lottery robot.
Specifically, if the lottery robot is placed in a place with a large flow of people, such as an airport or a long-distance bus stop, the preset time may be set to a longer time, for example, 1 week, since the entering and exiting persons may play a role of supervision; if the lottery robot is placed in a cell where there is a relatively small amount of traffic, the preset time may be set to a shorter time, for example, set to 1 day.
Optionally, the preset time is set based on a time period.
Specifically, if the time period is 09: 00-21: 00, the preset time can be set to be a longer time, for example, the preset time is set to be 4 hours, because the flow of people in the time period is relatively large and people entering and leaving can play a role of supervision; if at time period 21: 00-09: 00, the predetermined time may be set to a shorter time, for example, set to 2 hours, and the location of the lottery robot may be tracked in time, since the amount of people flowing during the time period is relatively small and it is easy for a thief to perform a theft during the time period.
The lottery robot is a robot capable of selling lottery tickets by self.
The located device identifier is used for uniquely marking the lottery robot, namely different lottery robots have different device identifiers.
Optionally, the device identifier is a device number of the lottery robot. Since the device number of the lottery robot has uniqueness, the device identification may be set to the device number of the lottery robot.
Optionally, the device identifier of the lottery robot is determined based on a legal administrative position corresponding to the legal position of the lottery robot.
For example, the legal positions of the lottery robot are acquired as follows: latitude and longitude coordinates (30)0,700) And determining the administrative position corresponding to the legal position as follows based on the longitude and latitude coordinates: wuhua county of Wuhua city of Qingyang province of Sichuan province 123 # water town. Looking up the corresponding table to obtain an identifier 111 of Sichuan province, an identifier 02 of a green sheep district, an identifier WH01 of Wuhua county and an identifier WanShuui of Wanshui town, and then determining that the equipment identifier of the lottery robot is: 111-02-WH01-WanShui-123, and in order to prevent the device identifier from being easily broken, a random identifier is added to the device identifier, and the random identifier is a randomly generated string of characters and/or numbers and/or letters, and it is assumed that the random identifier generated here is: /0o0o77/, then the final device identification of the lottery robot is obtained as: 0o0o77/-111-02-WH 01-WanShui-123.
And S102, determining a legal position associated with the lottery robot based on the equipment identification.
The legal position is set to be the position of the user,the placement position of the lottery robot is the position of the lottery robot when the lottery robot sells the lottery. For example, the positions where the lottery robot sells the lottery, i.e. legal positions, are: wuhua county of Wuhua city of the urban Qingyang province of Sichuan province 123 # or: latitude and longitude coordinates (30)0,700)。
In the embodiment of the present invention, the device identifier is associated with the legal position of the lottery robot, that is, as long as the device identifier is determined, the legal position of the lottery robot corresponding to the device identifier can be known, or as long as the legal position is known, the device identifier of the lottery robot corresponding to the legal position can be known.
For example, to associate a device identification with a legal location, the content stored in the lottery robot or server is: the association of the device identification with the legal location is achieved by either/0 o0o77/-111-02-WH01-Wan Shui-123 (Wuhua county, Aries, Sichuan 123), or/0 o0o77/-111-02-WH01-Wan Shui-123 (latitude and longitude coordinates (300,700)).
In an embodiment of the present invention, the server and/or lottery robot has stored therein a device identification and a legal location.
For example, if a device identification and a legal location are stored in a lottery robot, the lottery robot may determine the legal location associated with the lottery robot based directly on the device identification; if the server stores the equipment identifier and the legal position, the equipment identifier of the lottery robot can be sent to the server, so that the server searches the legal position associated with the equipment identifier after acquiring the equipment identifier, and feeds the legal position back to the lottery robot, so that the lottery robot determines the legal position associated with the lottery robot based on the feedback of the server.
S103, judging whether to send alarm information or not based on the relation between the current position and the legal position.
As an embodiment of the present invention, the step S103 of determining whether to send alarm information based on the relationship between the current position and the legal position includes:
judging whether the current position is the same as the legal position;
if the current position is different from the legal position, sending alarm information;
and if the current position is the same as the legal position, not sending alarm information.
For example, if the current position is: number 67 of water bird town of big fish county in adult hua district of city, Sichuan province, legal positions are: wuhua county of Qingyang district of city, Sichuan province 123, obviously, the current position is different from the legal position, so send alarm information. If the current position is: number 67 of water bird town of big fish county in adult hua district of city, Sichuan province, legal positions are: in city, prefecture, big fish, town 67, Sichuan province, the current location is obviously the same as the legal location, and no alarm information is sent.
As another embodiment of the present invention, as shown in fig. 2, the step S103 of determining whether to send alarm information based on the relationship between the current position and the legal position includes:
s1031, calculating the distance between the current position and the legal position;
s1032, if the distance exceeds a preset value, alarm information is sent.
And S1033, if the distance does not exceed a preset value, no alarm information is sent.
For example, the current location and the legal location are displayed in a map, and the distance fed back by the map is determined as the distance between the current location and the legal location.
The preset value may be set to a smaller value, for example, to 50 meters or 3 meters.
Here, the alarm information is transmitted when the distance exceeds a preset value. Because the lottery robot is probably only adjusted to a smaller position by the staff and is not taken away by a thief, when the distance is detected to be smaller than the preset value, the default lottery robot is not stolen and does not need to send alarm information, and only when the distance moved by the lottery robot is larger, the alarm information is sent to inform the staff.
In the embodiment of the invention, if a worker in charge of managing the lottery robot needs to adjust the legal position of the lottery robot, the worker needs to change the legal position in the lottery robot or the server in advance so as to prevent the lottery robot from sending alarm information based on the old legal position.
Optionally, the step S1031 of calculating the distance between the current location and the legal location includes:
s10311, calculating longitude difference values and latitude difference values of the current position and the legal position;
and S10312, determining the distance between the current position and the legal position according to the longitude difference and the latitude difference.
For example, assume that the latitude and longitude coordinates of the current location are: (400,600) The latitude and longitude coordinates of the legal position are as follows: (300,700) Calculating the longitude difference between the current position and the legal position as follows: 10, the dimension difference is 10, and then, the distance between the current position and the legal position is determined as follows: (02+102)0.5X 500 is 5000, or the distance between the current location and the legal location is determined as: 10 × 500+10 × 500 ═ 10000, or else, the distance between the current location and the legal location is determined to be: ((02+102)0.5And (10+10)) × 0.5 × 500 ═ 7500, where 500 is the preset unit length. Specifically, the distance between the current position and the legal position is determined according to which way, which can be determined according to the actual situation, for example, according to the traffic situation, whether a bus can reach the approximate straight-line distance, if so, the distance is determined according to the first way, and if not, the distance can be determined according to the second way or the third way; or, the distance may be determined according to the distance length, and if the distance determined in the first manner is greater than a preset value (e.g., 500m), which indicates that the lottery robot has been moved far away from the legal position, the distance may be determined directly in the first manner, and it is not necessary to determine whether the distance needs to be determined in the second manner or the third manner.
Optionally, based on the relationship between the current position and the legal position, it is determined whether to send alarm information to a server.
The server can be used for sending alarm information, so that a manager can check the stolen condition of the lottery robot through the server, and the server can record a large amount of data, thereby being beneficial to uniformly managing the lottery robots in all areas.
Further, after receiving the alarm information, the server sends the alarm information to a worker in charge of managing the lottery robot.
After receiving the alarm information, the server forwards the alarm information to a worker in charge of managing the lottery robot, so that the worker can know the stolen condition of the lottery robot in time.
Optionally, based on the relationship between the current position and the legal position, it is determined whether to send alarm information to a staff responsible for managing the lottery robot.
Here, the lottery robot directly sends alarm information to a worker in charge of managing the lottery robot, so that the worker can timely know the stolen situation of the lottery robot even if the worker is not beside the server.
Further, the alarm information is sent to a worker in charge of managing the lottery robot in a short message mode.
Compared with the mode of mails and the like, the short messages generally have a stronger notification function, and when the mails are checked, the short messages also need to enter an APP or an applet of a certain mail and cannot be timely notified to workers, so that the workers are notified through the short messages.
Further, the step S103 of determining whether to send alarm information based on the relationship between the current position and the legal position includes:
and judging whether to send alarm information containing the current position or not based on the relationship between the current position and the legal position.
Here, the alarm information includes the current position of the lottery robot, so that a worker in charge of managing the lottery robot can know that the lottery robot is stolen and also know the position of the lottery robot after being stolen, and the worker can find the lottery robot conveniently.
Further, after judging that the alarm information containing the current position needs to be sent based on the relationship between the current position and the legal position, converting the current position into the current administrative position, and sending the alarm information containing the current administrative position.
Since the administrative location appears more intuitive than the latitude and longitude location information, an alarm message containing the current administrative location is sent.
According to the scheme, the current position of the lottery robot and the equipment identification of the lottery robot are obtained at preset time intervals; then determining a legal location associated with the lottery robot based on the device identification; and finally, judging whether to send alarm information or not based on the relationship between the current position and the legal position. Therefore, by the mode, the current position of the lottery robot is compared with the legal position of the lottery robot, and whether alarm information is sent or not is judged, so that a responsible person of the lottery robot can be timely notified after the position of the lottery robot is changed, the probability that the lottery robot is stolen is greatly reduced, and the lottery robot can be effectively prevented from being stolen.
As an optional embodiment of the present invention, after determining that alarm information needs to be sent based on a relationship between the current position and the legal position, the method further includes:
and acquiring the real-time position of the robot at preset time intervals, and transmitting the real-time position.
The preset time is a shorter time, and real-time tracking of the lottery robot can be guaranteed. For example, the predetermined time is set to 10 minutes, or even 1 minute.
Here, since the lottery robot has sent the alarm information, which indicates that the lottery robot is on the stolen road, in order to track the position of the lottery robot in real time, the real-time position of the lottery robot needs to be sent continuously, so as to help the staff to recover the lottery robot better.
Example two
Fig. 4 is a schematic flow chart illustrating an implementation of the anti-theft method for a lottery robot according to a second embodiment of the present invention. The anti-theft method of the lottery robot in the embodiment is different from the first embodiment in step S201 and step S202, and the same parts in the first embodiment of the invention are in step S203 and step S204, which are described in detail in the first embodiment.
As shown in fig. 4, the anti-theft method for the lottery robot provided by the embodiment of the present invention is detailed as follows:
s201, sending early warning information when the lottery robot is sensed to be moved through sensing equipment.
Optionally, the sensing device is a sensor, the sensor is disposed inside the lottery robot, for example, the sensing device is a three-axis acceleration sensor, the three-axis acceleration sensor has the characteristics of small size and light weight, and can measure spatial acceleration and comprehensively and accurately reflect the motion property of the object.
Optionally, the sensing device is a gyroscope, the gyroscope is disposed inside the lottery robot, and the warning information is sent according to a state presented by the gyroscope, for example, when the gyroscope is not changed, it indicates that the robot is not moved, and when the gyroscope tries to change a motion state of the robot to maintain a certain direction, it indicates that the lottery robot is likely to be moved.
S202, if the early warning information is sent through the induction equipment, the current position of the lottery robot is obtained after the preset time length for sending the early warning information is started.
In the embodiment of the present invention, the preset time period may be set to a shorter time, for example, to 2 minutes or 1 second. When the time is set to be relatively long (for example, 2 minutes), the latest position information of the lottery robot can be acquired, and when the time is set to be relatively short (for example, 1 second), the staff can feel more timely and the theft can be prevented.
In the embodiment of the invention, if the early warning information is not sent by the induction equipment, the current position of the lottery robot and the equipment identification of the lottery robot are obtained at preset time intervals.
S203, determining a legal position associated with the lottery robot based on the equipment identification.
And S204, sending alarm information based on the current position and the legal position.
According to the scheme, the lottery robot can sense the moving condition of the lottery robot and send the early warning information when sensing the moving condition, so that if a worker is near the lottery robot, the worker can quickly arrive at the scene to prevent the lottery robot from being stolen, and meanwhile, if the preset time is relatively long, the worker can start to prevent the stealing according to the latest position information.
EXAMPLE III
Fig. 5 shows an anti-theft device 100 for a lottery robot according to a third embodiment of the present invention, which includes:
an obtaining module 110, configured to obtain a current position of a lottery robot and a device identifier of the lottery robot at preset time intervals;
a determination module 120 for determining a legal location associated with the lottery robot based on the device identification;
and an alarm module 130, configured to determine whether to send alarm information based on a relationship between the current position and the legal position.
The device firstly acquires the current position of the lottery robot and the equipment identification of the lottery robot at preset time intervals; then determining a legal location associated with the lottery robot based on the device identification; and finally, judging whether to send alarm information or not based on the relationship between the current position and the legal position. Therefore, by the mode, the current position of the lottery robot is compared with the legal position of the lottery robot, and whether alarm information is sent or not is judged, so that a responsible person of the lottery robot can be timely notified after the position of the lottery robot is changed, the probability that the lottery robot is stolen is greatly reduced, and the lottery robot can be effectively prevented from being stolen.
In an embodiment of the present invention, the alarm module 130 includes:
a distance calculation module for calculating the distance between the current position and the legal position;
the distance alarm module is used for sending alarm information if the distance exceeds a preset value;
and the non-alarm module is used for not sending alarm information if the distance does not exceed the preset value.
In an embodiment of the present invention, the distance calculating module includes:
a binary sequence determination module for calculating longitude and latitude differences of the current position and the legal position;
and the binary distance calculation module is used for determining the distance between the current position and the legal position according to the longitude difference value and the latitude difference value.
In this embodiment of the present invention, the alarm module 130 further includes:
the position judging module is used for judging whether the current position is the same as the legal position or not;
the different alarm modules are used for sending alarm information if the current position is different from the legal position;
and the same and different alarm module is used for not sending alarm information if the current position is the same as the legal position.
In this embodiment of the present invention, the alarm module 130 further includes:
and the current position alarm module is used for judging whether to send alarm information containing the current position or not based on the relation between the current position and the legal position.
In an embodiment of the present invention, the apparatus 100 further includes:
an early warning information sending module, configured to send early warning information when the acquisition module 110 senses that the lottery robot is moved before acquiring the current position of the lottery robot;
accordingly, the obtaining module 110 includes:
and the waiting and obtaining module is used for obtaining the current position of the lottery robot after the preset time length for sending the early warning information is started if the early warning information is sent by the induction equipment.
It should be noted that the anti-theft device of the lottery robot according to the third embodiment of the present invention and the anti-theft method of the lottery robot according to the third embodiment of the present invention are based on the same inventive concept, and the corresponding technical contents in the embodiments of the device and the method are applicable to each other, and will not be described in detail herein.
Example four
Fig. 6 is a schematic diagram of a lottery robot according to still another embodiment of the present invention. The lottery robot 200 in the present embodiment as shown in fig. 6 may include: a processor 210, a memory 220, and a computer program 230 stored in the memory 220 and operable on the processor 210. The processor 210 implements the steps of the above-described embodiments of the anti-theft method of the lottery robot when executing the computer program 230. The memory 220 is used to store a computer program comprising program instructions. Processor 210 is operative to execute program instructions stored in memory 220. Wherein the processor 210 is configured to invoke the program instructions to perform the following operations:
the processor 210 is configured to obtain a current position of the lottery robot and a device identifier of the lottery robot at preset time intervals;
the processor 210 is further configured to determine a legal location associated with the lottery robot based on the device identification;
the processor 210 is further configured to determine whether to send alarm information based on a relationship between the current position and the legal position.
Firstly, the current position of a lottery robot and the equipment identification of the lottery robot are obtained at preset time intervals by the equipment; then determining a legal location associated with the lottery robot based on the device identification; and finally, judging whether to send alarm information or not based on the relationship between the current position and the legal position. Therefore, by the mode, the current position of the lottery robot is compared with the legal position of the lottery robot, and whether alarm information is sent or not is judged, so that a responsible person of the lottery robot can be timely notified after the position of the lottery robot is changed, the probability that the lottery robot is stolen is greatly reduced, and the lottery robot can be effectively prevented from being stolen.
Further, the processor 210 is further configured to:
calculating the distance between the current position and the legal position;
if the distance exceeds a preset value, sending alarm information;
and if the distance does not exceed the preset value, not sending alarm information.
Further, the processor 210 is further configured to:
calculating longitude difference values and latitude difference values of the current position and the legal position;
and determining the distance between the current position and the legal position according to the longitude difference value and the latitude difference value.
Further, the processor 210 is further configured to:
judging whether the current position is the same as the legal position;
if the current position is different from the legal position, sending alarm information;
and if the current position is the same as the legal position, not sending alarm information.
Further, the processor 210 is further configured to:
and judging whether to send alarm information containing the current position or not based on the relationship between the current position and the legal position.
Further, the processor 210 is further configured to:
before the current position of the lottery robot is obtained, early warning information is sent when the lottery robot is sensed to be moved through sensing equipment;
and if the early warning information is sent through the induction equipment, acquiring the current position of the lottery robot after the preset time length for sending the early warning information is started.
It should be understood that, in the embodiment of the present invention, the Processor 210 may be a Central Processing Unit (CPU), and the Processor 210 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 220 may include both read-only memory and random access memory, and provides instructions and data to the processor 210. A portion of memory 220 may also include non-volatile random access memory. For example, the memory 220 may also store device type information.
It should be noted that the lottery robot proposed in the fourth embodiment of the present invention and the anti-theft method of the lottery robot proposed in the method embodiment of the present invention are based on the same inventive concept, and the corresponding technical contents in the device embodiment and the method embodiment are applicable to each other, and will not be described in detail herein.
EXAMPLE five
In another embodiment of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program comprising program instructions that when executed by a processor implement:
acquiring the current position of a lottery robot and the equipment identification of the lottery robot at preset time intervals;
determining a legal location associated with the lottery robot based on the device identification;
and judging whether to send alarm information or not based on the relation between the current position and the legal position.
The computer-readable storage medium firstly acquires the current position of the lottery robot and the equipment identification of the lottery robot at preset time intervals; then determining a legal location associated with the lottery robot based on the device identification; and finally, judging whether to send alarm information or not based on the relationship between the current position and the legal position. Therefore, by the mode, the current position of the lottery robot is compared with the legal position of the lottery robot, and whether alarm information is sent or not is judged, so that a responsible person of the lottery robot can be timely notified after the position of the lottery robot is changed, the probability that the lottery robot is stolen is greatly reduced, and the lottery robot can be effectively prevented from being stolen.
Further, the computer program when executed by the processor further implements:
calculating the distance between the current position and the legal position;
if the distance exceeds a preset value, sending alarm information;
and if the distance does not exceed the preset value, not sending alarm information.
Further, the computer program when executed by the processor further implements:
calculating longitude difference values and latitude difference values of the current position and the legal position;
and determining the distance between the current position and the legal position according to the longitude difference value and the latitude difference value.
Further, the computer program when executed by the processor further implements:
judging whether the current position is the same as the legal position;
if the current position is different from the legal position, sending alarm information;
and if the current position is the same as the legal position, not sending alarm information.
Further, the computer program when executed by the processor further implements:
and judging whether to send alarm information containing the current position or not based on the relationship between the current position and the legal position.
Further, the computer program when executed by the processor further implements:
before the current position of the lottery robot is obtained, early warning information is sent when the lottery robot is sensed to be moved through sensing equipment;
and if the early warning information is sent through the induction equipment, acquiring the current position of the lottery robot after the preset time length for sending the early warning information is started.
The computer readable storage medium may be an internal storage unit of the device according to any of the foregoing embodiments, for example, a hard disk or a memory of the device. The computer readable storage medium may also be an external storage device of the device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the device. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the apparatus. The computer-readable storage medium is used for storing the computer program and other programs and data required by the apparatus. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
It should be noted that the computer-readable storage medium provided in the fifth embodiment of the present invention and the anti-theft method for a lottery robot provided in the first embodiment of the method of the present invention are based on the same inventive concept, and the corresponding technical contents in the embodiments of the computer-readable storage medium and the method embodiments are applicable to each other, and will not be described in detail herein.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electrical, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An anti-theft method for a lottery robot, comprising:
acquiring the current position of a lottery robot and the equipment identification of the lottery robot at preset time intervals;
determining a legal location associated with the lottery robot based on the device identification;
and judging whether to send alarm information or not based on the relation between the current position and the legal position.
2. The anti-theft method according to claim 1, wherein said determining whether to send alarm information based on the relationship between the current position and the legal position comprises:
calculating the distance between the current position and the legal position;
if the distance exceeds a preset value, sending alarm information;
and if the distance does not exceed the preset value, not sending alarm information.
3. The anti-theft method according to claim 2, wherein said calculating a distance between said current location and said legal location comprises:
calculating longitude difference values and latitude difference values of the current position and the legal position;
and determining the distance between the current position and the legal position according to the longitude difference value and the latitude difference value.
4. The anti-theft method according to claim 1, wherein said determining whether to send alarm information based on the relationship between the current position and the legal position comprises:
judging whether the current position is the same as the legal position;
if the current position is different from the legal position, sending alarm information;
and if the current position is the same as the legal position, not sending alarm information.
5. The anti-theft method according to claim 1, wherein said determining whether to send alarm information based on the relationship between the current position and the legal position comprises:
and judging whether to send alarm information containing the current position or not based on the relationship between the current position and the legal position.
6. The anti-theft method according to any one of claims 1 to 5, further comprising, before said obtaining the current position of the lottery robot:
sending early warning information when the lottery robot is sensed to be moved through sensing equipment;
correspondingly, the acquiring the current position of the lottery robot comprises the following steps:
and if the early warning information is sent through the induction equipment, acquiring the current position of the lottery robot after the preset time length for sending the early warning information is started.
7. An anti-theft device for a lottery robot, comprising:
the acquisition module is used for acquiring the current position of the lottery robot and the equipment identification of the lottery robot at preset time intervals; a determination module to determine a legal location associated with the lottery robot based on the device identification; and the alarm module is used for judging whether to send alarm information or not based on the relation between the current position and the legal position.
8. The anti-theft device according to claim 7, wherein said alarm module comprises:
a distance calculation module for calculating the distance between the current position and the legal position;
the distance alarm module is used for sending alarm information if the distance exceeds a preset value;
and the non-alarm module is used for not sending alarm information if the distance does not exceed the preset value.
9. A lottery robot comprising a memory, a processor and a computer program stored in said memory and executable on said processor, wherein said processor when executing said computer program implements the steps of the method according to any of claims 1 to 6.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201810973345.3A 2018-08-24 2018-08-24 Anti-theft method and device for lottery robot and lottery robot Active CN110858424B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810973345.3A CN110858424B (en) 2018-08-24 2018-08-24 Anti-theft method and device for lottery robot and lottery robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810973345.3A CN110858424B (en) 2018-08-24 2018-08-24 Anti-theft method and device for lottery robot and lottery robot

Publications (2)

Publication Number Publication Date
CN110858424A true CN110858424A (en) 2020-03-03
CN110858424B CN110858424B (en) 2022-02-18

Family

ID=69635433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810973345.3A Active CN110858424B (en) 2018-08-24 2018-08-24 Anti-theft method and device for lottery robot and lottery robot

Country Status (1)

Country Link
CN (1) CN110858424B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111330203A (en) * 2020-03-16 2020-06-26 广州驿通智能科技有限公司 Method and device for monitoring air pressure of fire extinguisher
CN111447281A (en) * 2020-03-27 2020-07-24 四川虹美智能科技有限公司 Method, device and system for searching shared intelligent equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030032290A (en) * 2001-10-17 2003-04-26 삼성전자주식회사 device for preventing from stealing using global positioning system, and method of the same
CN101311978A (en) * 2007-05-25 2008-11-26 魏建才 Method for cable theft prevention, terminal and system
DE202008012528U1 (en) * 2008-09-20 2009-06-10 Berberich, Christian robot system
CN101673544A (en) * 2009-10-10 2010-03-17 上海电虹软件有限公司 Cross monitoring method and system based on voiceprint recognition and location tracking
CN201850879U (en) * 2010-10-29 2011-06-01 曾建新 Anti-theft device for liquid crystal display
CN102332196A (en) * 2011-07-18 2012-01-25 广东长实通信股份有限公司 Anti-theft alarm terminal
US20130165157A1 (en) * 2011-12-24 2013-06-27 Michael MAPES Secure Witness or Criminal Participant Location or Position and Time Recording Information Apparatus, Systemts and Methods
CN103077589B (en) * 2012-12-05 2015-03-25 深圳市思乐数据技术有限公司 Alarm method, device and system of lottery ticket betting machine for location monitoring
CN204857796U (en) * 2015-07-03 2015-12-09 武汉非凡电源有限公司 Battery structure
WO2016153348A1 (en) * 2015-03-23 2016-09-29 Zipp Labs B.V. Alert system, delivery system and method and door bell system
CN107316454A (en) * 2017-06-23 2017-11-03 深圳市盛路物联通讯技术有限公司 A kind of shared bicycle theft preventing method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030032290A (en) * 2001-10-17 2003-04-26 삼성전자주식회사 device for preventing from stealing using global positioning system, and method of the same
CN101311978A (en) * 2007-05-25 2008-11-26 魏建才 Method for cable theft prevention, terminal and system
DE202008012528U1 (en) * 2008-09-20 2009-06-10 Berberich, Christian robot system
CN101673544A (en) * 2009-10-10 2010-03-17 上海电虹软件有限公司 Cross monitoring method and system based on voiceprint recognition and location tracking
CN201850879U (en) * 2010-10-29 2011-06-01 曾建新 Anti-theft device for liquid crystal display
CN102332196A (en) * 2011-07-18 2012-01-25 广东长实通信股份有限公司 Anti-theft alarm terminal
US20130165157A1 (en) * 2011-12-24 2013-06-27 Michael MAPES Secure Witness or Criminal Participant Location or Position and Time Recording Information Apparatus, Systemts and Methods
CN103077589B (en) * 2012-12-05 2015-03-25 深圳市思乐数据技术有限公司 Alarm method, device and system of lottery ticket betting machine for location monitoring
WO2016153348A1 (en) * 2015-03-23 2016-09-29 Zipp Labs B.V. Alert system, delivery system and method and door bell system
CN204857796U (en) * 2015-07-03 2015-12-09 武汉非凡电源有限公司 Battery structure
CN107316454A (en) * 2017-06-23 2017-11-03 深圳市盛路物联通讯技术有限公司 A kind of shared bicycle theft preventing method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
李西林: "《电厂标识***设计与应用》", 31 May 2007 *
杜建国: "低压配电电缆防盗报警***设计与实现", 《电力与能源》 *
黄治坤: "《操作***》", 31 December 2011 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111330203A (en) * 2020-03-16 2020-06-26 广州驿通智能科技有限公司 Method and device for monitoring air pressure of fire extinguisher
CN111447281A (en) * 2020-03-27 2020-07-24 四川虹美智能科技有限公司 Method, device and system for searching shared intelligent equipment

Also Published As

Publication number Publication date
CN110858424B (en) 2022-02-18

Similar Documents

Publication Publication Date Title
US10740718B2 (en) Limited location tracking of a user device for local pickup
CN106662458B (en) Wearable sensor data for improving map and navigation data
US9812015B1 (en) Systems and methods for determining parking information for a vehicle using vehicle data and external parking data
US20110140927A1 (en) Method and apparatus for avoiding parking violations
WO2017080201A1 (en) Advance warning method and system based on satellite positioning, and server
WO2019172823A1 (en) Method and control arrangement for identification of parking areas
WO2016182619A1 (en) Determining street segment headings
US20120089271A1 (en) Vehicle management
US20100173615A1 (en) Locating Lost Cell Phones
CN110858424B (en) Anti-theft method and device for lottery robot and lottery robot
US9959758B2 (en) Method and system for locating a parked vehicle
JPWO2018179154A1 (en) Information management apparatus, information processing apparatus, system, and information management method
WO2008001125A1 (en) Drive performance monitoring and enhancement
CN109068282B (en) Method and device for identifying user travel scene and computer equipment
US20180082203A1 (en) Detection of operator likelihood of deviation from planned route
CN113313965A (en) Reminding system, method, mobile device and medium for time-limited parking
CN111024116A (en) Prompting method and device for prohibiting parking, storage medium and electronic equipment
CN106969772B (en) Guide dog method based on mobile phone platform
US20150019268A1 (en) Determination of activity rate of portable electronic equipment
CN110853293A (en) Security early warning method and device for map fence
CN107884795B (en) Method and system for judging entering and exiting areas based on GPS
CN110599299A (en) Unmanned aerial vehicle lease control method and device, aircraft system and storage medium
CA3062254C (en) Dynamic support information based on contextual information
JP2011051376A (en) On-vehicle electronic apparatus
WO2023202423A1 (en) Path planning method of mower and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant