Background technology
In existing access control system, access control system is made of access controller, access-control card reader, gate inhibition's card, Yong Hutong
It crosses the mode swiped the card and carries out access control enabling.More troublesome to be, in certain application scenarios, especially visitor needs first to lead to
Cross that cell gate inhibition visits again cell gate gate inhibition or visitor needs the gate inhibition for first accessing office building Stall to visit again company's door upstairs
Prohibit or need first to access elevator entrance guard in hotel and visit again these three special scene (hereinafter referred to as three kinds of spies of room gate inhibition
Other scene) under, visitor is required to access gate inhibition twice, and the people of resident family or control of having the right then needs to be bothered twice.In addition, it visits
Visitor is often got lost due to strange to environment during second doorway machine is moved towards from first doorway machine.Even more important
It is that can not realize the visiting function of reservation, i.e. the people of resident family or control of having the right is difficult by advance agreement, authorizes specific visitor
Its place controlled is accessed within the specific time.
Recently, with the development of Internet technology, by using APP and the gate inhibition's server Communication Control door of mobile terminal
The technology of taboo also increasingly develops.Five patents all refer to the technical field using internet-based control gate inhibition below, certainly also corresponding
There are technological deficiencies on ground.
Chinese patent CN105741395A disclosed a kind of door based on Quick Response Code and recognition of face on July 6th, 2016
Prohibit access method, wherein resident family by gate inhibition APP intelligent terminals to background server application visitor's pass Quick Response Code, Fang Ketong
It crosses gate inhibition APP intelligent terminals and obtains visitor's pass Quick Response Code from background server, and facial image is uploaded to and visitor ID
Association, access controller distinguish the visitor's pass Quick Response Code presented on gate inhibition's APP intelligent terminals by input unit, and intake is visited
The facial image of visitor, access controller judge the decoded information of generation and the consistency of the authorization message of storage, open the door when consistent.
It is preengage although this mode can be visitor, safe, visitor needs equally to download gate inhibition APP with resident family and register, right
It is extremely inconvenient for the limited visitor of access times, poor user experience;And face recognition technology is still immature at present, Ke Nengzao
Into open by mistake door or can not normal door situation;In addition, visitor is under above-mentioned three kinds special scenes, it is still necessary to which barcode scanning is opened twice
Door, it is also very inconvenient.
Chinese patent CN106373232A disclosed on 2 1st, 2017 a kind of visitor's access control system based on wechat and
Visitor's door opening method, wherein resident family fill in guest access information in advance, and the generation of entrance guard management server is used as virtual key carrier
Two-dimension code image, resident family forwards it to visitor.Visitor is carried first using visitor's terminal recognition as virtual key into fashionable
The two-dimension code image of body, and recognition result is submitted into entrance guard management server by wechat server, by entrance guard management server
The page for generating and including wechat and " sweeping and sweep " control is sent to visitor's terminal, visitor's terminal recognition is located at including for doorway machine position
The Quick Response Code of door bit-encoded information, and pass through wechat server and submit to entrance guard management server, existed by entrance guard management server
It is opened the door after checking the enabling permission of door position corresponding to virtual key code by access controller access control.Although this mode
Visitor can be authorized, but its audit process is complicated, visitor's terminal needs secondary barcode scanning and sends entrance guard management server
It could pass through after verification, and the two-dimension code image as virtual key carrier issues visitor by resident family, it is during which wrong possible in the presence of hair,
It causes to be difficult to the loss made up.And process later can not recognize visitor's identity, be unfavorable for gate inhibition's safety, in addition, visiting
Visitor still needs to repeat the above process under above-mentioned three kinds special scenes, brings inconvenience to visitor.
Chinese patent CN106780869A disclosed a kind of visitor's passing method and system on May 31st, 2017, wherein
Firmly user orientation server transmission includes the current request of traffic areas, and server then generates the Quick Response Code pass according to the selection of resident family
Or the key pass and visitor's terminal is issued to, during guest access gate inhibition, the Quick Response Code pass is handed over into cell security personnel, is protected by cell
After the hand-held check and correction terminal recognition Quick Response Code pass of peace, server check is sent to, verification passes through, and is let pass by cell security personnel;
And visitor can also directly open gate inhibition by using the special APP and the key pass of its download.This mode needs cell
Security personnel intervene, and audit process can not automate, and directly using the key pass, then visitor needs to download special APP, and services
Device can not be authenticated when visitor opens the door, and be unfavorable for gate inhibition's safety, and visitor's experience is also poor.
Chinese patent CN106408689 disclosed a kind of visitor's reservation management method and system on 2 15th, 2017,
In, resident family needs to download special APP, and administrative center is issued after visitor information is filled on special APP, is added by administrative center's generation
Confidential information is simultaneously sent to resident family, resident family's terminal will encryption information generate Quick Response Code after issue visitor, while administrative center is to corresponding
Doorway machine send encryption information, when resident family accesses, Quick Response Code is identified by doorway machine, and by the information after identification and administrative center
It controls and opens the door after the encryption information verification of transmission.In this mode, encryption information is stored in doorway generator terminal, and doorway machine is needed to have
Higher collation operation ability, and it is dangerous.And there is still a need for register dedicated APP for resident family.Meanwhile the system and method can not yet
For in above-mentioned three kinds special scenes.
Chinese patent CN105976471A in September in 2016 disclose within 28th a kind of access control equipment, caller management method and
System, the caller management method include, and resident family needs to download special APP, and background server to be visited from resident family's terminal acquisition
The location information of unit access control equipment and day of appointment information, and according to location information and day of appointment information generation visitor it is close
Code, and it is sent to visitor;Unit access control equipment is according to its location information and current date information generation unit gate inhibition's password, cell
Access control equipment generates cell gate inhibition's password according to the location information and current date information of unit access control equipment each in cell, small
Area's gate inhibition's password includes unit gate inhibition's password corresponding to each unit access control equipment;When visitor sets to big cell/unit gate inhibition
During standby place, cell/unit access control equipment receives the passwords of visitors of visitor's input, and verify reception passwords of visitors whether there is in
In the cell generated/unit gate inhibition's password, if so, control cell/cell gate is opened.In this method, resident family needs to download
Dedicated APP, resident family are completed to generate password, cell gate inhibition to the registration background server of guest access information with dedicated APP
Equipment and unit access control equipment generation password, the password of generation could must unanimously cause visitor to enter.And visitor uses password
Into fashionable, None- identified visitor's identity, and to include information too simple for password, and is easily lost, and causes security risk.And its
Although available for the scene of cell-cell gate, visitor can not still be navigated from cell door to cell gate, easily lost.
Invention content
It is an object of the invention to overcome the problems, such as drawbacks described above present in background technology or, provide a kind of based on cloud service
Access control system of residential community and door opening method, with simultaneously realize following purpose:
1st, resident family and visitor need not download special APP, only wechat need to be used to pay close attention to related WeChat ID;
2nd, Cloud Server can service an unbounded quantity of cell, resident family and visitor, be directed to a cell incessantly;
3rd, resident family only needs once to access the mandate that can be realized to visitor, and need not participate in or intervene again after authorizing;
It 4th, can limiting time to the mandate of visitor;
5th, visitor's identity is realized by cell doorway machine and checked;
6th, navigation is realized from cell doorway machine to unit doorway machine to visitor;
7th, it is operated without visitor, automatic control unit doorway machine is to authorizing visitor to open the door.
To reach above-mentioned purpose, the present invention adopts the following technical scheme that:
A kind of access control system of residential community based on cloud service, including wechat platform, resident family's mobile terminal, visitor's mobile terminal,
Public platform Cloud Server, cell doorway machine and unit doorway machine;The wechat platform, resident family's mobile terminal, visitor move eventually
End, public platform Cloud Server, cell doorway machine and unit doorway machine access internet;The wechat platform is equipped with gate inhibition's cloud
Service the public number;The resident family's mobile terminal or visitor's mobile terminal for having paid close attention to gate inhibition's cloud service public platform take with public platform cloud
Information is transmitted by wechat platform between business device;The wechat platform is also loaded with and gate inhibition's cloud service public platform associated first
Small routine and the second small routine, so that visitor's mobile terminal is downloaded and is run;The first small routine extraction visitor moves eventually
It terminates the prompting received and links the first included call number information, and transfer the terminal recognition code of visitor's mobile terminal, by two
Person is shown in visitor's mobile terminal after merging the first Quick Response Code of generation;The second small routine extraction visitor mobile terminal receives
To the second call number information for being included of navigation link and the first navigation information, the first navigation information is shown in visitor's movement
Terminal, and the real-time coordinates that will be transferred after the real-time coordinates information of visitor's mobile terminal are transferred every the first period of artificial settings
Information and the second call number information merge generation location information and are sent to public platform Cloud Server;Resident family's mobile terminal packet
It includes the wechat client that it is loaded with and possesses resident family's WeChat ID, resident family's WeChat ID has paid close attention to gate inhibition's cloud service public affairs
Many numbers, and obtain the one or more inhabitation addresses of public platform Cloud Server mandate association;Resident family's mobile terminal is by accessing gate inhibition's cloud
Access instruction information is sent to public platform Cloud Server by service the public number through wechat platform;In the access instruction information
Appearance includes resident family's WeChat ID, visitor's WeChat ID, access address, opens the door the beginning and ending time;The access address is the resident family
One of associated inhabitation address of WeChat ID;Visitor's mobile terminal includes its wechat client for being loaded with and possesses visitor
WeChat ID, visitor's WeChat ID has paid close attention to gate inhibition's cloud service public platform, and knows the terminal of visitor's mobile terminal
Other code is associated on public platform Cloud Server to visitor's WeChat ID;Visitor's mobile terminal receives public platform Cloud Server and is put down through wechat
The prompting link for band the first call number information that platform is sent, and pass through access and link is reminded to transfer and run the first small routine with life
Into and show the first Quick Response Code;Visitor's mobile terminal receives the second call number of band that public platform Cloud Server is sent through wechat platform
The navigation link of information and the first navigation information, and pass through and access navigation link and transfer and run the second small routine, to show
One navigation information is simultaneously sent to public platform Cloud Server every the first period generation location information of artificial settings;The public
Number Cloud Server includes its management program of gate inhibition's cloud service public platform being loaded with;Public platform Cloud Server is simultaneously stored with resident family
The incidence relation of WeChat ID and inhabitation address, inhabitation address and cell doorway machine identification code and unit doorway machine identification code it is corresponding
Relationship, visitor's WeChat ID and the incidence relation of the terminal recognition code of visitor's mobile terminal, the cell doorway machine of cell doorway machine are known
Other code, the unit doorway machine identification code of unit doorway machine and geographical coordinate, specific cell doorway machine and discrete cell doorway machine it
Between navigation information;Public platform Cloud Server is also stored with access tables of data, the access tables of data include call number field,
Visitor's WeChat ID field, identification code field, cell doorway machine identification code field, unit doorway machine identification code field and start-stop
Time field;Public platform cloud server creates the first record after command information to accessing in tables of data is accessed, and newly-built the
Visitor's WeChat ID field value, the beginning and ending time field value of first record are assigned a value of access instruction by the call number of one record respectively
The identity code field value of first record is assigned a value of access instruction letter by visitor's WeChat ID and enabling beginning and ending time in information
The terminal recognition code of visitor's mobile terminal associated by visitor's WeChat ID in breath, by the cell doorway machine identification code of the first record
Field value and unit doorway machine identification code field value are assigned a value of the cell corresponding to the access address in access instruction information respectively
Doorway machine identification code and unit doorway machine identification code;Public platform Cloud Server after the first record is established by wechat platform to
The identical visitor's WeChat ID of visitor's WeChat ID field value sends the prompting link of band the first call number information in first record, described
The first call number information be first record call number field value;Public platform Cloud Server is receiving the transmission of cell doorway machine
Call number decoded information, after identity code decoded information and cell doorway machine information of identification code, storage receiving time is the
One time, and the search index field value record identical with call number decoded information in tables of data is accessed, which is set
For the second record, and whether verify cell doorway machine identification code field value and cell doorway machine information of identification code in the second record
Unanimously, as verification result is true, then verifies that the identity code field value in the second record is with identity code decoded information
It is no consistent, as verification result is still true, then verifies beginning and ending time field value institute circle whether being located at the first time in the second record
In a period of fixed, as verification result be still it is true, then it is identical by visitor WeChat ID field value of the wechat platform into the second record
Visitor's WeChat ID send the navigation link of band the second call number information and the first navigation information, and the cell into the second record
The corresponding cell doorway machine of doorway machine identification code field value sends cell door door open command, and the second call number information is
Call number field value in second record, first navigation information are defined as the cell doorway machine identification in the second record
Cell gate of the cell doorway machine corresponding to the unit doorway machine identification code field value in the second record corresponding to code word segment value
Navigation information between mouth machine;Public platform Cloud Server is also after the location information for receiving the transmission of visitor's mobile terminal, extraction
Real-time coordinates information therein and the second call number information, and search index field value and the second index in tables of data is accessed
The record is set as third record by number identical record of information, then calculates the unit doorway machine identification code word in third record
The first distance between the contained real-time coordinates of the geographical coordinate and real-time coordinates information of the corresponding unit doorway machine of segment value, and
Whether verification first distance is less than or equal to the second distance being manually set, and if verification result is true, then remembers to third
The corresponding unit doorway machine transmitting element door door open command of unit doorway machine identification code field value in record;The cell door
Mouth machine includes Quick Response Code recognition unit, and the Quick Response Code recognition unit is for identifying the first Quick Response Code, by the first Quick Response Code institute
Comprising the first call number information and terminal recognition code be respectively identified as call number decoded information, identity code decoded information,
And send jointly to public platform Cloud Server with cell doorway machine information of identification code;Cell doorway machine is receiving public platform cloud clothes
It is engaged in after the cell door door open command that device is sent through automatically controlled execution cell door door opening action;The unit doorway machine is receiving
Pass through automatically controlled execution unit door door opening action after the cell gate door open command that public platform Cloud Server is sent.
Based on above technical scheme, the second technical solution is additionally provided with, in the second technical solution, further includes estate management end
End;The estate management terminal also accesses internet;Resident family's mobile terminal is additionally operable to by accessing gate inhibition's cloud service
Association request information is sent to public platform Cloud Server by public platform through wechat platform;The association request information content packet
It includes request resident family's WeChat ID and is associated with inhabitation address with request;The public platform Cloud Server also stores inhabitation address and property pipe
Correspondence between reason person's WeChat ID;Public platform Cloud Server is in the association request information for receiving resident family's mobile terminal and sending
Afterwards, it is formed and is associated with pending information, and by the pending inhabitation address being associated in pending information, pending information will be associated with and be transmitted to correspondence
Property management staff's WeChat ID, the pending information of the association include pending resident family's WeChat ID and pending inhabitation address, it is described
Pending resident family's WeChat ID is identical with asking resident family's WeChat ID, and the pending inhabitation address is identical with request association inhabitation address;
For public platform Cloud Server after association audit that estate management terminal sends is received by information, extraction association audit passes through information
In Yi Shen resident families WeChat ID and examined inhabitation address, and store incidence relation between the two;The estate management terminal packet
It includes be loaded with wechat client and possesses property management staff's WeChat ID, while also paid close attention to gate inhibition's cloud service public platform;Property
Management terminal controls generation association audit after the pending information of association for receiving the transmission of public platform Cloud Server, by property management staff
By information, association audit includes Yi Shen resident families WeChat ID by information and has examined inhabitation address, and described has examined
Family WeChat ID is identical with pending resident family's WeChat ID, and described to have examined inhabitation address identical with pending inhabitation address.
A kind of door opening method for access control system of residential community of the both the above based on cloud service, includes the following steps:Step 1:
Resident family's mobile terminal is sent to public platform cloud clothes by accessing gate inhibition's cloud service public platform, by access instruction information through wechat platform
Business device, the access instruction information includes resident family's WeChat ID, visitor's WeChat ID, access address and opens the door the beginning and ending time, described
Access address be one of associated inhabitation address of resident family's WeChat ID;Step 2:Public platform cloud server is believed to access instruction
After breath, the first record is created in tables of data is accessed, creates the call number of the first record, by visitor's WeChat ID word of the first record
The visitor's WeChat ID and open the door the beginning and ending time that segment value, beginning and ending time field value are assigned a value of respectively in access instruction information, by first
The identity code field value of record is assigned a value of visitor's mobile terminal associated by visitor's WeChat ID in access instruction information
The cell doorway machine identification code field value of first record and unit doorway machine identification code field value are distinguished assignment by terminal recognition code
For the cell doorway machine identification code corresponding to the access address in access instruction information and unit doorway machine identification code;Step 3:It is public
Crowd's Cloud Server is sent out after the first record is established to visitor's WeChat ID identical with visitor's WeChat ID field value in the first record
The prompting of band the first call number information is sent to link, the first call number information is the call number field value of the first record;Step
Rapid 4:After visitor's mobile terminal receives prompting link, link is reminded to transfer and run the first small routine by accessing, generation is simultaneously
Show the first Quick Response Code;Step 5:The first Quick Response Code shown on visitor's mobile terminal is directed at the two dimension of cell doorway machine by visitor
Code recognition unit;Step 6:The Quick Response Code recognition unit of cell doorway machine identifies the first Quick Response Code, and the first Quick Response Code is included
The first call number information and terminal recognition code be respectively identified as call number decoded information and identity code decoded information, and same
Cell doorway machine identification code information sends jointly to public platform Cloud Server;Step 7:Public platform Cloud Server is receiving cell
After call number decoded information, identity code decoded information and cell doorway machine information of identification code that doorway machine is sent, storage connects
For at the first time between time receiving;Step 8:Public platform Cloud Server search index field value and is received in access tables of data
The identical record of call number decoded information, the record are set as the second record;Step 9:The second note of public platform Cloud Server verification
Whether the cell doorway machine identification code field value and cell doorway machine information of identification code in record consistent, such as verification result if true, into
Enter in next step;Step 10:Identity code field value and identity code solution in the second record of public platform Cloud Server verification
Whether code information is consistent, such as verification result if true, entering in next step;Step 11:Public platform Cloud Server is verified
In a period of the no beginning and ending time field value being located in the second record defines, if verification result is still true, then enter in next step;
Step 12:The identical visitor's WeChat ID of visitor WeChat ID field value of the public platform Cloud Server into the second record sends band second
The navigation link of call number information and the first navigation information, the second call number information are the call number word in the second record
Segment value, first navigation information are defined as the cell corresponding to the cell doorway machine identification code field value in the second record
The navigation information between the unit doorway machine corresponding to unit doorway machine identification code field value in doorway machine and the second record;It is public
Cell doorway machine identification code field value corresponding cell doorway machine of crowd's Cloud Server simultaneously into the second record sends small
Area's door door open command;Step 13:Cell doorway machine is led to after the cell door door open command for receiving the transmission of public platform Cloud Server
Cross automatically controlled execution cell door door opening action;Step 14:Visitor's mobile terminal receives the navigation link that public platform Cloud Server is sent
Afterwards, the second small routine is transferred and run by accessing navigation link, the first navigation information is shown in visitor's mobile terminal, and every
Public platform Cloud Server is sent to every the first period generation location information of artificial settings;The location information is moved including visitor
The the second call number information included in the real-time coordinates information and navigation link of dynamic terminal;Step 15:Public platform Cloud Server exists
After receiving location information, real-time coordinates information therein and the second call number information are extracted, and inquired in tables of data is accessed
The record is set as third record by the call number field value record identical with the second call number information;Step 16:Public platform cloud takes
Be engaged in device calculate third record in the corresponding unit doorway machine of unit doorway machine identification code field value geographical coordinate in real time
The first distance between the contained real-time coordinates of coordinate information, and verify whether first distance is less than or equal to and artificially set
Fixed second distance if verification result is true, then carries out in next step, if verification result is false, then terminating;Step 17:Public platform
Unit doorway machine identification code field value corresponding unit doorway machine transmitting element door of the Cloud Server into third record opens the door
Instruction;Step 18:Unit doorway machine is held after the cell gate door open command for receiving the transmission of public platform Cloud Server by automatically controlled
Row cell gate door opening action.
By the above-mentioned description of this invention it is found that relative to the prior art, the following advantageous effect of the invention having:
1st, in technical scheme of the present invention, resident family and visitor need to only pay close attention to wechat public platform, special without downloading
APP, thus facilitate resident family and visitor.
2nd, for the cell doorway machine of all cells and unit doorway machine, the qualified door for meeting technical solution need to be only equipped with
Mouth machine, can establish control planning, and realize repertoire with Cloud Server, can be achieved with widely servicing in this way, without again
Access controller is configured, has saved cost.
3rd, resident family only need to once access, you can realize the mandate to visitor, later from server under visitor photos and sending messages,
Intervene in door opening process without resident family, largely avoid and resident family is bothered, realize complete mandate.
4th, the Quick Response Code with visitor's identity information is synthesized in visitor's mobile terminal, may insure to be wrapped in Quick Response Code in this way
The visitor information contained comes from the true visitor's mobile terminal of prompting link for receiving and issuing, so that scene authenticates.
5th, the Quick Response Code brought in cell doorway machine by scanning visitor, can not only realize the mirror to visitor information
Power, moreover it is possible to confirm corresponding doorway identity, it is ensured that safety.
6th, visitor's mobile terminal can obtain the navigation from cell doorway machine to unit doorway machine by clicking navigation link
Information avoids the problem of visitor is lost.
7th, Visitor Location is constantly checked by Cloud Server, then automatic control unit doorway machine is visitor's opening unit door,
It can be achieved to automatically control cell gate, be operated again without visitor, improve guest access experience in this way.
8th, estate management terminal can examine household information by wechat public platform, and the mandate for realizing resident family and residence is closed
The foundation of system.
Specific embodiment
Below by the attached drawing closed in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes.Obviously, described embodiment is the preferred embodiment of the present invention, and is not to be seen as the row to other embodiment
It removes.Based on the embodiment of the present invention, those of ordinary skill in the art are obtained all under the premise of creative work is not made
Other embodiment shall fall within the protection scope of the present invention.
In claims of the present invention, specification and above-mentioned attached drawing, term " first ", " second " or " third " is such as used
Deng being provided to distinguish different objects rather than for describing particular order.
In claims of the present invention, specification and above-mentioned attached drawing, such as using term " comprising ", " having " and they
Deformation, it is intended that " including but not limited to ".
Referring to Fig. 1, Fig. 1 shows the access control system of residential community based on cloud service in the embodiment of the present invention.In embodiment, it is based on
The access control system of residential community of cloud service includes wechat platform 1, resident family's mobile terminal 2, visitor's mobile terminal 3, public platform Cloud Server
4th, cell doorway machine 5, unit doorway machine 6 and estate management terminal 7.
Wechat platform 1, resident family's mobile terminal 2, visitor's mobile terminal 3, public platform Cloud Server 4, cell doorway machine 5, list
First doorway machine 6 and estate management terminal 7 access internet.
Wechat platform 1 both refers to wechat server, also refers to wechat service.In wechat platform 1, gate inhibition's cloud service public affairs are offered
Many numbers.Resident family's mobile terminal 2, visitor's mobile terminal 3 and estate management terminal 7 have focused on above-mentioned gate inhibition's cloud service public platform.
And public platform Cloud Server 4 is then loaded with the management program of gate inhibition's cloud service public platform, for managing gate inhibition's cloud service public platform.
Wechat platform 1 be used for resident family's mobile terminal 2, visitor's mobile terminal 3 or estate management terminal 7 and public platform Cloud Server 4 it
Between transmit information.
Wechat platform 1 is loaded with the first small routine associated with gate inhibition's cloud service public platform and the second small routine, and institute is related
Joining the wechat client of above-mentioned gate inhibition's cloud service public platform can download, and certainly, visitor's mobile terminal 3 can also be downloaded and run
One small routine and the second small routine.
First small routine is used to extract the first call number letter for reminding link included that visitor's mobile terminal 3 receives
It ceases, and the terminal recognition code of visitor's mobile terminal 3 is transferred on visitor's mobile terminal 3, the two is merged into the first Quick Response Code of generation
After be shown on visitor's mobile terminal 3.Here terminal recognition code can be IMEI identification codes, be the electricity with 15 bit digitals
Substring number.Here the first call number information is sent by public platform Cloud Server 4, and included in prompting link.
Second small routine is used to extract the second call number information that the navigation link that visitor's mobile terminal 3 receives is included
With the first navigation information, the first navigation information is shown in visitor's mobile terminal 3, and transferred visitor's mobile terminal 3 every 2 seconds
The real-time coordinates information transferred and the second index signal are merged into generation location information after real-time coordinates information and are sent to public platform
Cloud Server 4.Here the second call number information and the first navigation information is sent by public platform Cloud Server 4, and comprising
In navigation link.Here the first navigation information refers mainly to navigation map either route map or the net containing above-mentioned map
Location or link.
Resident family's mobile terminal 2 refers not only to mobile terminal device herein, is also included within what is run on mobile terminal device
Wechat client and resident family's WeChat ID thereon.Resident family's WeChat ID has paid close attention to gate inhibition's cloud service public platform.
Resident family's mobile terminal 2 can be sent association request information through wechat platform 1 by accessing gate inhibition's cloud service public platform
To public platform Cloud Server 4, the association request information content here can include resident family's WeChat ID, the associated residence of request
Location, may also include resident family obtain authorize needed for other content, such as property ownership certificate information, ID card No. etc. other can know
The information of resident family's identity, but this is not necessary.Under extreme case, estate management terminal 7 is can be only by the wechat of resident family
Number confirm resident family identity.It, can be by gate inhibition's cloud when resident family's mobile terminal 2 submits the inhabitation address in association request information
Service the public number is upper to open relevant selection, is selected layer by layer from modes such as province, city, district, cells, avoids being filled in by resident family
Shi Wufa navigates to a certain specific inhabitation address.
Resident family's mobile terminal 2 can be associated with one or more inhabitation addresses after obtaining public platform Cloud Server 4 and authorizing.
Under the premise of this, resident family's mobile terminal 2 can be by a certain visitor's WeChat ID of pre-authorization mode mandate in a certain specific period
Interior some inhabitation address of access.Specific practice is that resident family's mobile terminal 2 is referred to access by accessing gate inhibition's cloud service public platform
Information is enabled to be sent to public platform Cloud Server 4 through wechat platform 1.Here its content of access instruction information includes resident family's wechat
Number, visitor's WeChat ID, access address, open the door beginning and ending time etc..It it is noted that can be by the way that resident family's mobile terminal 2 be allowed to select
Its selected visitor's WeChat ID is avoided not pay close attention to gate inhibition's cloud service through paying close attention to friend's WeChat ID of gate inhibition's cloud service public platform
Public platform happens.Certainly, access address also can be by as selecting in inhabitation address of the resident family's mobile terminal 2 associated by it
Select that the inhabitation address for generating and not filled in it to avoid resident family's mobile terminal 2 is associated to be happened.
Visitor's mobile terminal 3 refers not only to mobile terminal device herein, is also included within what is run on mobile terminal device
Wechat client and visitor's WeChat ID thereon.Visitor's WeChat ID has paid close attention to gate inhibition's cloud service public platform.Such as normally to make
With visitor's mobile terminal 3 also needs to its terminal recognition code (IMEI identification codes) submitting to public platform Cloud Server 4, and should
Terminal recognition code is associated with to visitor's WeChat ID.
Visitor's mobile terminal 3 receives carrying for band the first call number information that public platform Cloud Server 4 is sent through wechat platform 1
It wakes up after link, reminds link by accessing, visitor's mobile terminal 3 can be transferred and be run automatically (as that can be downloaded for use for the first time
And run, the directly operation if not being use for the first time) the first small routine, so as to generate and show the first Quick Response Code.
Visitor's mobile terminal 3 is also used to show the first Quick Response Code when visitor reaches cell doorway, for cell doorway machine 5
53 barcode scanning of Quick Response Code recognition unit simultaneously identifies.
Visitor's mobile terminal 3 also receive band the second call number information that public platform Cloud Server 4 sends through wechat platform 1 and
The navigation link of first navigation information, and pass through access navigation link transfer and run (as for the first time use can download and transport
Row, the directly operation if not being use for the first time) the second small routine, to show the first navigation information and generate position every 2 seconds
Information is sent to public platform Cloud Server 4.
Public platform Cloud Server 4 not only includes server hardware, further includes its gate inhibition's cloud service public platform being loaded with
Management program, while can also run relational database, and relational database can be created, inquired, the operations such as deletion record.
What Cloud Server 4 store property management staff's WeChat ID and inhabitation address is corresponding with relationship, resident family's WeChat ID and inhabitation address
Incidence relation also stores inhabitation address and correspondence, the visitor of cell doorway machine identification code and unit doorway machine identification code
Incidence relation, the cell doorway machine identification code of cell doorway machine 5, the list of WeChat ID and the terminal recognition code of visitor's mobile terminal 3
Unit doorway machine identification code, the geographical coordinate of unit doorway machine 6, specific cell doorway machine 5 and the unit doorway machine of first doorway machine 6
Navigation information between 6.Particularly, public platform Cloud Server 4 also stores and runs access tables of data, this accesses tables of data packet
Call number field, visitor's WeChat ID field, identification code field, cell doorway machine identification code field, unit doorway machine is included to know
Other code field and beginning and ending time field.
Public platform Cloud Server 4 forms after the association request information that resident family's mobile terminal 2 is sent is received and is associated with pending letter
Breath, and by the pending inhabitation address being associated in pending information, pending information will be associated with and be transmitted to corresponding property management staff's wechat
Number.Here the pending information of association includes pending resident family's WeChat ID and pending inhabitation address, pending resident family's WeChat ID here with
Request resident family WeChat ID in association request information is identical.Here pending inhabitation address is occupied with the request in association request information
Residence location is identical.
Public platform Cloud Server 4 is also after association audit that estate management terminal 7 sends is received by information, extraction association
Audit is by the Yi Shen resident families WeChat ID in information and has examined inhabitation address, and stores incidence relation between the two.
Public platform Cloud Server 4 is accessing tables of data also after the access instruction information that resident family's mobile terminal 2 is sent is received
In create first record, specifically, further include create this first record call number, by the first visitor's WeChat ID recorded
The visitor's WeChat ID and open the door the beginning and ending time that field value, beginning and ending time field value are assigned a value of respectively in access instruction information, by this
The visitor that the identity code field value of first record is assigned a value of associated by visitor's WeChat ID in access instruction information moves eventually
The terminal recognition code at end 3, by the first cell doorway machine identification code field value recorded and unit doorway machine identification code field value
The cell doorway machine identification code and unit doorway machine identification code being assigned a value of respectively corresponding to the access address in access instruction information.
Public platform Cloud Server 4 is after the first record is established to the visit identical with visitor's WeChat ID field value in the first record
Objective WeChat ID sends the prompting link of band the first call number information, and the first call number information is the index of the first record
Number field value.
Public platform Cloud Server 4 is receiving the call number decoded information of the transmission of cell doorway machine 5, identity code decoding
After information and cell doorway machine information of identification code, receiving time is stored as first time, and the search index in tables of data is accessed
Number field value record identical with call number decoded information, the second record is set as by the record (i.e. query result).And verify the
Whether the cell doorway machine identification code field value and cell doorway machine information of identification code in two records are consistent, as verification result is
Very, then verify whether identity code field value in the second record and identity code decoded information are consistent, such as verification result
Still be true, then verify at the first time whether be located at second record in beginning and ending time field value define in a period of, such as verification
As a result still it is true, then the identical visitor's WeChat ID of visitor's WeChat ID field value into the second record sends the second call number of band letter
The navigation link of breath and the first navigation information, and the corresponding cell of cell doorway machine identification code field value into the second record
Doorway machine 5 sends cell door door open command, and the second call number information is the call number field value in the second record, described
The first navigation information be defined as cell doorway machine 5 corresponding to the cell doorway machine identification code field value in the second record with
The navigation information between the unit doorway machine 6 corresponding to unit doorway machine identification code field value in second record.
Public platform Cloud Server 4 extracts therein real-time also after the location information for receiving the transmission of visitor's mobile terminal 3
Coordinate information and the second call number information, and search index field value is identical with the second call number information in tables of data is accessed
Record, by the record (query result) be set as third record, then calculate third record in unit doorway machine identification code word
The first distance between the contained real-time coordinates of the geographical coordinate and real-time coordinates information of the corresponding unit doorway machine 6 of segment value,
And verify whether first distance is less than or equal to 2 meters be manually set, if verification result is true, then into third record
The corresponding 6 transmitting element door door open command of unit doorway machine of unit doorway machine identification code field value.
Cell doorway machine 5 includes cell doorway machine enabling execution unit 51, cell doorway machine wireless transmit/receive units 52, two dimension
Code recognition unit 53.Cell doorway machine 5 is connected into internet by cell doorway machine wireless transmit/receive units 52, to receive public platform cloud
The cell door door open command of server 4 sends call number decoded information, identity code decoding to public platform Cloud Server 4
Information and cell doorway machine information of identification code.Quick Response Code recognition unit 53 is used to identify the visitor's mobile terminal 3 is shown the 1st
Code is tieed up, and the first call number information and terminal recognition code that the first Quick Response Code is included are respectively identified as call number decoding letter
Breath, identity code decoded information, and send jointly to cell doorway machine wireless receiving and dispatching list with cell doorway machine information of identification code
Member 52, public platform Cloud Server 4 is sent to for it.Cell doorway machine wireless transmit/receive units 52 are receiving cell door door open command
Afterwards, cell doorway machine enabling execution unit 51 is transmitted to, is executed by it cell doorway machine door opening action.General door opening action is by electricity
Relay is controlled to complete.
Unit doorway machine 6 includes unit doorway machine enabling execution unit 61, unit doorway machine wireless transmit/receive units 62.Unit
Doorway machine 6 is connected into internet by unit doorway machine wireless transmit/receive units 62, is opened with the cell gate for receiving public platform Cloud Server 4
Door instruction.Unit doorway machine wireless transmit/receive units 62 are transmitted to cell gate enabling and perform after cell gate door open command is received
Unit 61 is executed by it unit doorway machine door opening action.General door opening action is completed by automatically controlled relay.
Estate management terminal 7 refers not only to terminal device herein, is also included within the wechat client run on terminal device
End and property management staff's WeChat ID thereon.Property management staff's WeChat ID has paid close attention to gate inhibition's cloud service public platform.
Estate management terminal 7 is controlled after the pending information of association for receiving the transmission of public platform Cloud Server 4 by property management staff
System generation association audit includes Yi Shen resident families WeChat ID by information and has examined residence by information, association audit
Location, the Yi Shen resident families WeChat ID is identical with pending resident family's WeChat ID, and described has examined inhabitation address and pending inhabitation address
It is identical.
It is to be appreciated that estate management terminal 7 also has the function of other, such as cell door is uploaded to public platform Cloud Server 4
The cell doorway machine identification code of mouthful machine 5, the unit doorway machine identification code of unit doorway machine 6, unit doorway machine 6 geographical coordinate,
Navigation information between specific cell doorway machine 5 and unit doorway machine 6.
Simultaneously it is also important to note that in the access control system of residential community based on cloud service, although titled with cell doorway machine and cell gate
Mouthful machine, but can be applied under aforementioned three kinds special scenes, do not answer one-sided be cell door and cell gate relationship, relate to
And during office building, cell doorway machine is the gate inhibition of office building Stall and unit doorway machine is company gate inhibition;When being related to hotel,
Cell doorway machine is elevator entrance guard, and unit doorway machine is door gate inhibition.Equally, when being related to office building, resident family is public affairs
Take charge of entrance guard management person;When being related to hotel, resident family is reception counter of hotel.
As shown in Fig. 2, using the above-mentioned access control system of residential community based on cloud service, specific door opening method includes following step
Suddenly:
Step 1:Resident family's mobile terminal 2 is by accessing gate inhibition's cloud service public platform, by access instruction information through wechat platform 1
Be sent to public platform Cloud Server 4, the access instruction information include resident family's WeChat ID, visitor's WeChat ID, access address and
It opens the door the beginning and ending time, the access address is one of associated inhabitation address of resident family's WeChat ID;
Step 2:After public platform Cloud Server 4 receives access instruction information, the first record is created in tables of data is accessed,
The call number of newly-built first record, visitor's WeChat ID field value, the beginning and ending time field value of the first record are assigned a value of visiting respectively
It asks visitor's WeChat ID in command information and opens the door the beginning and ending time, the identity code field value of the first record is assigned a value of accessing
The terminal recognition code of visitor's mobile terminal 3 associated by visitor's WeChat ID in command information, by the cell doorway of the first record
The access address institute that machine identification code field value and unit doorway machine identification code field value are assigned a value of respectively in access instruction information is right
The cell doorway machine identification code and unit doorway machine identification code answered;
Step 3:The visitor's WeChat ID field value phase in being recorded with first after the first record is established of public platform Cloud Server 4
Same visitor's WeChat ID sends the prompting link of band the first call number information, and the first call number information is the first record
Call number field value;
Step 4:After visitor's mobile terminal 3 receives prompting link, remind that link is transferred and to run first small by accessing
Program generates and shows the first Quick Response Code;
Step 5:Visitor knows the Quick Response Code of the first Quick Response Code shown on visitor's mobile terminal 3 alignment cell doorway machine 5
Other unit;
Step 6:The Quick Response Code recognition unit of cell doorway machine 5 identifies the first Quick Response Code, and the first Quick Response Code is included
First call number information and terminal recognition code are respectively identified as call number decoded information, identity code decoded information, and with small
Area's doorway machine information of identification code sends jointly to public platform Cloud Server 4;
Step 7:Public platform Cloud Server 4 is receiving the call number decoded information of the transmission of cell doorway machine 5, identification
After code decoded information and cell doorway machine information of identification code, storage receiving time is at the first time;
Step 8:Public platform Cloud Server 4 search index field value and the call number solution received in tables of data is accessed
The identical record of code information, the record are set as the second record;
Step 9:Cell doorway machine identification code field value and cell doorway in second record of the verification of public platform Cloud Server 4
Whether machine information of identification code is consistent, such as verification result if true, entering in next step;
Step 10:Identity code field value and identity code solution in second record of the verification of public platform Cloud Server 4
Whether code information is consistent, such as verification result if true, entering in next step;
Step 11:Whether the verification of public platform Cloud Server 4 is located at the beginning and ending time field value in the second record at the first time
In a period of defining, if verification result is still true, then enter in next step;
Step 12:The identical visitor's WeChat ID of visitor WeChat ID field value of the public platform Cloud Server 4 into the second record
Band the second call number information and the navigation link of the first navigation information are sent, the second call number information is in the second record
Call number field value, first navigation information is defined as the cell doorway machine identification code field value institute in the second record
Between the unit doorway machine 6 corresponding to unit doorway machine identification code field value in the corresponding record of cell doorway machine 5 and second
Navigation information;Cell doorway machine identification code field value of the public platform Cloud Server 4 simultaneously into the second record is corresponding small
Area's doorway machine 5 sends cell door door open command;
Step 13:Cell doorway machine 5 passes through electricity after the cell door door open command for receiving the transmission of public platform Cloud Server
Control performs cell door door opening action;
Step 14:After visitor's mobile terminal 3 receives the navigation link that public platform Cloud Server 4 is sent, navigated by accessing
The second small routine is transferred and is run in link, and the first navigation information is shown in visitor's mobile terminal 3, and generated position every 2 seconds
Information is sent to public platform Cloud Server 4;The location information includes real-time coordinates information and the navigation of visitor's mobile terminal 3
The the second call number information included in link;
Step 15:Public platform Cloud Server 4 extracts real-time coordinates information therein and second after location information is received
Call number information, and the search index field value record identical with the second call number information in tables of data is accessed, this is remembered
Record is set as third record;
Step 16:The unit doorway machine identification code field value that public platform Cloud Server 4 is calculated in third record is corresponding
The first distance between the contained real-time coordinates of the geographical coordinate and real-time coordinates information of unit doorway machine 6, and verify described
Whether the first distance is less than or equal to 2 meters be manually set, if verification result is true, then carries out in next step, as verification result is
Vacation then terminates;
Step 17:Unit doorway machine identification code field value corresponding list of the public platform Cloud Server 4 into third record
First 6 transmitting element door door open command of doorway machine;
Step 18:Unit doorway machine 6 passes through electricity after the cell gate door open command for receiving the transmission of public platform Cloud Server 4
Control execution unit door door opening action.
Before this, the method that resident family's mobile terminal 2 is associated with inhabitation address on public platform Cloud Server 4 includes following step
Suddenly:
Step 0.1:Resident family's mobile terminal 2 is additionally operable to, by accessing gate inhibition's cloud service public platform, association request information be passed through
Wechat platform 1 is sent to public platform Cloud Server 4;The association request information content includes request resident family's WeChat ID and request
It is associated with inhabitation address;
Step 0.2:Public platform Cloud Server 4 is formed and is closed after the association request information that resident family's mobile terminal 2 is sent is received
Join pending information, and by the pending inhabitation address being associated in pending information, pending information will be associated with and be transmitted to corresponding property pipe
Reason person's WeChat ID, the pending information of the association include pending resident family's WeChat ID and pending inhabitation address, the pending resident family
WeChat ID is identical with asking resident family's WeChat ID, and the pending inhabitation address is identical with request association inhabitation address;
Step 0.3:Estate management terminal 7 is after the pending information of association for receiving the transmission of public platform Cloud Server 4, by property
Administrator controls generation association audit, and by information, association audit includes Yi Shen resident families WeChat ID by information and has examined
Inhabitation address, the Yi Shen resident families WeChat ID is identical with pending resident family's WeChat ID, and described has examined inhabitation address and pending residence
Residence location is identical;
Step 0.4:Public platform Cloud Server 4 carries after association audit that estate management terminal 7 sends is received by information
Association audit is taken by the Yi Shen resident families WeChat ID in information and has examined inhabitation address, and stores incidence relation between the two.
From can be seen that this hair to the description and door opening process of the access control system of residential community based on cloud service in embodiment above
In bright technical solution, resident family and visitor need to only pay close attention to wechat public platform, without downloading dedicated APP, thus conveniently
Resident family and visitor.For the cell doorway machine 5 of all cells and unit doorway machine 6, the conjunction for meeting technical solution only need to be equipped with
The doorway machine of lattice can establish control planning with Cloud Server, and realize repertoire, can be achieved with widely servicing in this way,
Access controller need not be reconfigured, has saved cost.Resident family only need to once access, you can realize the mandate to visitor, Zhi Houyou
Server photos and sending messages under visitor intervene without resident family in door opening process, largely avoid and resident family is bothered, and realize
Complete mandate.Quick Response Code with visitor's identity information is synthesized in visitor's mobile terminal 3, may insure in Quick Response Code in this way
Comprising visitor information come from the true visitor's mobile terminal 3 of prompting link for receiving and issuing, so that scene authenticates.
The Quick Response Code brought in cell doorway machine 5 by scanning visitor, can not only realize the authentication to visitor information, moreover it is possible to confirm institute
Corresponding doorway identity, it is ensured that safety.Visitor's mobile terminal 3 can be obtained by clicking navigation link from cell doorway
Machine 5 arrives the navigation information of unit doorway machine 6, avoids the problem of visitor is lost.Visitor Location is constantly checked by Cloud Server,
Again automatic control unit doorway machine 6 be visitor's opening unit door, it can be achieved that automatically controlled to cell gate, grasped again without visitor
Make, improve guest access experience in this way.Estate management terminal can examine household information by wechat public platform, realize resident family
With the foundation of the mandate relationship of residence.
Therefore, based on above analysis, technical scheme of the present invention solves the technical issues of described, has reached corresponding skill
Art effect.
The description of description above and embodiment for explaining the scope of the present invention, but does not form and the present invention is protected
Protect the restriction of range.By the enlightenment of the present invention or above-described embodiment, those of ordinary skill in the art combine common knowledge, ability
The ordinary technical knowledge and/or the prior art in domain, it is available right by logical analysis, reasoning or limited experiment
Modification, equivalent replacement or the other improvements of the embodiment of the present invention or a portion technical characteristic should be included in the present invention's
Within protection domain.