CN107590582A - A kind of weapons management method and server based on Internet of Things - Google Patents
A kind of weapons management method and server based on Internet of Things Download PDFInfo
- Publication number
- CN107590582A CN107590582A CN201710627518.1A CN201710627518A CN107590582A CN 107590582 A CN107590582 A CN 107590582A CN 201710627518 A CN201710627518 A CN 201710627518A CN 107590582 A CN107590582 A CN 107590582A
- Authority
- CN
- China
- Prior art keywords
- user
- access right
- firearms
- mentioned
- target access
- 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
Links
Landscapes
- Storage Device Security (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present embodiments relate to communication technical field, and disclosing a kind of the weapons management method based on Internet of Things and server, this method includes:The server obtains user and uses status information caused by the firearms, and the status information includes valid operation information and/or illegal operation information;Status information caused by the firearms is used according to the user, confirms the target access right of the user;In the case of the target access right and the access right difference of presently described user, the access right of the user is updated using the target access right.Implement the embodiment of the present invention, using intelligentized weapons management method, on the one hand the security of firearms can be ensured, control the use range of firearms, the security of user is ensured simultaneously, on the other hand the preferable free degree of user has been given again, has been adapted to the management of target range and the shooting range of commercial operation, improved the efficiency of management.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of weapons management method and server based on Internet of Things.
Background technology
The technical scheme of weapons management concentrates on the weapons management of army and police at present, particularly the management of the firearms such as " rack ",
Stress the registration of firearms, give back, take arms.
It is a kind of intelligent gun cabinet management system as follows, the management system includes at least one bullet administrative unit, bullet pipe
Managing unit includes server, the intelligent gun cabinet of zero or more than zero.Intelligent gun cabinet management method, comprises the following steps:
A, subordinate's server superior server is applied for the registration of;
B, after server registration success, the control system of intelligent gun cabinet is to place bullet administrative unit or higher level's bullet management
The server of unit is applied for the registration of;
C, after the control system of intelligent gun cabinet succeeds in registration, the control system of intelligent gun cabinet receives place bullet administrative unit
And the authorization message of the server of higher level's bullet administrative unit and feedback reception successful information;Place bullet administrative unit and
The authorization message of higher level's bullet administrative unit server all possesses, then the control system normal work of intelligent gun cabinet, above-mentioned mandate
Information lacks any one, intelligent gun cabinet just urgent locker.
In addition, there is the rifle cabinet management system of other automations:Block including intelligent gun cabinet, management platform and personnel, intelligence
The identifier being engaged with personnel's card can be provided with rifle cabinet, identifier is connected with gun safety device, gun safety device and control
Device connection processed, controller are also connected with read write line and alarm, and gun electronic tag coordinates with read write line;In intelligent gun cabinet also
Provided with video monitoring apparatus;Controller and video monitoring apparatus are connected by network with management platform.
Above technical scheme, and the management for being not suitable for the shooting range of commercial operation (borrows rifle side's identity complicated, to firearms pipe
Manage excessively mechanization), the shooting range of current commercial operation, the raw modes such as firearms or direct surveillance are usually fixed, managed
Manage extremely inefficient.
The content of the invention
The embodiment of the present invention provides a kind of weapons management method and server based on Internet of Things, for realizing shooting range
Firearms intelligent management.
On the one hand the embodiments of the invention provide a kind of weapons management method based on Internet of Things, methods described to be applied to rifle
Tool system, the shooter system include server and firearms, and methods described includes:
The server obtains user and uses status information caused by the firearms, and the status information includes legal behaviour
Make information and/or illegal operation information;
Status information caused by the firearms is used according to the user, confirms the target access right of the user;
In the case of the target access right and the access right difference of presently described user, made using the target
The access right of the user is updated with authority.
It is described in the target access right and the access right of presently described user in an optional implementation
In the case of difference, after the access right that the user is updated using the target access right, methods described also includes:
Judge whether the target access right is consistent with default access right;
If the target access right is consistent with the default access right, the first warning message is sent, described first
Warning message alerts the user and firearms is prohibitted the use of in preset time range;
If the target access right and the default access right are inconsistent, whether the target access right is judged
Less than the access right of the user before renewal;
If so, then sending the first information of voice prompt, first information of voice prompt prompts the user to pay attention to firearms
Working specification.
In the embodiment of the present invention, after user gives back firearms, by being managed to the access right of user, it can improve
User is realized using the working specification of firearms, so as to improve the security that user uses firearms.
It is described to use status information caused by the firearms according to the user in an optional implementation,
Confirming the target access right of the user includes:
In the case where including the illegal operation information during the user uses status information caused by the firearms,
The fraction corresponding to the illegal operation information is determined according to the first code of points to prestore;
It is determined that the target access right of the user corresponding with the fraction.
In the embodiment of the present invention, the fraction corresponding to illegal operation information is determined by the first code of points, determines user
Target access right, can preferably improve the efficiency of management, improve the efficiency of management of the shooting range to the access right of user.
In an optional implementation, the access right of the user includes:The species of firearms, the operation model of firearms
Enclose, the using area of firearms and firearms using in duration at least one of.
In the embodiment of the present invention, by managing the access right of user, it on the one hand can give user the preferable free degree,
On the other hand the behaviour in service of firearms can be also controlled, improves awareness of safety of the user to firearms operating aspect.
In an optional implementation, the server obtains user and uses status information caused by the firearms
Before, methods described also includes:
The server obtains the identification information of the user and the identification information of the firearms.
, can be more preferable by obtaining the identification information of user and the identification information of firearms in the embodiment of the present invention
Realize the intelligent management of shooting range in ground.
In an optional implementation, the server obtains user and uses status information caused by the firearms
Before, methods described also includes:
After the server obtains the identity card number information of the user, judge whether stored in the server
The access right of user is stated, the access right of the user includes five access rights of A, B, C, D and E;
If the access right of the user is stored with the server, it is determined that with the user stored
The corresponding firearms species of access right, firearms numbering, firearms opereating specification, firearms using area and firearms are when using
It is long;
If not being stored with the access right of the user in the server, the initialization right to use is set for the user
Limit, the initialization access right is C access rights, and determines that the firearms species corresponding with the C access rights, firearms are compiled
Number, firearms opereating specification, firearms using area and firearms use duration;
The server obtains user to be included using status information caused by the firearms:
After it is determined that the user gives back the firearms, pass through the memory module on the firearms and read the user and use
Status information caused by the firearms;
It is described to use status information caused by the firearms according to the user, confirm the target right to use of the user
Limit includes:
If not including the illegal operation information in the status information, the target access right for confirming the user is
E access rights;
If including the illegal operation information in the status information, according to described in the second code of points determination to prestore
Fraction corresponding to illegal operation information;
If the fraction is in the first preset range, the target access right of the user is D access rights, described
One preset range is more than zero, less than very;
If the fraction is in the second preset range, the target access right of the user is C access rights, described
Two preset ranges are not less than very, less than 30 points;
If the fraction is in the 3rd preset range, the target access right of the user is B access rights, described
Three preset ranges are not less than 30 points, less than 60 points;
If the fraction is not less than predetermined threshold value, the target access right of the user is A access rights, described default
Threshold value is 60 points;
It is described in the case of the access right difference of the target access right and presently described user, use the mesh
After marking the access right that access right updates the user, methods described also includes:
Contrast the target access right and the access right of the user before renewal of the user;
If the target access right of the user is higher than the access right of the user before the renewal, send comprising respectful
Like the second information of voice prompt of the user;
If the target access right of the user be less than the renewal before the user access right, and with the renewal
The access right of the preceding user differs two authorities, then firearms theory of operation need to be relearned comprising the warning user by sending
Second warning message of knowledge.
The embodiment of the present invention, using intelligentized way to manage, the preferable free degree of user on the one hand can not only be given, is made
User uses firearms according to the access right of oneself, on the other hand passes through the right to use of the renewal user after user uses firearms
Limit, it is possible to increase user uses valid operation consciousness during firearms, and then ensures the security of user, it is possible thereby to preferably real
Now to the intelligent management of shooting range.
The two aspect embodiment of the present invention additionally provide a kind of server, including:
First acquisition unit, status information caused by the firearms, the status information bag are used for obtaining user
Information containing valid operation and/or illegal operation information;
First determining unit, for using status information caused by the firearms according to the user, confirm the use
The target access right at family;
Updating block, in the case of the access right difference of the target access right and presently described user,
The access right of the user is updated using the target access right.
In an optional implementation, the server also includes:
First judging unit, for judging whether the target access right is consistent with default access right;
First warning unit, if consistent with the default access right for the target access right, send first
Warning message, first warning message alert the user and firearms are prohibitted the use of in preset time range;
First judging unit, if being additionally operable to the target access right and the default access right is inconsistent,
Judge whether the target access right is less than the access right of the user before renewal;
First Tip element, if being less than the access right of the user before the renewal for the target access right,
The first information of voice prompt is then sent, first information of voice prompt prompts the working specification that the user pays attention to firearms.
In the embodiment of the present invention, after user gives back firearms, by being managed to the access right of user, it can improve
User is realized using the working specification of firearms, so as to improve the security that user uses firearms.
In an optional implementation, first determining unit, specifically for using the rifle in the user
In the case of including the illegal operation information in status information caused by tool, institute is determined according to the first code of points to prestore
State the fraction corresponding to illegal operation information;It is determined that the target access right of the user corresponding with the fraction.
In the embodiment of the present invention, the fraction corresponding to illegal operation information is determined by the first code of points, determines user
Target access right, can preferably improve the efficiency of management, improve the efficiency of management of the shooting range to the access right of user.
In an optional implementation, the access right of the user includes:The species of firearms, the operation model of firearms
Enclose, the using area of firearms and firearms using in duration at least one of.
In the embodiment of the present invention, by managing the access right of user, it on the one hand can give user the preferable free degree,
On the other hand the behaviour in service of firearms can be also controlled, improves awareness of safety of the user to firearms operating aspect.
In an optional implementation, the server also includes:
Second acquisition unit, for obtaining the identification information of the user and the identification information of the firearms.
In an optional implementation, the second acquisition unit, the identity card for being additionally operable to obtain the user is compiled
Number information;
The server also includes:
Second judging unit, for judging whether to be stored with the access right of the user, the use in the server
The access right at family includes five access rights of A, B, C, D and E;
Second determining unit, if the access right for being stored with the user in the server, it is determined that with institute
State the corresponding firearms species of the access right of the user stored, firearms numbering, firearms opereating specification, firearms use area
Domain and firearms use duration;
Second determining unit, if being additionally operable to not be stored with the access right of the user in the server, for
The user sets initialization access right, and the initialization access right is C access rights, and is determined and the C rights to use
Limit corresponding firearms species, firearms numbering, firearms opereating specification, firearms using area and firearms and use duration;
The first acquisition unit, specifically for after it is determined that the user gives back the firearms, by the firearms
Memory module read user use status information caused by the firearms;
First determining unit, if specifically for not including the illegal operation information in the status information, really
The target access right for recognizing the user is E access rights;If including the illegal operation information in the status information, according to
The fraction corresponding to the illegal operation information is determined according to the second code of points to prestore;If the fraction is in the first default model
Enclose, then the target access right of the user is D access rights, and first preset range is more than zero, less than very;If
The fraction is in the second preset range, then the target access right of the user is C access rights, second preset range
For not less than very, less than 30 points;If the fraction is in the 3rd preset range, the target access right of the user is
B access rights, the 3rd preset range are not less than 30 points, less than 60 points;If the fraction is not less than predetermined threshold value,
Then the target access right of the user is A access rights, and the predetermined threshold value is 60 points;
Comparison unit, for contrasting the target access right and the access right of the user before renewal of the user;
Second Tip element, if the target access right for the user is higher than the use of the user before the renewal
Authority, then send comprising the second information of voice prompt for congratulating the user;
Second warning unit, if the target access right for the user is less than the use of the user before the renewal
Authority, and differ two authorities with the access right of the user before the renewal, then send needs weight comprising the warning user
Second warning message of new study firearms theory of operation knowledge.
The embodiment of the present invention, using intelligentized way to manage, the preferable free degree of user on the one hand can not only be given, is made
User uses firearms according to the access right of oneself, on the other hand passes through the right to use of the renewal user after user uses firearms
Limit, it is possible to increase user uses valid operation consciousness during firearms, and then ensures the security of user, it is possible thereby to preferably real
Now to the intelligent management of shooting range.
The embodiment of the present invention has the advantages that:
In the embodiment of the present invention, above-mentioned server obtains user and uses status information caused by above-mentioned firearms, above-mentioned shape
State packet information containing valid operation and/or illegal operation information;State caused by above-mentioned firearms is used according to above-mentioned user
Information, confirm the target access right of above-mentioned user;In above-mentioned target access right and the access right of current above-mentioned user not
With in the case of, the access right of above-mentioned user is updated using above-mentioned target access right.It can be seen that implement the embodiment of the present invention,
It using intelligentized weapons management method, on the one hand can ensure the security of firearms, control the use range of firearms, while really
Guarantee the security at family, on the other hand given the preferable free degree of user again, be adapted to target range and the shooting range of commercial operation
Management, improve the efficiency of management.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to the embodiment of the present invention or background skill
The required accompanying drawing used illustrates in art.
Figure 1A is a kind of structural representation of gun management system provided in an embodiment of the present invention;
Figure 1B is a kind of structural representation of firearms provided in an embodiment of the present invention;
Fig. 2A is a kind of schematic flow sheet of weapons management method based on Internet of Things provided in an embodiment of the present invention;
Fig. 2 B are a kind of schematic diagrames of user's access right management provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another weapons management method based on Internet of Things provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of server provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another server provided in an embodiment of the present invention;
Fig. 6 is the structural representation of another server provided in an embodiment of the present invention;
Fig. 7 is the structural representation of another server provided in an embodiment of the present invention.
Embodiment
Term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are to be used to distinguish
Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, meaning
Figure is to cover non-exclusive include.Such as contain process, method, system, product or the equipment of series of steps or unit
The step of being not limited to list or unit, but alternatively also including the step of not listing or unit, or alternatively also
Including for other intrinsic steps of these processes, method or equipment or unit.
Figure 1A is referred to, Figure 1A is a kind of structural representation of gun management system provided in an embodiment of the present invention, is such as schemed
Shown in 1A, the gun management system includes:Server 101 and firearms 102.
Above-mentioned firearms are used for after weapons management person lends above-mentioned firearms, and above-mentioned firearms are monitored to oneself state, from
And obtain user and use status information caused by above-mentioned firearms, monitoring modular and memory module are installed in above-mentioned firearms,
Above-mentioned monitoring modular is used for after the lending of above-mentioned firearms, and monitoring user uses the status information of above-mentioned firearms, above-mentioned memory module
For storing above-mentioned status information, above-mentioned monitoring modular and above-mentioned memory module can be integrated in one piece, as shown in Figure 1B, in figure
Black rectangle region 1021 include monitoring modular and memory module, it is to be understood that the part can be arranged in above-mentioned rifle
Multiple positions of tool, the embodiment of the present invention are not construed as limiting.In the case where user gives back above-mentioned firearms, above-mentioned server can lead to
The memory module crossed in above-mentioned firearms reads above-mentioned status information.The increased monitoring modular of above-mentioned firearms and memory module function are closed
Reason, cost are relatively low.
It is understood that it can also be realized in above-mentioned firearms by increasing communication module between above-mentioned server
Communication, so that server obtains above-mentioned status information etc., the embodiment of the present invention is not construed as limiting.
Based on the system shown in Figure 1A, Fig. 2A is referred to, Fig. 2A is that one kind provided in an embodiment of the present invention is based on Internet of Things
Weapons management method schematic flow sheet, as shown in Figure 2 A, the weapons management method comprises the following steps.
201st, server obtains user and uses status information caused by above-mentioned firearms.
In the embodiment of the present invention, above-mentioned status information includes valid operation information and/or illegal operation information.
Above-mentioned illegal operation can include the operation that user brings firearms into unauthorized area, can include user again and use
Unauthorized operation etc. caused by above-mentioned firearms, the embodiment of the present invention is not construed as limiting.User, may during using firearms
Can be due to the carelessness of some awareness of safety, or some illegal operations are produced due to personal habits, for example, user
Firearms are brought into unauthorized area etc. towards sky or by firearms, therefore, the embodiment of the present invention uses rifle by obtaining user
Status information caused by tool, subsequently it can provide advantageous information to the management aspect of user for server.
It is understood that above-mentioned status information can be above-mentioned user is using state caused by above-mentioned firearms when secondary
Information, or above-mentioned user is using status information caused by firearms every time, that is, summarizing all above-mentioned users is made
Status information sum etc. caused by used firearms, the embodiment of the present invention is not construed as limiting.
As a kind of optional implementation, above-mentioned server obtains user and uses status information caused by above-mentioned firearms
Before, the above method also includes:
Above-mentioned server obtains the identification information of above-mentioned user and the identification information of above-mentioned firearms.
In the embodiment, the identification information of above-mentioned user can be the identity card number information of above-mentioned user, also may be used
Think that biological information of above-mentioned user etc. can prove that the information of above-mentioned user identity, the embodiment of the present invention is not construed as limiting.On
The identification information for stating firearms can be the number information of above-mentioned firearms, or type information of above-mentioned firearms etc., the present invention
Embodiment is not construed as limiting.
Implement the embodiment, can be preferably by obtaining the identification information of user and the identification information of firearms
User is managed using the situation of firearms, so as to realize the intelligent management of shooting range.
202nd, status information caused by above-mentioned firearms is used according to above-mentioned user, confirms the target right to use of above-mentioned user
Limit.
Can be stored in the embodiment of the present invention, in above-mentioned server valid operation included in above-mentioned status information with it is non-
The corresponding relation of the ratio and the access right of above-mentioned user of method operation, for example, server uses firearms in acquisition user
After caused status information, the valid operation included in above-mentioned status information and the ratio of illegal operation can be counted, from
And determination and the access right corresponding to aforementioned proportion, and then to determine the target access right of user.
In an optional implementation, the first code of points of the illegal operation that can also be prestored in above-mentioned server,
So as to determine the target access right of above-mentioned user, state caused by above-mentioned firearms is used to believe according to above-mentioned user as described above
Breath, confirming the target access right of above-mentioned user includes:
In the case where including above-mentioned illegal operation information during above-mentioned user uses status information caused by above-mentioned firearms,
The fraction corresponding to above-mentioned illegal operation information is determined according to the first code of points to prestore;
It is determined that the target access right of the above-mentioned user corresponding with above-mentioned fraction.
In the embodiment, above-mentioned first code of points can be:
If above-mentioned user make above-mentioned firearms be in time of unauthorized area in the first preset time range as (0,5s],
Then corresponding fraction is a points;
If above-mentioned user makes above-mentioned firearms be in time of above-mentioned unauthorized area in the second preset time range such as
(5s, 10s], then corresponding fraction is b points;
More than the 3rd preset time such as 10s when if above-mentioned user makes the above-mentioned firearms be in above-mentioned unauthorized area,
Corresponding fraction is c points;
If above-mentioned user uses above-mentioned firearms, the angle of the direction of the launch and the default direction of the launch is inconsistent, then corresponding
Fraction is a points;
In the range of if above-mentioned user uses access right of operation during above-mentioned firearms not belonging to it, corresponding point
Number is c points.
It is understood that the first code of points in the embodiment of the present invention can be not limited to the rule described in above-described embodiment
Then or fraction.
After the fraction corresponding to above-mentioned illegal operation information is determined according to above-mentioned first code of points, it is possible to by upper
The fraction to be prestored in server and the corresponding relation of access right are stated, determines the target access right of above-mentioned user.
It can be seen that in the embodiment, after the fraction corresponding to illegal operation information is determined by the first code of points, it is possible to
The target access right of user is determined, so as to effectively increase the efficiency of management, improves target range or the shooting range pair of commercial operation
The efficiency of management of the access right of user.
203rd, in the case of above-mentioned target access right with the access right difference of current above-mentioned user, above-mentioned mesh is used
Mark the access right that access right updates above-mentioned user.
In the embodiment of the present invention, the rank number of above-mentioned access right is not construed as limiting.For example, the access right of user
It is divided into three ranks, is such as high, low three ranks of neutralization, if during the access right of active user is, the target right to use of user
Be limited to height, then after updating, the access right of user is height, and during the access right of user is before updating.
As a kind of optional implementation, the access right of above-mentioned user includes:The species of firearms, the operation model of firearms
Enclose, the using area of firearms and firearms using in duration at least one of.
In the embodiment, for example, the access right of user includes the species of firearms, then different access rights is corresponding
Different firearms species, as the higher user of access right can use the firearms of higher level.Again for example, the use of user
Authority uses duration including firearms, then the higher user's can of access right has the longer time to use firearms.
Such as Fig. 2 B, for example, the access right of user is divided into high and low two ranks, and high access right can use figure
Running target in middle dotted line frame, and low access right cannot then use the running target in dotted line frame, if the access right of user
For height, then user's can uses the running target in dotted line frame.
In the embodiment, by managing the access right of user, it on the one hand can give user the preferable free degree, it is another
Aspect can also control the behaviour in service of firearms, and user is to the awareness of safety of firearms operating aspect for enhancing, makes so as to improve firearms
Security.
As a kind of optional implementation, the embodiment of the present invention additionally provides a kind of side for the access right for managing user
Method, as described above in the case of above-mentioned target access right with the access right difference of current above-mentioned user, use above-mentioned target
After access right updates the access right of above-mentioned user, the above method also includes:
Judge whether above-mentioned target access right is consistent with default access right;
If above-mentioned target access right is consistent with above-mentioned default access right, the first warning message is sent, above-mentioned first
Warning message alerts above-mentioned user and firearms is prohibitted the use of in preset time range;
If above-mentioned target access right and above-mentioned default access right are inconsistent, whether above-mentioned target access right is judged
Less than the access right of above-mentioned user before renewal;
If so, then sending the first information of voice prompt, above-mentioned first information of voice prompt prompts above-mentioned user to pay attention to firearms
Working specification.
In the embodiment, above-mentioned default access right can be one, or two etc., above-mentioned default access right
Can be minimum access right of rank etc., the embodiment of the present invention is not construed as limiting.By setting default access right, can with
In the case that the target access right at family is default access right, the first warning message is issued the user with time, so as to remind use
Family notices that serious leak occurs in the operating specification of oneself firearms, on the other hand by forbidding user in preset time range
While using firearms, education can be re-started to user, user is re-started study.
In the embodiment, it is less than in above-mentioned target access right before above-mentioned renewal in the case of the access right of user, leads to
Cross and issue the user with the first information of voice prompt, user is paid attention to firearms operating specification.On it is understood that
It can also be that above-mentioned user uses illegal operation information caused by above-mentioned firearms to state the first information of voice prompt.
In the embodiment, after user gives back firearms, by being managed to the access right of user, user can be improved
Realized using the working specification of firearms, so as to improve the security that user uses firearms.
It can be seen that implement the method described by Fig. 2A, using intelligentized way to manage, on the one hand can not only give user compared with
The good free degree, makes user use firearms according to the access right of oneself, on the other hand by user using firearms after update
The access right of user, it is possible to increase user uses valid operation consciousness during firearms, and then ensures the security of user, thus
The intelligent management to shooting range can be better achieved.
The embodiment of the present invention additionally provides a kind of weapons management method based on Internet of Things, and the weapons management method includes:
After server obtains the identity card number information of user, judge whether be stored with above-mentioned user's in above-mentioned server
Access right, the access right of above-mentioned user include five access rights of A, B, C, D and E;
In the embodiment, for example, the user of the higher user of access right such as E access rights can use higher level
Firearms.Again for example, the user of E access rights can have the longer time to use firearms.Again for example, E is used
The user of authority can have more Authorized operations to use firearms.
If the access right of above-mentioned user is stored with above-mentioned server, it is determined that with the above-mentioned above-mentioned user stored
The corresponding firearms species of access right, firearms numbering, firearms opereating specification, firearms using area and firearms are when using
It is long;
If not being stored with the access right of above-mentioned user in above-mentioned server, the initialization right to use is set for above-mentioned user
Limit, above-mentioned initialization access right is C access rights, and determines that the firearms species corresponding with above-mentioned C access rights, firearms are compiled
Number, firearms opereating specification, firearms using area and firearms use duration;
After it is determined that above-mentioned user gives back above-mentioned firearms, by the memory module on above-mentioned firearms read user use it is above-mentioned
Status information caused by firearms;
In the embodiment, above-mentioned status information includes valid operation information and/or illegal operation information.Above-mentioned illegal operation
The operation that user brings firearms into unauthorized area can be included, can be awarded again including user using non-caused by above-mentioned firearms
Power operation, can include that the direction of the launch and the default direction of the launch of user's firearms are inconsistent etc., and the embodiment is not construed as limiting again.
If not including above-mentioned illegal operation information in above-mentioned status information, the target access right for confirming above-mentioned user is
E access rights;
If including above-mentioned illegal operation information in above-mentioned status information, determined according to the second code of points to prestore above-mentioned
Fraction corresponding to illegal operation information;
In the embodiment, above-mentioned second code of points can be:
If above-mentioned user make above-mentioned firearms be in time of unauthorized area in the first preset time range as (0,5s],
Then corresponding fraction is 5 points;
If above-mentioned user make above-mentioned firearms be in time of unauthorized area in the second preset time range as (5s,
10s], then corresponding fraction is 10 points;
Corresponded to when if above-mentioned user makes the above-mentioned firearms be in unauthorized area more than the 3rd preset time such as 10s
Fraction be 20 points;
If above-mentioned user uses above-mentioned firearms, the angle of the direction of the launch and the default direction of the launch is inconsistent, then corresponding
Fraction is 5 points;
In the range of if above-mentioned user uses access right of operation during above-mentioned firearms not belonging to it, corresponding point
Number is 20 points.
It is understood that the embodiment of the present invention is not limited to the illegal operation described in above-described embodiment.
If above-mentioned fraction is in the first preset range, the target access right of above-mentioned user is D access rights, above-mentioned
One preset range is more than zero, less than very;
If above-mentioned fraction is in the second preset range, the target access right of above-mentioned user is C access rights, above-mentioned
Two preset ranges are not less than very, less than 30 points;
If above-mentioned fraction is in the 3rd preset range, the target access right of above-mentioned user is B access rights, above-mentioned
Three preset ranges are not less than 30 points, less than 60 points;
If above-mentioned fraction is not less than predetermined threshold value, the target access right of above-mentioned user is A access rights, above-mentioned default
Threshold value is 60 points;
In the case of above-mentioned target access right with the access right difference of current above-mentioned user, made using above-mentioned target
The access right of above-mentioned user is updated with authority;
For example, the access right of active user is initialization access right C, that is to say, that the use of user before renewal
Authority is C, and target access right is D, then the access right of user is D after updating.
Contrast the target access right and the access right of above-mentioned user before renewal of above-mentioned user;
If the target access right of above-mentioned user is higher than the access right of above-mentioned user before above-mentioned renewal, send comprising respectful
Like the second information of voice prompt of above-mentioned user;
If the target access right of above-mentioned user be less than above-mentioned renewal before above-mentioned user access right, and with above-mentioned renewal
The access right of preceding above-mentioned user differs two authorities, then firearms theory of operation need to be relearned comprising the above-mentioned user of warning by sending
Second warning message of knowledge.
The embodiment of the present invention, using intelligentized way to manage, the preferable free degree of user on the one hand can not only be given, is made
User uses firearms according to the access right of oneself, on the other hand passes through the right to use of the renewal user after user uses firearms
Limit, it is possible to increase user uses valid operation consciousness during firearms, and then ensures the security of user, it is possible thereby to preferably real
Now to the intelligent management of shooting range.
Referring to Fig. 3, Fig. 3 is the flow of another weapons management method based on Internet of Things provided in an embodiment of the present invention
Schematic diagram, as shown in figure 3, the weapons management method comprises the following steps.
301st, server obtains the identification information of above-mentioned user and the identification information of above-mentioned firearms.
302nd, above-mentioned server obtains user and uses status information caused by above-mentioned firearms.
In the embodiment of the present invention, above-mentioned status information includes valid operation information and/or illegal operation information.
303rd, status information caused by above-mentioned firearms is used according to above-mentioned user, confirms the target right to use of above-mentioned user
Limit.
304th, in the case of above-mentioned target access right with the access right difference of current above-mentioned user, above-mentioned mesh is used
Mark the access right that access right updates above-mentioned user.
305th, in the case where above-mentioned target access right is consistent with default access right, the first warning message is sent.
Above-mentioned first warning message alerts above-mentioned user and firearms is prohibitted the use of in preset time range.
The 306th, if above-mentioned target access right and above-mentioned default access right are inconsistent, low in above-mentioned target access right
Before the renewal in the case of the access right of above-mentioned user, the first information of voice prompt is sent.
In the embodiment of the present invention, above-mentioned first information of voice prompt prompts the working specification that above-mentioned user pays attention to firearms.
Implement the embodiment of the present invention, using intelligentized way to manage, user on the one hand can not only be given preferably free
Degree, makes the user use firearms according to the access right of oneself, on the other hand by user using firearms after renewal user make
With authority, it is possible to increase user uses valid operation consciousness during firearms, and then ensures the security of user, it is possible thereby to more preferably
Realize the intelligent management to shooting range in ground.
The embodiment of the present invention additionally provides a kind of concrete scene of the weapons management based on Internet of Things, as follows:
Firearms are taken care of by weapons management person, and when user needs to use firearms, above-mentioned weapons management person is looked into by server
The access right of above-mentioned user is ask, the firearms type that above-mentioned user can use is determined according to the access right of above-mentioned user, with
And determine the access right corresponding with above-mentioned user, that is, determine using the authorized region of firearms and Authorized operation etc., Ran Houwei
Above-mentioned user distributes firearms;
After distributing above-mentioned firearms for user, above-mentioned weapons management person is by the identification information of above-mentioned firearms and the body of above-mentioned user
Part identification information is entered into above-mentioned server;
It is above-mentioned by the monitoring module monitors installed in above-mentioned firearms during above-mentioned user uses above-mentioned firearms
User uses the status information of above-mentioned firearms, and above-mentioned status information is preserved;
When above-mentioned user gives back above-mentioned firearms, identification information or above-mentioned rifle of the above-mentioned server by above-mentioned user
The identification information of tool is identified, then by the above-mentioned status information of memory module acquisition installed in above-mentioned firearms, and according to
According to the code of points between default illegal operation and fraction, calculate corresponding to the illegal operation included in above-mentioned status information
Fraction, so that it is determined that the target access right with the above-mentioned user corresponding to above-mentioned fraction;
After server determines the target access right of above-mentioned user, make before above-mentioned target access right with user
With authority it is inconsistent in the case of, update the access right of above-mentioned user.
Thus, when above-mentioned user needs to use firearms again, weapons management person not only can be according to the above-mentioned target right to use
The extent of competence that above-mentioned user sets firearms to use is limited to, but also can be above-mentioned user point according to above-mentioned target access right
With firearms.
It can be seen that using intelligentized way to manage, on the one hand can not only give the preferable free degree of user, make user according to
The access right of oneself uses firearms, on the other hand by updating the access right of user, Neng Gouti after user uses firearms
High user uses valid operation consciousness during firearms, and then ensures the security of user, can be better achieved to shooting range
Intelligent management.
Referring to Fig. 4, Fig. 4 is a kind of structural representation of server provided in an embodiment of the present invention, applied to based on thing
The weapons management method of networking, as shown in figure 4, the server includes:
First acquisition unit 401, status information caused by above-mentioned firearms, above-mentioned status information are used for obtaining user
Include valid operation information and/or illegal operation information;
First determining unit 402, for using status information caused by above-mentioned firearms according to above-mentioned user, confirm above-mentioned
The target access right of user;
Updating block 403, in the above-mentioned target access right situation different from the access right of current above-mentioned user
Under, use the access right of the above-mentioned user of above-mentioned target access right renewal.
As a kind of optional implementation, the access right of above-mentioned user includes:The species of firearms, the operation model of firearms
Enclose, the using area of firearms and firearms using in duration at least one of.
Please refer to fig. 5, Fig. 5 is the structural representation of another server provided in an embodiment of the present invention.Wherein, scheme
Server shown in 5 is that further optimization obtains on the basis of the server shown in Fig. 4.Compared with server shown in Fig. 4,
Server also includes:
First judging unit 501, for judging whether above-mentioned target access right is consistent with default access right;
First warning unit 502, if consistent with above-mentioned default access right for above-mentioned target access right, send
One warning message, above-mentioned first warning message alert above-mentioned user and firearms are prohibitted the use of in preset time range;
Above-mentioned first judging unit 501, if being additionally operable to above-mentioned target access right and above-mentioned default access right is inconsistent,
Then judge whether above-mentioned target access right is less than the access right of above-mentioned user before renewal;
First Tip element 503, if being less than the right to use of above-mentioned user before above-mentioned renewal for above-mentioned target access right
Limit, then send the first information of voice prompt, and above-mentioned first information of voice prompt prompts the working specification that above-mentioned user pays attention to firearms.
In the embodiment of the present invention, above-mentioned default access right can be one, or two etc., above-mentioned default use
Authority can be minimum access right of rank etc., and the embodiment of the present invention is not construed as limiting.By setting above-mentioned default access right,
The first warning can be issued the user with time in the case where the target access right of above-mentioned user is above-mentioned default access right
Information, remind the user that serious leak occurs in the operating specification for paying attention to oneself firearms, on the other hand by above-mentioned default
While forbidding the above-mentioned user to use firearms in time range, education can be re-started to user, user is re-started
Practise.
In the embodiment of the present invention, the situation of the access right of user before above-mentioned target access right is less than above-mentioned renewal
Under, by issuing the user with the first information of voice prompt, it can preferably make user pay attention to firearms operating specification.It is appreciated that
It is that above-mentioned first information of voice prompt can also be that user uses illegal operation information caused by above-mentioned firearms.
,, can by being managed to the access right of user after user gives back firearms by implementing the embodiment of the present invention
Realized with improving user using the working specification of firearms, so as to improve the security that user uses firearms.
As a kind of optional implementation, above-mentioned first determining unit 402 is above-mentioned specifically for being used in above-mentioned user
In the case of including above-mentioned illegal operation information in status information caused by firearms, determined according to the first code of points to prestore
Fraction corresponding to above-mentioned illegal operation information;It is determined that the target access right of the above-mentioned user corresponding with above-mentioned fraction.
In the embodiment of the present invention, after the fraction corresponding to illegal operation information is determined by the first code of points, it is possible to
The target access right of user is determined, so as to effectively increase the efficiency of management, improves target range or the shooting range pair of commercial operation
The efficiency of management of the access right of user.
As a kind of optional implementation, the server shown in Fig. 5 also includes:
Second acquisition unit 504, for obtaining the identification information of above-mentioned user and the identification information of above-mentioned firearms.
Implement the embodiment, can be preferably by obtaining the identification information of user and the identification information of firearms
User is managed using the situation of firearms, so as to realize the intelligent management of shooting range.
Referring to Fig. 6, Fig. 6 is the structural representation of another server provided in an embodiment of the present invention, the clothes shown in Fig. 6
Business device is that further optimization obtains on the basis of the server shown in Fig. 4 and Fig. 5, above-mentioned second acquisition unit 504, is also used
In the identity card number information for obtaining above-mentioned user;
The server also includes:
Second judging unit 601, it is above-mentioned for judging whether to be stored with the access right of above-mentioned user in above-mentioned server
The access right of user includes five access rights of A, B, C, D and E;
Second determining unit 602, if the access right for being stored with above-mentioned user in above-mentioned server, it is determined that with
The corresponding firearms species of the access right of the above-mentioned above-mentioned user stored, firearms numbering, firearms opereating specification, firearms use
Region and firearms use duration;
Above-mentioned second determining unit 602, if being additionally operable to not be stored with the access right of above-mentioned user in above-mentioned server,
Initialization access right is set for above-mentioned user, above-mentioned initialization access right is C access rights, and determines to use with above-mentioned C
The corresponding firearms species of authority, firearms numbering, firearms opereating specification, firearms using area and firearms use duration;
Above-mentioned first acquisition unit 401, specifically for after it is determined that above-mentioned user gives back above-mentioned firearms, passing through above-mentioned firearms
On memory module read user use status information caused by above-mentioned firearms;
Above-mentioned first determining unit 402, if specifically for not including above-mentioned illegal operation information in above-mentioned status information,
The target access right for confirming above-mentioned user is E access rights;If including above-mentioned illegal operation information in above-mentioned status information,
The fraction corresponding to above-mentioned illegal operation information is determined according to the second code of points to prestore;It is default that if above-mentioned fraction is in first
Scope, then the target access right of above-mentioned user is D access rights, and above-mentioned first preset range is more than zero, less than very;
If above-mentioned fraction is in the second preset range, the target access right of above-mentioned user is C access rights, and above-mentioned second presets model
Enclose for not less than very, less than 30 points;If above-mentioned fraction is in the 3rd preset range, the target access right of above-mentioned user
For B access rights, above-mentioned 3rd preset range is not less than 30 points, less than 60 points;If above-mentioned fraction is not less than default threshold
Value, then the target access right of above-mentioned user is A access rights, and above-mentioned predetermined threshold value is 60 points;
Above-mentioned updating block 403, for different from the access right of current above-mentioned user in above-mentioned target access right
In the case of, use the access right of the above-mentioned user of above-mentioned target access right renewal;
Comparison unit 603, for contrasting the target access right and the access right of above-mentioned user before renewal of above-mentioned user;
Second Tip element 604, if the target access right for above-mentioned user is higher than above-mentioned user before above-mentioned renewal
Access right, then send comprising the second information of voice prompt for congratulating above-mentioned user;
Second warning unit 605, if the target access right for above-mentioned user is less than above-mentioned user before above-mentioned renewal
Access right, and differ two authorities with the access right of above-mentioned user before above-mentioned renewal, then send comprising the above-mentioned user of warning
The second warning message of firearms theory of operation knowledge need to be relearned.
It can be seen that implementing the server shown in Fig. 4~Fig. 6, using intelligentized weapons management method, on the one hand can ensure
The security of firearms, controls the use range of firearms, while ensures the security of user, has on the other hand given user preferable again
The free degree, it is adapted to the management of target range and the shooting range of commercial operation, improves the efficiency of management.
Referring to Fig. 7, Fig. 7 is the structural representation of another server provided in an embodiment of the present invention, the server 700
Bigger difference can be produced because configuration or performance are different, one or more central processing units (central can be included
Processing units, CPU) 722 (for example, one or more processors) and memory 732, one or more
Store the storage medium 730 (such as one or more mass memory units) of application program 742 or data 744.Wherein, deposit
Reservoir 732 and storage medium 730 can be of short duration storage or persistently storage.Being stored in the program of storage medium 730 can include
One or more modules (diagram does not mark), each module can include operating the series of instructions in server.More
Further, central processing unit 722 be could be arranged to communicate with storage medium 730, and storage medium is performed on server 700
Series of instructions operation in 730.
Server 700 can also include one or more power supplys 726, one or more wired or wireless networks
Interface 750, one or more input/output interfaces 758, and/or, one or more operating systems 741, such as
Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Can be based on the server architecture shown in the Fig. 7 as the step performed by server in above-described embodiment.
Module or unit in all embodiments of the invention, can be by universal integrated circuit, such as CPU, or passes through
ASIC (Application Specific Integrated Circuit, application specific integrated circuit) is realized.
It should be noted that for foregoing each embodiment of the method, in order to be briefly described, therefore it is all expressed as to a system
The combination of actions of row, but those skilled in the art should know, the present invention is not limited by described sequence of movement, because
For according to the present invention, certain some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily this hair
Necessary to bright.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit or subelement in mobile terminal of the embodiment of the present invention can be merged, divide and deleted according to being actually needed
Subtract.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, abbreviation RAM) etc..
Claims (10)
- A kind of 1. weapons management method based on Internet of Things, it is characterised in that methods described is applied to shooter system, the firearms System includes server and firearms, and methods described includes:The server obtains user and uses status information caused by the firearms, and the status information is believed comprising valid operation Breath and/or illegal operation information;Status information caused by the firearms is used according to the user, confirms the target access right of the user;In the case of the target access right and the access right difference of presently described user, the target right to use is used Limit updates the access right of the user.
- 2. according to the method for claim 1, it is characterised in that the access right of the user includes:The species of firearms, rifle The opereating specification of tool, the using area of firearms and firearms use in duration at least one of.
- 3. according to the method for claim 1, it is characterised in that the server obtains user and used produced by the firearms Status information before, methods described also includes:The server obtains the identification information of the user and the identification information of the firearms.
- 4. according to the method described in any one of claims 1 to 3, it is characterised in that it is described the target access right with work as In the case of the access right difference of the preceding user, using the target access right update the user access right it Afterwards, methods described also includes:Judge whether the target access right is consistent with default access right;If the target access right is consistent with the default access right, the first warning message, first warning are sent User prohibits the use of firearms in preset time range described in info alert;If the target access right and the default access right are inconsistent, judge whether the target access right is less than The access right of the user before renewal;If so, then sending the first information of voice prompt, first information of voice prompt prompts the behaviour that the user pays attention to firearms Make specification.
- 5. according to the method for claim 1, it is characterised in that described to be used according to the user caused by the firearms Status information, confirming the target access right of the user includes:In the case where including the illegal operation information during the user uses status information caused by the firearms, foundation The first code of points to prestore determines the fraction corresponding to the illegal operation information;It is determined that the target access right of the user corresponding with the fraction.
- A kind of 6. server, it is characterised in that including:First acquisition unit, status information caused by the firearms is used for obtaining user, the status information, which includes, closes Method operation information and/or illegal operation information;First determining unit, for using status information caused by the firearms according to the user, confirm the user's Target access right;Updating block, in the case of the access right difference of the target access right and presently described user, using The target access right updates the access right of the user.
- 7. server according to claim 6, it is characterised in that the server also includes:First judging unit, for judging whether the target access right is consistent with default access right;First warning unit, if consistent with the default access right for the target access right, send the first warning Information, first warning message alert the user and firearms are prohibitted the use of in preset time range;First judging unit, if being additionally operable to the target access right and the default access right is inconsistent, judge Whether the target access right is less than the access right of the user before renewal;First Tip element, if being less than the access right of the user before the renewal for the target access right, send out Go out the first information of voice prompt, first information of voice prompt prompts the working specification that the user pays attention to firearms.
- 8. server according to claim 6, it is characterised in thatFirst determining unit, it is described specifically for being included in using status information caused by the firearms in the user In the case of illegal operation information, the fraction corresponding to the illegal operation information is determined according to the first code of points to prestore; It is determined that the target access right of the user corresponding with the fraction.
- 9. according to the server described in any one of claim 6~8, it is characterised in that the access right of the user includes:Rifle The species of tool, the opereating specification of firearms, the using area of firearms and firearms use in duration at least one of.
- 10. server according to claim 6, it is characterised in that the server also includes:Second acquisition unit, for obtaining the identification information of the user and the identification information of the firearms.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710627518.1A CN107590582B (en) | 2017-07-28 | 2017-07-28 | Firearm management method based on Internet of things and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710627518.1A CN107590582B (en) | 2017-07-28 | 2017-07-28 | Firearm management method based on Internet of things and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107590582A true CN107590582A (en) | 2018-01-16 |
CN107590582B CN107590582B (en) | 2021-06-22 |
Family
ID=61041962
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710627518.1A Active CN107590582B (en) | 2017-07-28 | 2017-07-28 | Firearm management method based on Internet of things and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107590582B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150245212A1 (en) * | 2012-08-22 | 2015-08-27 | Omron Corporation | Device management apparatus and device management method |
CN105893835A (en) * | 2016-03-30 | 2016-08-24 | 广州杰赛科技股份有限公司 | Operation authority control method and device |
CN105976150A (en) * | 2016-05-24 | 2016-09-28 | 山东小牛信息科技有限公司 | Security and protection management system for shooting team of sports school and security and protection management method thereof |
-
2017
- 2017-07-28 CN CN201710627518.1A patent/CN107590582B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150245212A1 (en) * | 2012-08-22 | 2015-08-27 | Omron Corporation | Device management apparatus and device management method |
CN105893835A (en) * | 2016-03-30 | 2016-08-24 | 广州杰赛科技股份有限公司 | Operation authority control method and device |
CN105976150A (en) * | 2016-05-24 | 2016-09-28 | 山东小牛信息科技有限公司 | Security and protection management system for shooting team of sports school and security and protection management method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN107590582B (en) | 2021-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109299135A (en) | Abnormal inquiry recognition methods, identification equipment and medium based on identification model | |
CN104954322B (en) | A kind of binding processing method of account, apparatus and system | |
CN109861985A (en) | IP air control method, apparatus, equipment and the storage medium divided based on risk class | |
CN106878262A (en) | Message detecting method and device, the method and device for setting up high in the clouds threat information bank | |
CN109257334A (en) | A kind of data chain loading system, method and storage medium based on block chain | |
CN106487767A (en) | The update method of checking information and device | |
CN107612878B (en) | Dynamic window selection method based on game theory and wireless network trust management system | |
CN106612259A (en) | Identity recognition method and device, service information processing method and device and biological feature information processing method and device | |
CN105160226A (en) | Method, apparatus and system of user identity verification and smart home | |
CN102185858A (en) | Web intrusion prevention method and system based on application layer | |
CN105488875B (en) | A kind of gate inhibition's verification method and device | |
CN105869255A (en) | Intelligent access control method and system based on mobile terminal | |
CN105450598A (en) | Information identification method, information identification equipment and user terminal | |
CN107426697B (en) | Safety management method of firearm and firearm system | |
CN107590582A (en) | A kind of weapons management method and server based on Internet of Things | |
CN112468497A (en) | Block chain terminal equipment authorization authentication method, device, equipment and storage medium | |
CN110458570B (en) | Risk transaction management and configuration method and system thereof | |
CN116527317A (en) | Access control method, system and electronic equipment | |
CN107548020B (en) | Safety monitoring method for firearm use range and Internet of things monitoring equipment | |
CN109145575A (en) | A kind of distribution method and device using permission | |
CN111314143B (en) | Building control method, terminal and system based on division permission | |
CN114398635A (en) | Layered security federal learning method and device, electronic equipment and storage medium | |
CN107484126A (en) | The Information Collecting & Processing method and server of a kind of firearms | |
CN107421388B (en) | Control method for unlocking firearm and firearm | |
CN110648048A (en) | Applet signing event processing method, device, server and readable 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 |