CN113112662A - Method for realizing access control electronic key and access control authority management in mobile phone chat software group - Google Patents
Method for realizing access control electronic key and access control authority management in mobile phone chat software group Download PDFInfo
- Publication number
- CN113112662A CN113112662A CN202110403252.9A CN202110403252A CN113112662A CN 113112662 A CN113112662 A CN 113112662A CN 202110403252 A CN202110403252 A CN 202110403252A CN 113112662 A CN113112662 A CN 113112662A
- Authority
- CN
- China
- Prior art keywords
- group
- electronic key
- app
- entrance guard
- access control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/30—Individual registration on entry or exit not involving the use of a pass
- G07C9/32—Individual registration on entry or exit not involving the use of a pass in combination with an identity check
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/214—Monitoring or handling of messages using selective forwarding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Lock And Its Accessories (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention relates to a method for realizing the use of an electronic key of an entrance guard and the management of entrance guard permission in a mobile phone chat software group, which comprises the following steps: s1: the chat software APP user group is established and dispersed; s2: obtaining chat group messages; s3: chat software APP entrance guard authority management and network construction; s4: obtaining an APP electronic key by chat software; s5: unlocking by using an electronic key; s6: and (6) logging the unlocking log. This a use entrance guard's electronic key and implementation method of management entrance guard's permission in cell-phone chat software group, use entrance guard's electronic key and management entrance guard's permission with cell-phone chat software group, it is the electronic key of integrated a plurality of access control systems moreover, very big convenience of customers unlocks entrance guard's equipment, the user has the key of 3 entrance guards although this user all has user's identity in 3 access control systems, but we can be according to the cell-phone number, merge and become a user, put in data bus.
Description
Technical Field
The invention relates to the technical field of door authority management, in particular to a method for realizing the use of an electronic door control key and the management of door control authority in a mobile phone chat software group.
Background
At present, the group of the known chatting software refers to that people with the same hobbies or characteristics are gathered together to be chatted and exchanged (the definition description is derived from Baidu encyclopedia, and the group in the chatting software).
The existing software can only integrate the functions of the residential/office access control unit through small programs and public numbers, cannot define templates, styles and click behaviors of messages by self, and cannot integrate the functions of the residential/office access control unit on a group chat picture.
The crowd in each access control unit has common attributes, characteristics and people in the same area, but at present, the crowd can automatically enter a chat group according to the authorization of the access control unit to communicate with cell affairs and office affairs.
Aiming at the requirements of people of the type and the defects of the current mobile phone application software, the invention provides a method for realizing the use of an electronic door control key and the management of door control permission in a mobile phone chat software group.
Disclosure of Invention
The invention aims to provide a method for realizing the use of an electronic door control key and the management of door control authority in a mobile phone chat software group, which aims to solve the problems that the functions of a resident/office door control unit can only be integrated through a small program and a public number, the template, the style and the click behavior of a message cannot be defined by users, and the functions of the resident/office door control unit cannot be integrated on a group chat picture in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme: a realization method for using an electronic key of entrance guard and managing entrance guard authority in a mobile phone chat software group is characterized in that: the method comprises the following steps:
s1: the chat software APP user group is established and dispersed;
s2: obtaining chat group messages;
s3: chat software APP entrance guard authority management and network construction;
s4: obtaining an APP electronic key by chat software;
s5: unlocking by using an electronic key;
s6: and (6) logging the unlocking log.
Preferably, in step S1, the user opens the mobile phone chat software App, and goes through the user identification document (Token) in the App to the server to obtain a set of "the group it is in", and if the group is dismissed or the user is kicked out of the group, the App deletes the data of the group from the local database and does not show the group.
Preferably, in step S2, the user is still in the group, the latest message of each group is to be obtained from the instant messaging server message cache, and when the App displays the group, the last message content and time of each group need to be displayed in the group list as the "subheading" of the group, and if the message is not viewed before, the red dot is displayed on the right side of the group.
Preferably, in step S3, the access control authority management backend provides a service interface, so that when the access control device is connected to the backend, the building door lock is registered and bound, and the access control device is kept online through socket connection, and receives the signal instruction of unlocking at any time, and after the access control device receives the signal instruction of unlocking through the network, the access control device sets a high level to the capacitor of the control door lock power supply to realize unlocking through the program of the access control device.
Preferably, in step S4, the group needs to bind information of the building door, the door access device is associated with the building door, the door access device is hardware, the corresponding software information is an "electronic key", the user opens one of the groups, the App transmits the group number to the door access authority management background, the App background finds out a corresponding "electronic key" set through a link of the group-building-door access device, and then displays the "electronic key" set above the group, the electronic key is displayed in an icon and character manner, and the App background unlocking program method is bound.
Preferably, in step S5, when the user clicks the "electronic key" above the group, the App background will find the access control device corresponding to the "electronic key", and push the unlocking instruction to the access control device through the network link of the socket, and after the access control device receives the instruction, the capacitor of the high-level control door lock power supply is given, so that the power supply of the door lock can be powered off, and the unlocking is realized.
Preferably, in step S6, after the capacitor of the high-level control door lock power supply is called, the access control device returns a successful unlocking message to the App server, and the server registers a log of successful unlocking.
Compared with the prior art, the invention has the beneficial effects that: the implementation method for using the electronic key of the entrance guard and managing the entrance guard authority in the mobile phone chat software group comprises the following steps:
1. the mobile phone chat software group is used for using the electronic key of the entrance guard and managing the entrance guard authority, and the electronic key is integrated with a plurality of entrance guard systems, so that the user can conveniently unlock the entrance guard equipment.
2. People who obtain access control authorization have common attributes and characteristics and are in the same area, and the people need to communicate in the known chat software in the current chat, and cannot join all the people due to the limitation of the number of the people, and do not have a way to join the groups to participate in the communication; they have to use another piece of access software to use the access. At present, the users can communicate in groups directly through mobile phone chat software apps, and the groups are divided according to the access control units.
3. Suppose that 1 user lives in a certain cell, mostly goes to a certain office building to work, and a small amount of time goes to the factory for meeting, then the user has 3 keys for entrance guard. And when the user goes to different places, the user enters different chat interfaces to open corresponding access control systems, and although the user has user identities in 3 access control systems, the user identities are combined into one user according to the mobile phone number and placed in a data bus.
Drawings
FIG. 1 is a flow chart of information processing according to the present invention;
FIG. 2 is a timing diagram illustrating access control and access control permissions management for a chat software group in accordance with the present invention;
FIG. 3 is a diagram of the microservice registering and accessing different interface access control systems to a DataBus according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention are clearly and completely described, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a technical scheme that: a realization method for using an electronic key of entrance guard and managing entrance guard authority in a mobile phone chat software group is characterized in that: the method comprises the following steps:
s1: the chat software APP user group is established and dispersed;
s2: obtaining chat group messages;
s3: chat software APP entrance guard authority management and network construction;
s4: obtaining an APP electronic key by chat software;
s5: unlocking by using an electronic key;
s6: and (6) logging the unlocking log.
Further, in step S1, the user opens the mobile phone chat software App, and goes through the user identification document (Token) in the App to the server to obtain a set of "the group where the user is located", and if the group is dismissed or the user is kicked out of the group, the App deletes the data of the group from the local database, and does not display the group.
And (3) synchronizing the users of all the access control systems to a data Bus of the platform by using a mechanism of KafkaMessageQueue, and realizing the function of a message Bus by using Spring Cloud Bus.
Further, in step S2, the user is still in the group, the latest message of each group is to be obtained from the instant messaging server message cache, when the App displays the group, the last message content and time of each group need to be displayed in the group list as the "subheading" of the group, and if the message is not seen before, the red dot is displayed on the right side of the group.
Furthermore, in step S3, the entrance guard authority management backend provides a service interface, and when the entrance guard device is connected to the backend, the building door lock is registered and bound, and the entrance guard device is kept online through socket connection, and receives the signal instruction of unlocking at any time, and after the entrance guard device receives the signal instruction of unlocking through the network, the entrance guard device sets a high level to the capacitor of the control door lock power supply to realize unlocking through the program of the entrance guard device itself.
Further, in step S4, the group needs to bind information of the building door, the door access device is associated with the building door, the door access device is hardware, the corresponding software information is an "electronic key", the user opens one of the groups, the App transmits the group number to the door access authority management background, the App background finds out a corresponding "electronic key" set through a link of the group-building-door access device, and then displays the "electronic key" set on the group, the electronic key is displayed in an icon and character manner, and the App background is bound to unlock the door access device.
The Profile information, the big data portrait label and the authorized electronic key information in each access control system of the user are managed through a Spring Cloud Bus, and are provided for the electronic key interface of the chat picture to call and extract data.
Furthermore, in step S5, when the user clicks the "electronic key" above the group, the App background will find the access control device corresponding to the "electronic key", and push the unlocking instruction to the access control device through the network link of the socket, and after receiving the instruction, the access control device gives the capacitor of the high-level control door lock power supply, so that the power supply of the door lock can be powered off to unlock the door lock.
And displaying and function calling of an unlocking button of the access control unit are completed by using a Render mechanism of Android and Object-c/Swift and a mechanism of registration events, and the access control system is driven to be unlocked.
And a standard interface is provided, so that other access controls can be accessed to the chat software APP platform.
Further, in step S6, after the capacitor of the high-level control door lock power supply is called, the access control device returns a successful unlocking message to the App server, and the server registers a log of successful unlocking.
The entrance guard machine integrating different brands/technologies (including but not limited to MCU, Android, Raspberry Pi, Orange Pi, Nano Pi, Arduino and other system technologies) by selecting micro-service has the following advantages:
each microservice is small and we only need to integrate the access units and users of the access system (access units, including information such as city, building/cell name/campus/factory, gate, building door, garage door, house number, user's cell phone number, owner/resident/tenant/visitor, etc.).
The micro-service is easy to modify and maintain, and even if one access control unit makes a mistake, the use of other access control units cannot be influenced.
Each microservice has its own storage capability, and users who are changed to be authorized (such as addition, modification, deletion, and invalidation of access control authorization) can be written into the original database of the access control unit.
By adopting the Spring Cloud Netflix micro-service solution, the used modules comprise: service discovery (Eureka), breaker (Hystrix), smart road (Zuul), client load balancing (Ribbon).
We use the discovery module Eureka of Spring Cloud Netflix to complete the discovery and registration of each entrance guard system unit.
The access control system unit may change greatly, and the scenes of newly adding equipment, replacing equipment and removing damaged equipment are more. The solution is to introduce an API Gateway (API Gateway). It is a single entry point to each access control system for processing requests by routing the request to the appropriate back-end service or by invoking multiple back-end services and aggregating the results.
Writing data of the access control equipment into a cache by calling setString, pushList and setHash methods in a RedisManager class, and blocking a large amount of data of the access control equipment by a high-availability distributed cluster of a plurality of servers; the data of the access control equipment are loaded through preloading, lazy loading and batch processing, and the data comprise the name of the electronic key, the available state of the electronic key and icon picture link of the state
Although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that various changes in the embodiments and/or modifications of the invention can be made, and equivalents and modifications of some features of the invention can be made without departing from the spirit and scope of the invention.
Claims (7)
1. A realization method for using an electronic key of entrance guard and managing entrance guard authority in a mobile phone chat software group is characterized in that: the method comprises the following steps:
s1: the chat software APP user group is established and dispersed;
s2: obtaining chat group messages;
s3: chat software APP entrance guard authority management and network construction;
s4: obtaining an APP electronic key by chat software;
s5: unlocking by using an electronic key;
s6: and (6) logging the unlocking log.
2. The method of claim 1, wherein the method comprises the steps of: in step S1, the user opens the mobile phone chat software App, goes to the server through the user identification document (Token) in the App to obtain a set of "the group where the user is located", and if the group is dismissed or the user is kicked out of the group, the App deletes the data of the group from the local database and does not show the group.
3. The method of claim 1, wherein the method comprises the steps of: in step S2, the user is still in the group, the latest message of each group is to be obtained from the message cache of the instant messaging server, when the App displays the group, the last message content and time of each group need to be displayed in the group list as the "subheading" of the group, and if the message is not seen before, a red dot is displayed on the right side of the group.
4. The method of claim 1, wherein the method comprises the steps of: in the step S3, the entrance guard authority management background provides a service interface, so that when the entrance guard device is connected to the background, the building door lock is registered and bound, and the door lock is kept online through socket connection, and receives a signal instruction for unlocking at any time, and after the entrance guard device receives the signal instruction for unlocking through the network, the entrance guard device sets a high level for controlling the capacitor of the door lock power supply to realize unlocking through the program of the entrance guard device.
5. The method of claim 1, wherein the method comprises the steps of: in the step S4, the group needs to bind information of the building door, the door access device is associated with the building door, the door access device is hardware, the corresponding software information is an "electronic key", the user opens one of the groups, the App transmits the group number to the door access authority management background, the App background finds out a corresponding "electronic key" set through a link of the group-building-door access device, and then displays the "electronic key" set above the group, the electronic key is displayed in an icon and character manner, and the App background is bound to unlock the door access device.
6. The method of claim 1, wherein the method comprises the steps of: in step S5, when the user clicks the "electronic key" above the group, the App background will find the access control device corresponding to the "electronic key", and push the unlocking instruction to the access control device through the network link of the socket, and after the access control device receives the instruction, the capacitor of the high-level control door lock power supply is given, so that the power supply of the door lock can be powered off, and the door lock can be unlocked.
7. The method of claim 1, wherein the method comprises the steps of: in the step S6, after the capacitor of the high-level control door lock power supply is called, the access control device returns a successful unlocking message to the App server, and the server registers a log of successful unlocking.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110403252.9A CN113112662B (en) | 2021-04-15 | 2021-04-15 | Method for realizing access control electronic key and access control authority management in mobile phone chat software group |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110403252.9A CN113112662B (en) | 2021-04-15 | 2021-04-15 | Method for realizing access control electronic key and access control authority management in mobile phone chat software group |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113112662A true CN113112662A (en) | 2021-07-13 |
CN113112662B CN113112662B (en) | 2022-11-01 |
Family
ID=76716982
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110403252.9A Active CN113112662B (en) | 2021-04-15 | 2021-04-15 | Method for realizing access control electronic key and access control authority management in mobile phone chat software group |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113112662B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114979258A (en) * | 2022-05-24 | 2022-08-30 | 厦门熵基科技有限公司 | Method and system for pushing security system message to chat software |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014038790A1 (en) * | 2012-09-10 | 2014-03-13 | 주식회사 원더피플 | Method and system for linking chat service to application service |
US20160212072A1 (en) * | 2015-01-15 | 2016-07-21 | LINE Plus Corporation | Service system for providing service using social group community function and method therefor |
WO2017071249A1 (en) * | 2015-10-28 | 2017-05-04 | 广州畅联信息科技有限公司 | Access management method and system |
WO2019021048A1 (en) * | 2017-07-24 | 2019-01-31 | Yogesh Chunilal Rathod | Ephemeral content sharing and connecting users based on sharing unique link from 3r parties' applications and storing and relating unique identity or code of link sharing user with link accessing user |
CN109697774A (en) * | 2017-10-24 | 2019-04-30 | 丰田自动车株式会社 | Key information managing device, key information management method and recording medium |
CN110415419A (en) * | 2019-08-21 | 2019-11-05 | 杭州享钥科技有限公司 | Electron key share system in access control system based on mobile terminal |
CN112437044A (en) * | 2020-11-03 | 2021-03-02 | 建信金融科技有限责任公司 | Instant messaging method and device |
-
2021
- 2021-04-15 CN CN202110403252.9A patent/CN113112662B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014038790A1 (en) * | 2012-09-10 | 2014-03-13 | 주식회사 원더피플 | Method and system for linking chat service to application service |
US20160212072A1 (en) * | 2015-01-15 | 2016-07-21 | LINE Plus Corporation | Service system for providing service using social group community function and method therefor |
WO2017071249A1 (en) * | 2015-10-28 | 2017-05-04 | 广州畅联信息科技有限公司 | Access management method and system |
WO2019021048A1 (en) * | 2017-07-24 | 2019-01-31 | Yogesh Chunilal Rathod | Ephemeral content sharing and connecting users based on sharing unique link from 3r parties' applications and storing and relating unique identity or code of link sharing user with link accessing user |
CN109697774A (en) * | 2017-10-24 | 2019-04-30 | 丰田自动车株式会社 | Key information managing device, key information management method and recording medium |
CN110415419A (en) * | 2019-08-21 | 2019-11-05 | 杭州享钥科技有限公司 | Electron key share system in access control system based on mobile terminal |
CN112437044A (en) * | 2020-11-03 | 2021-03-02 | 建信金融科技有限责任公司 | Instant messaging method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114979258A (en) * | 2022-05-24 | 2022-08-30 | 厦门熵基科技有限公司 | Method and system for pushing security system message to chat software |
CN114979258B (en) * | 2022-05-24 | 2023-08-29 | 厦门熵基科技有限公司 | Method and system for pushing security system message to chat software |
Also Published As
Publication number | Publication date |
---|---|
CN113112662B (en) | 2022-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8990889B2 (en) | System and method for physical access control | |
CN107835195B (en) | Distributed network application node integrated management method | |
WO2017140240A1 (en) | Guest authentication method and system | |
CN103441986A (en) | Data resource security control method in thin client mode | |
CN103607416B (en) | A kind of method and application system of the certification of network terminal machine identity | |
CN114168529B (en) | Archive management system based on cloud archive | |
CN102171712A (en) | Identity and authentication system using aliases | |
CN103366255A (en) | Innovative social management intelligent network platform | |
CN106411857A (en) | Private cloud GIS service access control method based on virtual isolation mechanism | |
CN108111334B (en) | Integration system and method of network application node | |
CN110021086A (en) | A method of the temporary Authorization opening gate based on openid | |
JP2020144446A (en) | Face recognition management server and face recognition management method | |
CN111478894B (en) | External user authorization method, device, equipment and readable storage medium | |
CN112910904A (en) | Login method and device of multi-service system | |
CN113112662B (en) | Method for realizing access control electronic key and access control authority management in mobile phone chat software group | |
CN111784901A (en) | Cloud access control system based on cloud computing and mobile internet and implementation method | |
CN104994086B (en) | A kind of control method and device of data-base cluster permission | |
CN103516674B (en) | Quickly and the method for network device online and control device | |
JP2018013875A (en) | Access management system | |
US20200380808A1 (en) | Access Control for Property Management | |
CN106330899A (en) | Private cloud device account management method and system, electronic device and server | |
CN111159689A (en) | Method and system for supporting unified user management of multiple systems | |
CN110866855A (en) | License issuing and safety management system based on block chain | |
CN114297598B (en) | User permission processing method and device | |
CN115510496A (en) | Database access control method and related device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |