CN106204847A - Access control system, background server and self-learning method thereof - Google Patents
Access control system, background server and self-learning method thereof Download PDFInfo
- Publication number
- CN106204847A CN106204847A CN201610565274.4A CN201610565274A CN106204847A CN 106204847 A CN106204847 A CN 106204847A CN 201610565274 A CN201610565274 A CN 201610565274A CN 106204847 A CN106204847 A CN 106204847A
- Authority
- CN
- China
- Prior art keywords
- gate inhibition
- mark
- current
- resident family
- count value
- 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
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/20—Individual registration on entry or exit involving the use of a pass
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/20—Individual registration on entry or exit involving the use of a pass
- G07C9/27—Individual registration on entry or exit involving the use of a pass with central registration
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Time Recorders, Dirve Recorders, Access Control (AREA)
- Telephonic Communication Services (AREA)
Abstract
A kind of access control system, background server and self-learning method thereof are the present invention relates to.This self-learning method includes: receives the current data that user terminal is sent, and obtains corresponding resident family room number information according to the ID in current data;Current data and corresponding resident family room number information are stored in default current log, current log include gate inhibition identify, ID, resident family's room number information, transit time;Based on current log, respectively each gate inhibition is identified corresponding resident family's room number information and carries out statistical analysis, to determine the corresponding relation of each gate inhibition mark and relevant position information;Determining the mandate gate inhibition mark corresponding to each user terminal respectively, and mandate gate inhibition mark added in the current list of permission, wherein, authorizing gate inhibition is particular value when identifying initial.Implement technical scheme, be greatly saved human cost and time cost, and, accuracy rate is higher.
Description
Technical field
The present invention relates to field, intelligence community, particularly relate to a kind of access control system, background server and self study thereof
Method.
Background technology
In intelligence community, access control equipment is most basic equipment, and positional information (such as, * * community * * building * * is mono-
Unit) it is again the important attribute of access control equipment.Such as, background server need first to get gate inhibition's mark of each access control equipment with
The corresponding relation of positional information, then could issue to each user terminal according to the positional information of each access control equipment accordingly
Allowing current list, this permission list of passing through includes authorizing the item information such as gate inhibition's mark, resident family's room number, such as, for * * community 3
The resident family of unit B 802, background server passes through in list to the permission that the user terminal of this resident family issues, and authorizes gate inhibition's mark
Gate inhibition's mark at gate, Shi Weigai community and gate inhibition's mark of 3 unit B.After user terminal receives the current list of permission, and
When using user terminal that access control equipment carries out enabling control, the gate inhibition scanned can be identified and allow to pass through in list
Authorize gate inhibition's mark to mate, only when the match is successful, just can send door open command to access control equipment.
At present, after access control equipment is disposed, workmen needs to add up all buildings unit of community, and needs
Set up gate inhibition's mark of each access control equipment and the corresponding relation of positional information.So, workmen to be spent is more
Time, and easily make mistakes or omit.Therefore, this mode cost of labor is high and error rate is high.
Summary of the invention
The technical problem to be solved in the present invention is, the above-mentioned cost of labor for prior art is high and error rate height lacks
Fall into, it is provided that a kind of access control system, background server and self-learning method thereof, it is not necessary to spend cost of labor and be difficult to out
Wrong.
The technical solution adopted for the present invention to solve the technical problems is: construct the self study side of a kind of background server
Method, including:
S10. receive the current data that user terminal is sent, and obtain phase according to the ID in described current data
The resident family's room number information answered, described current data include ID, transit time, gate inhibition's mark;
S20. described current data and corresponding resident family room number information are stored in default current log, described current
Log include gate inhibition identify, ID, resident family's room number information, transit time;
S30. based on described current log, respectively each gate inhibition is identified corresponding resident family's room number information and adds up
Analyze, to determine the corresponding relation of each gate inhibition mark and relevant position information;
S40. gate inhibition's mark determined by basis and the corresponding relation of relevant position information, determine each user terminal respectively
Corresponding mandate gate inhibition mark, and described mandate gate inhibition's mark is added in the current list of permission, and under user terminal
Sending out permission described and pass through list, described permission list of passing through includes authorizing gate inhibition's mark, resident family's room number information, wherein, described in award
The powerful family prohibit mark initial time be one can mate community in the particular value of all control of bluetooth access equipment.
Preferably, described permission is passed through the effect duration that list also includes that the described gate inhibition of mandate identifies.
Preferably, described step S30 includes:
S301. identify for each gate inhibition, add up the current count value of its corresponding every Stall, each unit respectively
Current count value and count value of always passing through;
S302. identify for each gate inhibition, calculate the current count value of every Stall with described according to statistical result respectively
First ratio of total current count value, and the second ratio of the current count value of each unit and described total current count value;
S303. the gate inhibition's mark corresponding to maximum total current count value is defined as gate inhibition's mark at gate, community;
S304. the positional information that other gate inhibition identifies is determined one by one according to following methods: determine that current gate inhibition identifies institute right
The the first maximum ratio answered and the second ratio of maximum, and using the building corresponding to the first maximum ratio as described currently
Building information in the positional information of gate inhibition's mark, and using the unit corresponding to the second maximum ratio as described current gate inhibition
Unit information in the positional information of mark.
Preferably, described step S30 also includes:
S305. according to described current log, it is judged that whether same user passes through multiple control of bluetooth access in preset period of time
Equipment;
Gate inhibition's mark of first the control of bluetooth access equipment the most then passed through for described user, by its gate
Weight count value adds 1;Wherein, each gate inhibition identify corresponding gate weight count value initial time be 0;
S307. identify for each gate inhibition, calculate the ratio of its gate weight count value and corresponding total current count value respectively
Value;
S308. to the current count value of every Stall by being ranked up from big to small;
S309. the gate inhibition simultaneously meeting following condition is identified the gate inhibition's mark being defined as gate, community: every Stall
Current count value is all in front N name, and N is natural number and relevant to the quantity at gate in community;Gate weight count value is total with corresponding
The ratio of current count value presets ratio more than first.
Preferably, described step S30 also includes:
S310. being respectively directed to every Stall unit, set up resident family and pass through track table, wherein, described resident family passes through track table
The transit time of all users and gate inhibition's mark including this building unit;
S311. add up in total entry number that described resident family passes through in track table, and track table that described resident family is passed through and occur
Number of times most gate inhibition mark be defined as specific gate inhibition mark;
S312. calculate the occurrence number of described specific gate inhibition mark and the ratio of described total entry number, and judge described ratio
Whether value presets ratio more than second, if, it is determined that this building unit is the positional information of described specific gate inhibition mark.
Preferably, between step S20 and step S30, also include:
S50. judge that the number of entries in described current log whether more than preset value, the most then performs step S30.
The present invention also constructs a kind of background server, it is characterised in that including:
Receiver module, for receiving the current data that user terminal is sent, and according to the user in described current data
Mark obtains corresponding resident family room number information, and described current data include ID, transit time, gate inhibition's mark;
It is stored in module, for described current data and corresponding resident family room number information are stored in default current log
In, described current log include gate inhibition identify, ID, resident family's room number information, transit time;
Analyze module, for based on described current log, respectively each gate inhibition being identified corresponding resident family's room number letter
Breath carries out statistical analysis, to determine the corresponding relation of each gate inhibition mark and relevant position information;
Sending module, for the corresponding relation of gate inhibition's mark determined by basis with relevant position information, determines every respectively
Mandate gate inhibition mark corresponding to individual user terminal, and described mandate gate inhibition's mark is added in the current list of permission, and to
User terminal issues described permission and passes through list, and described permission list of passing through includes authorizing gate inhibition's mark, resident family's room number information, its
In, described authorize gate inhibition when identifying initial be one can mate community in the particular value of all control of bluetooth access equipment.
Preferably, described permission is passed through the effect duration that list also includes that the described gate inhibition of mandate identifies.
Preferably, also include quantity judge module, and,
Described quantity judge module, for judging whether the number of entries in described current log is more than preset value;
Described analysis module, when the number of entries in described current log is more than preset value, based on described logical
Row log, identifies corresponding resident family's room number information respectively and transit time carries out statistical analysis, to determine each gate inhibition
Described gate inhibition mark and the corresponding relation of positional information.
The present invention also constructs a kind of access control system, it is characterised in that including:
Above-described background server;
Multiple user terminals;And
Multiple control of bluetooth access equipment.
Implementing technical scheme, after deployment, background server is by received each current for control of bluetooth access equipment
Data are all stored in current log, then this current log carries out statistical analysis and can obtain each gate inhibition mark with corresponding
The corresponding relation of positional information.Therefore, it is no longer necessary to all buildings unit of community is added up by workmen, is greatly saved
Human cost and time cost, and, accuracy rate is higher.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to
Other accompanying drawing is obtained according to these accompanying drawings.In accompanying drawing:
Fig. 1 is the flow chart of the self-learning method embodiment one of background server of the present invention;
Fig. 2 is the building-block of logic of background server embodiment one of the present invention;
Fig. 3 is the building-block of logic of background server embodiment two of the present invention.
Detailed description of the invention
Fig. 1 is the flow chart of the self-learning method embodiment one of background server of the present invention, the self study side of this embodiment
Method includes:
Step S10. receives the current data that user terminal is sent, and obtains according to the ID in described current data
Taking corresponding resident family room number information, described current data include ID, transit time, gate inhibition's mark.
In this step, it should be noted that, when user uses its user terminal that control of bluetooth access equipment is carried out enabling control
Time, a door open command can be sent to control of bluetooth access equipment, the legitimacy of user is entered by control of bluetooth access equipment according to this door open command
Row checking, when being verified, access control is opened the door, and can return current data to user terminal simultaneously, and these current data include
ID (such as APP ID), transit time, gate inhibition's mark.After user terminal receives these current data, after being forwarded to again
Station server, for the positional information of background server study control of bluetooth access equipment.It addition, each user is before first use,
Can register its resident family's room number information to background server, resident family's room number information is as the UUID (Universally of resident family
Unique Identifier, general unique identifier), including the information in following territory: area, community, issue, Lou Dong, list
Unit, room number, therefore, background server is previously stored with the ID of each user and the corresponding pass of resident family's room number information
System.
Described current data and corresponding resident family room number information are stored in default current log by step S20., described
Current log include gate inhibition identify, ID, resident family's room number information, transit time.
In this step, background server has pre-build that one passes through log, and this current log is used for recording cell
In gate inhibition's mark of all users control of bluetooth access equipment of current process every time and transit time, this current log include with
Under several information: gate inhibition's mark, ID, resident family's room number information, transit time.
Step S30., based on described current log, identifies corresponding resident family's room number information respectively and carries out each gate inhibition
Statistical analysis, to determine the corresponding relation of each gate inhibition mark and relevant position information.
Step S40. according to determined by gate inhibition's mark and the corresponding relation of relevant position information, determine each user respectively
Mandate gate inhibition mark corresponding to terminal, and described mandate gate inhibition's mark is added in the current list of permission, and to user eventually
End issues described permission and passes through list, and described permission list of passing through includes authorizing gate inhibition's mark, resident family's room number information, wherein, institute
State authorize gate inhibition when identifying initial be one can mate community in the particular value of all control of bluetooth access equipment.
In this step, first illustrating, background server issues the current list of permission to user terminal, is to make
User terminal can judge oneself whether to have permission out this door when carrying out and opening the door and control.It addition, it should be noted that, time initial,
That is, during the self study of the positional information that background server is also not fully complete each control of bluetooth access equipment, it is to the user of each user
What terminal issued allows the mandate gate inhibition in current list to be designated a particular value, and this particular value is all of in mating this community
Control of bluetooth access equipment, that is, in the self study stage of background server, user is all of gate inhibition's door in having permission Kai Gai community.
During background server carries out self study, gate inhibition's mark and the corresponding relation of positional information determined by meeting basis, really
Fixed mandate gate inhibition mark corresponding to each user terminal, such as, for the user in community 32 unit 802 rooms, it only has
Authority opens the gate, gate inhibition Men Ji community of 3 Unit 2, and does not has authority to open gate inhibition's door of other building unit, so, should be by position
Confidence breath is that the gate inhibition at 3 Unit 2 and gate, community identifies the mandate gate inhibition mark as this user, and adds to corresponding to it
Permission pass through in list.At this it should be noted that, owing to self study is time longer process, so in self study
Stage, it is allowed to the mandate gate inhibition learnt in current list is identified with necessity and exists with particular value simultaneously.Such as, for community
The user in interior 32 unit 802 rooms, the mandate gate inhibition that may first learn is designated community guard for entrance gate and identifies, and 3 Unit 2
Gate inhibition's mark of the control of bluetooth access equipment at doorway also do not learns to arrive, and now, will can learn in allowing current list
Gate inhibition's mark (gate inhibition's mark at gate) is authorized to be placed on before particular value.When this permission list of passing through re-issues to this user
User terminal after, and user uses its user terminal to carry out opening the door when controlling, by the gate inhibition's mark scanned with allow logical
Mandate gate inhibition mark in row-column list is compared the most successively, if the mandate learnt in list current with permission
Gate inhibition mark the match is successful, then use this study to mandate gate inhibition identify generation door open command.Only at the door scanned
When the mandate gate inhibition mark prohibiting mark and learnt is not mated, particular value is just used to generate door open command.When backstage takes
After the self study of the business device positional information that completes each control of bluetooth access equipment, now can delete allow in current list specific
Value.
Preferably, it is allowed to current list may also include each effect duration authorizing gate inhibition's mark, so, when user uses
When its user terminal carries out enabling control, the mandate gate inhibition judging that the gate inhibition scanned mark is passed through in list with this permission
After mark matches, also can determine whether current time the most before the deadline, if in effect duration, then can set to control of bluetooth access
Preparation send door open command, so can prevent user from continuing the gate inhibition in dwelling, Kaiyuan after moving away from community.
Further, between step S20 and step S30, also include:
S50. judge that the number of entries in described current log whether more than preset value, the most then performs step S30.
In this step, preset value for example, 100.
In a specific embodiment, step S30 may particularly include:
Step S301. identifies for each gate inhibition, adds up the current count value of its corresponding every Stall, each respectively
The current count value of unit and count value of always passing through;
Step S302. identifies for each gate inhibition, respectively according to statistical result calculate every Stall current count value with
First ratio of described total current count value, and the second ratio of the current count value of each unit and described total current count value
Value;
Gate inhibition's mark corresponding to maximum total current count value is defined as gate inhibition's mark at gate, community by step S303.
Know;
Step S304. determines the positional information that other gate inhibition identifies one by one according to following methods: determine that current gate inhibition identifies
Corresponding the first maximum ratio and the second ratio of maximum, and using the building corresponding to the first maximum ratio as described
Building information in the positional information of current gate inhibition's mark, and using the unit corresponding to the second maximum ratio as described currently
Unit information in the positional information of gate inhibition's mark.
Illustrate below in conjunction with an example: assuming that certain community has three buildings, there are two unit in Qie Meidong building, also have
Gate, one community, so, this community is deployed with seven control of bluetooth access equipment altogether, its gate inhibition mark be respectively A, B, C, D, E, F,
G, these seven control of bluetooth access equipment are separately positioned on community gate, 11 unit doorway, 12 unit doorway, 21 cell gates
Mouth, 22 unit doorways, 31 unit doorways, 32 unit doorways.
In step S301, background server, according to the information of current log, passes through for each gate inhibition mark
The data statistics of count value, as shown in table 1:
Current count value | Building 1 | Building 2 | Building 3 | Unit 1 | Unit 2 | Always |
Gate inhibition A | 1 | 3 | 98 | 95 | 7 | 102 |
Gate inhibition B | 96 | 2 | 5 | 100 | 3 | 103 |
Gate inhibition C | 2 | 2 | 110 | 2 | 112 | 114 |
Gate inhibition D | 0 | 107 | 3 | 104 | 6 | 110 |
Gate inhibition E | 99 | 6 | 0 | 1 | 104 | 105 |
Gate inhibition F | 7 | 104 | 1 | 4 | 108 | 112 |
Gate inhibition G | 205 | 224 | 217 | 306 | 340 | 646 |
Table 1
In step s 302, identify for each gate inhibition, calculate the current counting of every Stall respectively according to statistical result
The ratio of value and described total current count value, and the ratio of the current count value of each unit and described total current count value, meter
Calculation result is as shown in table 2:
Ratio | Building 1 | Building 2 | Building 3 | Unit 1 | Unit 2 | Always |
Gate inhibition A | 1/102 | 3/102 | 98/102 | 95/102 | 7/102 | 102 |
Gate inhibition B | 96/103 | 2/103 | 5/103 | 100/103 | 3/103 | 103 |
Gate inhibition C | 2/114 | 2/114 | 110/114 | 2/114 | 112/114 | 114 |
Gate inhibition D | 0 | 107/110 | 3/110 | 104/110 | 6/110 | 110 |
Gate inhibition E | 99/105 | 6/105 | 0 | 1/105 | 104/105 | 105 |
Gate inhibition F | 7/112 | 104/112 | 1/112 | 4/112 | 108/112 | 112 |
Gate inhibition G | 205/646 | 224/646 | 217/646 | 306/646 | 340/646 | 646 |
Table 2
In step S303, owing to as can be seen from Table 1, total current count value is 646 to the maximum, its corresponding gate inhibition identifies G, institute
Can determine that gate inhibition identifies the positional information of G for gate, community.
In step s 304, in conjunction with table 2, identify A for gate inhibition, the first ratio of its maximum (Lou Dong pass through count value with
The ratio of total current count value) it is 98/102, corresponding building 3, (unit passes through count value with the most current to the second ratio of its maximum
The ratio of count value) it is 95/102, corresponding unit 1, so, it may be determined that it is 31 lists that gate inhibition identifies the positional information corresponding to A
Unit.Then determine that gate inhibition identifies the positional information corresponding to B, C, D, E, F respectively according to same method, determine that result is as follows:
It is 1 Unit 1 that gate inhibition identifies the positional information of B;It is 3 Unit 2 that gate inhibition identifies the positional information of C;Gate inhibition identifies the position letter of D
Breath is 2 Unit 1;It is 1 Unit 2 that gate inhibition identifies the positional information of E;It is 2 Unit 2 that gate inhibition identifies the positional information of F.
In another specific embodiment, on the basis of above-described embodiment, also can determine that community is big according to following methods
Gate inhibition's mark of door, therefore, step S30 also can farther include:
Step S305. is according to described current log, it is judged that same user whether in preset period of time by multiple bluetooths
Access control equipment, preset period of time for example, 10 minutes;
Gate inhibition's mark of first the control of bluetooth access equipment that step S306. is the most then passed through for described user, by it
Gate weight count value adds 1;Wherein, each gate inhibition identify corresponding gate weight count value initial time be 0;
Step S307. identifies for each gate inhibition, calculates its gate weight count value and corresponding total current count value respectively
Ratio;
Step S308. to the current count value of every Stall by being ranked up from big to small;
The gate inhibition that the gate inhibition's mark simultaneously meeting following condition is defined as gate, community is identified by step S309.: every Stall
Current count value all in front N name, N is natural number and relevant to the quantity at gate in community;Gate weight count value and phase
The ratio of count value of should always passing through presets ratio more than first.In this step, such as, the quantity at gate, community is three
Time, N can be set to three.It addition, the first preset value for example, 90%.
Illustrate below in conjunction with an example: assuming to can determine whether out according to current log, user 1 pressed in 10 minutes
Time order and function order has passed sequentially through following gate inhibition and has identified corresponding control of bluetooth access equipment: G, D, now, gate inhibition is identified G's
Gate weight count value adds 1;Additionally also having, user 2 has in chronological sequence sequentially passed sequentially through following gate inhibition mark in 10 minutes
Control of bluetooth access equipment corresponding to knowledge: G, E, the gate weight count value that gate inhibition now should identify G adds 1 again.According to similarly
Other qualified current record is analyzed by method.Then, identify for each gate inhibition, calculate its gate weight respectively
Count value and the ratio of corresponding total current count value, such as, it is 100% that gate inhibition identifies the ratio calculation result of G, more than 90%.
And, the current count value (205) that this gate inhibition identifies the building 1 corresponding to G is maximum (that is, ranked first name), its corresponding building
The current count value (224) of 2 is maximum, and the current count value (217) in its corresponding building 3 is also maximum, accordingly, it can be determined that door
Prohibiting mark positional information corresponding to G is gate, community.
In another specific embodiment, on the basis of above-described embodiment, also can determine except community according to following methods
Gate inhibition's mark in big other building outdoors, step S30 also can farther include:
Step S310. is respectively directed to every Stall unit, sets up resident family and passes through track table, wherein, described resident family travelling rail
Mark table includes transit time and gate inhibition's mark of all users of this building unit;
Step S311. is added up described resident family and is passed through the total entry number in track table, and described resident family is passed through in track table
Occurrence number most gate inhibition mark be defined as specific gate inhibition mark;
Step S312. calculates the occurrence number of described specific gate inhibition mark and the ratio of described total entry number, and judges institute
State whether ratio presets ratio more than second, if, it is determined that this building unit is the position letter of described specific gate inhibition mark
Breath, second presets ratio for example, 66%.
Illustrate below in conjunction with an example: assume to establish corresponding to Unit 2,3, certain community according to current log
Resident family pass through track table, it should be noted that at this, owing to having determined that the gate inhibition at gate, community identifies and positional information
Corresponding relation, therefore, what this resident family passed through that track table only records is that resident family is by other in addition to gate, community (gate inhibition identifies G)
The track of control of bluetooth access equipment.Such as, this resident family track table that passes through is as shown in table 3.And, table 3 can draw, this resident family passes through
Total entry number of track table is 10, and the most gate inhibition of occurrence number is designated gate inhibition C, totally 8 times, and, this gate inhibition C goes out occurrence
Number is 80% with the ratio of total entry number, more than 66%, thus can determine that the gate inhibition of these 3 Unit 2 in community is designated gate inhibition
C。
Table 3
Fig. 2 is the building-block of logic of background server embodiment one of the present invention, and the background server of this embodiment includes: connect
Receive module 10, be stored in module 20, analysis module 30 and sending module 40.Wherein, receiver module 10 is used for receiving user terminal institute
The current data sent, and obtain corresponding resident family room number information according to the ID in described current data, described current
Data include ID, transit time, gate inhibition's mark, it is preferable that also can farther include having of described mandate gate inhibition's mark
The effect phase;It is stored in module 20 for described current data and corresponding resident family room number information being stored in default current log,
Described current log include gate inhibition identify, ID, resident family's room number information, transit time;Analyze module 30 for based on
Described current log, identifies corresponding resident family's room number information respectively and carries out statistical analysis each gate inhibition, each to determine
Gate inhibition's mark and the corresponding relation of relevant position information;Sending module 40 is for gate inhibition's mark and relevant position determined by basis
The corresponding relation of information, determines the mandate gate inhibition mark corresponding to each user terminal respectively, and by described mandate gate inhibition's mark
Adding in the current list of permission, and issue described permission to user terminal and pass through list, described permission list of passing through includes awarding
The powerful family prohibits mark, resident family's room number information, wherein, described mandate gate inhibition when identifying initial be one can mate community in all bluetooth doors
The particular value of taboo equipment.
Fig. 3 is the building-block of logic of background server embodiment two of the present invention, and the background server of this embodiment compares Fig. 2
Shown embodiment, also can farther include quantity judge module 50, and, this quantity judge module 50 is used for judging described leading to
Whether the number of entries in row log is more than preset value;Analyze module 30 for the number of entries in described current log
During more than preset value, based on described current log, respectively each gate inhibition is identified corresponding resident family's room number information and passes through
Time carries out statistical analysis, to determine the corresponding relation of described gate inhibition mark and positional information.
The present invention also constructs a kind of access control system, and this access control system includes: background server, multiple user are eventually
End and multiple control of bluetooth access equipment, wherein, the logical structure of background server can refer to described previously.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, any bun made
Change, equivalent, improvement etc., within should be included in scope of the presently claimed invention.
Claims (10)
1. the self-learning method of a background server, it is characterised in that including:
S10. receive the current data that user terminal is sent, and obtain according to the ID in described current data corresponding
Resident family's room number information, described current data include ID, transit time, gate inhibition's mark;
S20. described current data and corresponding resident family room number information are stored in default current log, described current record
Table include gate inhibition identify, ID, resident family's room number information, transit time;
S30. based on described current log, respectively each gate inhibition is identified corresponding resident family's room number information and carries out statistical
Analysis, to determine the corresponding relation of each gate inhibition mark and relevant position information;
S40. gate inhibition's mark determined by basis and the corresponding relation of relevant position information, determine that each user terminal institute is right respectively
The mandate gate inhibition mark answered, and described mandate gate inhibition's mark is added in the current list of permission, and issue institute to user terminal
Stating the current list of permission, described permission list of passing through includes authorizing gate inhibition's mark, resident family's room number information, wherein, described mandate door
Prohibit mark initial time be one can mate community in the particular value of all control of bluetooth access equipment.
The self-learning method of background server the most according to claim 1, it is characterised in that described permission passes through list also
Including the described effect duration authorizing gate inhibition's mark.
The self-learning method of background server the most according to claim 1 and 2, it is characterised in that described step S30 bag
Include:
S301. identify for each gate inhibition, add up respectively the current count value of its corresponding every Stall, each unit logical
Row count value and count value of always passing through;
S302. identifying for each gate inhibition, the current count value calculating every Stall respectively according to statistical result is total logical with described
First ratio of row count value, and the second ratio of the current count value of each unit and described total current count value;
S303. the gate inhibition's mark corresponding to maximum total current count value is defined as gate inhibition's mark at gate, community;
S304. the positional information that other gate inhibition identifies is determined one by one according to following methods: determine that current gate inhibition identifies corresponding
The first maximum ratio and the second ratio of maximum, and using the building corresponding to the first maximum ratio as described current gate inhibition
Building information in the positional information of mark, and the unit corresponding to the second maximum ratio is identified as described current gate inhibition
Positional information in unit information.
The self-learning method of background server the most according to claim 3, it is characterised in that described step S30 also includes:
S305. according to described current log, it is judged that whether same user passes through multiple control of bluetooth access equipment in preset period of time;
Gate inhibition's mark of first the control of bluetooth access equipment the most then passed through for described user, by its gate weight
Count value adds 1;Wherein, each gate inhibition identify corresponding gate weight count value initial time be 0;
S307. identify for each gate inhibition, calculate the ratio of its gate weight count value and corresponding total current count value respectively;
S308. to the current count value of every Stall by being ranked up from big to small;
S309. the gate inhibition simultaneously meeting following condition is identified the gate inhibition's mark being defined as gate, community: often Stall is current
Count value is all in front N name, and N is natural number and relevant to the quantity at gate in community;Gate weight count value is total current with corresponding
The ratio of count value presets ratio more than first.
The self-learning method of background server the most according to claim 4, it is characterised in that described step S30 also includes:
S310. being respectively directed to every Stall unit, set up resident family and pass through track table, wherein, the described resident family track table that passes through includes
The transit time of all users of this building unit and gate inhibition's mark;
S311. occurrence number in total entry number that described resident family passes through in track table, and the track table that described resident family passed through is added up
Most gate inhibition's marks is defined as specific gate inhibition mark;
S312. calculate the occurrence number of described specific gate inhibition mark and the ratio of described total entry number, and judge that described ratio is
No it be more than second and preset ratio, if, it is determined that this building unit is the positional information of described specific gate inhibition mark.
The self-learning method of background server the most according to claim 1, it is characterised in that in step S20 and step S30
Between, also include:
S50. judge that the number of entries in described current log whether more than preset value, the most then performs step S30.
7. a background server, it is characterised in that including:
Receiver module, for receiving the current data that user terminal is sent, and according to the ID in described current data
Obtaining corresponding resident family room number information, described current data include ID, transit time, gate inhibition's mark;
It is stored in module, for described current data and corresponding resident family room number information are stored in default current log, institute
State current log include gate inhibition identify, ID, resident family's room number information, transit time;
Analyze module, for based on described current log, respectively each gate inhibition is identified corresponding resident family's room number information and enters
Row statistical analysis, to determine the corresponding relation of each gate inhibition mark and relevant position information;
Sending module, for gate inhibition's mark determined by basis and the corresponding relation of relevant position information, determines each use respectively
Mandate gate inhibition mark corresponding to the terminal of family, and described mandate gate inhibition's mark is added in the current list of permission, and to user
Terminal issues described permission and passes through list, and described permission list of passing through includes authorizing gate inhibition's mark, resident family's room number information, wherein,
Described authorize gate inhibition when identifying initial be one can mate community in the particular value of all control of bluetooth access equipment.
Background server the most according to claim 7, it is characterised in that described permission list of passing through also includes described mandate
The effect duration of gate inhibition's mark.
Background server the most according to claim 7, it is characterised in that also include quantity judge module, and,
Described quantity judge module, for judging whether the number of entries in described current log is more than preset value;
Described analysis module, when the number of entries in described current log is more than preset value, based on described current note
Record table, identifies corresponding resident family's room number information respectively and transit time carries out statistical analysis each gate inhibition, described to determine
Gate inhibition's mark and the corresponding relation of positional information.
10. an access control system, it is characterised in that including:
Background server described in any one of claim 7-9;
Multiple user terminals;And
Multiple control of bluetooth access equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610565274.4A CN106204847B (en) | 2016-07-18 | 2016-07-18 | Access control system, background server and its self-learning method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610565274.4A CN106204847B (en) | 2016-07-18 | 2016-07-18 | Access control system, background server and its self-learning method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106204847A true CN106204847A (en) | 2016-12-07 |
CN106204847B CN106204847B (en) | 2018-10-19 |
Family
ID=57494017
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610565274.4A Active CN106204847B (en) | 2016-07-18 | 2016-07-18 | Access control system, background server and its self-learning method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106204847B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108765662A (en) * | 2018-05-30 | 2018-11-06 | 中海云智慧(北京)物联网科技有限公司 | Security system authorization method is obtained based on intelligence learning |
CN108765660A (en) * | 2018-05-30 | 2018-11-06 | 中海云智慧(北京)物联网科技有限公司 | Security system authorization method is obtained based on associated AP P |
CN110021090A (en) * | 2018-10-29 | 2019-07-16 | 深圳市微开互联科技有限公司 | System, server and the method for access control and elevator linkage |
CN111402468A (en) * | 2020-03-20 | 2020-07-10 | 深圳我家云网络科技有限公司 | Electronic key generation method and device, computer equipment and computer storage medium |
CN114863595A (en) * | 2022-04-13 | 2022-08-05 | 北京声智科技有限公司 | User right verification method and device, electronic equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1369837A (en) * | 2001-02-14 | 2002-09-18 | 英业达股份有限公司 | Dynamic information feedback system and method based on client/server structure |
US20070049286A1 (en) * | 2004-09-17 | 2007-03-01 | Tae Il Kim | System and method for determining position of mobile communication device by grid-based pattern matching algorithm |
WO2008131667A1 (en) * | 2007-04-28 | 2008-11-06 | Huawei Technologies Co., Ltd. | Method, device for identifying service flows and method, system for protecting against a denial of service attack |
US7525484B2 (en) * | 1996-09-09 | 2009-04-28 | Tracbeam Llc | Gateway and hybrid solutions for wireless location |
CN101711029A (en) * | 2009-12-17 | 2010-05-19 | 中国联合网络通信集团有限公司 | Method and equipment for certifying access of terminal, and method for restoring equipment validity |
CN101923669A (en) * | 2008-07-18 | 2010-12-22 | 史迪芬·凯斯 | Intelligent adaptive design |
CN102272616A (en) * | 2008-11-13 | 2011-12-07 | Fzc哥络普斯 | Method and system for refining accuracy of location positioning |
CN102761531A (en) * | 2011-04-29 | 2012-10-31 | 腾讯科技(深圳)有限公司 | Community authentication method and server |
CN103475705A (en) * | 2013-09-06 | 2013-12-25 | 苏州汇川技术有限公司 | System and method for elevator self-study and smart phone |
CN103870562A (en) * | 2014-03-06 | 2014-06-18 | 北京邮电大学 | Regulation verifying method and system in intelligent building system |
-
2016
- 2016-07-18 CN CN201610565274.4A patent/CN106204847B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7525484B2 (en) * | 1996-09-09 | 2009-04-28 | Tracbeam Llc | Gateway and hybrid solutions for wireless location |
CN1369837A (en) * | 2001-02-14 | 2002-09-18 | 英业达股份有限公司 | Dynamic information feedback system and method based on client/server structure |
US20070049286A1 (en) * | 2004-09-17 | 2007-03-01 | Tae Il Kim | System and method for determining position of mobile communication device by grid-based pattern matching algorithm |
WO2008131667A1 (en) * | 2007-04-28 | 2008-11-06 | Huawei Technologies Co., Ltd. | Method, device for identifying service flows and method, system for protecting against a denial of service attack |
CN101923669A (en) * | 2008-07-18 | 2010-12-22 | 史迪芬·凯斯 | Intelligent adaptive design |
CN102272616A (en) * | 2008-11-13 | 2011-12-07 | Fzc哥络普斯 | Method and system for refining accuracy of location positioning |
CN101711029A (en) * | 2009-12-17 | 2010-05-19 | 中国联合网络通信集团有限公司 | Method and equipment for certifying access of terminal, and method for restoring equipment validity |
CN102761531A (en) * | 2011-04-29 | 2012-10-31 | 腾讯科技(深圳)有限公司 | Community authentication method and server |
CN103475705A (en) * | 2013-09-06 | 2013-12-25 | 苏州汇川技术有限公司 | System and method for elevator self-study and smart phone |
CN103870562A (en) * | 2014-03-06 | 2014-06-18 | 北京邮电大学 | Regulation verifying method and system in intelligent building system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108765662A (en) * | 2018-05-30 | 2018-11-06 | 中海云智慧(北京)物联网科技有限公司 | Security system authorization method is obtained based on intelligence learning |
CN108765660A (en) * | 2018-05-30 | 2018-11-06 | 中海云智慧(北京)物联网科技有限公司 | Security system authorization method is obtained based on associated AP P |
CN110021090A (en) * | 2018-10-29 | 2019-07-16 | 深圳市微开互联科技有限公司 | System, server and the method for access control and elevator linkage |
CN111402468A (en) * | 2020-03-20 | 2020-07-10 | 深圳我家云网络科技有限公司 | Electronic key generation method and device, computer equipment and computer storage medium |
CN114863595A (en) * | 2022-04-13 | 2022-08-05 | 北京声智科技有限公司 | User right verification method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106204847B (en) | 2018-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106204847A (en) | Access control system, background server and self-learning method thereof | |
CN106162530B (en) | A kind of access control management method, system and background server | |
CN103473826B (en) | Register method, system and server automatically in a kind of classroom based on wifi | |
CN207489124U (en) | Access control system in the school based on all-purpose card | |
CN107578357A (en) | Intelligent campus management and information analysis platform based on big data | |
CN104282049B (en) | Attendance checking through facial recognition terminal and attendance process Verification System and authentication method | |
CN106249726B (en) | The Intelligent electronic control system of automatic arranging is reviewed one's lessons based on classroom | |
CN110164012A (en) | A kind of community's access control system and working method thereof | |
CN110276872B (en) | Automatic access control authorization method based on face recognition | |
CN107170065A (en) | Intelligent movable Work attendance method, device and system | |
CN106408689A (en) | Visitor reservation management method and visitor reservation management system | |
CN107301687A (en) | A kind of course of personally instructing based on face recognition technology is registered and sign-out system | |
KR100927054B1 (en) | How to manage attendance in a mobile environment | |
CN112288239A (en) | Intelligent terminal online education platform | |
CN108022191A (en) | Wisdom Education Administration Information System applied to campus | |
CN107659370A (en) | University student classroom total management system and method | |
CN206057957U (en) | The Intelligent electronic control system of automatic arranging is reviewed one's lessons based on classroom | |
CN107949068A (en) | A kind of method and apparatus of wireless connection | |
CN109450942B (en) | A kind of safety detection method and its detection device of laboratory management system for internet of things | |
CN107172053A (en) | The method of controlling security and safety control of computer | |
Sukadarmika et al. | Introducing TAMEx model for availability of e-exam in wireless environment | |
CN113552817A (en) | Movable air detection device, detection method and air detector | |
JP2009086912A (en) | Access control system and access control method | |
CN109684318A (en) | A kind of data management and analysis platform system based on teaching platform | |
CN106251581A (en) | A kind of campus long distance control system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190412 Address after: Room A-2576, Building No. 3, 20 Yongan Road, Shilong Economic Development Zone, Mentougou District, Beijing 102300 Patentee after: Beijing best technology Co., Ltd. Address before: 518000 Room 711, South District, Shenzhen Software Park, Shenzhen City, Guangdong Province Patentee before: BEIJING QIANDING INTERNET TECHNOLOGY CO., LTD. |