[go: up one dir, main page]

CN107484126B - Information acquisition and processing method of firearm and server - Google Patents

Information acquisition and processing method of firearm and server Download PDF

Info

Publication number
CN107484126B
CN107484126B CN201710644406.7A CN201710644406A CN107484126B CN 107484126 B CN107484126 B CN 107484126B CN 201710644406 A CN201710644406 A CN 201710644406A CN 107484126 B CN107484126 B CN 107484126B
Authority
CN
China
Prior art keywords
gun
firearm
information
preset threshold
historical
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.)
Active
Application number
CN201710644406.7A
Other languages
Chinese (zh)
Other versions
CN107484126A (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.)
Shenzhen Shenglu IoT Communication Technology Co Ltd
Original Assignee
Shenzhen Shenglu IoT Communication Technology 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 Shenzhen Shenglu IoT Communication Technology Co Ltd filed Critical Shenzhen Shenglu IoT Communication Technology Co Ltd
Priority to CN201710644406.7A priority Critical patent/CN107484126B/en
Publication of CN107484126A publication Critical patent/CN107484126A/en
Application granted granted Critical
Publication of CN107484126B publication Critical patent/CN107484126B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Educational Administration (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a firearm information acquisition and processing method and a server, wherein the method comprises the following steps: the method comprises the steps that a server receives registration information of a gun, wherein the registration information comprises user information of the gun borrowing and identification information of the gun; receiving a position report from the firearm, the position report containing the identification information and current position information of the firearm; and sending out alarm information under the condition that the position information is determined not to be in the preset range. In the embodiment of the invention, the firearms based on the Internet of things and the server with the function of the Internet of things are adopted, so that the safety of the firearms can be ensured, the positions of the firearms can be tracked in time, the use range of the firearms is controlled, a user renting the firearms has better freedom degree, the firearms are suitable for the management of a shooting range and a shooting range in commercial operation, and the management efficiency is improved.

Description

Information acquisition and processing method of firearm and server
Technical Field
The invention relates to the technical field of communication, in particular to a firearm information acquisition and processing method and a server.
Background
At present, the technical scheme of firearm management focuses on firearm management of military police, particularly management of firearms such as 'cabinets' and the like, and registration, return and firearm taking of the firearms are emphasized.
The system comprises at least one bullet management unit, wherein the bullet management unit comprises a server and zero or more intelligent gun cabinets. The intelligent gun cabinet management method comprises the following steps:
A. the subordinate server applies for registration to the superior server;
B. after the server is successfully registered, the control system of the intelligent gun cabinet applies for registration to the server of the bullet management unit or the superior bullet management unit;
C. after the control system of the intelligent gun cabinet is successfully registered, the control system of the intelligent gun cabinet receives authorization information of the server of the bullet management unit and the server of the upper bullet management unit and feeds back successful receiving information; if the authorization information of the bullet management unit and the bullet management unit server at the upper level are both provided, the control system of the intelligent gun cabinet works normally, and if any one of the authorization information is lacked, the intelligent gun cabinet is locked emergently.
The technical scheme is not suitable for management of a shooting range in commercial operation (the gun is complex in identity and the management of firearms is too mechanized), and the current shooting range in commercial operation is usually in an original mode of fixing firearms or manually monitoring and the like, so that the management efficiency is extremely low.
Disclosure of Invention
The embodiment of the invention provides an information acquisition and processing method of firearms and a server, which are used for realizing intelligent management of firearms in a shooting range.
On one hand, the embodiment of the invention provides a firearm information acquisition and processing method, which comprises the following steps:
the method comprises the steps that a server receives registration information of a gun, wherein the registration information comprises user information of the gun borrowing and identification information of the gun;
receiving a position report from the firearm, the position report containing the identification information and current position information of the firearm;
and sending out alarm information under the condition that the position information is determined not to be in the preset range.
In an alternative implementation, after the receiving the position report from the firearm, the method further comprises:
displaying a map of a shooting range, wherein the map comprises a predetermined range and a non-predetermined range of the firearm, and displaying the position of the firearm in the map.
In the embodiment of the invention, the server generates the map containing the position of the firearm according to the position report sent by the firearm and displays the map on the display associated with the server, so that the position of the firearm can be monitored in real time and the management is convenient.
In an optional implementation manner, the sending the alarm information includes:
and sending alarm information to preset terminal equipment, and sending the position information to the preset terminal equipment.
In the embodiment of the invention, after the server sends the warning information to the preset terminal equipment, the server sends the position information to the preset terminal equipment, so that the preset terminal equipment can acquire the position information of the firearm in time.
In an optional implementation manner, the registration information further includes:
the user information of the gun borrowing or the authorization area corresponding to the firearm;
the sending out the alarm information under the condition that the position information is determined not to be in the preset range comprises the following steps:
and sending out alarm information under the condition that the position information is determined not to be in the authorized area.
In the embodiment of the invention, different users and different firearms can be provided with different authorization areas, so that the requirements of different users can be met.
In an optional implementation manner, the registration information further includes:
a warning area corresponding to the firearm;
after the receiving a position report from the firearm, the method further comprises:
and after the position information is determined to be in the warning region, transmitting the firearm identification information to the power amplifier equipment within the warning region range, and indicating the power amplifier equipment to send out a warning tone for warning the firearm.
In the embodiment of the invention, the warning area corresponding to each gun can be set, and when the gun is in the warning area, the power amplifier in the warning area is controlled to perform voice warning, so that the gun can quickly and conveniently return to the preset range in time through illegal users.
In an optional implementation, the method further includes:
under the condition that the position information is determined not to be in the preset range, acquiring the gun pulling time, the gun lifting time, the swinging amplitude and the excitation frequency of the gun in the using process of the gun; obtaining the historical gun pulling time, the historical gun lifting time, the historical swing amplitude and the historical excitation frequency which are stored locally; determining whether a difference between the gun drawing time and the historical gun drawing time is within a first preset threshold range; if the difference value between the gun drawing time and the historical gun drawing time is determined to be within the first preset threshold range, determining whether the difference value between the gun lifting time and the historical gun lifting time is within a second preset threshold range; if the difference value between the gun lifting time and the historical gun lifting time is determined to be within a second preset threshold range, determining whether the difference value between the excitation frequency and the historical excitation frequency is within a third preset threshold range; if the difference value between the excitation frequency and the historical excitation frequency is determined to be within a third preset threshold range, determining whether the difference value between the swing amplitude and the historical swing amplitude is within a fourth preset threshold range; under the condition that the difference value between the swing amplitude and the historical swing amplitude is determined to be within a fourth preset threshold range, determining that the user of the firearm is the user of the firearm borrowing, and adding a bad record to the user information of the firearm borrowing, wherein the bad record at least comprises: the content of the bad record is the leaving authorization range, the leaving time, the security level of the authorization range and the security level corresponding to the area; the authorization range of the user is narrowed by integrating the leaving authorization range, the leaving time, the security level of the authorization range and the security level corresponding to the area where the user is located;
the historical gun drawing time, the historical gun lifting time, the historical swing amplitude and the historical excitation frequency are obtained by adding the current gun drawing time, the current gun lifting time, the current swing amplitude and the current excitation frequency to the historical gun drawing time and the historical gun lifting time after determining that a user of the firearm is the gun borrowing user historically, and calculating in a weighted average mode after the historical swing amplitude and the historical excitation frequency, wherein the weighting proportion is lower as the weighting value is farther from the current time in time; the first threshold, the second threshold, the third threshold and the fourth threshold are gradually reduced along with the increase of the historical data amount;
if the gun drawing time passes, the gun lifting time, the excitation frequency, the historical gun drawing time, the historical gun lifting time and the historical excitation frequency are obtained; if the fact that the user of the firearm is the firearm borrowing user is not determined, adding borrowing refusing information to the user information of the firearm borrowing;
after receiving subsequent registration information of the firearm, if the fact that user information contained in the subsequent registration information contains bad records is determined, the firearm is limited to be the reduced authorization range; and after determining that the user information contains loan refusal information, displaying prompt information of the gun borrowing refusal.
The first threshold, the second threshold, the third threshold and the fourth threshold, which gradually decrease with the increase of the historical data amount, comprise: the first threshold, the second threshold, the third threshold and the fourth threshold are 1.5 times of the difference value between the maximum value and the minimum value in the initial values tested when the gun borrowing user is initially used; and when the first threshold, the second threshold, the third threshold and the fourth threshold are reduced by 10% every time 10 pieces of historical data are added, and the first threshold, the second threshold, the third threshold and the fourth threshold are stopped to be reduced under the condition that the first threshold, the second threshold, the third threshold and the fourth threshold are reduced to 0.8 times of the difference value between the maximum value and the minimum value in the initial values tested when the gun borrowing user uses the gun borrowing user initially.
In the embodiment of the invention, the server adds the bad record to the user information according to the violation expression of the user, and the prompt information for refusing to borrow the gun is displayed when the user information contains the bad record and carries out subsequent registration, so that the user who does not take the gun out of the preset range according to the regulation can be effectively punished, and the danger is prevented.
In another aspect, an embodiment of the present invention further provides a server, including:
the receiving unit is used for receiving the registration information of the firearms, and the registration information comprises the user information of the gun borrowing and the identification information of the firearms; receiving a position report from the firearm, the position report containing the identification information and current position information of the firearm;
a determination unit configured to determine whether the position information is within a predetermined range;
and the warning unit is used for sending warning information after the determining unit determines that the position information is not in the preset range.
In an optional implementation manner, the server further includes:
the display unit is used for displaying a map of a shooting range, the map comprises a preset range and a non-preset range of the firearm, and the position of the firearm in the map is displayed.
In an optional implementation manner, the warning unit is specifically configured to send warning information to a predetermined terminal device, and send the location information to the predetermined terminal device.
In an optional implementation manner, the receiving unit is further configured to receive user information of the gun borrowing or an authorization area corresponding to the firearm;
the determining unit is specifically configured to determine whether the location information is in the authorized area;
the warning unit is specifically configured to send warning information when the determining unit determines that the location information is not in the authorized area.
In an optional implementation manner, the receiving unit is further configured to receive an alert area corresponding to the firearm;
the determining unit is further configured to determine whether the position information is in the alert area; the server further comprises:
and the transmitting unit is used for transmitting the firearm identification information to the power amplifier equipment within the warning region range and indicating the power amplifier equipment to send out a warning tone for warning the firearm after the determining unit determines that the position information is not in the warning region.
In an optional implementation manner, the server further includes:
an adding unit configured to add a bad record to the user information of the gun lending in a case where the determining unit determines that the position information is not within a predetermined range;
the receiving unit is also used for subsequent registration information of the firearm;
the determining unit is further configured to determine whether user information included in the subsequent registration information includes a bad record;
the display unit is further used for displaying prompt information for refusing to borrow the gun after the determining unit determines that the user information contained in the subsequent registration information contains bad records.
In an optional implementation manner, the adding unit is specifically configured to, in a case that it is determined that the position information is not within a predetermined range, obtain a gun drawing time, a gun lifting time, a swing amplitude, and an excitation frequency of the firearm in the present use process; obtaining the historical gun pulling time, the historical gun lifting time, the historical swing amplitude and the historical excitation frequency which are stored locally; determining whether a difference between the gun drawing time and the historical gun drawing time is within a first preset threshold range; if the difference value between the gun drawing time and the historical gun drawing time is determined to be within the first preset threshold range, determining whether the difference value between the gun lifting time and the historical gun lifting time is within a second preset threshold range; if the difference value between the gun lifting time and the historical gun lifting time is determined to be within a second preset threshold range, determining whether the difference value between the excitation frequency and the historical excitation frequency is within a third preset threshold range; if the difference value between the excitation frequency and the historical excitation frequency is determined to be within a third preset threshold range, determining whether the difference value between the swing amplitude and the historical swing amplitude is within a fourth preset threshold range; under the condition that the difference value between the swing amplitude and the historical swing amplitude is determined to be within a fourth preset threshold range, determining that the user of the firearm is the user of the firearm borrowing, and adding a bad record to the user information of the firearm borrowing, wherein the bad record at least comprises: the content of the bad record is the leaving authorization range, the leaving time, the security level of the authorization range and the security level corresponding to the area; the authorization range of the user is narrowed by integrating the leaving authorization range, the leaving time, the security level of the authorization range and the security level corresponding to the area where the user is located;
the historical gun drawing time, the historical gun lifting time, the historical swing amplitude and the historical excitation frequency are obtained by adding the current gun drawing time, the current gun lifting time, the current swing amplitude and the current excitation frequency to the historical gun drawing time and the historical gun lifting time after determining that a user of the firearm is the gun borrowing user historically, and calculating in a weighted average mode after the historical swing amplitude and the historical excitation frequency, wherein the weighting proportion is lower as the weighting value is farther from the current time in time; the first threshold, the second threshold, the third threshold and the fourth threshold are gradually reduced along with the increase of the historical data amount;
if the gun drawing time passes, the gun lifting time, the excitation frequency, the historical gun drawing time, the historical gun lifting time and the historical excitation frequency are obtained; if the fact that the user of the firearm is the firearm borrowing user is not determined, adding borrowing refusing information to the user information of the firearm borrowing;
the display unit is further configured to, after receiving subsequent registration information of the firearm, limit the firearm to the narrowed authorization range if it is determined that user information included in the subsequent registration information includes a bad record; and after determining that the user information contains loan refusal information, displaying prompt information of the gun borrowing refusal.
The first threshold, the second threshold, the third threshold and the fourth threshold, which gradually decrease with the increase of the historical data amount, comprise: the first threshold, the second threshold, the third threshold and the fourth threshold are 1.5 times of the difference value between the maximum value and the minimum value in the initial values tested when the gun borrowing user is initially used; and when the first threshold, the second threshold, the third threshold and the fourth threshold are reduced by 10% every time 10 pieces of historical data are added, and the first threshold, the second threshold, the third threshold and the fourth threshold are stopped to be reduced under the condition that the first threshold, the second threshold, the third threshold and the fourth threshold are reduced to 0.8 times of the difference value between the maximum value and the minimum value in the initial values tested when the gun borrowing user uses the gun borrowing user initially.
According to the technical scheme, the embodiment of the invention has the following advantages: the server of the firearms and the functions of the internet of things based on the internet of things can ensure the safety of the firearms, track the positions of the firearms in time, control the application range of the firearms, give better freedom of users renting the firearms on the other hand, adapt to the management of shooting ranges and commercial operations, and improve the management efficiency.
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 description of the embodiments will be briefly introduced 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. 1A is a schematic structural diagram of an information collecting and processing system of a firearm according to an embodiment of the present invention;
FIG. 1B is a schematic diagram of a firearm in accordance with an embodiment of the present invention;
fig. 2 is a schematic diagram of an information collecting and processing method of a firearm according to an embodiment of the invention;
FIG. 3 is a schematic diagram of a map of a shooting range shown in an embodiment of the present invention;
FIG. 4 is a schematic diagram of another information collection and processing method for a firearm according to an embodiment of the invention;
FIG. 5 is a schematic diagram of another information collection and processing method for a firearm according to an embodiment of the invention;
FIG. 6 is a diagram illustrating a server structure according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating a server structure according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating a server structure according to an embodiment of the present invention;
FIG. 9 is a diagram illustrating a server structure according to an embodiment of the present invention;
FIG. 10 is a diagram illustrating a server structure according to an embodiment of the present invention;
fig. 11 is a schematic diagram of a server structure according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a schematic structural diagram of an information acquisition and processing system of a firearm, as shown in fig. 1A, including: server, firearms, terminal equipment.
The server is connected with the firearm through the internet of things, the firearm is provided with a positioning module and a communication module with an information reporting function, as shown in fig. 1B, a black rectangular area 101 in the figure comprises the positioning module and the communication module with the information reporting function, and the positioning module and the communication module can be arranged at a plurality of positions of the firearm. The positioning module can position the position of the firearm, and the communication module can be in communication connection with the server and send information to the server, so that the firearm can report the position information of the firearm in real time or at regular time. The server may receive a location report sent by the firearm, where the location includes information including the identification information and a current location of the firearm, so that the server may monitor for a change in the location of the firearm. The firearm and the server may communicate via wireless fidelity (WiFi), bluetooth, ZigBee (ZigBee), or the like. The terminal device is a terminal device which is predetermined with the firearm, and when the server determines that the firearm is not in a predetermined range, the server sends alarm information to the terminal device and sends the position information of the firearm to the terminal device.
The embodiment of the invention provides a method for acquiring and processing information of a firearm, which comprises the following steps as shown in figure 2:
201: the server receives the registration information of the firearms;
the registration information may include information on a user who borrows the gun and identification information on the firearm, may include information on the user who borrows the gun or an authorization zone corresponding to the firearm, and may include an alert zone corresponding to the firearm. The user information can be the name, work unit, identification card number, mobile phone number, etc. of the user. The identification information may be a serial number, a model number, etc. of the firearm. The authorization zone is an area where the user can move about carrying the firearm. The alert area is an area where the firearm is not allowed to appear, and the server sends alert information after the firearm appears in the alert area. The server can receive the registration information sent by the terminal device in a wired mode, such as receiving the registration information sent by a desktop computer through a wired network; the registration information sent by the terminal device in a wireless manner, such as the registration information sent by a mobile phone or a tablet computer through a wireless network, may also be received.
202: receiving a position report from said firearm;
the location report may include identification information of the firearm and current location information of the firearm. The identification information may be a serial number, a model number, etc. of the firearm. The position information is positioning information of the firearm, and may include current geographic coordinates of the firearm, or may include information of an area where the firearm is currently located. The gun is connected with the server through the Internet of things, the gun reports the position information of the gun in real time or at regular time, and the server monitors the position change of the gun. The firearm and the server can communicate in a Wireless Fidelity (WiFi), bluetooth, ZigBee (ZigBee) or other manner. The firearm is provided with a positioning module and hardware with an information reporting function, the positioning module of the firearm can perform positioning in real time or at preset time intervals, and a current position report is sent to the server in a wireless mode. For example, the location module of the firearm may locate every two minutes or five seconds and send a location report to the server via Wireless Fidelity (WiFi).
203: and sending out alarm information under the condition that the position information is determined not to be in the preset range.
The server extracts the position information of the firearm from the position report, determines whether the firearm is within the predetermined range according to the position information, and sends out alarm information if the firearm is not within the predetermined range. The predetermined range is a range in which the firearm can move, which is preset by the server, the firearm cannot leave the predetermined range, and the server sends an alarm message once the firearm leaves the predetermined range. The server may receive a predetermined range setting instruction and set a predetermined range of each firearm according to the predetermined range setting instruction. The method of determining the predetermined range may be performed according to the degree of danger of the firearm and the authority of the user as described above. For example, the predetermined range of firearm 1 may be set to zone 1, the predetermined range of firearm 2 may be set to zone 2, and the server issues an alert message after determining that firearm 1 is not in zone 1 or firearm 2 is not in zone 2. The specific method for sending the alarm information may be sending the alarm information to a predetermined terminal device, and sending the location information to the predetermined terminal device; or the power amplifier near the gun can send out a warning sound for warning the gun; the alarm system of the firearm can be started to give out sound and light alarm.
In the embodiment of the invention, the firearms based on the Internet of things and the server with the function of the Internet of things are adopted, so that the safety of the firearms can be ensured, the positions of the firearms can be tracked in time, the use range of the firearms is controlled, a user renting the firearms has better freedom degree, the firearms are suitable for the management of a shooting range and a shooting range in commercial operation, and the management efficiency is improved.
The embodiment of the invention provides a method for displaying the position of a firearm on the basis of the previous embodiment, which comprises the following specific steps: after the receiving the position report from the firearm, the method further comprises:
and displaying a map of the shooting range, wherein the map comprises a preset range and a non-preset range of the gun, and the position of the gun in the map is displayed.
The server generates a map showing the current position of the firearm based on the position report, and marks a predetermined range and a non-predetermined range of the firearm on the map, which may be displayed on a display associated with the server. The server may generate a map containing only the location of a firearm based on a location report sent by the firearm, or generate a map containing a plurality of or all firearms based on a location report sent by a plurality of or all firearms, and different firearms may be distinguished by different identifiers, as shown in fig. 3, a black circular area in fig. 3 represents one type of firearm, a black square area represents another type of firearm, a middle rectangular area is the predetermined range, and an area with shading outside the rectangular area is the non-predetermined range. The server may receive an inquiry command from a user, where the specific method for the user to send the inquiry command may be to input identification information of a certain firearm, such as a serial number, through an input device associated with the server to inquire a position of the firearm, and after receiving the inquiry command, the server displays only the position of the firearm and a predetermined range and a non-predetermined range of the firearm on the map. The map manager can accurately determine the position of the firearm, and real-time monitoring is facilitated.
In the embodiment of the invention, the server generates the map containing the position of the firearm according to the position report sent by the firearm and displays the map on the display associated with the server, so that the position of the firearm can be monitored in real time and the management is convenient.
On the basis of the previous embodiment, the embodiment of the invention provides an alarm method, which specifically comprises the following steps: the sending of the alarm information includes:
and sending alarm information to preset terminal equipment, and sending the position information to the preset terminal equipment.
The preset terminal device is preset, and a manager can set the preset terminal device for each gun on the server, wherein the terminal device can be a mobile phone, a tablet computer, a wearable device and the like. The predetermined terminal device may be one or a plurality of terminal devices, and may be of the same type or different types. For example, the predetermined terminal device may include a mobile phone and two wearable devices. The server may transmit the location information of the firearm to the predetermined terminal device in real time after transmitting the warning information to the predetermined terminal device. For example, the server may transmit the position information to the predetermined terminal device once every three seconds. The mode of sending the alarm information by the server may be sending alarm information instructing the predetermined terminal device to perform a vibration alarm or sending alarm information instructing the predetermined terminal device to perform a voice alarm.
In the embodiment of the invention, after the server sends the warning information to the preset terminal equipment, the server sends the position information to the preset terminal equipment, so that the preset terminal equipment can acquire the position information of the firearm in time.
In the embodiment of the invention, another alarm method is provided, which specifically comprises the following steps: the registration information further includes:
the user information of the gun borrowing or the authorization area corresponding to the firearm;
the sending the warning information when it is determined that the position information is not within the predetermined range includes:
and sending out alarm information under the condition that the position information is determined not to be in the authorized area.
The server determines whether to send out the warning information according to the authorization area corresponding to the firearm acquired from the registration information, and the specific method can be that whether the position of the firearm is in the authorization area is determined, and if the position is not in the authorization area, the warning information is sent out.
In the embodiment of the invention, different users and different firearms can be provided with different authorization areas, so that the requirements of different users can be met.
In the embodiment of the present invention, another warning method is provided, which specifically includes: the registration information further includes:
a warning area corresponding to the firearm;
after the receiving the position report from the firearm, the method further comprises:
and after the position information is determined to be in the warning area, transmitting the firearm identification information to the power amplifier equipment within the warning area range, and indicating the power amplifier equipment to send out a warning tone for warning the firearm.
The server can receive a setting instruction aiming at the guard area of the firearm and set the corresponding guard area for the firearm. And after determining that the position information of the gun is in the warning area, the server sends the gun identification information to the power amplifier equipment within the warning area range, and instructs the power amplifier equipment to send out a warning tone for warning the gun. After receiving the identification information and the instruction of the firearm sent by the server, the audio playing device in the alert area range can play corresponding voice information, for example, play that "the firearm with the serial number XXX is in the alert area, please immediately range to a predetermined range".
In the embodiment of the invention, the warning area corresponding to each gun can be set, and when the gun is in the warning area, the power amplifier in the warning area is controlled to perform voice warning, so that the gun can quickly and conveniently return to the preset range in time through illegal users.
The embodiment of the invention also provides a method for borrowing the gun based on the bad record in the user information, which comprises the following steps: adding a bad record to the user information of the gun borrowing under the condition that the position information is determined not to be in a preset range;
when it is determined that the user information included in the subsequent registration information includes a failure record after the subsequent registration information of the firearm is received, a prompt message for refusing to borrow the firearm is displayed.
In this way, users who are not intended to bring the firearm out of the predetermined range can be effectively punished.
In the embodiment of the invention, the server adds the bad record to the user information according to the violation expression of the user, and the prompt information for refusing to borrow the gun is displayed when the user information contains the bad record and carries out subsequent registration, so that the user who does not take the gun out of the preset range according to the regulation can be effectively punished, and the danger is prevented.
The embodiment of the invention provides another information acquisition and processing method for firearms, as shown in fig. 4, including:
401. the server receives the registration information of the firearms;
the registration information may include information of a user who borrows the firearm and identification information of the firearm. The user information can be the name, work unit, identification card number, mobile phone number, etc. of the user. The identification information may be a serial number, a model number, etc. of the firearm. The server can receive the registration information sent by the terminal device in a wired mode, such as receiving the registration information sent by a desktop computer through a wired network; the registration information sent by the terminal device in a wireless manner, such as the registration information sent by a mobile phone or a tablet computer through a wireless network, may also be received.
402. The server checks whether the registration information includes a failure record;
checking whether the registration information of the user contains bad records, if so, executing 410, and if not, executing 403.
403. The server determines the user information of the gun borrowing or the preset range corresponding to the firearm and/or the warning area corresponding to the firearm;
the server may determine the corresponding predetermined range and/or the arming zone for the firearm based on the user information or the firearm. The predetermined range may be an authorized area determined by the server according to the firearm or the user information, or may be a predetermined range determined by the server by default, that is, an authorized area. The alert area is an area determined by the server to be presented for alerting the firearm.
404. The server receiving a position report from the firearm;
the location report may include identification information of the firearm and current location information of the firearm. The identification information may be a serial number, a model number, etc. of the firearm. The position information is positioning information of the firearm, and may include current geographic coordinates of the firearm, or may include information of an area where the firearm is currently located. The gun is connected with the server through the Internet of things, the gun reports the position information of the gun in real time or at regular time, and the server monitors the position change of the gun. The firearm and the server can communicate in a Wireless Fidelity (WiFi), bluetooth, ZigBee (ZigBee) or other manner. The firearm is provided with a positioning module and hardware with an information reporting function, the positioning module of the firearm can perform positioning in real time or at preset time intervals, and a current position report is sent to the server in a wireless mode. For example, the location module of the firearm may locate every two minutes or five seconds and send a location report to the server via Wireless Fidelity (WiFi).
405. The server displays a map of the shooting range on an associated display;
the map includes a predetermined range and a non-predetermined range of the firearm, and displays a position of the firearm in the map. The server generates a map showing the current position of the firearm based on the position report, and marks a predetermined range and a non-predetermined range of the firearm on the map, which may be displayed on a display associated with the server. The server may generate a map containing only the location of a firearm based on a location report sent by the firearm, or generate a map containing a plurality of or all firearms based on a location report sent by a plurality of or all firearms, and different firearms may be distinguished by different identifiers, as shown in fig. 3, a black circular area in fig. 3 represents one type of firearm, a black square area represents another type of firearm, a middle rectangular area is the predetermined range, and an area with shading outside the rectangular area is the non-predetermined range. The server may receive an inquiry command from a user, where the specific method for the user to send the inquiry command may be to input identification information of a certain firearm, such as a serial number, through an input device associated with the server to inquire a position of the firearm, and after receiving the inquiry command, the server displays only the position of the firearm and a predetermined range and a non-predetermined range of the firearm on the map. The map manager can accurately determine the position of the firearm, and real-time monitoring is facilitated.
406. The server determines whether the location of the firearm is within a predetermined range;
the server determines whether the location of the firearm is within the predetermined range, and if not, the server determines the authorized area, and then determines 407 the area where the firearm is located, and if so, performs 404.
407. The server sends out alarm information to the terminal equipment preset by the server;
the server sends out alarm information to a preset terminal device and sends the position information to the preset terminal device; or after determining that the firearm is in the warning area, the server sends the firearm identification information to the power amplifier equipment within the warning area range, and instructs the power amplifier equipment to send out a warning tone for warning the firearm; or, not only sending alarm information and the position information to a predetermined terminal device, but also sending the firearm identification information to the power amplifier device in the warning area range, and indicating the power amplifier device to send a warning sound for warning the firearm. The predetermined terminal device may be a plurality of different types of devices. The server may transmit the location information of the firearm to the predetermined terminal device in real time after transmitting the warning information to the predetermined terminal device. For example, the server may transmit the position information to the predetermined terminal device once every three seconds. The mode of sending the alarm information by the server may be sending alarm information instructing the predetermined terminal device to perform a vibration alarm or sending alarm information instructing the predetermined terminal device to perform a voice alarm. After receiving the identification information and the instruction of the firearm sent by the server, the audio playing device in the alert area range can play corresponding voice information, for example, play that "the firearm with the serial number XXX is in the alert area, please immediately range to a predetermined range".
408. The terminal equipment gives an alarm;
the terminal equipment can alarm in modes of voice, ringing, vibration or flashing alarm lamps and the like.
409. Adding bad records by the server;
in the case where it is determined that the position information is not within the predetermined range, a bad record may be added to the user information of the gun borrowing. The bad record may record a rule violated by a user, a time when a violation occurred, and the like.
410. And the server sends prompt information to the terminal equipment.
And the server sends prompt information of refusing to borrow the gun to the terminal equipment.
411. And the terminal equipment displays the prompt message.
For example, "bad records are out of compliance" may be displayed on the terminal device; gun borrowing refusal is recommended.
In the embodiment of the invention, the firearms based on the Internet of things and the server with the function of the Internet of things are adopted, so that the safety of the firearms can be ensured, the positions of the firearms can be tracked in time, the use range of the firearms is controlled, a user renting the firearms has better freedom degree, the firearms are suitable for the management of a shooting range and a shooting range in commercial operation, and the management efficiency is improved.
The embodiment of the present invention provides another information collecting and processing method for firearms, as shown in fig. 5, including:
501. the server receives registration information of a user;
if the user borrows the gun for the first time, namely the information of the user is stored in the server, the staff registers the information of the user after verifying the identity of the user and adds the information of the gun borrowing at this time, such as the name, the work unit, the identity card number, the mobile phone number and the like of the registered user; if the user has lent the gun, namely the information of the user is stored in the server, the information of the user is verified and the information of the current gun lending is recorded.
502. The server determines a preset range according to the user information or the lent firearm information in the registration information;
503. displaying the predetermined range on a display associated with the server;
the user can clearly see the range of motion he can move on the display.
504. The server records the time of lending the firearm;
505. receiving a position report of the firearm;
506. after the gun position is determined not to be in the preset range, alarm information is sent to the terminal equipment of the user and preset terminal equipment;
507. displaying the position information of the firearm in real time;
508. recording the time of the firearm return;
509. add bad records.
In the embodiment of the invention, the firearms based on the Internet of things and the server with the function of the Internet of things are adopted, so that the safety of the firearms can be ensured, the positions of the firearms can be tracked in time, the use range of the firearms is controlled, a user renting the firearms has better freedom degree, the firearms are suitable for the management of a shooting range and a shooting range in commercial operation, and the management efficiency is improved.
An embodiment of the present invention further provides a server, as shown in fig. 6, including:
a receiving unit 601, configured to receive registration information of a firearm, where the registration information includes information of a user borrowing the firearm and identification information of the firearm; receiving a position report from the firearm, the position report including the identification information and current position information of the firearm;
a determining unit 602, configured to determine whether the position information is within a predetermined range;
an alarm unit 603, configured to send an alarm message after the determining unit determines that the location information is not within the predetermined range.
The specific implementation method is the same as that in fig. 2, and is not described in detail here.
The embodiment of the invention provides a method for displaying the position of a firearm on the basis of the previous embodiment, which comprises the following specific steps: further, as shown in fig. 7, the server further includes:
a display unit 701 for displaying a map of a shooting range, the map including a predetermined range and a non-predetermined range of the shooter, and displaying a position of the shooter in the map.
The server generates a map showing the current position of the firearm based on the position report, and marks a predetermined range and a non-predetermined range of the firearm on the map, which may be displayed on a display associated with the server. The server may generate a map containing only the location of a firearm based on a location report sent by the firearm, or generate a map containing a plurality of or all firearms based on a location report sent by a plurality of or all firearms, and different firearms may be distinguished by different identifiers, as shown in fig. 3, a black circular area in fig. 3 represents one type of firearm, a black square area represents another type of firearm, a middle rectangular area is the predetermined range, and an area with shading outside the rectangular area is the non-predetermined range. The server may receive an inquiry command from a user, where the specific method for the user to send the inquiry command may be to input identification information of a certain firearm, such as a serial number, through an input device associated with the server to inquire a position of the firearm, and after receiving the inquiry command, the server displays only the position of the firearm and a predetermined range and a non-predetermined range of the firearm on the map. The map manager can accurately determine the position of the firearm, and real-time monitoring is facilitated.
In the embodiment of the invention, the server generates the map containing the position of the firearm according to the position report sent by the firearm and displays the map on the display associated with the server, so that the position of the firearm can be monitored in real time and the management is convenient.
On the basis of the previous embodiment, the embodiment of the invention provides an alarm method, which specifically comprises the following steps: the alarm unit 603 is specifically configured to send alarm information to a predetermined terminal device, and send the location information to the predetermined terminal device.
The preset terminal device is preset, and a manager can set the preset terminal device for each gun on the server, wherein the terminal device can be a mobile phone, a tablet computer, a wearable device and the like. The predetermined terminal device may be one or a plurality of terminal devices, and may be of the same type or different types. For example, the predetermined terminal device may include a mobile phone and two wearable devices. The server may transmit the location information of the firearm to the predetermined terminal device in real time after transmitting the warning information to the predetermined terminal device. For example, the server may transmit the position information to the predetermined terminal device once every three seconds. The mode of sending the alarm information by the server may be sending alarm information instructing the predetermined terminal device to perform a vibration alarm or sending alarm information instructing the predetermined terminal device to perform a voice alarm.
In the embodiment of the invention, after the server sends the warning information to the preset terminal equipment, the server sends the position information to the preset terminal equipment, so that the preset terminal equipment can acquire the position information of the firearm in time.
In the embodiment of the invention, another alarm method is provided, which specifically comprises the following steps:
the receiving unit 601 is further configured to receive the information of the user borrowing the gun or an authorization area corresponding to the firearm;
the determining unit 602 is specifically configured to determine whether the location information is in the authorized area;
the warning unit 603 is specifically configured to send warning information when the determining unit determines that the location information is not in the authorized area.
The server determines whether to send out the warning information according to the authorization area corresponding to the firearm acquired from the registration information, and the specific method can be that whether the position of the firearm is in the authorization area is determined, and if the position is not in the authorization area, the warning information is sent out.
In the embodiment of the invention, different users and different firearms can be provided with different authorization areas, so that the requirements of different users can be met.
In the embodiment of the present invention, another warning method is provided, which specifically includes: the receiving unit 601 is further configured to receive an alert area corresponding to the firearm;
the determining unit 602 is further configured to determine whether the position information is in the warning area; further, as shown in fig. 8, the server further includes:
a transmitting unit 801, configured to transmit the firearm identification information to the power amplifier device within the warning region range after the determining unit determines that the position information is not within the warning region, and instruct the power amplifier device to emit an alert sound for warning the firearm.
The server can receive a setting instruction aiming at the guard area of the firearm and set the corresponding guard area for the firearm. And after determining that the position information of the gun is in the warning area, the server sends the gun identification information to the power amplifier equipment within the warning area range, and instructs the power amplifier equipment to send out a warning tone for warning the gun. After receiving the identification information and the instruction of the firearm sent by the server, the audio playing device in the alert area range can play corresponding voice information, for example, play that "the firearm with the serial number XXX is in the alert area, please immediately range to a predetermined range".
In the embodiment of the invention, the warning area corresponding to each gun can be set, and when the gun is in the warning area, the power amplifier in the warning area is controlled to perform voice warning, so that the gun can quickly and conveniently return to the preset range in time through illegal users.
The embodiment of the invention also provides a method for borrowing the gun based on the bad record in the user information, which comprises the following steps: further, as shown in fig. 9, the server further includes:
an adding unit 901, configured to add a bad record to the user information of the gun lending when the determining unit determines that the position information is not within a predetermined range;
the receiving unit 601 is further configured to register information of the firearm;
the determining unit 602 is further configured to determine whether the user information included in the subsequent registration information includes a bad record;
the display unit 701 is further configured to display a prompt message for refusing to borrow the gun after the determination unit determines that the user information included in the subsequent registration information includes a bad record.
In this way, users who are not intended to bring the firearm out of the predetermined range can be effectively punished.
In the embodiment of the invention, the server adds the bad record to the user information according to the violation expression of the user, and the prompt information for refusing to borrow the gun is displayed when the user information contains the bad record and carries out subsequent registration, so that the user who does not take the gun out of the preset range according to the regulation can be effectively punished, and the danger is prevented.
An embodiment of the present invention further provides a server, as shown in fig. 10, including: a central processing unit 1001, a memory 1002, a receiving apparatus 1003, a transmitting apparatus 1004; the memory 1002 may be used for a cache required by the processor 1001 to perform data processing, and may also be used to provide a storage space for data called by the processor 1001 to perform data processing and obtained result data; a reception device 1003 for receiving registration information; the sending device is used for sending alarm information and the like.
The processor 1001 is configured to receive registration information of a firearm by a server, where the registration information includes information of a user borrowing the firearm and identification information of the firearm; receiving a position report from the firearm, the position report including the identification information and current position information of the firearm; and sending out alarm information under the condition that the position information is determined not to be in the preset range.
The specific implementation method is the same as that in fig. 2, and is not described in detail here.
The embodiment of the invention provides a method for displaying the position of a firearm on the basis of the previous embodiment, which comprises the following specific steps: the processor 1001 is further configured to display a map of a shooting range after receiving the position report from the firearm, wherein the map includes a predetermined range and a non-predetermined range of the firearm, and the position of the firearm in the map is displayed.
The server generates a map showing the current position of the firearm based on the position report, and marks a predetermined range and a non-predetermined range of the firearm on the map, which may be displayed on a display associated with the server. The server may generate a map containing only the location of a firearm based on a location report sent by the firearm, or generate a map containing a plurality of or all firearms based on a location report sent by a plurality of or all firearms, and different firearms may be distinguished by different identifiers, as shown in fig. 3, a black circular area in fig. 3 represents one type of firearm, a black square area represents another type of firearm, a middle rectangular area is the predetermined range, and an area with shading outside the rectangular area is the non-predetermined range. The server may receive an inquiry command from a user, where the specific method for the user to send the inquiry command may be to input identification information of a certain firearm, such as a serial number, through an input device associated with the server to inquire a position of the firearm, and after receiving the inquiry command, the server displays only the position of the firearm and a predetermined range and a non-predetermined range of the firearm on the map. The map manager can accurately determine the position of the firearm, and real-time monitoring is facilitated.
In the embodiment of the invention, the server generates the map containing the position of the firearm according to the position report sent by the firearm and displays the map on the display associated with the server, so that the position of the firearm can be monitored in real time and the management is convenient.
On the basis of the previous embodiment, the embodiment of the invention provides an alarm method, which specifically comprises the following steps: the processor 1001 is specifically configured to send alarm information to a predetermined terminal device, and send the location information to the predetermined terminal device.
The preset terminal device is preset, and a manager can set the preset terminal device for each gun on the server, wherein the terminal device can be a mobile phone, a tablet computer, a wearable device and the like. The predetermined terminal device may be one or a plurality of terminal devices, and may be of the same type or different types. For example, the predetermined terminal device may include a mobile phone and two wearable devices. The server may transmit the location information of the firearm to the predetermined terminal device in real time after transmitting the warning information to the predetermined terminal device. For example, the server may transmit the position information to the predetermined terminal device once every three seconds. The mode of sending the alarm information by the server may be sending alarm information instructing the predetermined terminal device to perform a vibration alarm or sending alarm information instructing the predetermined terminal device to perform a voice alarm.
In the embodiment of the invention, after the server sends the warning information to the preset terminal equipment, the server sends the position information to the preset terminal equipment, so that the preset terminal equipment can acquire the position information of the firearm in time.
In the embodiment of the invention, another alarm method is provided, which specifically comprises the following steps: the processor 1001 is further configured to determine the user information of the gun borrowing or an authorization area corresponding to the firearm;
the sending the warning information when it is determined that the position information is not within the predetermined range includes:
and sending out alarm information under the condition that the position information is determined not to be in the authorized area.
The server determines whether to send out the warning information according to the authorization area corresponding to the firearm acquired from the registration information, and the specific method can be that whether the position of the firearm is in the authorization area is determined, and if the position is not in the authorization area, the warning information is sent out.
In the embodiment of the invention, different users and different firearms can be provided with different authorization areas, so that the requirements of different users can be met.
In the embodiment of the present invention, another warning method is provided, which specifically includes: the processor 1001 is further configured to determine an alert area corresponding to the firearm;
after the receiving the position report from the firearm, the method further comprises:
and after the position information is determined to be in the warning area, transmitting the firearm identification information to the power amplifier equipment within the warning area range, and indicating the power amplifier equipment to send out a warning tone for warning the firearm.
The server can receive a setting instruction aiming at the guard area of the firearm and set the corresponding guard area for the firearm. And after determining that the position information of the gun is in the warning area, the server sends the gun identification information to the power amplifier equipment within the warning area range, and instructs the power amplifier equipment to send out a warning tone for warning the gun. After receiving the identification information and the instruction of the firearm sent by the server, the audio playing device in the alert area range can play corresponding voice information, for example, play that "the firearm with the serial number XXX is in the alert area, please immediately range to a predetermined range".
In the embodiment of the invention, the warning area corresponding to each gun can be set, and when the gun is in the warning area, the power amplifier in the warning area is controlled to perform voice warning, so that the gun can quickly and conveniently return to the preset range in time through illegal users.
The embodiment of the invention also provides a method for borrowing the gun based on the bad record in the user information, which comprises the following steps: the processor 1001 is further configured to add a bad record to the user information of the gun lending if it is determined that the position information is not within a predetermined range;
when it is determined that the user information included in the subsequent registration information includes a failure record after the subsequent registration information of the firearm is received, a prompt message for refusing to borrow the firearm is displayed.
In this way, users who are not intended to bring the firearm out of the predetermined range can be effectively punished.
In the embodiment of the invention, the server adds the bad record to the user information according to the violation expression of the user, and the prompt information for refusing to borrow the gun is displayed when the user information contains the bad record and carries out subsequent registration, so that the user who does not take the gun out of the preset range according to the regulation can be effectively punished, and the danger is prevented.
Fig. 11 is a schematic diagram of a server 1100 according to an embodiment of the present invention, where the server 1100 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 1122 (e.g., one or more processors) and a memory 1132, and one or more storage media 1130 (e.g., one or more mass storage devices) for storing applications 1142 or data 1144. Memory 1132 and storage media 1130 may be, among other things, transient storage or persistent storage. The program stored on the storage medium 1130 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 1122 may be provided in communication with the storage medium 1130 to execute a series of instruction operations in the storage medium 1130 on the server 1100.
The server 1100 may also include one or more power supplies 1126, one or more wired or wireless network interfaces 1150, one or more input-output interfaces 1158, and/or one or more operating systems 1141, such as Windows ServerTM, Mac OS XTM, UnixTM, &lTtTtranslation = L "&gTt L &lTt/T &gTt inxTM, FreeBSDTM, and the like.
The steps performed by the server in the above embodiment may be based on the server structure shown in fig. 11.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the embodiment of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An information acquisition processing method of a firearm is characterized by comprising the following steps:
the method comprises the steps that a server receives registration information of a gun, wherein the registration information comprises user information of the gun borrowing and identification information of the gun;
receiving a position report from the firearm, the position report containing the identification information and current position information of the firearm;
sending alarm information under the condition that the position information is determined not to be in an authorized range;
under the condition that the position information is determined not to be within the authorized range, acquiring the gun pulling time, the gun lifting time, the swinging amplitude and the excitation frequency of the gun in the using process of the gun; obtaining the historical gun drawing time, the historical gun lifting time, the historical swing amplitude and the historical excitation frequency which are stored locally; determining whether a difference between the gun drawing time and the historical gun drawing time is within a first preset threshold range; if the difference value between the gun drawing time and the historical gun drawing time is determined to be within the first preset threshold range, determining whether the difference value between the gun lifting time and the historical gun lifting time is within a second preset threshold range; if the difference value between the gun lifting time and the historical gun lifting time is determined to be within a second preset threshold range, determining whether the difference value between the excitation frequency and the historical excitation frequency is within a third preset threshold range; if the difference value between the excitation frequency and the historical excitation frequency is determined to be within a third preset threshold range, determining whether the difference value between the swing amplitude and the historical swing amplitude is within a fourth preset threshold range; under the condition that the difference value between the swing amplitude and the historical swing amplitude is determined to be within a fourth preset threshold range, determining that the user of the firearm is the user of the firearm borrowing, and adding a bad record to the user information of the firearm borrowing, wherein the bad record at least comprises: leaving the authorization range, the leaving time, the security level of the authorization range and the security level corresponding to the area where the authorization range is located; the authorization range of the user is narrowed by integrating the leaving authorization range, the leaving time, the security level of the authorization range and the security level corresponding to the area where the user is located;
the historical gun drawing time, the historical gun lifting time, the historical swing amplitude and the historical excitation frequency are calculated in a weighted average mode after historically determining that a user of the firearm is the gun borrowing user and adding the gun drawing time, the gun lifting time, the swing amplitude and the excitation frequency which are obtained at the current time to the historical gun drawing time, the historical gun lifting time, the historical swing amplitude and the historical excitation frequency, and the weighting weight is lower as the weighting value is farther from the current time in time; the first preset threshold, the second preset threshold, the third preset threshold and the fourth preset threshold are gradually reduced along with the increase of the historical data amount;
if the gun drawing time, the gun lifting time, the excitation frequency, the historical gun drawing time, the historical gun lifting time and the historical excitation frequency are passed; if the user of the firearm is not determined to be the user of the gun borrowing, adding borrowing refusing information to the user information of the gun borrowing;
after receiving subsequent registration information of the firearm, limiting the authorization range of the firearm to be the reduced authorization range if determining that user information contained in the subsequent registration information contains bad records; after determining that the user information contains loan refusal information, displaying the prompt information of the gun borrowing refusal;
the step-by-step reduction of the first preset threshold, the second preset threshold, the third preset threshold and the fourth preset threshold along with the increase of the historical data amount comprises the following steps: the first preset threshold, the second preset threshold, the third preset threshold and the fourth preset threshold are 1.5 times of the difference value between the maximum value and the minimum value in the initial values tested when the gun borrowing user initially uses the gun borrowing device; and when 10 pieces of historical data are added, the first preset threshold, the second preset threshold, the third preset threshold and the fourth preset threshold are reduced by 10%, and the reduction of the first preset threshold, the second preset threshold, the third preset threshold and the fourth preset threshold is stopped under the condition that the first preset threshold, the second preset threshold, the third preset threshold and the fourth preset threshold are reduced to 0.8 times of the difference value between the maximum value and the minimum value in the initial values tested by the gun borrowing user during the initial use.
2. The method of claim 1, wherein after said receiving a position report from the firearm, the method further comprises:
and displaying a map of the shooting range, wherein the map comprises an authorized range and an unauthorized range of the firearm, and the position of the firearm in the map is displayed.
3. The method of claim 1, wherein said sending an alarm message comprises:
and sending alarm information to preset terminal equipment, and sending the position information to the preset terminal equipment.
4. The method according to any one of claims 1 to 3, wherein the registration information further comprises:
the user information of the gun borrowing or the authorization area corresponding to the firearm;
the sending the alarm information when the position information is determined not to be in the authorized range includes:
and sending out alarm information under the condition that the position information is determined not to be in the authorized area.
5. The method of claim 4, wherein the registration information further comprises:
a warning area corresponding to the firearm;
after the receiving a position report from the firearm, the method further comprises:
and after the position information is determined to be in the warning region, transmitting the firearm identification information to the power amplifier equipment within the warning region range, and indicating the power amplifier equipment to send out a warning tone for warning the firearm.
6. A server, comprising:
the receiving unit is used for receiving the registration information of the firearms, and the registration information comprises the user information of the gun borrowing and the identification information of the firearms; receiving a position report from the firearm, the position report containing the identification information and current position information of the firearm;
a determination unit configured to determine whether the location information is within an authorized range;
the warning unit is used for sending warning information after the determining unit determines that the position information is not in the authorization range;
the adding unit is used for obtaining the gun pulling time, the gun lifting time, the swinging amplitude and the excitation frequency of the gun in the using process of the gun under the condition that the position information is determined not to be in the authorized range; obtaining the historical gun drawing time, the historical gun lifting time, the historical swing amplitude and the historical excitation frequency which are stored locally; determining whether a difference between the gun drawing time and the historical gun drawing time is within a first preset threshold range; if the difference value between the gun drawing time and the historical gun drawing time is determined to be within the first preset threshold range, determining whether the difference value between the gun lifting time and the historical gun lifting time is within a second preset threshold range; if the difference value between the gun lifting time and the historical gun lifting time is determined to be within a second preset threshold range, determining whether the difference value between the excitation frequency and the historical excitation frequency is within a third preset threshold range; if the difference value between the excitation frequency and the historical excitation frequency is determined to be within a third preset threshold range, determining whether the difference value between the swing amplitude and the historical swing amplitude is within a fourth preset threshold range; under the condition that the difference value between the swing amplitude and the historical swing amplitude is determined to be within a fourth preset threshold range, determining that the user of the firearm is the user of the firearm borrowing, and adding a bad record to the user information of the firearm borrowing, wherein the bad record at least comprises: leaving the authorization range, the leaving time, the security level of the authorization range and the security level corresponding to the area where the authorization range is located; the authorization range of the user is narrowed by integrating the leaving authorization range, the leaving time, the security level of the authorization range and the security level corresponding to the area where the user is located;
the historical gun drawing time, the historical gun lifting time, the historical swing amplitude and the historical excitation frequency are calculated in a weighted average mode after historically determining that a user of the firearm is the gun borrowing user and adding the gun drawing time, the gun lifting time, the swing amplitude and the excitation frequency which are obtained at the current time to the historical gun drawing time, the historical gun lifting time, the historical swing amplitude and the historical excitation frequency, and the weighting weight is lower as the weighting value is farther from the current time in time; the first preset threshold, the second preset threshold, the third preset threshold and the fourth preset threshold are gradually reduced along with the increase of the historical data amount;
if the gun drawing time, the gun lifting time, the excitation frequency, the historical gun drawing time, the historical gun lifting time and the historical excitation frequency are passed; if the user of the firearm is not determined to be the user of the gun borrowing, adding borrowing refusing information to the user information of the gun borrowing;
after receiving subsequent registration information of the firearm, limiting the authorization range of the firearm to be the reduced authorization range if determining that user information contained in the subsequent registration information contains bad records; after determining that the user information contains loan refusal information, displaying the prompt information of the gun borrowing refusal;
the step-by-step reduction of the first preset threshold, the second preset threshold, the third preset threshold and the fourth preset threshold along with the increase of the historical data amount comprises the following steps: the first preset threshold, the second preset threshold, the third preset threshold and the fourth preset threshold are 1.5 times of the difference value between the maximum value and the minimum value in the initial values tested when the gun borrowing user initially uses the gun borrowing device; and when 10 pieces of historical data are added, the first preset threshold, the second preset threshold, the third preset threshold and the fourth preset threshold are reduced by 10%, and the reduction of the first preset threshold, the second preset threshold, the third preset threshold and the fourth preset threshold is stopped under the condition that the first preset threshold, the second preset threshold, the third preset threshold and the fourth preset threshold are reduced to 0.8 times of the difference value between the maximum value and the minimum value in the initial values tested by the gun borrowing user during the initial use.
7. The server according to claim 6, wherein the server further comprises:
the display unit is used for displaying a map of a shooting range, the map comprises an authorized range and an unauthorized range of the firearm, and the position of the firearm in the map is displayed.
8. The server according to claim 6,
the warning unit is specifically configured to send warning information to a predetermined terminal device, and send the location information to the predetermined terminal device.
9. The server according to any one of claims 6 to 8,
the receiving unit is further used for receiving the user information of the gun borrowing or an authorization area corresponding to the firearm;
the determining unit is specifically configured to determine whether the location information is in the authorized area;
the warning unit is specifically configured to send warning information when the determining unit determines that the location information is not in the authorized area.
10. The server according to claim 9,
the receiving unit is further used for receiving the warning area corresponding to the firearm;
the determining unit is further configured to determine whether the position information is in the alert area; the server further comprises:
and the transmitting unit is used for transmitting the firearm identification information to the power amplifier equipment within the warning region range and indicating the power amplifier equipment to send out a warning tone for warning the firearm after the determining unit determines that the position information is not in the warning region.
CN201710644406.7A 2017-07-31 2017-07-31 Information acquisition and processing method of firearm and server Active CN107484126B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710644406.7A CN107484126B (en) 2017-07-31 2017-07-31 Information acquisition and processing method of firearm and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710644406.7A CN107484126B (en) 2017-07-31 2017-07-31 Information acquisition and processing method of firearm and server

Publications (2)

Publication Number Publication Date
CN107484126A CN107484126A (en) 2017-12-15
CN107484126B true CN107484126B (en) 2020-07-24

Family

ID=60596874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710644406.7A Active CN107484126B (en) 2017-07-31 2017-07-31 Information acquisition and processing method of firearm and server

Country Status (1)

Country Link
CN (1) CN107484126B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112269972A (en) * 2020-10-20 2021-01-26 南京砺剑光电技术研究院有限公司 Shooting range management system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807326A (en) * 2009-02-13 2010-08-18 黄金富 Inquiry system and method of personal identity information
CN202032940U (en) * 2011-04-21 2011-11-09 大连民族学院 Auxiliary ball firing training system
CN105993184A (en) * 2013-10-22 2016-10-05 帕特罗希尼系统有限责任公司 Interactive emergency information and identification
CN106127141A (en) * 2016-06-21 2016-11-16 北京小米移动软件有限公司 Warning message generates method and device
CN205879007U (en) * 2016-06-27 2017-01-11 陈君怡 Intelligence pistol
CN106440948A (en) * 2015-08-13 2017-02-22 株式会社理光 Shooting training system and shooting training method
CN106845403A (en) * 2017-01-20 2017-06-13 武汉哒呤科技有限公司 A kind of method that its identity speciality is determined by user behavior track

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201892960U (en) * 2010-10-27 2011-07-06 李亚飞 Radio frequency gun management device
CN202548898U (en) * 2012-01-17 2012-11-21 深圳海棠通信技术有限公司 Gun management device
CN103686592A (en) * 2012-09-14 2014-03-26 北京网秦天下科技有限公司 Safety promotion method and system
US8850944B2 (en) * 2013-01-22 2014-10-07 Xiaoyan Zhou Automatic gun safety devices based on positioning systems
CN105491317B (en) * 2016-01-07 2019-04-23 深圳科润视讯技术有限公司 Firearms usage record instrument and its record system
CN205540846U (en) * 2016-02-05 2016-08-31 厦门物之联智能科技有限公司 Gun electronic tags

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807326A (en) * 2009-02-13 2010-08-18 黄金富 Inquiry system and method of personal identity information
CN202032940U (en) * 2011-04-21 2011-11-09 大连民族学院 Auxiliary ball firing training system
CN105993184A (en) * 2013-10-22 2016-10-05 帕特罗希尼系统有限责任公司 Interactive emergency information and identification
CN106440948A (en) * 2015-08-13 2017-02-22 株式会社理光 Shooting training system and shooting training method
CN106127141A (en) * 2016-06-21 2016-11-16 北京小米移动软件有限公司 Warning message generates method and device
CN205879007U (en) * 2016-06-27 2017-01-11 陈君怡 Intelligence pistol
CN106845403A (en) * 2017-01-20 2017-06-13 武汉哒呤科技有限公司 A kind of method that its identity speciality is determined by user behavior track

Also Published As

Publication number Publication date
CN107484126A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
US10223897B2 (en) Data driven emergency notification application and system
US9380397B2 (en) System and method for detecting and analyzing near range weapon fire
US20200043319A1 (en) Methods and systems for providing online monitoring of released criminals by law enforcement
US11854365B2 (en) Graphical user interface and networked system for managing dynamic geo-fencing for a personal compliance-monitoring device
US20140167963A1 (en) System and method for monitoring an area using nfc tags
CN108540751A (en) Monitoring method, apparatus and system based on video and electronic device identification
US20170148306A1 (en) System and method for processing emergency alerts and responses
CN110365634A (en) Abnormal data monitoring method, device, medium and electronic equipment
CN109831742A (en) Monitoring method and system based on terminal detection
CN105898704A (en) Position information processing method
CN112530601A (en) Campus epidemic situation monitoring method and device, computer equipment and storage medium
CN110213712A (en) A kind of positioning transfer approach, device, terminal and storage medium
CN107484126B (en) Information acquisition and processing method of firearm and server
US20200236525A1 (en) Data driven emergency notification application and system
CN107426697B (en) Safety management method of firearm and firearm system
CN105930866B (en) Violation information processing method, device and system
CN112565380B (en) Fire-fighting Internet of things data access method and system
CN108471442A (en) A kind of seismic network operation management system based on wechat platform
CN106330886A (en) Method and equipment for protecting video privacy in remote monitoring
CN108540748A (en) Monitor video and the associated method, apparatus of electronic device identification and system
GB2610241A (en) Identity Verification method and system
CN113723694A (en) Police officer control method, device, equipment and storage medium
CN109766816A (en) Monitoring method, device and storage medium
CN107548020B (en) Safety monitoring method for firearm use range and Internet of things monitoring equipment
CN114145242A (en) Cloud-based police dog training management method, system, equipment and storage medium

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