CN113112662B - 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
- CN113112662B CN113112662B CN202110403252.9A CN202110403252A CN113112662B CN 113112662 B CN113112662 B CN 113112662B CN 202110403252 A CN202110403252 A CN 202110403252A CN 113112662 B CN113112662 B CN 113112662B
- Authority
- CN
- China
- Prior art keywords
- group
- electronic key
- app
- access control
- entrance guard
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000010276 construction Methods 0.000 claims abstract description 4
- 239000003990 capacitor Substances 0.000 claims description 9
- 238000013475 authorization Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 241000700189 Hystrix <Rodentia> Species 0.000 description 1
- 240000007651 Rubus glaucus Species 0.000 description 1
- 235000011034 Rubus glaucus Nutrition 0.000 description 1
- 235000009122 Rubus idaeus Nutrition 0.000 description 1
- 238000007792 addition Methods 0.000 description 1
- 230000004931 aggregating effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
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 access key and the management of door access 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 to the server to obtain a set of "the group where the user is located" through a user identification document (Token) in the App, 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.
Preferably, in step S2, the user is still in a 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 a "subheading" of the group, and if the message is not seen before, a red dot is displayed on the right side of the group.
Preferably, in step S3, the access control authority management background provides a service interface, so that when the access control 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 access control device receives the signal instruction for unlocking through a network, the access control device sets a high level to the capacitor of the power supply of the control door lock through a program of the access control device itself to realize unlocking.
Preferably, in step S4, the group is required to bind building door information, the door access device is associated with the building door through 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 a group number to the door access authority management background, the App background finds out a corresponding "electronic key" set through a link between the group and the 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 authority management background.
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 mode 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.
Preferably, 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.
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 for entrance guard and managing the entrance guard authority, and the electronic key is integrated with a plurality of entrance guard systems, so that the entrance guard equipment can be unlocked by a user conveniently.
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 group of chat software according to 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 (4) logging unlocking.
Further, in the step S1, the user opens the mobile phone chat software App, and goes to the server to obtain a set of "the group where the user is located" through a user identification document (Token) in the App, 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.
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 a 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 a "subheading" of the group, and if the message is not seen before, a red dot needs to be displayed on the right side of the group.
Furthermore, in step S3, the access control authority management backend provides a service interface, and 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.
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 above the group, the electronic key is displayed in an icon and character manner, and the App background unlocking program method is bound.
Profile information, big data portrait labels of users and authorized electronic key information in each access control system are managed through Spring Cloud Bus, and are provided for an electronic key interface of a 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 mode 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, and unlocking is achieved.
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 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.
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 capacity, and users who are changed in authorization (such as addition, modification, deletion, and invalidation of access control authorization) are 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 the RedisManager class, and blocking a large amount of data of the access control equipment by high-availability distributed clusters 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 (5)
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: logging an unlocking log;
in the step S3, the entrance guard authority management background provides a service interface, when the entrance guard equipment is connected with the background, a building door lock is registered and bound, the building door lock is kept on line through socket connection, an unlocking signal instruction is received at any time, and after the entrance guard equipment receives the unlocking signal instruction through a network, a high level is set for a capacitor of a control door lock power supply through a program of the entrance guard equipment to realize unlocking;
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 set of the electronic key through a link of the group-building-door access device, and then displays the set of the electronic key on the group, the electronic key is displayed in an icon and character mode, and the App background is bound to unlock the door access device.
2. The method of claim 1, wherein the method comprises the steps of: in the step S1, the user opens the mobile phone chat software App, and goes to the server to obtain a set of "the group where the user is located" once through a user identification document (Token) in the App, 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 S5, the user clicks the "electronic key" above the group, the App background finds the access control device corresponding to the "electronic key", the unlocking instruction is pushed to the access control device in a network link mode of the socket, the access control device receives the instruction, the capacitor of the high-level control door lock power supply is provided, and the power supply of the door lock can be powered off to realize unlocking.
5. The method of claim 1, wherein the method comprises the steps of: and S6, after the capacitor of the high-level control door lock power supply is called, the access control equipment returns information of successful unlocking 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 CN113112662A (en) | 2021-07-13 |
CN113112662B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114979258B (en) * | 2022-05-24 | 2023-08-29 | 厦门熵基科技有限公司 | Method and system for pushing security system message to chat software |
Family Cites Families (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 |
KR101633506B1 (en) * | 2015-01-15 | 2016-06-24 | 라인플러스 주식회사 | System and method for providing service using social group community |
CN105389870A (en) * | 2015-10-28 | 2016-03-09 | 广州畅联信息科技有限公司 | Entrance guard 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 |
JP7221589B2 (en) * | 2017-10-24 | 2023-02-14 | トヨタ自動車株式会社 | Key information management device, key information management method, key information management program |
CN110415419A (en) * | 2019-08-21 | 2019-11-05 | 杭州享钥科技有限公司 | Electron key share system in access control system based on mobile terminal |
CN112437044B (en) * | 2020-11-03 | 2022-12-13 | 建信金融科技有限责任公司 | Instant messaging method and device |
-
2021
- 2021-04-15 CN CN202110403252.9A patent/CN113112662B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN113112662A (en) | 2021-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103441986B (en) | Data resource security control method in thin client mode | |
US8990889B2 (en) | System and method for physical access control | |
CN107835195B (en) | Distributed network application node integrated management method | |
CN103607416B (en) | A kind of method and application system of the certification of network terminal machine identity | |
CN102171712A (en) | Identity and authentication system using aliases | |
CN101729541B (en) | Method and system for accessing resources of multi-service platform | |
CN110021086A (en) | A method of the temporary Authorization opening gate based on openid | |
CN108111334B (en) | Integration system and method of network application node | |
CN111833507A (en) | Visitor authentication method, device, equipment and computer readable storage medium | |
US20200380808A1 (en) | Access Control for Property Management | |
CN108734812A (en) | Remote unlocking method, apparatus based on ZigBee and system | |
CN113112662B (en) | Method for realizing access control electronic key and access control authority management in mobile phone chat software group | |
CN115510496A (en) | Database access control method and related device | |
CN113904821A (en) | An identity authentication method and device, and a readable storage medium | |
CN204206222U (en) | Cloud server and integrated management system | |
CN111478894B (en) | External user authorization method, device, equipment and readable storage medium | |
CN111784901A (en) | Cloud access control system based on cloud computing and mobile internet and implementation method | |
CN114297598B (en) | User permission processing method and device | |
CN104994086B (en) | A kind of control method and device of data-base cluster permission | |
JP2018013875A (en) | Access management system | |
CN110097486A (en) | A kind of movable police verification core recording system | |
CN111159689A (en) | Method and system for supporting unified user management of multiple systems | |
CN113497806B (en) | Remote login method, device and storage medium | |
CN112733118B (en) | Cloud security product user management method, device and system and readable storage medium | |
CN114202840B (en) | Authentication control method, device and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |