Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, in one embodiment, provide a kind of user interaction method based on gate control system, the present embodiment is applied to application server to illustrate in this way.The method specifically comprises the steps:
Step 102, receives the logging request carrying the first account that first terminal is sent.
First terminal first description be used for distinguish come with the second following terminal, third terminal.First terminal can run appointment applications client, and application server is then for this appointment applications client provides service support.First terminal can show a login interface by this appointment applications client, thus obtains the first mark and corresponding password of typing, thus sends the logging request carrying the first account to application server, receives this logging request by application server.
Step 104, carries out the checking of gate inhibition's associated rights, is verified to the first account in response to logging request, the state of putting the first account is presence and notifies first terminal.
Particularly, the right related information in gate control system can store on the application server or on entrance guard management server.Application server responds after receiving logging request, verifies the authority of the first account, to judge whether it has gate inhibition's associated rights.Gate inhibition's associated rights can comprise access permission and entrance guard management authority, and wherein access permission is the authority of control gate switch, and entrance guard management authority is then to authorizing access permission, cancels the authority that access permission etc. manages access permission.
For the ease of managing gate inhibition associated rights, partition of the level can be carried out to gate inhibition's associated rights, mark off different authorization roles, the Permission Levels that often kind of authorization role is corresponding different.Such as authorization role can be divided into entrance guard management person, owner, landlord and lessee from high to low according to Permission Levels, and wherein lessee only has access permission, and entrance guard management person, owner and landlord then have entrance guard management authority.The authority of authorization role can carry out gradual control, and concrete entrance guard management person can control gate inhibition's associated rights of owner, and owner can control gate inhibition's associated rights of landlord, and landlord then can control gate inhibition's associated rights of lessee.The division of more or less authorization role can certainly be carried out, specifically divide according to demand.In one embodiment, carry out being verified as of gate inhibition's associated rights to the first account to verify the authorization role corresponding to the first account.
State corresponding to account is in order to represent the logging status of this account, and presence represents and logs in, and contrary off-line state then represents and do not log in.First account first description be used for make a distinction with the second following account and the 3rd account, the first account, the second account and the 3rd account are referred to as account.Gate inhibition's associated rights to be verified and after being verified, the state can putting the first account is presence, and notifies first terminal, and such first terminal just completes the register based on gate control system.
Step 106, the hidden danger report information reported after receiving first terminal login also stores.
Hidden danger report information refers to the information for reporting the potential safety hazard existing for building.Wherein, hidden danger report information comprises the report forensic data of architecture information, building hidden danger descriptor and corresponding building hidden danger descriptor and typing.The hidden danger report information comprising architecture information, building hidden danger descriptor and report forensic data is reported application server by first terminal, and this application server receives this hidden danger report information and stores.
Particularly, after first terminal logs in, the appointment applications client by it runs obtains the architecture information of typing; Or be attached to architectural pattern in 2 D code by scanning and resolve and obtain building mark, thus the architecture information acquisition request of carrying this building mark is sent to application server, application server then can return the architecture information corresponding to this building mark in response to this architecture information obtains request to first terminal.Architecture information at least has unique purposes distinguishing building, can comprise building site and/or building doorplate numbering etc.
Further, first terminal can obtain should architecture information and the building hidden danger descriptor of typing.Concrete first terminal can obtain the building hidden danger descriptor of direct typing, also can choose and the corresponding check item check result of typing from the check item list preset in response to operational order, every check item and corresponding check result just can represent a building hidden danger descriptor.Here check item is such as " fire-fighting equipment is not installed by regulation by resident family " etc., then corresponding check item check result can be qualified or defective.Further, first terminal can obtain the report forensic data of corresponding building hidden danger descriptor and typing.This report forensic data is for proving the existence of the building hidden danger reported.Report forensic data can be picture or video, and picture can be the photo of instant shooting.
In one embodiment, with reference to figure 2, first terminal is after the function triggering report hidden danger, and whether what first judge hidden danger occurs is this building corresponding to the first account, if the architecture information that this building then can directly obtain corresponding to the first account.Here this building refer to the user having the first account to live or the building of managing etc. has the building of direct relation with the owner of the first account.If not this building, then continuing to judge that whether the building that hidden danger occurs is attached has Quick Response Code doorplate, if there is Quick Response Code doorplate, obtains architecture information, if do not have Quick Response Code doorplate, obtain the architecture information of typing by the mode scanning Quick Response Code.
Further, first terminal is according to the operational order of input, judge whether there is the check item corresponding with the hidden danger occurred in the check item storehouse of presetting, if had, select corresponding check item, and typing check item check result, and using the check item selected and corresponding check item check result as building hidden danger descriptor.If do not have corresponding check item in check item storehouse, first terminal obtains the building hidden danger descriptor of directly input.The picture that the modes such as first terminal according to the operational order acquisition report forensic data of input, is such as taken pictures again, shooting obtain or video.The hidden danger report information comprising architecture information, building hidden danger descriptor and report forensic data is reported application server by first terminal again.
Application server can as the transfer server between terminal and between terminal and other platform.In the present embodiment, application server can connect first terminal and community's grid management platform respectively, realizes the communication between first terminal and community network management platform.Application server receives hidden danger report information that first terminal reports and is transmitted to community's grid management platform process.Community's grid management platform then can be audited the hidden danger report information reported, and examination & verification is not by then providing the unsanctioned auditing result of examination & verification and feeding back to first terminal by application server.Audit and judge whether to report community higher level process, if then hidden danger report information to be reported the server of community higher level by then community's grid management platform.Do not need to report if judge, community's grid management platform generates patrol task according to the hidden danger report information reported and assigns corresponding patrol officer to patrol and examine building according to hidden danger report information, and carry out examination & verification confirmation to patrolling and examining result, examination & verification confirms by rear, auditing result can be fed back to first terminal by application server.
Step 108, is provided for the query interface inquiring about the hidden danger report information of storage and/or the statistics according to the hidden danger report information generation stored.
Application server can be provided for the query interface inquiring about the hidden danger report information stored, and can also generate corresponding statistics, thus be provided for the query interface inquiring about this statistics according to the hidden danger report information stored.Wherein statistics can be such as that the total quantity of hidden danger report information in one period of time period of specifying, hidden danger report information are according to the distribution situation etc. of time period.
The above-mentioned user interaction method based on gate control system, based on gate control system, receive the logging request that first terminal is sent, the first account is carried out to the checking of gate inhibition's associated rights, then permit this logging request after being verified, make the first account state be set to presence.Like this by the login of gate control system and the checking of gate inhibition's associated rights, ensure that the authenticity of floating population's identity such as the lessee using gate control system to a great extent, the hidden danger report information reported after receiving first terminal login also stores, and just can ensure the authenticity of the hidden danger information reported to a certain extent.And by providing the query interface to hidden danger report information and/or corresponding statistics, make architectural control department, ruck etc. can understand the disposition of the building hidden danger information of report in time, ruck is made also to participate in architectural control work, play the supervisory role that the masses build rental house etc., realize mass prevention and mass treatment.
In one embodiment, as shown in Figure 3, grid management platform in community's can send platform message by application server to first terminal.Platform message can be the auditing result that above-mentioned community grid management platform is fed back to first terminal.Particularly, community's grid management platform can give application server by generating platform message push request Concurrency, the request of application server receiving platform message push, preserves platform message entrained by the request of platform message push and for pushing the necessary data needed for this platform message.Application server judges whether to preserve the success of platform message, if preserve unsuccessfully, returns push failed prompting to community's grid management platform.If preserve successfully, continue to judge whether the state corresponding to the first account is presence, if the corresponding presence of the first account, then platform message push is given the first account and is carried out logging in and the first terminal verified by gate inhibition's associated rights by application server.If the not corresponding presence of the first account, then after the first account logins successfully next time, platform message push, when the first account correspondence presence being detected, is given the first account and is carried out logging in and the first terminal verified by gate inhibition's associated rights by application server.
Further, first terminal shows after receiving the platform message of propelling movement, and send propelling movement successfully feedback to application server, then application server can by the mark position of platform message that pushed for push, to represent that this platform message is successfully pushed, do not need to carry out push operation again to this platform message.Application server, after the success of propelling movement platform message, returns to community's grid management platform and pushes successfully prompting.
In one embodiment, also should comprise based on the user interaction method of gate control system: the first message push request that reception first terminal is sent also is preserved; When the second account correspondence presence as recipient's mark specified by the first message push request being detected, the first message entrained by the first message push request is sent to and carries out logging in and the second terminal verified by gate inhibition's associated rights with the second account.In one embodiment, also should comprise based on the user interaction method of gate control system: receive the second message push request that the second terminal response is fed back in the first message; When the first account correspondence presence as recipient's mark specified by the second message push request being detected, the second message entrained by the second message push request is sent to first terminal.
Particularly, the terminal comprising first terminal, the second terminal is run and has appointment applications client, XMPP (agreement of a kind of subset X ML based on standard generalized markup language) service thread is created by this appointment applications client, by the information that this XMPP service thread circulation reception application server is sent, receive one and then process one.Accordingly, application server then can start XMPP server end and create XMPP processing threads, to be connected by XMPP service end etc., according to the connection request received, connecting object is paid XMPP processing threads, and by information that the process of XMPP processing threads receives.
With reference to figure 4, first terminal and the second terminal carry out logging in respectively by the appointment applications client of each self-operating and by the checking of gate inhibition's associated rights.First terminal obtains the first message of typing, gives application server according to the first message generation first message push request Concurrency.Application server preserves first message of carrying in the first message push request and for pushing the necessary data needed for this first message, this necessary data at least comprises the second account as recipient's mark, can also comprise the first account as sender's mark.Application server judges whether as the state corresponding to the second account of recipient's mark be presence, if the corresponding presence of the second account, then the first message is sent to the second terminal logged in this second account by application server.If the not corresponding presence of the second account, then application server can notify first terminal the other side off-line, and continue the state of periodic detection second account, or detect state corresponding to the second account afterwards receiving the feedback that the second account logins successfully, when the second account correspondence presence being detected, the first message is sent to the second terminal.Application server, after successfully the first message being sent to the second terminal, puts the zone bit of the first message for push.
Second terminal, after receiving the first message, is opened according to operational order and shows this first message, judging whether respond to the first message and return the second information, if do not return, and process ends.Return the second information if judge, then obtain the second message of typing, give application server according to the second message generation second message push request Concurrency.Application server preserves second message of carrying in the second message push request and for pushing the necessary data needed for this second message, this necessary data at least comprises the first account as recipient's mark, can also comprise the second account as sender's mark.Application server judges whether as the state corresponding to the first account of recipient's mark be presence, if the corresponding presence of the first account, then the second message is sent to the first terminal logged in this first account by application server.If the not corresponding presence of the first account, then application server can notify second terminal the other side off-line, and continue the state of periodic detection first account, or detect state corresponding to the first account afterwards receiving the feedback that the first account logins successfully, when the first account correspondence presence being detected, the second message is sent to first terminal.Application server, after successfully the second message being sent to first terminal, puts the zone bit of the second message for push.First terminal, after receiving the second message, is opened according to operational order and shows this second message, judges whether to respond and return message to the second message, if do not return, and process ends.
In the present embodiment, based on gate control system, realize the unidirectional and two-way interacting message between first terminal and the second terminal, making can be freely mutual between the user based on gate control system.Due to the checking by gate inhibition's associated rights, the authenticity of user identity can ensure, and based on gate control system can easily by neighbours each other or each other colleague etc. to connect based on the user of building and link up, achieve the fusion of gate control system and instant messaging.
In one embodiment, also should comprise based on the user interaction method of gate control system: receive the 3rd message push request carrying the first account, group identification and the 3rd message that first terminal is sent; Determine the 3rd account set corresponding to the first account and group identification; When the 3rd account correspondence presence in the 3rd account set being detected, the 3rd message is sent to and carries out logging in and the third terminal verified by gate inhibition's associated rights with the 3rd account of corresponding presence.
Particularly, communication group can be set up, such as virtual community group, group of architectural control department based on gate control system, and can designated group keeper, the authorization role of entrance guard management person has the authority arranging group's authority, designated group keeper and interpolation, rejecting group member.Each terminal be connected by network with application server, comprises first terminal, the second terminal and third terminal etc., relies on the first account, the second account and the 3rd account to carry out logging in respectively and by the checking of gate inhibition's associated rights.Application server then can after each terminal logs in, and to roll off the production line message etc. respectively to each terminal distribution buddy list, good friend's on-line message and good friend.The message that will push is read in application server circulation, and the connection of the new terminal of circular wait enters.
Application server can process various types of message, and the message of every type identifies with corresponding value of statistical indicant.Wherein the type of message can include but not limited to online buddy list, good friend's on-line message, good friend rolls off the production line message, message push request, search group, add group, adhere to group, exit group, reject group member and amendment user property etc.
Group identification, the first account and the 3rd account set are carried out corresponding stored by application server, for representing the first account and the 3rd account set group relation based on this group identification.The terminal that the account with group relation logs in can carry out multi-party communication.Concrete first terminal can send to application server the 3rd message push request carrying the first account, group identification and the 3rd message, application server receives the 3rd message push request, determines the first account wherein and the 3rd account set corresponding to this group identification.Detect the whether corresponding presence of each the 3rd account in the 3rd account set, for corresponding presence the 3rd account directly to carry out logging in the 3rd account of corresponding presence and the third terminal verified by gate inhibition's associated rights send the 3rd message.For the 3rd account of not corresponding presence, then temporary 3rd message also continues to detect its state, until when its corresponding presence being detected, then the 3rd message is sent to carry out logging in and the third terminal verified by gate inhibition's associated rights with the 3rd account of corresponding presence.
In the present embodiment, based on gate control system, realize the interacting message based on group between multiple terminal, making can be freely mutual between the user based on gate control system.Due to the checking by gate inhibition's associated rights, the authenticity of user identity can ensure, and based on gate control system can easily by neighbours each other or each other colleague etc. to connect based on the user of building and link up, achieve the fusion of gate control system and instant messaging.
In one embodiment, the account for logging in generates according to ID (identity number) card No..Here comprise above-mentioned first account, the second account and the 3rd account for the account logged in.Account generates according to ID (identity number) card No., can be that account itself adopts ID (identity number) card No., or account is unique identification ID (identity number) card No. obtained through coding.In the present embodiment, account for logging in generates according to ID (identity number) card No., ensure the authenticity of user identity, use government authority preferably, set up the interactive channel of straight-through rental house community management, integrate, play societal forces and provide comprehensive, multi-level community service for rental house inhabitation colony.Functional department also extensively can obtain and relate to rental house, the hidden danger of floating population, contradiction, rational demand and opinions and suggestions simultaneously.
As shown in Figure 5, in one embodiment, a kind of user interaction device 500 based on gate control system is provided, for realizing the user interaction method based on gate control system of above-mentioned any embodiment.Logging request receiver module 502, logging request processing module 504, hidden danger report information processing module 506 and query interface module 508 should be comprised based on the user interaction device 500 of gate control system.
Logging request receiver module 502, for receiving the logging request carrying the first account that first terminal is sent.
First terminal can show a login interface by this appointment applications client, thus obtain the first mark and corresponding password of typing, thus sending to the user interaction device 500 based on gate control system the logging request carrying the first account, logging request receiver module 502 is for receiving this logging request.
Logging request processing module 504, for carrying out the checking of gate inhibition's associated rights to the first account in response to logging request, is verified, and the state of putting the first account is presence and notifies first terminal.
Particularly, logging request processing module 504 responds after receiving logging request, verifies the authority of the first account, to judge whether it has gate inhibition's associated rights.Gate inhibition's associated rights can comprise access permission and entrance guard management authority, and wherein access permission is the authority of control gate switch, and entrance guard management authority is then to authorizing access permission, cancels the authority that access permission etc. manages access permission.
For the ease of managing gate inhibition associated rights, partition of the level can be carried out to gate inhibition's associated rights, mark off different authorization roles, the Permission Levels that often kind of authorization role is corresponding different.Such as authorization role can be divided into entrance guard management person, owner, landlord and lessee from high to low according to Permission Levels, and wherein lessee only has access permission, and entrance guard management person, owner and landlord then have entrance guard management authority.The authority of authorization role can carry out gradual control, and concrete entrance guard management person can control gate inhibition's associated rights of owner, and owner can control gate inhibition's associated rights of landlord, and landlord then can control gate inhibition's associated rights of lessee.The division of more or less authorization role can certainly be carried out, specifically divide according to demand.In one embodiment, logging request receiver module 502 is for verifying the authorization role corresponding to the first account.
State corresponding to account is in order to represent the logging status of this account, and presence represents and logs in, and contrary off-line state then represents and do not log in.First account first description be used for make a distinction with the second following account and the 3rd account, the first account, the second account and the 3rd account are referred to as account.Logging request processing module 504 is for verify gate inhibition's associated rights and after being verified, the state can putting the first account is presence, and notifies first terminal, and such first terminal just completes the register based on gate control system.
Hidden danger report information processing module 506, for receive first terminal log in after the hidden danger report information that reports storing.
Hidden danger report information refers to the information for reporting the potential safety hazard existing for building.Wherein, hidden danger report information comprises the report forensic data of architecture information, building hidden danger descriptor and corresponding building hidden danger descriptor and typing.First terminal is used for the user interaction device 500 reported by the hidden danger report information comprising architecture information, building hidden danger descriptor and report forensic data based on gate control system, and hidden danger report information processing module 506 is for receiving this hidden danger report information and storing.
Particularly, first terminal can be used for the architecture information being obtained typing after login by the appointment applications client that it runs; Or be attached to architectural pattern in 2 D code by scanning and resolve and obtain building mark, thus the architecture information acquisition request of carrying this building mark is sent to the user interaction device 500 based on gate control system, hidden danger report information processing module 506 can be used in response to this architecture information obtains request and returns the architecture information corresponding to this building mark to first terminal.Architecture information at least has unique purposes distinguishing building, can comprise building site and/or building doorplate numbering etc.
Further, first terminal can be used for obtaining to should the building hidden danger descriptor of architecture information and typing.Concrete first terminal can be used for the building hidden danger descriptor obtaining direct typing, also can be used for choosing and the corresponding check item check result of typing from the check item list preset in response to operational order, every check item and corresponding check result just can represent a building hidden danger descriptor.Further, first terminal can be used for the report forensic data obtaining corresponding building hidden danger descriptor and typing.This report forensic data is for proving the existence of the building hidden danger reported.Report forensic data can be picture or video, and picture can be the photo of instant shooting.
In one embodiment, with reference to figure 2, after first terminal is used in the function triggering report hidden danger, whether what first judge hidden danger occurs is this building corresponding to the first account, if the architecture information that this building then can directly obtain corresponding to the first account.Here this building refer to the user having the first account to live or the building of managing etc. has the building of direct relation with the owner of the first account.If not this building, then continuing to judge that whether the building that hidden danger occurs is attached has Quick Response Code doorplate, if there is Quick Response Code doorplate, obtains architecture information, if do not have Quick Response Code doorplate, obtain the architecture information of typing by the mode scanning Quick Response Code.
Further, first terminal is used for the operational order according to input, judge whether there is the check item corresponding with the hidden danger occurred in the check item storehouse of presetting, if had, select corresponding check item, and typing check item check result, and using the check item selected and corresponding check item check result as building hidden danger descriptor.If do not have corresponding check item in check item storehouse, first terminal obtains the building hidden danger descriptor of directly input.The picture that the modes such as first terminal according to the operational order acquisition report forensic data of input, is such as taken pictures again, shooting obtain or video.The hidden danger report information comprising architecture information, building hidden danger descriptor and report forensic data is reported the user interaction device 500 based on gate control system by first terminal again.
Hidden danger report information processing module 506 can be used for receiving the hidden danger report information that reports of first terminal and being transmitted to community's grid management platform process.The hidden danger report information that community's grid management platform then can be used for reporting is audited, and examination & verification is not by then providing the unsanctioned auditing result of examination & verification and feeding back to first terminal by the user interaction device 500 based on gate control system.Audit and judge whether to report community higher level process, if then hidden danger report information to be reported the server of community higher level by then community's grid management platform.Do not need to report if judge, community's grid management platform generates patrol task according to the hidden danger report information reported and assigns corresponding patrol officer to patrol and examine building according to hidden danger report information, and carry out examination & verification confirmation to patrolling and examining result, examination & verification confirms by rear, auditing result can be fed back to first terminal by the user interaction device 500 based on gate control system.
Query interface module 508, for being provided for the query interface inquiring about the hidden danger report information of storage and/or the statistics according to the hidden danger report information generation stored.
Query interface module 508 can be used for the query interface being provided for inquiring about the hidden danger report information stored, and the hidden danger report information that also can be used for according to storing generates corresponding statistics, thus is provided for the query interface inquiring about this statistics.Wherein statistics can be such as that the total quantity of hidden danger report information in one period of time period of specifying, hidden danger report information are according to the distribution situation etc. of time period.
In one embodiment, as shown in Figure 3, community's grid management platform may be used for sending platform message by the user interaction device 500 based on gate control system to first terminal.Platform message can be the auditing result that above-mentioned community grid management platform is fed back to first terminal.Particularly, community's grid management platform can be used for generating platform message push request Concurrency and gives user interaction device 500 based on gate control system, based on the user interaction device 500 receiving platform message push request of gate control system, preserve platform message entrained by the request of platform message push and for pushing the necessary data needed for this platform message.User interaction device 500 based on gate control system preserves the success of platform message for judging whether, if preserve unsuccessfully, returns push failed prompting to community's grid management platform.If preserve successfully, for continuing, the user interaction device 500 based on gate control system judges whether the state corresponding to the first account is presence, if the corresponding presence of the first account, then the user interaction device 500 based on gate control system carries out logging in and the first terminal verified by gate inhibition's associated rights for platform message push being given the first account.If the not corresponding presence of the first account, then after the first account logins successfully next time, based on the user interaction device 500 of gate control system for when the first corresponding presence of account being detected, platform message push being given the first account and carrying out logging in and the first terminal verified by gate inhibition's associated rights.
Further, first terminal is used for showing after receiving the platform message of propelling movement, and send propelling movement successfully feedback to the user interaction device 500 based on gate control system, then can be used for the mark position of platform message that pushed for push based on the user interaction device 500 of gate control system, to represent that this platform message is successfully pushed, do not need to carry out push operation again to this platform message.Based on the user interaction device 500 of gate control system after the success of propelling movement platform message, return to community's grid management platform and push successfully prompting.
The above-mentioned user interaction device 500 based on gate control system, based on gate control system, receive the logging request that first terminal is sent, the first account is carried out to the checking of gate inhibition's associated rights, then permit this logging request after being verified, make the first account state be set to presence.Like this by the login of gate control system and the checking of gate inhibition's associated rights, ensure that the authenticity of floating population's identity such as the lessee using gate control system to a great extent, the hidden danger report information reported after receiving first terminal login also stores, and just can ensure the authenticity of the hidden danger information reported to a certain extent.And by providing the query interface to hidden danger report information and/or corresponding statistics, make architectural control department, ruck etc. can understand the disposition of the building hidden danger information of report in time, ruck is made also to participate in architectural control work, play the supervisory role that the masses build rental house etc., realize mass prevention and mass treatment.
As shown in Figure 6, in one embodiment, also should comprise based on the user interaction device 500 of gate control system: the first message push request receiving module 501 and the first message transmission module 503.First message push request receiving module 501, for receiving the first message push request that first terminal sends and preserving.First message transmission module 503, during for the second account correspondence presence as recipient's mark specified by the first message push request being detected, the first message entrained by the first message push request being sent to and carries out logging in and the second terminal verified by gate inhibition's associated rights with the second account.
Particularly, comprise first terminal, the terminal of the second terminal can be used for run specify applications client, create XMPP service thread by this appointment applications client, the information sent by this XMPP service thread circulation reception application server, is received one and then processes one.Accordingly, based on 500, the user interaction device of gate control system for starting XMPP server end and creating XMPP processing threads, to be connected by XMPP service end etc., according to the connection request received, connecting object is paid XMPP processing threads, and by information that the process of XMPP processing threads receives.
With reference to figure 4, first terminal and the second terminal are respectively used to be undertaken logging in by the appointment applications client of each self-operating and by the checking of gate inhibition's associated rights.First terminal, for obtaining the first message of typing, gives the user interaction device 500 based on gate control system according to the first message generation first message push request Concurrency.First message push request receiving module 501 is for receiving and preserving first message of carrying in the first message push request and for pushing the necessary data needed for this first message, this necessary data at least comprises the second account as recipient's mark, can also comprise the first account as sender's mark.First message transmission module 503 is for judging whether as the state corresponding to the second account of recipient's mark be presence, if the corresponding presence of the second account, then the first message transmission module 503 is for sending to the second terminal logged in this second account by the first message.If the not corresponding presence of the second account, then the first message transmission module 503 can be used for notice first terminal the other side off-line, and continue the state of periodic detection second account, or detect state corresponding to the second account afterwards receiving the feedback that the second account logins successfully, when the second account correspondence presence being detected, the first message is sent to the second terminal.First message transmission module 503, for after successfully the first message being sent to the second terminal, puts the zone bit of the first message for push.
In one embodiment, the first message push request receiving module 501 is also for receiving the second message push request that the second terminal response is fed back in the first message.When first message transmission module 503 is also for the first account correspondence presence as recipient's mark specified by the second message push request being detected, the second message entrained by the second message push request is sent to first terminal.
Particularly, the second terminal is used for after receiving the first message, opens and shows this first message, judge whether respond to the first message and return the second information according to operational order, if do not return, and process ends.Return the second information if judge, then the second terminal is for obtaining the second message of typing, gives the user interaction device 500 based on gate control system according to the second message generation second message push request Concurrency.First message push request receiving module 501 is for preserving second message of carrying in the second message push request and for pushing the necessary data needed for this second message, this necessary data at least comprises the first account as recipient's mark, can also comprise the second account as sender's mark.First message transmission module 503 is for judging whether as the state corresponding to the first account of recipient's mark be presence, if the corresponding presence of the first account, then the first message transmission module 503 is for sending to the first terminal logged in this first account by the second message.If the not corresponding presence of the first account, then the first message transmission module 503 can be used for notifying second terminal the other side off-line, and continue the state of periodic detection first account, or detect state corresponding to the first account afterwards receiving the feedback that the first account logins successfully, when the first account correspondence presence being detected, the second message is sent to first terminal.First message transmission module 503, for after successfully the second message being sent to first terminal, puts the zone bit of the second message for push.First terminal is used for after receiving the second message, opens and shows this second message, judge whether to respond and return message to the second message according to operational order, if do not return, and process ends.
In the present embodiment, based on gate control system, realize the unidirectional and two-way interacting message between first terminal and the second terminal, making can be freely mutual between the user based on gate control system.Due to the checking by gate inhibition's associated rights, the authenticity of user identity can ensure, and based on gate control system can easily by neighbours each other or each other colleague etc. to connect based on the user of building and link up, achieve the fusion of gate control system and instant messaging.
As described in Figure 7, in one embodiment, also should comprise based on the user interaction device 500 of gate control system: the second message push request receiving module 505, account set determination module 507 and the second message transmission module 509.
Second message push request receiving module 505, for receiving the 3rd message push request carrying the first account, group identification and the 3rd message that first terminal is sent.Account set determination module 507, for determining the 3rd account set corresponding to the first account and group identification.Second message transmission module 509, during for the 3rd account correspondence presence in the 3rd account set being detected, being sent to the 3rd message and carrying out logging in and the third terminal verified by gate inhibition's associated rights with the 3rd account of corresponding presence.
Particularly, should can be used for setting up communication group based on gate control system based on the user interaction device 500 of gate control system, such as virtual community group, group of architectural control department, and can designated group keeper, the authorization role of entrance guard management person has the authority arranging group's authority, designated group keeper and interpolation, rejecting group member.Should be used in after each terminal logs in based on user interaction device 500 of gate control system, roll off the production line message etc. respectively to each terminal distribution buddy list, good friend's on-line message and good friend.User interaction device 500 based on gate control system can be used for circulating and reads the message that will push, and the connection of the new terminal of circular wait enters.
Second message push request receiving module 505 can be used for processing various types of message, and the message of every type identifies with corresponding value of statistical indicant.Wherein the type of message can include but not limited to online buddy list, good friend's on-line message, good friend rolls off the production line message, message push request, search group, add group, adhere to group, exit group, reject group member and amendment user property etc.
User interaction device 500 based on gate control system can be used for group identification, the first account and the 3rd account set to carry out corresponding stored, for representing the first account and the 3rd account set group relation based on this group identification.The terminal that the account with group relation logs in can carry out multi-party communication.Concrete first terminal can be used for sending to the user interaction device 500 based on gate control system the 3rd message push request carrying the first account, group identification and the 3rd message, second message push request receiving module 505 is for receiving the 3rd message push request, and account set determination module 507 is for determining the 3rd account set corresponding to the first account wherein and this group identification.Second message transmission module 509 for detecting the whether corresponding presence of each the 3rd account in the 3rd account set, for corresponding presence the 3rd account directly to carry out logging in the 3rd account of corresponding presence and the third terminal verified by gate inhibition's associated rights send the 3rd message.For the 3rd account of not corresponding presence, then temporary 3rd message also continues to detect its state, until when its corresponding presence being detected, then the 3rd message is sent to carry out logging in and the third terminal verified by gate inhibition's associated rights with the 3rd account of corresponding presence.
In the present embodiment, based on gate control system, realize the interacting message based on group between multiple terminal, making can be freely mutual between the user based on gate control system.Due to the checking by gate inhibition's associated rights, the authenticity of user identity can ensure, and based on gate control system can easily by neighbours each other or each other colleague etc. to connect based on the user of building and link up, achieve the fusion of gate control system and instant messaging.
In one embodiment, the account for logging in generates according to ID (identity number) card No..Here comprise above-mentioned first account, the second account and the 3rd account for the account logged in.Account generates according to ID (identity number) card No., can be that account itself adopts ID (identity number) card No., or account is unique identification ID (identity number) card No. obtained through coding.In the present embodiment, account for logging in generates according to ID (identity number) card No., ensure the authenticity of user identity, use government authority preferably, set up the interactive channel of straight-through rental house community management, integrate, play societal forces and provide comprehensive, multi-level community service for rental house inhabitation colony.Functional department also extensively can obtain and relate to rental house, the hidden danger of floating population, contradiction, rational demand and opinions and suggestions simultaneously.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.