CN111192393B - Network door opening method and device and computer equipment - Google Patents

Network door opening method and device and computer equipment Download PDF

Info

Publication number
CN111192393B
CN111192393B CN201910887845.XA CN201910887845A CN111192393B CN 111192393 B CN111192393 B CN 111192393B CN 201910887845 A CN201910887845 A CN 201910887845A CN 111192393 B CN111192393 B CN 111192393B
Authority
CN
China
Prior art keywords
access control
identifier
door opening
server
address information
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
Application number
CN201910887845.XA
Other languages
Chinese (zh)
Other versions
CN111192393A (en
Inventor
刘哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910887845.XA priority Critical patent/CN111192393B/en
Publication of CN111192393A publication Critical patent/CN111192393A/en
Application granted granted Critical
Publication of CN111192393B publication Critical patent/CN111192393B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The application relates to a network door opening method, a network door opening device and computer equipment, wherein the method comprises the following steps: receiving a door opening request sent by a first server, wherein the door opening request carries a door opening identifier, and acquiring corresponding address information and a user identifier according to the door opening identifier, wherein the door opening identifier is passed by the first server through real-name authentication; searching the associated access control equipment information according to the user identification address information, and determining a target access control equipment identification according to the user identification access control equipment information; and sending the target access control equipment identifier and the user identifier to a second server so that the second server controls the corresponding target access control equipment to open the door according to the target access control equipment identifier when verifying that the target access control equipment identifier and the user identifier pass through. The scheme provided by the application can improve the security of network door opening.

Description

Network door opening method and device and computer equipment
Technical Field
The application relates to the technical field of internet, in particular to a network door opening method and device and computer equipment.
Background
With the rapid development of smart phones and smart devices and the maturity of the technology of the internet of things, the problems exposed by traditional mechanical door locks are more and more, and electronic access control becomes the first choice of modern property. At present, people start to open doors through networks by using APP (Application, mobile phone software) access control applications. However, opening the door through the APP access control application, access control manufacturers have a high difficulty in checking user identity information, and are difficult to confirm the true identities of users, for example, some users use false identity registration due to privacy problems, and access control manufacturers have a high difficulty in checking. And the false identity is used for opening the door, so that hidden danger exists in the safety.
Disclosure of Invention
Therefore, it is necessary to provide a network door opening method, device and computer equipment for solving the technical problem of potential safety hazard.
A network door opening method comprises
Receiving a door opening request sent by a first server, wherein the door opening request carries a door opening identifier, and acquiring corresponding address information and a user identifier according to the door opening identifier, wherein the door opening identifier is passed by the first server through real-name authentication;
searching the associated access control equipment information according to the user identification address information, and determining a target access control equipment identification according to the user identification access control equipment information;
and sending the target access control equipment identifier and the user identifier to a second server so that the second server controls the corresponding target access control equipment to open the door according to the target access control equipment identifier when verifying that the target access control equipment identifier and the user identifier pass through.
A network door opener, comprising:
the request receiving module is used for receiving a door opening request sent by the first server, wherein the door opening request carries a door opening identifier, and corresponding address information and a user identifier are obtained according to the door opening identifier, and the door opening identifier is passed by the first server after real-name authentication;
the identification determining module is used for searching the associated access control equipment information according to the address information and determining a target access control equipment identification according to the access control equipment information;
and the door opening module is used for sending the target access control equipment identifier and the user identifier to the second server so as to control the corresponding target access control equipment to open the door according to the target access control equipment identifier when the second server verifies that the target access control equipment identifier and the user identifier pass through.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the program:
receiving a door opening request sent by a first server, wherein the door opening request carries a door opening identifier, and acquiring corresponding address information and a user identifier according to the door opening identifier, wherein the door opening identifier is passed by the first server through real-name authentication;
searching the associated access control equipment information according to the user identification address information, and determining a target access control equipment identification according to the user identification access control equipment information;
and sending the target access control equipment identifier and the user identifier to a second server so that the second server controls the corresponding target access control equipment to open the door according to the target access control equipment identifier when verifying that the target access control equipment identifier and the user identifier pass through.
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to perform the steps of:
receiving a door opening request sent by a first server, wherein the door opening request carries a door opening identifier, and acquiring corresponding address information and a user identifier according to the door opening identifier, wherein the door opening identifier is passed by the first server through real-name authentication;
searching the associated access control equipment information according to the user identification address information, and determining a target access control equipment identification according to the user identification access control equipment information;
and sending the target access control equipment identifier and the user identifier to a second server so that the second server controls the corresponding target access control equipment to open the door according to the target access control equipment identifier when verifying that the target access control equipment identifier and the user identifier pass through.
According to the network door opening method, the network door opening device, the computer readable storage medium and the computer equipment, the corresponding address information and the corresponding user identification are obtained according to the door opening identification passing the real-name authentication, and the reliability of the user identity is ensured. Then, a door opening request is sent to the access control platform server through the first server, the door opening request carries a door opening identifier, and the access control platform server enables the second server to control the corresponding target access control equipment to open the door according to the door opening identifier, so that the network door opening safety is improved.
Drawings
FIG. 1 is a diagram of an exemplary network-based door opening system;
FIG. 2 is a flow chart illustrating a method for opening a door in a network according to an embodiment;
FIG. 3 is a schematic diagram of an interface for a public number for opening a door in one embodiment;
fig. 4 is a schematic flow chart illustrating access control device information associated with address information in one embodiment;
FIG. 5 is a flow diagram that illustrates user registration, according to one embodiment;
fig. 6 is a schematic flow chart illustrating the process of acquiring the identifier of the target access control device in one embodiment;
FIG. 7 is a schematic interface diagram of an applet web page in one embodiment;
FIG. 8 is a schematic diagram of an interface of a list of identifiers for access control devices in one embodiment;
FIG. 9 is a schematic flow chart diagram illustrating the generation of an applet web page in one embodiment;
FIG. 10 is a flow diagram illustrating the process of encrypting a transmission in one embodiment;
FIG. 11 is a flow diagram illustrating matching of a second server in one embodiment;
FIG. 12 is a timing diagram of a network door opening method in one embodiment;
fig. 13 is a block diagram showing the construction of a network door opener according to an embodiment;
FIG. 14 is a block diagram showing a configuration of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is an application environment diagram of a network door opening method in an embodiment. Referring to fig. 1, the door opening method is applied to a network door opening system. The network door opening system comprises a user terminal 102, a first server 104, a door control platform server 106, a second server 108 and various door control devices. The user terminal 102 is connected to the first server 104 through a network, the first server is connected to the access platform server 106 through a network, the access platform server is connected to the second server 108 through a network, and the second server 108 is connected to each access device through a network. The user terminal 102 may be a desktop terminal or a mobile terminal, and the mobile terminal may be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. Each server may be implemented as a stand-alone server or as a server cluster comprised of multiple servers.
Specifically, the user terminal 102 sends a door opening instruction to the first server 104, the first server receives the door opening instruction to obtain a door opening identifier, and then sends a door opening request to the access platform server 106, the access platform server 106 receives the door opening request sent by the first server 104, the door opening request carries the door opening identifier, corresponding address information and a user identifier are obtained according to the door opening identifier, and the door opening identifier is passed through real-name authentication by the first server 104; the access control platform server 106 searches the associated access control equipment information according to the address information and determines a target access control equipment identifier according to the access control equipment information; the access control platform server 106 sends the target access control device identifier and the user identifier to the second server 108, so that when the second server 108 verifies that the target access control device identifier and the user identifier pass, the corresponding target access control device is controlled to open the door according to the target access control device identifier. For example, when the target access control device corresponding to the target access control device identifier is the access control device 2, the second server 108 may control the access control device 2 to perform a door opening operation.
In one embodiment, as shown in fig. 2, a network door opening method is provided. The embodiment is mainly illustrated by applying the method to the access platform server in fig. 1. Referring to fig. 2, the network door opening method specifically includes the following steps:
s202, a door opening request sent by the first server is received, the door opening request carries a door opening identifier, corresponding address information and a user identifier are obtained according to the door opening identifier, and the door opening identifier is passed through by the first server after real-name authentication.
And the first server is used for sending the door opening identifier to the access control platform server when receiving the door opening request. For example, the access control platform may be a WeChat (chat) server that transmits the micro-signal to the access control platform server.
The door opening identification is the identification of the user in the first server, and the first server passes real-name authentication. The real-name authentication refers to a verification and verification of the authenticity of user data. The method is beneficial to establishing a perfect and reliable Internet credit foundation. There are two general ways of bank card authentication and identity card authentication. The address information refers to a specific address of the user, for example, the address of the user is the number of 3 units 109 in zone 1, zone 2. The user identification is used for uniquely identifying the user in the access control platform.
Specifically, when a user needs to open a door, the first server receives a door opening instruction of the user through the user terminal, obtains a door opening identifier which passes real-name authentication according to the door opening instruction, informs the door opening identifier to the access control platform server in a door opening request mode, the access control platform server receives the door opening request sent by the first server, analyzes the door opening request to obtain the door opening identifier, and obtains corresponding address information and a user identifier according to the door opening identifier.
In one embodiment, as shown in fig. 3, it is a schematic view of the door-opening wesn public interface. The user can send a door opening instruction to the WeChat server through the WeChat public number in the user terminal, specifically, the user clicks a door opening menu configured in the public number, and the user terminal receives the user's instruction of clicking the door opening menu and sends the door opening instruction to the WeChat server.
In a specific embodiment, the user can also send a door opening instruction to the wechat server through the wechat applet in the user terminal.
And S204, searching the associated access control equipment information according to the address information, and determining a target access control equipment identifier according to the access control equipment information.
The access control equipment information refers to specific information of all access control equipment which can be opened by a user, the access control equipment information can be access control equipment identification and the like, and the access control equipment identification can be name, serial number, character string and the like. The target access control device identifier is used to uniquely identify the access control device to be opened by the current user, and the access control device is in a network connection state, such as a 4G (fourth generation mobile phone mobile communication standard) network connection, a 5G (fifth generation mobile communication technology) network connection, a 3G (third generation mobile communication technology) network connection, and so on.
Specifically, the access control platform server finds the associated access control equipment information according to the address information, and determines the target access control equipment identifier from the access control equipment information.
And S206, sending the target access control equipment identifier and the user identifier to a second server so that the second server controls the corresponding target access control equipment to open the door according to the target access control equipment identifier when verifying that the target access control equipment identifier and the user identifier pass through.
The second server is a server of an access control manufacturer and is used for controlling the access control equipment to perform specific operation. The target access control equipment refers to access control equipment to be opened by a user.
Specifically, the entrance guard platform server sends the target entrance guard equipment identification and the user identification to the second server, the second server receives the target entrance guard equipment identification and the user identification, the local entrance guard equipment identification corresponding to the corresponding locally-stored user identification is obtained from the second server, the received target entrance guard equipment identification is matched with the local entrance guard equipment identification, when matching is successful, namely the received target entrance guard equipment identification is consistent with the local entrance guard equipment identification, and then the second server verifies that the target entrance guard equipment identification and the user identification pass through. And then, the second server sends a door opening instruction to the corresponding target access control equipment according to the target access control equipment identifier, and the target access control equipment receives the door opening instruction and performs door opening operation.
In one embodiment, the target access control device returns a door opening completion result to the second server after the door opening operation, and the second server returns the door opening completion result to the user terminal through the access control platform server and the second server when receiving the door opening completion result. And the user terminal receives the door opening completion result and displays the door opening completion result.
In the network door opening method, the corresponding address information and the corresponding user identification are obtained according to the door opening identification passing the real-name authentication, so that the reliability of the user identity is ensured, and the safety of network door opening is improved. Then send the request of opening the door to entrance guard platform server through first server, the request of opening the door carries the sign of opening the door, and entrance guard platform server makes the second server control corresponding target entrance guard equipment according to the sign of opening the door and opens the door, has further improved the security that the network opened the door.
In an embodiment, as shown in fig. 4, before step S202, that is, before receiving a door opening request sent by a first server, where the door opening request carries a door opening identifier, and before acquiring corresponding address information and a user identifier according to the door opening identifier, the method further includes the steps of:
s402, obtaining each address information, and sending each address information to a second server, so that the second server associates each address information with the preset access control device information.
The preset access control device information refers to information of each access control device to be bound which is preset, and can be an access control device identifier and the like.
Specifically, the access control platform server acquires each address information uploaded by the property management terminal, sends each address information to the second server, and the second server receives each address information and associates each address information with each preset access control equipment identifier according to the installation relation between the access control equipment and the specific address.
S404, obtaining the association result returned by the second server.
Specifically, the access control platform server obtains the association result between each address information returned by the second server and the preset access control device information, and can store the association result in the database.
In an embodiment, the second server may also send each access control device identifier and installation relationship to the access control platform server in advance. When the access control platform acquires the address information uploaded by the property management terminal, the address information uploaded by the property management terminal is matched with each specific address in the installation relation, and when the address information uploaded by the property management terminal is matched with each specific address in the installation relation, corresponding access control equipment identifications are obtained. And obtaining the correlation result of each access control equipment identifier and each address information.
In the above embodiment, the access control platform server associates and stores each address information with the preset access control device information in advance, thereby facilitating subsequent use.
In an embodiment, as shown in fig. 5, before step S202, that is, before receiving a door opening request sent by a first server, where the door opening request carries a door opening identifier, and before acquiring corresponding address information and a user identifier according to the door opening identifier, the method further includes the steps of:
s502, receiving a registration request, wherein the registration request carries a door opening identifier and address information, and sending the door opening identifier and the address information to a management terminal so that the management terminal can check the door opening identifier and the address information.
The management terminal is used for obtaining the auditing passing information when the property auditing door opening identification and the address information pass.
Specifically, the user registers after inputting address information through the user terminal. At the moment, the user terminal sends a registration instruction to the first server, and the first server sends a registration request to the access control platform server according to the registration instruction, wherein the registration request carries the door opening identifier and the address information. The access control platform server receives the registration request sent by the first server, analyzes the registration request to obtain the door opening identification and the address information, and sends the door opening identification and the address information to the management terminal so that the management terminal can verify the door opening identification and the address information. For example, a user may send a registration request to the first server through a wechat public number or a wechat applet of the user terminal, where the registration request carries address information and user personal information, and the first server receives the registration request to obtain a micro signal and sends the micro signal, the address information, and the user personal information to the management terminal for auditing. And the management terminal receives the micro-signal, the address information and the user personal information and displays the micro-signal through a micro-signal public number or a micro-signal small program.
In one embodiment, the first server obtains a terminal identifier of a user terminal, determines a current geographic position of the user according to the terminal identifier, obtains room address information filled by the user according to the current geographic position, and obtains the address information according to the current geographic position and the room address information. For example, the first server may obtain a mobile phone number of the user, and obtain information from the current geographic location of the user to the cell according to the mobile phone number. And obtaining the information of the buildings and the rooms input by the user to obtain the address information to be registered by the user.
S504, receiving the auditing passing information of the door opening identification and the address information returned by the management terminal, generating a user identification according to the auditing passing information, and associating the user identification, the door opening identification and the address information.
The auditing passing information is used for indicating that the door opening identification and the address information are correct.
Specifically, the access control platform server receives the audit passing information of the door opening identification and the address information returned by the management terminal, generates a user identification according to the audit passing information, associates the user identification, the door opening identification and the address information, and stores the association relationship into the database.
S506, the user identification and the address information are associated and sent to a second server.
Specifically, the access control platform server also associates and sends the user identifier and the address information to the second server, and the second server receives the user identifier and the address information and stores the user identifier and the address information in an associated manner. And then, the access control platform server returns the information of successful registration to the user terminal.
In the embodiment, the door opening identification authenticated by the real name and the address information are stored in an associated manner when the user registers, so that the accuracy and the safety of the user registration information are ensured.
In an embodiment, as shown in fig. 6, in step S204, that is, searching for the associated access control device information according to the address information, and determining the target access control device identifier according to the access control device information, the method includes the steps of:
and S602, searching the associated access control equipment identification list according to the address information, and generating an applet webpage according to the access control equipment identification list and a preset webpage template.
The access control equipment identification list is a list formed by access control equipment identifications. The preset webpage template refers to a preset template of the applet webpage.
Specifically, the access control platform server searches an associated access control equipment identification list according to the address information, and generates an applet webpage according to the access control equipment identification list and a preset webpage template. For example, the address information is a number 104 of 1 unit in 5 areas, and the list of the associated access control device identifiers may include an area access control device identifier, a number 5 access control device identifier, a number 1 unit access control device identifier, and a number 104 access control device identifier.
S604, the applet webpage is returned to the first server, so that the first server displays the applet webpage on the user terminal, and the target entrance guard equipment identifier selected by the user terminal is obtained.
Specifically, the access control platform server returns the applet webpage to the first server, and the first server receives the applet webpage and sends the applet webpage to the user terminal for display. And the first server acquires a target access control equipment identifier selected by the user from the access control equipment identifier list through the user terminal, and sends the target access control equipment identifier to the access control platform server. In a specific embodiment, as shown in fig. 7, the applet web interface diagram is shown, and the interface diagram includes a news carousel page, i've a gate card and a service hall. And when the user clicks my access control card in the small program webpage interface to view all the access control cards. The user terminal displays an access control device identifier list interface as shown in fig. 8. The user selects the door to be opened in fig. 8, for example, the door access card of the 137 doors is opened, and the first server obtains the 137 doors selected by the user terminal. The 137 chamber door was returned to the access platform server.
In a specific embodiment, the first server may also send the applet web page to the user terminal via a wechat template message.
And S606, acquiring the target access control equipment identifier returned by the first server.
Specifically, the access control platform server obtains a target access control device identifier returned by the first server.
In the embodiment, the access control platform server obtains the target access control equipment identifier selected by the user through the small program, and the operation is convenient and fast.
In an embodiment, as shown in fig. 9, in step S602, searching for an associated access control device identifier list according to the address information, and generating an applet webpage according to the access control device identifier list and a preset webpage template, the method includes the steps of:
s902, obtaining current geographical position information, calculating the distance between the current geographical position information and the address information, and sequencing the entrance guard equipment identifications in the entrance guard equipment identification list according to the distance to obtain a target entrance guard equipment identification list.
The current geographic position information refers to the geographic position where the user is currently located.
Specifically, when a user sends a door opening instruction through a user terminal, the first server pulls current geographical position information of the user according to the door opening instruction and the door opening identifier, the current geographical position information of the user is sent to the access control platform server, and the access control platform server obtains the current geographical position information sent by the first server and calculates the distance between the current geographical position information and the address information. And sequencing the access control equipment identifications corresponding to the address information in the access control equipment identification list from near to far according to the distance. For example, the address information is the number of 2 units 201 of two 3 sectors. The user is currently located at 3 doorways. Calculating the distance from 3 doorways to two-area entrance guard equipment, the distance from 3 doorways to 3 entrance guard equipment, the distance from 3 doorways to 2 units of entrance guard equipment and the distance from 3 doorways to 201 entrance guard equipment, and obtaining the arrangement sequence of an entrance guard equipment identification list from near to far from 3 doorways as 3 entrance guard equipment, 2 units of entrance guard equipment, 201 entrance guard equipment and two-area entrance guard equipment.
And S904, generating an applet webpage by using the target access control equipment identification list and a preset webpage template.
Specifically, the access control platform server generates an applet webpage according to the sorted target access control device list and a preset webpage template.
In the embodiment, the distance between the current geographic position of the user and the address information is calculated, so that the access control equipment identification list is reordered, the access control equipment identifications are ordered according to the distance to obtain the target access control equipment identification list, and the applet webpage is generated according to the target access control equipment identification list and the preset webpage template, so that the use of the user is facilitated, and the user experience is improved.
In one embodiment, the step S204 of searching for the associated access control device information according to the address information and determining the target access control device identifier according to the access control device information includes:
and searching the associated entrance guard equipment identification according to the address information, and taking the associated entrance guard equipment identification as a target entrance guard equipment identification.
Specifically, when the access control platform server finds only one access control equipment identifier according to the address information, the access control equipment identifier is the access control equipment identifier associated with the address information, and then the access control equipment identifier is directly used as the target access control equipment identifier.
In the above embodiment, when only one corresponding access control device identifier is found according to the address information, the found access control device identifier can be directly used as the target access control device identifier, so that the efficiency of obtaining the target access control device identifier is improved.
In one embodiment, as shown in fig. 10, the step S206 of sending the target access control device identifier and the user identifier to the second server includes the steps of:
and S1002, generating a timestamp and a random number, and encrypting the timestamp, the random number, the target access control equipment identifier and the user identifier to obtain the encrypted timestamp, the encrypted random number, the encrypted target access control equipment identifier and the encrypted user identifier.
And S1004, sending the encrypted timestamp, the encrypted random number, the encrypted target access control equipment identifier and the encrypted user identifier to a second server.
Specifically, the access control platform server generates a timestamp and a random number, and encrypts the timestamp, the random number, a target access control device identifier and a user identifier by using a secret key agreed with a device manufacturer in advance. And then, the access control platform server sends the encrypted timestamp, the encrypted random number, the encrypted target access control equipment identifier and the encrypted user identifier to a second server. And when the second server receives the encrypted timestamp, the random number, the target access control equipment identifier and the user identifier, decrypting by using the secret key to obtain the timestamp, the random number, the target access control equipment identifier and the user identifier. And verifying whether the timestamp and the random number are valid, for example, when the time point corresponding to the timestamp is before the current time point, the timestamp is valid. By setting the timestamp and the random number and encrypting, the security of network door opening is further ensured.
In an embodiment, as shown in fig. 11, in step S206, when the second server verifies that the identifier of the target access control device and the user identifier pass, the method controls the corresponding target access control device to open the door according to the identifier of the target access control device, including the steps of:
and S1102, the second server searches the associated address information according to the user identifier, determines the access control equipment information according to the address information, and matches the target access control equipment identifier with the access control equipment information.
Specifically, the second server searches for associated address information according to the user identifier, determines entrance guard equipment information according to the address information, matches the target entrance guard equipment identifier with each entrance guard equipment identifier when each entrance guard equipment identifier is included in the entrance guard equipment information, matches successfully when entrance guard equipment identifiers consistent with the target entrance guard equipment identifiers exist in the entrance guard equipment information, and fails when entrance guard equipment identifiers consistent with the target entrance guard equipment identifiers exist in the entrance guard equipment information. When only including an entrance guard's equipment sign in the entrance guard's equipment information, match target entrance guard's equipment sign and this entrance guard's equipment sign, when target entrance guard's equipment sign is unanimous with this entrance guard's equipment sign, match successfully, when target entrance guard's equipment sign is inconsistent with this entrance guard's equipment sign, match failure.
And S1104, when the matching is successful, sending a door opening instruction to the corresponding target access control device according to the identification of the target access control device, so that the target access control device performs door opening operation according to the door opening instruction.
Specifically, when the matching is successful, the second server sends a door opening instruction to the corresponding target access control device according to the target access control device identifier, the target access control device receives the door opening instruction to perform door opening operation, and a door opening success result is returned to the second server.
In the above embodiment, the target access control equipment identifier of the second server is matched with the access control equipment information, and when the matching is successful, the second server sends a door opening instruction to the target access control equipment, so that the door is opened, and the security of network door opening is improved.
In a specific embodiment, as shown in fig. 12, a schematic timing diagram of a network door opening method is shown, specifically:
a user clicks a remote door through a WeChat public number menu in a user terminal to open the door, the WeChat server receives a door opening instruction, triggers a WeChat menu click event callback, the event callback is sent to an entrance guard platform server, the entrance guard platform server decrypts the door opening identification of the user, acquires a corresponding user address through the door opening identification, acquires all entrance guard equipment information (such as entrance guard equipment information corresponding to a community gate, a building door, a unit door and the like) on a user address path according to the user address information, when a plurality of entrance guard equipment exist on the user address path, the entrance guard platform server sends a small program to the user terminal through a WeChat template message through the WeChat server, the user can click the small program to enter an entrance guard equipment list page to select corresponding target equipment information, and the entrance guard platform server acquires the target equipment information, the method comprises the steps that target equipment information and user information are encrypted and sent to an equipment manufacturer server to request for opening a door, when the equipment manufacturer server receives a request of an access control platform server, a user identifier and a target equipment identifier are obtained through decryption, after verification is passed, the equipment manufacturer server sends a door opening instruction to a corresponding access control machine according to the target equipment identifier, the access control machine performs door opening operation according to the door opening instruction, and after door opening is completed, a door opening result is returned to the equipment manufacturer server. And the equipment manufacturer server sends the door opening result to the access control platform server, and the access control platform server displays the door opening result in the user terminal through the WeChat server. By using a user system of WeChat, the door opening identification cannot be forged, and the security is high. And can open the door remotely in real time, need not improve user experience around entrance guard's equipment.
In one embodiment, the access control platform server generates an access control record according to the access control result, and the access control record records the access control time, the access control identifier, the user identifier and the target access control device identifier.
After entrance guard's platform server generated the record of opening the door, the property can pass through the query of property management terminal record of opening the door, specifically: the property management terminal sends a door opening record query instruction to the access control platform server, the access control platform server acquires a door opening record according to the query instruction, the door opening record is returned to the property management terminal for displaying, the supervision effect can be improved, and the property management level is improved. And a user flow and action track graph can be generated according to the door opening record of the user, so that the property management is facilitated.
In one embodiment, the property management terminal sends a door opening prohibition instruction to the access control platform server, the door opening prohibition instruction carries a user identifier and a target access control device identifier, the access control platform server receives the door opening prohibition instruction, obtains a door opening identifier corresponding to the user identifier and the target access control device identifier, deletes the corresponding relationship between the door opening identifier and the target access control device identifier, and returns prohibition prompt information to the property management terminal.
In one embodiment, when the access control platform server receives the result of successful door opening, the access control platform server acquires prompt information from a third-party server and sends the prompt information to the user according to the user mobile phone number in the user information. The prompt information can be express information, property payment information and the like, and user experience is improved.
It should be understood that although the steps in the various flow diagrams of fig. 2-11 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-11 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 13, there is provided a network door opener 1300, comprising a request receiving module 1302, an identification determining module 1304, and a door opening module 1306, wherein:
a request receiving module 1302, configured to receive a door opening request sent by a first server, where the door opening request carries a door opening identifier, and obtains corresponding address information and a user identifier according to the door opening identifier, where the door opening identifier is that the first server passes real-name authentication;
the identification determining module 1304 is configured to search the associated access control device information according to the address information, and determine a target access control device identification according to the access control device information;
and a door opening module 1306, configured to send the target access control device identifier and the user identifier to the second server, so that when the second server verifies that the target access control device identifier and the user identifier pass through, the corresponding target access control device is controlled to open a door according to the target access control device identifier.
In one embodiment, the network door opener 1300 further includes:
the information association module is used for acquiring each address information and sending each address information to the second server so that the second server associates each address information with the preset access control equipment information;
and the result acquisition module is used for acquiring the correlation result returned by the second server.
In one embodiment, the network door opener 1300 further includes:
a registration request receiving module, configured to receive a registration request, where the registration request carries a door opening identifier and address information, and send the door opening identifier and the address information to the management terminal, so that the management terminal performs an audit on the door opening identifier and the address information
The registration module is used for receiving the audit passing information of the door opening identification and the address information returned by the management terminal, generating a user identification according to the audit passing information, and associating the user identification, the door opening identification and the address information;
and the information sending module is used for associating the user identification with the address information and sending the user identification to the second server.
In one embodiment, the identifier determining module 1304 is further configured to search an associated access control device identifier list according to the address information, and generate an applet webpage according to the access control device identifier list and a preset webpage template; returning the small program webpage to the first server so that the first server displays the small program webpage on the user terminal and acquires a target access control equipment identifier selected by the user terminal; and acquiring the target access control equipment identifier returned by the first server.
In one embodiment, the identifier determining module 1304 is further configured to obtain current geographic position information, calculate a distance between the current geographic position information and the address information, and sort the access control device identifiers in the access control device identifier list according to the distance to obtain a target access control device identifier list; and generating an applet webpage by using the target access control equipment identification list and a preset webpage template.
In an embodiment, the identifier determining module 1304 is further configured to find the associated access control device identifier according to the address information, and use the associated access control device identifier as the target access control device identifier.
In one embodiment, the door opening module 1306 is further configured to generate a timestamp and a random number, and encrypt the timestamp, the random number, the target access control device identifier, and the user identifier to obtain an encrypted timestamp, the encrypted random number, the target access control device identifier, and the user identifier; and sending the encrypted timestamp, the random number, the target access control equipment identifier and the user identifier to a second server.
In an embodiment, the door opening module 1306 is further configured to enable the second server to search for associated address information according to the user identifier, determine access control device information according to the address information, and match the target access control device identifier with the access control device information; and when the matching is successful, sending a door opening instruction to the corresponding target access control equipment according to the target access control equipment identifier so that the target access control equipment performs door opening operation according to the door opening instruction.
FIG. 14 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the access control platform server in fig. 1. As shown in fig. 14, the computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing identification list information, address information and the like of the access control device. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a network door opening method.
Those skilled in the art will appreciate that the architecture shown in fig. 14 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the network door opener provided by the present application may be implemented in the form of a computer program, and the computer program may be run on a computer device as shown in fig. 14. The memory of the computer device may store various program modules constituting the network door opener, such as the request receiving module 1302, the identification determining module 1304, and the door opening module 1306 shown in fig. 13. The computer program constituted by the program modules causes the processor to execute the steps of the network door opening method of the embodiments of the present application described in the present specification.
For example, the computer apparatus shown in fig. 14 may perform step S202 through the request receiving module 1302 in the network door opening device as shown in fig. 13. The computer device may perform S204 by the identification determination module 130. The computer device may perform S206 through the door opening module 1306.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the above-described network door opening method. Here, the steps of the network door opening method may be steps in the network door opening methods of the above-described embodiments.
In one embodiment, a computer readable storage medium is provided, storing a computer program which, when executed by a processor, causes the processor to perform the steps of the above network door opening method. Here, the steps of the network door opening method may be steps in the network door opening methods of the above-described embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (18)

1. A network door opening method comprises the following steps:
receiving a door opening request sent by a first server, wherein the door opening request carries a door opening identifier, and acquiring corresponding address information and a user identifier according to the door opening identifier, wherein the door opening identifier is passed by the first server through real-name authentication, and the door opening identifier enables a second server to control a corresponding target access control device to open a door; the door opening identification and the address information are obtained by receiving a registration request sent by the first server through an access control platform server, analyzing the registration request to obtain the door opening identification and the address information, and sending the door opening identification and the address information to a management terminal so that the management terminal can verify the door opening identification and the address information; searching the associated access control equipment information according to the address information, and determining a target access control equipment identifier according to the access control equipment information;
and sending the target access control equipment identifier and the user identifier to a second server so as to enable the second server to verify that the target access control equipment identifier and the user identifier control the corresponding target access control equipment to open the door when passing through, wherein the second server is a server of an access control manufacturer and is used for controlling the access control equipment to perform specific operation.
2. The method according to claim 1, wherein before the receiving a door opening request sent by a first server, where the door opening request carries a door opening identifier, and acquiring corresponding address information and a user identifier according to the door opening identifier, the method further comprises:
acquiring each address information, and sending each address information to the second server so that the second server associates each address information with preset access control equipment information;
and acquiring the association result returned by the second server.
3. The method according to claim 1, wherein before the receiving a door opening request sent by a first server, where the door opening request carries a door opening identifier, and acquiring corresponding address information and a user identifier according to the door opening identifier, the method further comprises:
receiving a registration request carrying the door opening identification and the address information, and sending the door opening identification and the address information to a management terminal so that the management terminal can verify the door opening identification and the address information
Receiving auditing passing information of the door opening identification and the address information returned by the management terminal, generating a user identification according to the auditing passing information, and associating the user identification, the door opening identification and the address information;
and associating the user identification with the address information and sending the user identification and the address information to the second server.
4. The method of claim 1, wherein the searching for the associated access control device information according to the address information and determining a target access control device identifier according to the access control device information comprises:
searching an associated access control equipment identification list according to the address information, and generating an applet webpage according to the access control equipment identification list and a preset webpage template;
returning the applet webpage to the first server so that the first server displays the applet webpage on a user terminal and acquires a target access control device identifier selected by the user terminal;
and acquiring the target access control equipment identifier returned by the first server.
5. The method of claim 4, wherein searching for an associated access control device identifier list according to the address information, and generating an applet webpage according to the access control device identifier list and a preset webpage template comprises:
acquiring current geographical position information, calculating the distance between the current geographical position information and the address information, and sequencing all entrance guard equipment identifications in the entrance guard equipment identification list according to the distance to obtain a target entrance guard equipment identification list;
and generating an applet webpage by using the target access control equipment identification list and a preset webpage template.
6. The method of claim 1, wherein the searching for the associated access control device information according to the address information and determining a target access control device identifier according to the access control device information comprises:
and searching the associated entrance guard equipment identification according to the address information, and taking the associated entrance guard equipment identification as a target entrance guard equipment identification.
7. The method of claim 1, wherein sending the target access control device identifier and the user identifier to a second server comprises:
generating a timestamp and a random number, and encrypting the timestamp, the random number, the target access control equipment identifier and the user identifier to obtain the encrypted timestamp, the encrypted random number, the encrypted target access control equipment identifier and the encrypted user identifier;
and sending the encrypted timestamp, the random number, the target access control equipment identifier and the user identifier to the second server.
8. The method of claim 1, wherein when the second server verifies that the target access control device identifier and the user identifier pass, controlling a corresponding target access control device to open a door according to the target access control device identifier comprises:
the second server searches the associated address information according to the user identification, determines the access control equipment information according to the address information, and matches the target access control equipment identification with the access control equipment information;
and when the matching is successful, sending a door opening instruction to the corresponding target access control equipment according to the target access control equipment identification so that the target access control equipment performs door opening operation according to the door opening instruction.
9. A network door opener, characterized in that the device comprises:
the system comprises a request receiving module, a first server and a second server, wherein the request receiving module is used for receiving a door opening request sent by the first server, the door opening request carries a door opening identifier, corresponding address information and a user identifier are obtained according to the door opening identifier, the door opening identifier passes real-name authentication of the first server, and the door opening identifier enables the second server to control corresponding target door control equipment to open a door; the door opening identification and the address information are obtained by receiving a registration request sent by the first server through an access control platform server, analyzing the registration request to obtain the door opening identification and the address information, and sending the door opening identification and the address information to a management terminal so that the management terminal can verify the door opening identification and the address information;
the identification determining module is used for searching the associated access control equipment information according to the address information and determining a target access control equipment identification according to the access control equipment information;
and the door opening module is used for sending the target access control equipment identifier and the user identifier to a second server so as to enable the second server to verify that the target access control equipment identifier and the user identifier control the corresponding target access control equipment to open the door when passing through, wherein the second server is a server of an access control manufacturer and is used for controlling the access control equipment to perform specific operation.
10. The apparatus of claim 9, further comprising:
the information association module is used for acquiring each address information and sending each address information to the second server so as to enable the second server to associate each address information with preset access control equipment information;
and the result acquisition module is used for acquiring the association result returned by the second server.
11. The apparatus of claim 9, further comprising:
a registration request receiving module, configured to receive a registration request, where the registration request carries the door opening identifier and the address information, and send the door opening identifier and the address information to a management terminal, so that the management terminal checks the door opening identifier and the address information
The registration module is used for receiving the auditing passing information of the door opening identification and the address information returned by the management terminal, generating a user identification according to the auditing passing information, and associating the user identification, the door opening identification and the address information;
and the information sending module is used for associating the user identification with the address information and sending the user identification to the second server.
12. The apparatus of claim 9, wherein the identifier determining module is further configured to search an associated access control device identifier list according to the address information, and generate an applet webpage according to the access control device identifier list and a preset webpage template; returning the applet webpage to the first server so that the first server displays the applet webpage on a user terminal and acquires a target access control device identifier selected by the user terminal; and acquiring the target access control equipment identifier returned by the first server.
13. The apparatus of claim 9, wherein the identifier determining module is further configured to obtain current geographic location information, calculate a distance between the current geographic location information and the address information, and sort the access control device identifiers in the access control device identifier list according to the distance to obtain a target access control device identifier list; and generating an applet webpage by using the target access control equipment identification list and a preset webpage template.
14. The apparatus of claim 9, wherein the identifier determining module is further configured to find an associated access control device identifier according to the address information, and use the associated access control device identifier as a target access control device identifier.
15. The apparatus of claim 9, wherein the door opening module is further configured to generate a timestamp and a random number, and encrypt the timestamp, the random number, the target access control device identifier, and the user identifier to obtain the encrypted timestamp, the encrypted random number, the encrypted target access control device identifier, and the encrypted user identifier; and sending the encrypted timestamp, the random number, the target access control equipment identifier and the user identifier to the second server.
16. The device according to claim 9, characterized in that the door opening module 1 is further adapted to cause: the second server searches the associated address information according to the user identification, determines the access control equipment information according to the address information, and matches the target access control equipment identification with the access control equipment information; and when the matching is successful, sending a door opening instruction to the corresponding target access control equipment according to the target access control equipment identification so that the target access control equipment performs door opening operation according to the door opening instruction.
17. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 8.
18. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 8.
CN201910887845.XA 2019-09-19 2019-09-19 Network door opening method and device and computer equipment Active CN111192393B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910887845.XA CN111192393B (en) 2019-09-19 2019-09-19 Network door opening method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910887845.XA CN111192393B (en) 2019-09-19 2019-09-19 Network door opening method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN111192393A CN111192393A (en) 2020-05-22
CN111192393B true CN111192393B (en) 2022-04-22

Family

ID=70709068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910887845.XA Active CN111192393B (en) 2019-09-19 2019-09-19 Network door opening method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN111192393B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111768534A (en) * 2020-06-30 2020-10-13 浙江大华技术股份有限公司 Service control method based on biological recognition, acquisition equipment and recognition equipment
CN112489282A (en) * 2020-12-02 2021-03-12 杭州国辰机器人科技有限公司 Entrance guard attendance checking method, system, computer equipment and storage medium
CN114743294A (en) * 2022-03-29 2022-07-12 中汽创智科技有限公司 Unlocking device, shared device unlocking method, device and storage medium
CN114882628B (en) * 2022-07-11 2022-09-23 中海银河科技(北京)有限公司 Data processing method and device, electronic equipment and computer readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105336024A (en) * 2015-09-28 2016-02-17 北京橙鑫数据科技有限公司 Virtual entrance guard card punching method and device
CN205809948U (en) * 2016-06-23 2016-12-14 北京梦想加科技有限公司 A kind of Quick Response Code access information is from Accreditation System
CN108597080A (en) * 2018-04-24 2018-09-28 吴东辉 Door-access control method and device based on instant messaging and system
CN110021096A (en) * 2018-10-29 2019-07-16 深圳市微开互联科技有限公司 System, server, method and the storage medium of access control
CN110021088A (en) * 2018-10-29 2019-07-16 深圳市微开互联科技有限公司 It is distributed the page control open-door system and method for authorization architecture

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2691940B1 (en) * 2011-03-29 2017-10-18 Inventio AG Management of access rights to operating and/or control data from buildings or building complexes
CN106355710A (en) * 2016-08-31 2017-01-25 北京厚文知识产权顾问有限公司 Remotely controlled door control system based on wechat
KR102452528B1 (en) * 2017-11-06 2022-10-12 주식회사 슈프리마에이치큐 Access control system and access control method using the same
CN109285250A (en) * 2018-09-07 2019-01-29 友腾互联(北京)科技有限公司 A kind of intelligent entrance guard control system based on wechat public platform
CN110021084B (en) * 2018-10-29 2021-09-28 深圳市微开互联科技有限公司 Code scanning door opening system and method of distributed authorization architecture

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105336024A (en) * 2015-09-28 2016-02-17 北京橙鑫数据科技有限公司 Virtual entrance guard card punching method and device
CN205809948U (en) * 2016-06-23 2016-12-14 北京梦想加科技有限公司 A kind of Quick Response Code access information is from Accreditation System
CN108597080A (en) * 2018-04-24 2018-09-28 吴东辉 Door-access control method and device based on instant messaging and system
CN110021096A (en) * 2018-10-29 2019-07-16 深圳市微开互联科技有限公司 System, server, method and the storage medium of access control
CN110021088A (en) * 2018-10-29 2019-07-16 深圳市微开互联科技有限公司 It is distributed the page control open-door system and method for authorization architecture

Also Published As

Publication number Publication date
CN111192393A (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN111192393B (en) Network door opening method and device and computer equipment
CN110581860B (en) Identity authentication method, device, storage medium and equipment based on block chain
CN110365670B (en) Blacklist sharing method and device, computer equipment and storage medium
CN107864115B (en) Method for user account login verification by using portable terminal
CN109325342B (en) Identity information management method, device, computer equipment and storage medium
CN108604991B (en) Dual-channel authentication agent system capable of detecting tampering of application program and method thereof
CN104144419B (en) Identity authentication method, device and system
AU2013205396B2 (en) Methods and Systems for Conducting Smart Card Transactions
CN111241555B (en) Access method and device for simulating user login, computer equipment and storage medium
CN111444444A (en) Epidemic prevention health information acquisition method and device
CN110392287B (en) Processing method and device for television screen projection authorization and television screen projection system
CN109684873B (en) Data access control method and device, computer equipment and storage medium
CN110099047B (en) Registration information processing method and device, computer equipment and storage medium
CN104540129A (en) Registration and login method and system for third party application
CN109117616B (en) Verification method and device, electronic equipment and computer readable storage medium
CN109118291B (en) User authentication method and device in advertisement task popularization and computer equipment
CN110474925A (en) Judicial document delivery information sharing method, device and computer readable storage medium
CN111291345A (en) Voiceprint data processing method and device, computer equipment and storage medium
CN110597541A (en) Interface updating processing method, device, equipment and storage medium based on block chain
CN111371755B (en) Voiceprint data processing method and device, computer equipment and storage medium
CN110930193B (en) Advertisement conversion rate evaluation method, advertisement conversion rate evaluation device, computer equipment and storage medium
CN116962021A (en) Method, device, equipment and medium for user real name authentication in financial cooperative institution
CN109544732A (en) Electronic lock connection method, device, electronic equipment and storage medium
CN114741668A (en) Visitor visiting management method, visitor visiting management system, computer equipment and storage medium
CN110580757B (en) Access control equipment opening method and device based on graphic code and storage 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