A visitor pass verification method and device based on optical communication technology
The visitor access verification method through optical communication technology uses optical signal communication to replace physical cards, solving the convenience and security problems of visitor access verification in the existing technology, and realizing low-cost, high-reliability visitor access management.
Patent Information
- Application Number
- CN202211155078.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-22
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-09-22
AI Technical Summary
Among the existing visitor pass verification methods, card verification is inconvenient and has low security, QR code verification equipment is expensive and has loopholes, and face verification equipment is expensive and involves privacy and security issues.
Using a visitor pass verification method based on optical communication technology, the server receives the visitor request and performs manual verification, obtains the public key information of the access control device, encrypts it, converts it into an optical sequence, and conducts it through optical signal communication between the visitor terminal and the access control device. Verification to ensure the safety and convenience of visitor access.
No physical card is required, the equipment cost is low, privacy and security issues are avoided, the reliability of visitor access and the digital management capabilities of managers are improved, and the visitor access experience and site security are improved.
Smart Images

Figure CN115439967B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of optical communication technology, and in particular relates to a visitor pass verification method and device based on optical communication technology. Background Art
[0002] In smart communities and smart parks, personnel access is an important scenario, and visitors, as outsiders, are also the focus of management. To achieve accurate control of access rights, there are currently three common solutions in the industry: card verification, QR code verification, and face verification. All three solutions have shortcomings:
[0003] Card verification: Passengers need to hold a physical card, which is inconvenient to use and easy to lose, posing a security risk.
[0004] QR code verification: The equipment cost is high, the equipment needs to be online in real time for authentication, and the QR code can be screenshot and copied, which has loopholes;
[0005] Face verification: The equipment cost is expensive and involves facial privacy and security. Summary of the invention
[0006] The object of the present invention is to provide a visitor pass verification method and device based on optical communication technology to solve the problems raised in the background technology.
[0007] To achieve the above object, the present invention provides the following technical solutions:
[0008] A visitor pass verification method based on optical communication technology comprises the following steps:
[0009] Step 1: After receiving the visitor request sent by the visitor terminal, the server forwards it to the associated owner terminal for manual verification. After the verification is passed, the visitor information and visitor pass instructions are obtained and stored;
[0010] Step 2: The server obtains the associated access control device number and its public key information based on the visitor information, and uses the public key information and the visitor pass instruction to encrypt the visitor information and convert it into binary code to obtain a first light sequence;
[0011] Step 3, the server sends the visitor information to the corresponding access control device to update the preset visitor information list, and sends the access control device number and the first light sequence to the visitor terminal;
[0012] Step 4, the visitor terminal obtains the visitor pass instruction input by the visitor and converts it into a binary code to obtain a second light sequence;
[0013] Step 5: The corresponding access control device decodes the optical signal emitted by the visitor terminal based on the first optical sequence and the second optical sequence, verifies it through the private key, and releases it after passing the verification.
[0014] Preferably, the visitor request includes the visitor's name, visitor's mobile phone number, owner information and visit time.
[0015] Preferably, the step 1 comprises the following steps:
[0016] Step 1.1, the visitor enters a visitor request in the visitor terminal and sends it to the server;
[0017] Step 1.2, the server receives the visitor request, searches for the associated owner terminal in the owner information association table and sends the request;
[0018] Step 1.3, the owner reviews the visitor request on the owner terminal. If there is a defect in the visitor request, the owner corrects it and enters the visitor pass instruction. Otherwise, the owner directly enters the visitor pass instruction and sends it to the server for storage.
[0019] Preferably, step 2 comprises the following steps:
[0020] Step 2.1, using the owner information as the search factor, querying the access control device number in the owner information association table preset by the server, and searching the corresponding public key information in the preset access control device association table based on the access control device number;
[0021] Step 2.2, after the visitor information is encrypted once using the public key information, the visitor information is encrypted again using the visitor pass instruction to obtain an encrypted visitor sequence;
[0022] Step 2.3, the encrypted visitor sequence is converted into binary code to obtain the first light sequence.
[0023] Preferably, the encryption algorithm of the primary encryption is a hash algorithm to obtain a hash value.
[0024] Preferably, the secondary encryption is to divide the hash value by the visitor pass instruction.
[0025] Preferably, step 5 comprises the following steps:
[0026] Step 5.1, the access control device decodes the optical signal to obtain a first optical sequence and a second optical sequence;
[0027] Step 5.2, obtaining visitor information encrypted using public key information based on the first light sequence and the second light sequence;
[0028] Step 5.3, encrypting the visitor information in the visitor information list based on the private key information to obtain the visitor information encrypted by the private key;
[0029] Step 5.4: compare the visitor information encrypted by the public key with the visitor information encrypted by the private key. If they are consistent, execute step 5.5; otherwise, do not allow access.
[0030] Step 5.5, based on the consistent visitor information in the visitor information list, determine whether the current time is within the access time. If so, release the visitor, otherwise not release the visitor.
[0031] Preferably, the visitor request also includes the number of passes. After executing step 5.5, it is determined whether the current number of visits reaches the number of visits based on the consistent visitor information in the visitor information list. If so, the visitor is released and the visitor information in the visitor information list is deleted.
[0032] A visitor pass verification device based on optical communication technology, comprising:
[0033] A visitor terminal, used to issue a visitor request, obtain a first light sequence and a visitor pass instruction, convert the visitor pass instruction into a second light sequence, and issue an optical signal based on the first light sequence and the second light sequence;
[0034] The owner terminal is used to obtain and verify the forwarded visitor request, and send visitor information and visitor pass instructions after verification;
[0035] The server is used to obtain a visitor request and forward it, obtain visitor information and a visitor pass instruction, forward the visitor information, encrypt the visitor information based on the visitor information and the visitor pass instruction to obtain a first light sequence and send it;
[0036] The access control device is used to update the visitor information list, receive and convert the light signal, and verify based on the conversion result and the preset visitor information list, and release after the verification passes.
[0037] Preferably, the access control device includes an optical sequence receiving device, and the optical sequence receiving device includes:
[0038] Silicon light tubes, which receive the light sequence emitted by the flash of the mobile phone and convert it into electrical signals;
[0039] An amplifier circuit amplifies the converted electrical signal;
[0040] Clock chip, providing accurate clock for the circuit;
[0041] MCU, based on the conversion results and the preset visitor information list, performs verification and releases the visitor after the verification passes;
[0042] Database, used to store visitor information list and public key information.
[0043] Compared with the prior art, the present invention has the following beneficial effects:
[0044] The present invention ensures the security of access to communities and parks by setting visitor requests and obtaining visitor information through verification by the owner; the visitor information and visitor access instructions are encrypted and converted into optical sequences for verification, without the need for physical cards, and the equipment cost is low, and privacy security is not involved; the visitor access instructions in the visitor terminal are informed by the owner, converted into a second optical sequence, and combined with the first optical sequence to achieve optical signal communication, and then decrypted and verified by the access control device to further ensure the reliability of the entrants. This allows managers to better manage visitor access in scenarios such as parks, communities, and special places with digital technology, while improving the visitor access experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 The present invention is a flow chart of a visitor pass verification method based on optical communication technology.
[0046] Figure 2 It is a structural diagram of the visitor pass verification device based on optical communication technology of the present invention. DETAILED DESCRIPTION
[0047] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the protection scope of the present invention.
[0048] A visitor pass verification method based on optical communication technology includes the following 5 steps.
[0049] Step 1: After receiving the visitor request sent by the visitor terminal, the server forwards it to the associated owner terminal for manual verification. After the verification is passed, the visitor information and visitor pass instructions are obtained and stored.
[0050] The step 1 comprises the following steps:
[0051] Step 1.1, the visitor enters a visitor request in the visitor terminal and sends it to the server, wherein the visitor request includes the visitor's name, visitor's mobile phone number, owner information and visit time;
[0052] Step 1.2, the server receives the visitor request, searches for the associated owner terminal in the preset owner information association table, and sends the visitor request to the owner terminal;
[0053] Step 1.3, the owner reviews the visitor request on the owner terminal. If there is a defect in the visitor request, the owner corrects it and enters the visitor pass instruction. Otherwise, the owner directly enters the visitor pass instruction and sends it to the server for storage.
[0054] In the present invention, the software function carrier of the visitor request input part can be a mobile app, a mini program or an H5 page, and the visitor's advance registration method includes but is not limited to self-scanning code registration, administrator registration on behalf of the visitor, etc.
[0055] In step 1 of the present invention, since the visitor's understanding of the park or community is not as good as that of the interviewee, the owner will verify the visitor's access request after the visitor sends it, and the interviewee will correct it when there is a problem with the access request, which ensures that the access request is correct and can also serve as a reminder to the interviewee.
[0056] Step 2: The server obtains the associated access control device number and its public key information based on the visitor information, and uses the public key information and the visitor pass instruction to encrypt the visitor information and convert it into binary code to obtain a first light sequence.
[0057] The step 2 comprises the following steps:
[0058] Step 2.1, using the owner information as the search factor, querying the access control device number in the owner information association table preset by the server, and searching the corresponding public key information in the preset access control device association table based on the access control device number;
[0059] Step 2.2, after the visitor information is encrypted once using the public key information, the visitor information is encrypted again using the visitor pass instruction to obtain an encrypted visitor sequence;
[0060] Step 2.3, convert the encrypted visitor sequence into binary code to obtain the first light sequence.
[0061] In step 2.2 of the present invention, the encryption algorithm of the first encryption is a hash algorithm to obtain a hash value; the second encryption is to divide the hash value by the visitor pass instruction. Here, the visitor instruction is generally a decimal sequence, and the hash value obtained by hash calculation is a hexadecimal sequence. When performing the second encryption, the hexadecimal sequence needs to be converted into a decimal sequence and then divided.
[0062] In step 2.3 of the present invention, the encrypted visitor sequence is a decimal sequence, which then needs to be converted into a binary sequence to facilitate the emission of an optical signal.
[0063] Step 3: The server sends the visitor information to the corresponding access control device to update the visitor information list preset in the access control device, and sends the access control device number and the first light sequence to the visitor terminal.
[0064] In step 3 of the present invention, each access control device stores a corresponding visitor information list for storing all visitor information of the access control. After receiving the visitor information in the server, the access control device stores the visitor information in the visitor information list. At the same time, the server also needs to send the access control device number and the first light sequence to the visitor terminal, so that the visitor can find the access control device through the corresponding access control device number, and the first light sequence is used to facilitate the verification and communication of the access control device.
[0065] Step 4: The visitor terminal obtains the visitor pass instruction input by the visitor and converts it into a binary code to obtain a second light sequence.
[0066] In step 4 of the present invention, the visitor pass instruction input by the visitor is informed by the interviewee to the visitor, and the method of informing is not limited herein.
[0067] Step 5: The corresponding access control device decodes the optical signal emitted by the visitor terminal based on the first optical sequence and the second optical sequence, verifies it through the private key, and releases it after passing the verification.
[0068] Step 5 includes the following steps:
[0069] Step 5.1, the access control device decodes the optical signal to obtain a first optical sequence and a second optical sequence;
[0070] Step 5.2, obtaining visitor information encrypted using public key information based on the first light sequence and the second light sequence;
[0071] Step 5.3, encrypting the visitor information in the visitor information list based on the private key information to obtain the visitor information encrypted by the private key;
[0072] Step 5.4: compare the visitor information encrypted by the public key with the visitor information encrypted by the private key. If they are consistent, execute step 5.5; otherwise, do not allow access.
[0073] Step 5.5, based on the consistent visitor information in the visitor information list, determine whether the current time is within the access time. If so, release the visitor, otherwise not release the visitor.
[0074] In step 5.1 of the present invention, each light sequence emitted by the mobile phone must follow a set of optical communication protocols to increase fault tolerance and resistance to ambient light interference. Protocol rules: First, a long bright light of Ams is emitted to represent the start signal, and then the binary data bits are sent. Before each data bit is sent, the light Bms is turned off by default. If the light Cms is on, it means that a binary "0" is sent; if the light Dms is on, it means that a binary "1" is sent. After sending E data bits, a parity check bit is sent. Every 4 binary digits correspond to a decimal digit. A total of E bits of binary data are sent, which corresponds to an E / 4-bit decimal password. The A, B, C, D, and E parameters can be freely configured to meet different needs. This invention does not limit it, but only stipulates the protocol rules.
[0075] In step 5.2 of the present invention, the first light sequence and the second light sequence are multiplied to obtain the visitor information encrypted by the public key information.
[0076] In step 5.3 of the present invention, the private key information is the private key information of the access control device itself. The visitor information in the visitor information list is sent by the server. The private key information will perform hash calculation on the visitor information in the visitor information list to obtain a hash value, that is, the visitor information encrypted by the private key; since there are multiple visitor information in the visitor information list, multiple hash values are obtained.
[0077] In step 5.4 of the present invention, the visitor information encrypted by the public key information is compared with the hash value in the visitor list. If there is a consistent hash value, it means that the visitor information of the visitor is stored in the access control device.
[0078] In step 5.5 of the present invention, the time of receiving the optical signal is taken as the current access time to determine whether the current access time is within the preset access time. If so, the access requirement is met and the access control device opens the gate to let people pass.
[0079] Furthermore, the visitor request also includes the number of passes. After executing step 5.5, it is determined whether the current number of visits reaches the number of visits based on the consistent visitor information in the visitor information list. If so, the visitor is released and the visitor information in the visitor information list is deleted.
[0080] In the present invention, the number of visits is set within the visit time, and when the number of visits is reached, the access control device deletes the visitor information in the visitor information list, thereby ensuring the smoothness of the visit and further improving the traffic safety of the park or community.
[0081] On this basis, the present invention also provides a visitor pass verification device based on optical communication technology, comprising:
[0082] A visitor terminal, used to issue a visitor request, obtain a first light sequence and a visitor pass instruction, convert the visitor pass instruction into a second light sequence, and issue an optical signal based on the first light sequence and the second light sequence;
[0083] The owner terminal is used to obtain and verify the forwarded visitor request, and send visitor information and visitor pass instructions after verification;
[0084] The server is used to obtain a visitor request and forward it, obtain visitor information and a visitor pass instruction, forward the visitor information, encrypt the visitor information based on the visitor information and the visitor pass instruction to obtain a first light sequence and send it;
[0085] The access control device is used to update the visitor information list, receive and convert the light signal, and verify based on the conversion result and the preset visitor information list, and release after the verification passes.
[0086] The access control device includes an optical sequence receiving device, and the optical sequence receiving device includes:
[0087] Silicon light tubes, which receive the light sequence emitted by the flash of the mobile phone and convert it into electrical signals;
[0088] Amplifier circuit, which amplifies the converted electrical signal to facilitate subsequent signal processing;
[0089] The clock chip provides a precise clock for the circuit to match the time factor in the received optical signal;
[0090] MCU is responsible for decrypting and verifying the optical signal. It verifies based on the conversion result and the preset visitor information list and releases the visitor after passing the verification.
[0091] Database, used to store visitor information list and public key information.
[0092] In the present invention, the silicon light tube detection device has the advantages of fast response speed, high sensitivity, good linearity, low noise, etc., and can receive optical signals. It adopts optical communication technology and can send and analyze unique optical signals through specific communication protocols.
Claims
1. A visitor access verification method based on optical communication technology, characterized in that: The following steps are involved: Step 1: After receiving the visitor request sent by the visitor terminal, the server forwards it to the associated owner terminal for manual verification. After the verification is passed, the visitor information and visitor access instructions are obtained and stored; the visitor request includes the visitor's name, visitor's mobile phone number, owner information and access time; Step 2: The server obtains the associated access control device number and its public key information based on the visitor information, and uses the public key information and the visitor pass instruction to encrypt the visitor information and convert it into binary code to obtain a first light sequence; The step 2 comprises the following steps: Step 2.1, using the owner information as the search factor, querying the access control device number in the owner information association table preset by the server, and searching the corresponding public key information in the preset access control device association table based on the access control device number; Step 2.2, using the public key information to calculate a hash value of the visitor information using a hash algorithm, and dividing the hash value by the visitor pass instruction to obtain an encrypted visitor sequence; Step 2.3, the encrypted visitor sequence is converted into binary code to obtain the first light sequence; Step 3, the server sends the visitor information to the corresponding access control device to update the preset visitor information list, and sends the access control device number and the first light sequence to the visitor terminal; Step 4, the visitor terminal obtains the visitor pass instruction input by the visitor and converts it into a binary code to obtain a second light sequence; Step 5, the corresponding access control device decodes the optical signal emitted by the visitor terminal based on the first optical sequence and the second optical sequence, verifies it through the private key, and releases it after passing the verification; Step 5.1, the access control device decodes the optical signal to obtain a first optical sequence and a second optical sequence; Step 5.2, obtaining visitor information encrypted using public key information based on the first light sequence and the second light sequence; Step 5.3, encrypting the visitor information in the visitor information list based on the private key information to obtain the visitor information encrypted by the private key; Step 5.4: compare the visitor information encrypted by the public key with the visitor information encrypted by the private key. If they are consistent, execute step 5.5; otherwise, do not allow access. Step 5.5, based on the consistent visitor information in the visitor information list, determine whether the current time is within the access time. If so, release the visitor, otherwise not release the visitor.
2. A visitor pass verification method based on optical communication technology as claimed in claim 1, characterized in that: The step 1 comprises the following steps: Step 1.1, the visitor enters a visitor request in the visitor terminal and sends it to the server; Step 1.2, the server receives the visitor request, searches for the associated owner terminal in the owner information association table and sends the request; Step 1.3, the owner reviews the visitor request on the owner terminal. If there is a defect in the visitor request, the owner corrects it and enters the visitor pass instruction. Otherwise, the owner directly enters the visitor pass instruction and sends it to the server for storage.
3. A visitor pass verification method based on optical communication technology as claimed in claim 1, characterized in that: The visitor request also includes the number of passes. After executing step 5.5, it is determined whether the current number of visits reaches the number of visits based on the consistent visitor information in the visitor information list. If so, the visitor is released and the visitor information in the visitor information list is deleted.
4. A visitor pass verification device based on optical communication technology, characterized in that: Using the visitor pass verification method according to any one of claims 1 to 3, the device comprises: A visitor terminal, used to issue a visitor request, obtain a first light sequence and a visitor pass instruction, convert the visitor pass instruction into a second light sequence, and issue an optical signal based on the first light sequence and the second light sequence; The owner terminal is used to obtain and verify the forwarded visitor request, and send visitor information and visitor pass instructions after verification; The server is used to obtain a visitor request and forward it, obtain visitor information and a visitor pass instruction, forward the visitor information, encrypt the visitor information based on the visitor information and the visitor pass instruction to obtain a first light sequence and send it; The access control device is used to update the visitor information list, receive and convert the light signal, and verify based on the conversion result and the preset visitor information list, and release after the verification passes.
5. A visitor pass verification device based on optical communication technology as claimed in claim 4, characterized in that: The access control device includes an optical sequence receiving device, and the optical sequence receiving device includes: Silicon light tubes, which receive the light sequence emitted by the flash of the mobile phone and convert it into electrical signals; An amplifier circuit amplifies the converted electrical signal; Clock chip, providing accurate clock for the circuit; MCU, based on the conversion results and the preset visitor information list, performs verification and releases the visitor after the verification passes; Database, used to store visitor information list and public key information.
