CN111243145A - Method, device, medium and electronic equipment for processing visitor information - Google Patents

Method, device, medium and electronic equipment for processing visitor information Download PDF

Info

Publication number
CN111243145A
CN111243145A CN202010178849.3A CN202010178849A CN111243145A CN 111243145 A CN111243145 A CN 111243145A CN 202010178849 A CN202010178849 A CN 202010178849A CN 111243145 A CN111243145 A CN 111243145A
Authority
CN
China
Prior art keywords
visitor
information
code
subscription
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010178849.3A
Other languages
Chinese (zh)
Other versions
CN111243145B (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 CN202010178849.3A priority Critical patent/CN111243145B/en
Publication of CN111243145A publication Critical patent/CN111243145A/en
Application granted granted Critical
Publication of CN111243145B publication Critical patent/CN111243145B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/0036Checkout procedures
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the application provides a method and device for processing visitor information, a computer readable medium and electronic equipment. The method for processing visitor information comprises the following steps: and generating a visitor code serving as an access certificate based on the visitor information and the subscription information, and sending the visitor code to the terminal so as to trigger a payment program associated with the visitor code to carry out payment operation based on the subscription information when the terminal triggers the visitor code. In the embodiment, the visitor code is generated by associating the identity information of the visitor with the subscription information of the payment program, so that the visitor can perform operations such as entrance guard and payment through the visitor code only in the visiting process, the use efficiency of the visitor code is improved, and the visiting efficiency and the information safety of the visitor are improved.

Description

Method, device, medium and electronic equipment for processing visitor information
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for processing visitor information, a computer-readable medium, and an electronic device.
Background
When the external visitor goes in and out the visited area, generally all need operations such as authentication, entrance guard's discernment, especially be equipped with the condition that needs the consumer goods in the visited area, the action of external visitor all can receive the restriction of identity, and can carry out entrance guard's discernment through the mode of identity discernment to and carry out consumption payment etc. through other payment software, these all bring very big inconvenience for external visitor, and reduce the availability factor of visitor's code.
Disclosure of Invention
The embodiment of the application provides a method and a device for processing visitor information, a computer readable medium and electronic equipment, so that an external visitor can pay through a visitor code, and the use efficiency of the visitor code and the visiting efficiency of the visitor are improved.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned by practice of the application.
According to an aspect of an embodiment of the present application, there is provided a method of processing guest information, including: acquiring visitor information and subscription information of visitors; generating a visitor code serving as an access certificate based on the visitor information and the subscription information, wherein the visitor code is used for triggering a payment program associated with the visitor code to carry out payment operation based on the subscription information when the visitor code is triggered; and sending the visitor code to a terminal.
According to an aspect of an embodiment of the present application, there is provided a method of processing guest information, including: obtaining visitor information; performing payment signing based on the visitor information, and generating signing information; sending the subscription information to a server, so that the server generates a visitor code based on the subscription information and the visitor information, wherein the visitor code is used for triggering a payment program associated with the visitor code to carry out payment operation based on the subscription information when the visitor code is triggered; and receiving the visitor code sent by the server.
According to an aspect of an embodiment of the present application, there is provided a method of processing guest information, including: scanning a visitor code presented by a terminal; analyzing the visitor code to obtain visitor information of the visitor and a signing mark corresponding to the signing information; verifying whether the visitor information is correct; and if the visitor information is correct and the signing mark is signed, deducting the signing account of the visitor.
According to an aspect of an embodiment of the present application, there is provided a system for processing guest information, including: the server is used for generating a visitor code serving as a visitor certificate based on the visitor information and the subscription information sent by the terminal; the terminal is used for sending subscription information of the payment program to the server and triggering the payment program associated with the visitor code to carry out payment operation based on the subscription information when the visitor code is shown; and the collection device is used for scanning and analyzing the visitor code presented by the terminal and deducting the signed account of the visitor after the visitor code passes the verification.
According to an aspect of an embodiment of the present application, there is provided an apparatus for processing guest information, including: the first acquisition unit is used for acquiring visitor information and subscription information of visitors; the generation unit is used for generating a visitor code serving as an access certificate based on the visitor information and the subscription information, and the visitor code is used for triggering a payment program associated with the visitor code to carry out payment operation based on the subscription information when triggered; and the first sending unit is used for sending the visitor code to the terminal.
In some embodiments of the present application, based on the foregoing scheme, the guest information includes at least one of identity information, access time, and guest permission of the guest; the generation unit includes: an encoding unit, configured to generate an information field corresponding to the guest information based on an encoding protocol, where the information field includes: visitor identification corresponding to the identity information, a timestamp corresponding to the access time, authority identification corresponding to the visitor authority, subscription identification corresponding to the subscription information and a check code of the visitor; and the combination unit is used for combining the information fields corresponding to the visitor information to generate the visitor code.
In some embodiments of the present application, based on the foregoing scheme, the encoding unit includes: a digital generation unit, configured to generate, based on the encoding protocol, a visitor identifier corresponding to the identity information, a subscription identifier corresponding to the subscription information, and a timestamp corresponding to the access time; the digital combination unit is used for combining the visitor identifier, the signing identifier and the timestamp to obtain a combined code; the first encryption unit is used for encrypting the combined code to obtain an encrypted code; and the digital extraction unit is used for extracting the code number of the preset digit in the encrypted code to obtain the check code.
In some embodiments of the present application, based on the foregoing solution, the apparatus for processing visitor information further includes: a second obtaining unit, configured to obtain positioning information of the terminal; the contract-release reminding unit is used for sending a contract-release reminding to the terminal if the position corresponding to the positioning information is not in the position area of the visited object; and the first reduction unit is used for removing the utility of the visitor code when the reduction confirmation information sent by the terminal based on the reduction reminding is received.
In some embodiments of the present application, based on the foregoing solution, the apparatus for processing visitor information further includes: the second contract-resolving unit is used for performing contract-resolving processing on the visitor code and generating a contract-resolving notice if the current time is not within the visitor time in the visitor information; a second sending unit, configured to send the offer cancellation notification to the terminal.
In some embodiments of the present application, based on the foregoing solution, the first obtaining unit includes: a third obtaining unit, configured to obtain the visitor information; a first authentication unit for authenticating the visitor information; and the fourth acquisition unit is used for acquiring the subscription information generated after the terminal performs payment subscription based on the visitor information after the visitor information passes verification.
In some embodiments of the present application, based on the foregoing solution, the third obtaining unit includes: the fourth acquisition unit is used for acquiring visitor information input by an administrator; or a fifth obtaining unit, configured to obtain the visitor information submitted by the terminal.
According to an aspect of an embodiment of the present application, there is provided an apparatus for processing guest information, including: a sixth obtaining unit, configured to obtain visitor information; the contract signing generation unit is used for carrying out payment contract signing based on the visitor information and generating contract signing information; a third sending unit, configured to send the subscription information to a server, so that the server generates a guest code based on the subscription information and the guest information, where the guest code is used to trigger a payment program associated with the guest code to perform a payment operation based on the subscription information when the guest code is triggered; the first receiving unit is used for receiving the visitor code sent by the server.
In some embodiments of the present application, based on the foregoing solution, the apparatus for processing visitor information further includes: and the fourth sending unit is used for sending the visitor information to the server so that the server verifies and inputs the visitor information.
In some embodiments of the present application, based on the foregoing solution, the apparatus for processing visitor information further includes: the first display unit is used for providing the visitor code to a collection device, so that the collection device can carry out identity verification, visitor information verification and signing verification based on the visitor code, and deduct money after all verification passes; the second receiving unit is used for receiving the payment success information sent by the money receiving device; and the second display unit is used for displaying the payment success information on an interface.
According to an aspect of an embodiment of the present application, there is provided an apparatus for processing guest information, including: the scanning unit is used for scanning the visitor code presented by the terminal; the analysis unit is used for analyzing the visitor code to obtain visitor information of the visitor and a signing mark corresponding to the signing information; a second verifying unit for verifying whether the visitor information is correct; and the fee deduction unit is used for deducting the fee of the signed account of the visitor if the visitor information is correct and the signed mark is signed.
In some embodiments of the present application, based on the foregoing scheme, the guest information includes at least one of a guest identification, an access time, and a guest authority; the second authentication unit includes: the splicing unit is used for splicing the character strings corresponding to the visitor identification, the access time and the visitor permission to obtain a splicing code; the second encryption unit is used for encrypting the splicing code based on a secret key sent by the server to obtain an encrypted character; and the judging unit is used for comparing the encrypted character with the check code in the visitor code and judging whether the check code is legal or not according to the comparison result.
According to an aspect of embodiments of the present application, there is provided a computer-readable medium having stored thereon a computer program which, when executed by a processor, implements a method of processing guest information as described in the above embodiments.
According to an aspect of an embodiment of the present application, there is provided an electronic device including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of processing guest information as described in the above embodiments.
In the technical scheme provided by some embodiments of the application, the terminal signs the payment program, generates and sends signing information to the server, the server generates a visitor code serving as a visitor certificate based on the visitor information and the signing information, so that the terminal presents the visitor code at the collection device, the collection device scans and analyzes the visitor code, and after the visitor code passes verification, the payment program associated with the visitor code is triggered based on the signing information in the visitor code to carry out payment operation, and a deduction process of a signed account of the visitor is completed. In the embodiment, the visitor code is generated by associating the identity information of the visitor with the subscription information of the payment program, so that the visitor can perform operations such as entrance guard and payment through the visitor code only in the visiting process, and the use efficiency of the visitor code and the visiting efficiency of the visitor are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 shows a schematic diagram of an exemplary system architecture to which aspects of embodiments of the present application may be applied;
FIG. 2 schematically illustrates a schematic diagram of an exemplary system architecture according to an embodiment of the present application;
FIG. 3 schematically shows a flow diagram of a method of processing guest information according to one embodiment of the present application;
figure 4 schematically illustrates a flow diagram for obtaining guest information and subscription information for a guest according to one embodiment of the present application;
figure 5 schematically illustrates a diagram of generating a guest code based on guest information and subscription information, according to one embodiment of the present application;
figure 6 schematically illustrates a flow diagram for generating a guest code based on guest information and subscription information, according to one embodiment of the present application;
FIG. 7 schematically illustrates a schematic diagram of generating a guest code according to an embodiment of the present application;
FIG. 8 schematically shows a flow diagram for generating a guest code according to an embodiment of the present application;
FIG. 9 schematically illustrates a flow diagram of a method of processing guest information according to one embodiment of the present application;
figure 10 schematically illustrates a visitor code generation and payment diagram according to one embodiment of the present application;
FIG. 11 schematically illustrates a flow diagram of a method of processing guest information according to one embodiment of the present application;
FIG. 12 schematically illustrates a flow diagram for a code swipe payment based on a guest code according to an embodiment of the present application;
FIG. 13 schematically illustrates a flow chart for visitor code based access identification in accordance with one embodiment of the present application;
FIG. 14 schematically illustrates a block diagram of an apparatus for processing guest information, in accordance with one embodiment of the present application;
FIG. 15 schematically illustrates a block diagram of an apparatus for processing guest information, in accordance with one embodiment of the present application;
FIG. 16 schematically illustrates a block diagram of an apparatus for processing guest information, in accordance with one embodiment of the present application;
FIG. 17 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the subject matter of the present application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the application.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Fig. 1 shows a schematic diagram of an exemplary system architecture to which the technical solution of the embodiments of the present application can be applied.
As shown in fig. 1, the system architecture may include a terminal device (e.g., one or more of a smartphone 101, a tablet computer 102, and a portable computer 103 shown in fig. 1, but may also be a desktop computer, etc.), a network 104, and a server 105. The network 104 serves as a medium for providing communication links between terminal devices and the server 105. Network 104 may include various connection types, such as wired communication links, wireless communication links, and so forth.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, server 105 may be a server cluster comprised of multiple servers, or the like.
A user may use a terminal device to interact with the server 105 over the network 104 to receive or send messages or the like. The server 105 may be a server that provides various services. For example, a user uploads visitor information and subscription information of a visitor to the server 105 by using the terminal device 103 (which may also be the terminal device 101 or 102), the server 105 may generate a visitor code as an access credential based on the visitor information and the subscription information, and send the visitor code to the terminal, so that when the terminal triggers the visitor code, a payment procedure associated with the visitor code is triggered to perform a payment operation based on the subscription information. In the embodiment, the visitor code is generated by associating the identity information of the visitor with the subscription information of the payment program, so that the visitor can perform operations such as entrance guard and payment through the visitor code only in the visiting process, the use efficiency of the visitor code is improved, and the visiting efficiency and the information safety of the visitor are improved.
It should be noted that the method for processing visitor information provided by the embodiment of the present application is generally performed by the server 105, and accordingly, the apparatus for processing visitor information is generally disposed in the server 105. However, in other embodiments of the present application, the terminal device may also have a similar function as the server, so as to execute the method for processing visitor information provided by the embodiments of the present application.
Fig. 2 shows a schematic diagram of an exemplary system architecture to which the technical solution of the embodiments of the present application can be applied.
As shown in fig. 2, the system architecture may include a terminal device 201, a network 204, a server 205, and a payment receiving apparatus 206.
The cashing device 206 is provided with a scanning port for scanning the visitor code presented by the terminal and obtaining the visitor information of the visitor and the signing mark corresponding to the signing information by analyzing the visitor code; verifying whether the visitor information is correct; and if the visitor information is correct and the contract signing identification is signed, deducting the contract signing account of the visitor. In the embodiment, the visitor code is generated by associating the identity information of the visitor with the subscription information of the payment program, so that the visitor can perform operations such as entrance guard and payment through the visitor code only in the visiting process, and the use efficiency of the visitor code and the visiting efficiency of the visitor are improved.
It should be noted that, in addition to the money receiving apparatus 206 shown in fig. 2, an access control apparatus or the like may be connected to the terminal device 201, and is configured to identify a visitor code shown by a terminal device of a visitor and open an access control after the authentication is passed. Besides the access control device, other devices may also be used, and are not limited herein.
In an embodiment of the present application, the system according to the embodiment of the present application may be a distributed system formed by connecting terminals, servers, money receiving devices, access control devices, and the like as nodes in a network communication manner.
Taking a distributed system as an example of a blockchain system, the blockchain system is formed by a plurality of nodes (any type of computing devices in an access network, such as servers and user terminals) and a client, and a Peer-to-Peer (P2P, PeerTo Peer) network is formed between the nodes, and the P2P protocol is an application layer protocol operating on top of a Transmission Control Protocol (TCP). In a distributed system, any machine, such as a server or a terminal, can join to become a node, and the node comprises a hardware layer, a middle layer, an operating system layer and an application layer.
In this embodiment, the functions of each node in the block chain system include: the visitor information and the signing information are uploaded to a block chain network, a server verifies the visitor information, generates a visitor code based on the visitor information and the signing information after the verification is passed, sends the visitor code to a node corresponding to the terminal equipment, verifies the information of the visitor code in a node corresponding to the money receiving device, and receives money. And after the collection, the collection information is uploaded to the block chain network, so as to be disclosed, and the public and non-repudiation of visitor identity verification and collection payment are ensured.
The implementation details of the technical solution of the embodiment of the present application are set forth in detail below:
FIG. 3 illustrates a flow diagram of a method of handling guest information, which may be performed by a server, which may be the server shown in FIG. 1, according to one embodiment of the present application. Referring to fig. 3, the method for processing visitor information at least includes steps S310 to S330, which are described in detail as follows:
in step S310, visitor information and subscription information of the visitor are acquired.
In one embodiment of the application, a server generates a visitor code based on visitor information and subscription information by obtaining the visitor information and the subscription information of a visitor. The visitor information comprises one or more of identity information, access time, access authority and the like of the visitor; the subscription information includes a payment agreement signed by the terminal based on a payment account in the payment program.
In an embodiment of the present application, as shown in fig. 4, the process of acquiring the visitor information and the subscription information of the visitor in step S310 includes the following steps S410 to S430, which are described in detail as follows:
in step S410, guest information is acquired.
In one embodiment of the present application, the manner of obtaining the visitor information may be entered by an administrator through an administration terminal. Illustratively, the visitor presents information such as an identity card to an administrator at the foreground of a visited unit, and the administrator inputs the identity information of the visitor into a computer and uploads the identity information to a server.
In addition, the visitor information can be acquired by the way that the user submits the visitor information through the terminal. Illustratively, through software or an application program in the terminal, the visitor inputs own identity information, access time and the like in the application program, and then uploads the information to the server through the terminal. After the server receives the visitor information, the visitor information can be stored according to the identity of the visitor.
In step S420, the guest information is verified.
In one embodiment of the application, after the visitor information is obtained, the visitor information is verified to determine the authenticity of the visitor information and ensure the property safety and data safety of the visited unit.
Specifically, in the process of verifying the visitor information, whether the identity card number, the telephone number, the visitor name, the address and other information in the visitor information are consistent is checked based on the identity information of the visitor in the visitor information. For example, when verifying the phone number, the verification code may be sent to the terminal corresponding to the phone number, and the specific verification method is not limited herein.
Further, the visitor information in this embodiment further includes information such as access time and access right, when the access time and the access right are verified, information of the unit person associated with the visitor, reservation information of the visitor, and the like may be obtained first, and a specific access address and access time of the visitor in the access are determined according to the information of the unit person and the reservation information, so as to compare and verify the access information filled by the visitor.
In step S430, after the visitor information verification is passed, the subscription information generated after the terminal performs the payment subscription based on the visitor information is acquired.
In one embodiment of the application, after the visitor information is verified, the terminal is informed to perform payment subscription based on the visitor information, and after the terminal successfully subscribes, the subscription information generated by the terminal is acquired. The subscription information of the embodiment is used for managing a payment account and a visitor code of the visitor so as to generate the visitor code based on the subscription information and the identity information of the visitor.
In addition, if the visitor information is not verified, the information of verification failure is sent to the terminal to remind the terminal to repopulate the information again, or the visitor has no authority for accessing the current visitor identity temporarily.
In step S320, a visitor code is generated as an access credential based on the visitor information and the subscription information, and the visitor code is used to trigger a payment program associated with the visitor code to perform a payment operation based on the subscription information when triggered.
In one embodiment of the present application, after the visitor information and the subscription information are acquired and the visitor information has passed verification, a visitor code is generated based on the visitor information and the subscription information. When the visitor code is used for being started again, the payment program associated with the visitor code is triggered to carry out payment operation based on the subscription information, so that a user can pay in a visited unit only by showing the visitor code, payment procedures are saved, and payment efficiency is improved.
Fig. 5 is a schematic diagram of generating a visitor code based on visitor information and subscription information according to an embodiment of the present application.
As shown in fig. 5, in this embodiment, after obtaining the visitor information 520, the server verifies the visitor information, and after the verification is passed, receives the subscription information 530 sent by the terminal 510, so as to generate a visitor code 540 based on the visitor information and the subscription information. The visitor code is obtained by associating the identity information and the subscription information based on the visitor, the utility of the visitor code is enlarged, and the access efficiency of the user is improved.
In one embodiment of the present application, as shown in fig. 6, the guest information includes at least one of identity information, access time and guest permission of the guest, and the process of generating the guest code as the access credential based on the guest information and the subscription information in step S320 includes the following steps S610 to S620, which are described in detail as follows:
in step S610, based on the encoding protocol, an information field corresponding to the guest information is generated, where the information field includes: visitor identification corresponding to the identity information, timestamp corresponding to the access time, authority identification corresponding to the visitor authority, subscription identification corresponding to the subscription information and check codes of the visitors.
In one embodiment of the present application, when generating an access credential based on guest information and subscription information, a corresponding information field is first generated based on the guest information. In this embodiment, the information field is a code number that is generated based on various types of characters and has a preset carry.
Specifically, the guest information may not be completely input in consideration of various conditional restrictions of different guests, and thus the guest information in this embodiment includes at least one, two or more of identity information, access time, and guest authority of the guest.
In one embodiment of the application, a corresponding visitor identifier is generated based on identity information, a corresponding timestamp is generated based on access time, a corresponding authority identifier is generated based on visitor authority, and a corresponding subscription identifier is generated based on subscription information. For example, in this embodiment, the user identifier and the access right may be 32-ary code numbers, and the subscription identifier is used to indicate whether a subscription has been made, where 1 represents a subscription, 0 represents no subscription, and the access time may be 32-ary data, which is merely an example and is not limited herein.
Specifically, in step S610, the following steps are included in detail:
based on the coding protocol, generating a visitor identifier corresponding to the identity information, a subscription identifier corresponding to the subscription information and a timestamp corresponding to the access time;
combining the visitor identifier, the subscription identifier and the timestamp to obtain a combined code;
encrypting the combined code to obtain an encrypted code;
and taking the code number of the preset digit in the encrypted code to obtain the check code.
In one embodiment of the present application, the check code is generated based on the guest information. Specifically, after the visitor identifier corresponding to the identity information, the subscription identifier corresponding to the subscription information, and the timestamp corresponding to the access time are generated based on the coding protocol, the visitor identifier, the subscription identifier, and the timestamp are combined based on the arrangement mode in the coding protocol to obtain a combined code. And encrypting the combination to obtain an encrypted code, and finally, obtaining the code number of the preset digit in the encrypted code to obtain the check code.
Optionally, the encryption mode in this embodiment may be Advanced Encryption Standard (AES) or asymmetric encryption algorithm, and the like, which is not limited herein. The information field based on the visitor information is encrypted to obtain the check code, so that the privacy of the visitor information and the safety and the simplicity of the visitor code are improved.
In step S620, the information fields corresponding to the visitor information are combined to generate a visitor code.
In an embodiment of the application, after obtaining the visitor identifier corresponding to the identity information, the subscription identifier corresponding to the subscription information, the timestamp corresponding to the access time, and the check code, based on an arrangement mode of each code in the coding protocol, information fields corresponding to the information are combined to generate the visitor code.
Fig. 7 is a schematic diagram of generating a guest code according to an embodiment of the present disclosure.
As shown in fig. 7, after the information fields corresponding to the visitor information 710 and the subscription information 720 and the check code 730 are generated, the codes in the coding protocol are arranged as follows: { protocol version } { user identification } - { subscription identification } - { access time } - { time of departure } - { check code }. The information fields are combined according to the arrangement modes to obtain a combined number, and finally the number is converted into the visitor code 740.
Fig. 8 is a flowchart of generating a guest code according to an embodiment of the present disclosure.
As shown in fig. 8, access information of the guest is received in step S810; verifying whether the visitor signs a payment agreement in step S820; if yes, signing is carried out in step S830, and signing information is generated; recording a subscription status in step S840; and generates a visitor code based on the identity information and subscription information of the visitor in step S850; finally, the visitor makes an access based on the visitor code in step S860.
It should be noted that, in the process of generating the visitor code in this embodiment, the visitor may be asked whether to sign a contract, if the visitor signs a contract, the visitor code is generated based on the generated subscription information and the visitor information, and the last generated visitor code may be used to pay money; if the visitor does not sign a contract, the visitor code is directly generated based on the visitor information, and the visitor code can only be used for access control or other rights and does not have a payment function.
In the embodiment, the identity information and the subscription information are identified through the code numbers of various systems to generate the check code, so that the generation speed and the simplification of the visitor code are improved based on the simplified data volume, the visitor code can be still clearly printed on a small piece of paper, and the identification efficiency of the visitor code and the using effect of the visitor are improved.
In step S330, the visitor code is transmitted to the terminal.
In an embodiment of the application, after the visitor code is generated, the visitor code is sent to the terminal, so that when the terminal presents the visitor code, a payment program associated with the visitor code is triggered to perform payment operation or an entrance guard is opened based on subscription information. Here, the corresponding operation processing is executed according to the specific authority of the user, and is not limited herein.
In an embodiment of the present application, after the process of sending the visitor code to the terminal in step S330, the method further includes the following steps:
acquiring positioning information of a terminal;
if the position corresponding to the positioning information is not in the position area of the visited object, sending a settlement reminding to the terminal;
and when receiving the contract release confirmation information sent by the terminal based on the contract release prompt, releasing the utility of the visitor code.
In an embodiment of the application, the location information of the terminal can be obtained in real time, and if it is detected that the location corresponding to the location information is not in the location area of the visited object, according to the information registered by the visitor when inputting the visitor information, it can be determined that the visitor has left or temporarily left the visited unit, and in this case, a settlement prompt is sent to the terminal. After the terminal receives the offer resolution prompt, whether the offer is resolved is judged based on the current position and the access plan, and after the offer is determined, offer resolution confirmation information is sent to the server so as to remove the utility of the visitor code.
In an embodiment of the present application, after the process of sending the visitor code to the terminal in step S330, the method further includes the following steps:
if the current time is not within the visitor time in the visitor information, carrying out contract-resolving processing on the visitor code and generating a contract-resolving notice;
and sending a contract release notice to the terminal.
In one embodiment of the application, if it is detected that the current time is not within the visitor time of the visitor information, it indicates that the visitor time of the visitor has passed, and the visitor is not the visit time at this time, in this case, the visitor code can be directly contracted, and a contract-solving notice is generated and sent to the terminal. To inform the terminal that the current visitor code has expired and can no longer be used.
In the embodiment, the invalidation principle of the visitor code is set, so that the visitor only enters the visited unit under the condition that the visitor code is effective, or corresponding payment operation is processed, and the information safety of the visitor and the property safety of the visited unit are ensured.
Fig. 9 shows a flowchart of a method of processing visitor information, which may be performed by a terminal, which may be the terminal shown in fig. 1, according to an embodiment of the present application. Referring to fig. 9, the method for processing visitor information includes at least steps S910 to S940, which are described in detail as follows:
in step S910, guest information is acquired.
In one embodiment of the application, before the visitor enters a visited unit, visitor information of the visitor is obtained through a terminal. For example, the user may input his or her own identity information and access time through software or a program in the terminal to transmit the information to the server through the terminal.
Fig. 10 is a schematic diagram of visitor code generation and payment according to an embodiment of the present disclosure.
As shown in fig. 10, in an embodiment of the present application, after the server receives the guest information 1010 input by the terminal, the guest information is verified, and after the verification is passed, the guest information is entered for later inspection. The specific verification method is as described in the above embodiments, and will not be described herein.
After sending the guest information to the server, having the server authenticate and enter the guest information, the processing procedure in step S920 is performed.
In step S920, a payment subscription is made based on the visitor information, and subscription information is generated.
In one embodiment of the present application, a subscription notification 1020 is sent to the terminal after the server verifies the identity information of the passing terminal. The terminal performs payment signing based on the visitor information and generates signing information 1030 to generate a visitor code 1040 based on the signing information.
Specifically, the signing may be performed by associating a guest code generation program with a payment program, providing a link of the payment program in the guest code generation program, allowing the guest to click the link to enter the payment program, completing the corresponding payment authorization and payment signing, and generating signing information after the signing is completed.
In this embodiment, the signing information may include an identity information identifier of the subscriber, a payment method, associated payment account information, a method of inputting a password, and the like, which is not limited herein.
In step S930, the subscription information is sent to the server, so that the server generates a visitor code based on the subscription information and the visitor information, and the visitor code is used for triggering a payment program associated with the visitor code to perform a payment operation based on the subscription information when the visitor code is triggered.
In one embodiment of the present application, after the subscription information is generated, the subscription information is sent to a server, and the server generates a visitor code based on the subscription information and the visitor information. The specific way for the server to generate the guest code is described in the above embodiment, and is not described herein again.
In step S940, the guest code transmitted by the server is received.
In one embodiment of the application, after the server generates the visitor code, the visitor code is sent to the terminal, so that when the terminal presents the visitor code, a payment program associated with the visitor code is triggered to carry out payment operation based on subscription information in the visitor code.
In an embodiment of the present application, after the process of receiving the guest code sent by the server in step S940, the method further includes: providing the visitor code to a collection device, so that the collection device can perform identity verification, visitor information verification and signing verification based on the visitor code, and deduct money after all verifications are passed; receiving payment success information sent by a money receiving device; and displaying payment success information on the interface.
As shown in fig. 10, when the terminal makes a payment, the visitor code 1040 is provided to the money receiving apparatus, and the money receiving apparatus scans the visitor code for authentication, visitor information verification, and contract verification, and deducts money after all the verifications are passed. After the payment is successfully made by the payment apparatus, a payment success message 1050 is sent to the terminal. And after receiving the payment success information, the terminal displays the information on a terminal interface to remind the visitor of successful payment.
According to the scheme, the visitor code generated by the server is used for directly paying at the payment device, so that the use efficiency of the visitor code is improved; meanwhile, the process that the visitor pays in cash, opens other payment programs or pays by swiping a card is avoided, the visitor efficiency of the visitor is improved, and the safety of private information of the visitor is protected.
Fig. 11 illustrates a flow diagram of a method of processing visitor information that may be performed by a payment receiving apparatus, which may be the payment receiving apparatus shown in fig. 2, according to one embodiment of the present application. Referring to fig. 11, the method for processing visitor information includes at least steps S1110 to S1140, which are described in detail as follows:
in step S1110, the visitor code presented by the terminal is scanned.
In one embodiment of the application, in practical application after the generation of the visitor code, the terminal presents the visitor code at the checkout apparatus, and the checkout apparatus scans the visitor code to obtain the information in the visitor code.
In step S1120, the visitor code is parsed to obtain visitor information of the visitor and a subscription identifier corresponding to the subscription information.
In one embodiment of the application, after the visitor information is scanned, the visitor code is analyzed to obtain the visitor information and the subscription identification corresponding to the subscription information, so that the visitor information is verified based on the visitor information and the subscription identification.
Specifically, when the visitor information is analyzed, the position corresponding to the identification of the information such as the identity information, the access information and the access authority in the visitor information is determined based on the coding protocol, the identification of the information such as the identity information, the access information and the access authority is determined, and then the code is converted into the information in the character format based on the coding mode in the coding protocol.
Illustratively, the visitor code is parsed to obtain the encoding protocol, and based on the encoding protocol, the visitor user identification and the access time are parsed, i.e., 32-run numbers are converted into 10-system numbers.
In step S1130, it is verified whether the guest information is correct.
In an embodiment of the present application, the guest information in step S1130 includes at least one of a guest identifier, an access time, and a guest permission, and the process in step S1130 specifically includes the steps of: splicing the character strings corresponding to the visitor identification, the access time and the visitor permission to obtain a spliced code; encrypting the splicing code based on a secret key sent by the server to obtain an encrypted character; and comparing the encrypted character with the check code in the visitor code, and judging whether the check code is legal or not according to the comparison result.
Specifically, in the verification process, character strings corresponding to the visitor identification, the visitor time and the visitor permission are generated based on the identity information, the access permission and other information obtained through analysis, and the character strings are spliced to obtain the splicing code. And encrypting the splicing code based on a secret key sent by the server, and taking a preset digit from an encryption result to obtain an encrypted character. And comparing the encrypted character with the analyzed check code in the visitor code, and if the encrypted character is consistent with the analyzed check code, judging that the check code is legal.
In step S1140, if the visitor information is correct and the subscription identifier is signed, the payment is deducted from the account signed by the visitor.
In an embodiment of the application, when it is detected that the visitor information is correct and the subscription identifier is signed, it is indicated that the current visitor code is correct and a deduction can be made through the visitor code, and then the payment is made for the subscription account associated with the visitor code.
In addition, if the visitor information is incorrect and the signing mark is signed, sending the information of visitor information error to the user terminal; and if the visitor information is incorrect and the subscription identifier is not signed, sending information that payment cannot be carried out to the user terminal.
Fig. 12 is a flowchart of a code swiping payment based on a guest code according to an embodiment of the present application.
As shown in fig. 12, the visitor initiates a code-scan payment 1220 after selecting merchandise 1210; the payee device obtains the visitor code of the visitor and checks 1230, wherein the checking includes: whether the two-dimensional code is legal, whether the access information is consistent and whether the two-dimensional code is within the access time, and if the verification fails, outputting information 1240 of payment failure; if the verification is passed, the request background judges whether to sign 1250, if not, the information of payment failure is generated to the terminal 1270; when the contract is determined, a deduction 1280 is made in the payment program, and payment success information is generated and sent to the terminal 1290.
Fig. 13 is a flowchart of access control identification based on a visitor code according to an embodiment of the present application.
As shown in fig. 13, when a visitor needs to pass through a certain door 1310, a code 1320 is scanned first, and after the door access device acquires the visitor code, the visitor code is checked 1330, where the checking content includes: whether the two-dimensional code is legal, whether the access information is consistent and whether the two-dimensional code is within the access time, if the verification fails, generating information of unauthorized access to the terminal 1340; if the verification is successful, the door access 1350 is opened.
Optionally, in this embodiment, after the visitor code is generated, the visitor code may be sent to the terminal device of the visitor, so that the visitor can use the visitor at any time, and the visitor code may also be printed out, for example, the printed visitor code is attached to a visitor pass of the visitor, and the visitor may pay or open the access control by swiping the visitor pass, where a specific application means of the visitor code is not limited.
The following describes embodiments of an apparatus of the present application, which may be used to perform the method for processing visitor information in the above-described embodiments of the present application. It will be appreciated that the apparatus may be a computer program (comprising program code) running on a computer device, for example an application software; the apparatus may be used to perform the corresponding steps in the methods provided by the embodiments of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method for processing visitor information described above in the present application.
FIG. 14 shows a block diagram of an apparatus to process guest information according to one embodiment of the present application.
Referring to fig. 14, an apparatus 1400 for processing guest information according to an embodiment of the present application includes: a first obtaining unit 1310, configured to obtain visitor information and subscription information of a visitor; a generating unit 1320, configured to generate a visitor code as an access credential based on the visitor information and the subscription information, where the visitor code is configured to trigger a payment program associated with the visitor code to perform a payment operation based on the subscription information when the visitor code is triggered; a first sending unit 1330 configured to send the visitor code to the terminal.
In some embodiments of the present application, based on the foregoing scheme, the guest information includes at least one of identity information, access time, and guest permissions of the guest; the generation unit 1320 includes: the encoding unit is used for generating an information field corresponding to the visitor information based on an encoding protocol, wherein the information field comprises: visitor identification corresponding to the identity information, a timestamp corresponding to the access time, authority identification corresponding to the visitor authority, subscription identification corresponding to the subscription information and a check code of the visitor; and the combination unit is used for combining the information fields corresponding to the visitor information to generate the visitor code.
In some embodiments of the present application, based on the foregoing scheme, the encoding unit includes: the digital generation unit is used for generating a visitor identifier corresponding to the identity information, a subscription identifier corresponding to the subscription information and a timestamp corresponding to the access time based on the coding protocol; the digital combination unit is used for combining the visitor identifier, the signing identifier and the timestamp to obtain a combined code; the first encryption unit is used for encrypting the combined code to obtain an encrypted code; and the digital extraction unit is used for extracting the code number of the preset digit in the encrypted code to obtain the check code.
In some embodiments of the present application, based on the foregoing solution, the apparatus for processing visitor information further includes: the second acquisition unit is used for acquiring the positioning information of the terminal; the contract-solving reminding unit is used for sending a contract-solving reminding to the terminal if the position corresponding to the positioning information is not in the position area of the visited object; and the first reduction unit is used for removing the utility of the visitor code when receiving the reduction confirmation information sent by the terminal based on the reduction reminding.
In some embodiments of the present application, based on the foregoing solution, the apparatus for processing visitor information further includes: the second contract-resolving unit is used for performing contract-resolving processing on the visitor code and generating a contract-resolving notice if the current time is not within the visitor time in the visitor information; and the second sending unit is used for sending the contract-release notice to the terminal.
In some embodiments of the present application, based on the foregoing scheme, the first obtaining unit 1310 includes: a third obtaining unit, configured to obtain visitor information; a first authentication unit for authenticating the visitor information; and the fourth acquisition unit is used for acquiring the subscription information generated after the payment subscription of the terminal is carried out based on the visitor information after the visitor information passes the verification.
In some embodiments of the present application, based on the foregoing scheme, the third obtaining unit includes: the fourth acquisition unit is used for acquiring visitor information input by an administrator; or a fifth obtaining unit, configured to obtain the visitor information submitted by the terminal.
FIG. 15 shows a block diagram of an apparatus to process guest information according to one embodiment of the present application.
Referring to fig. 15, an apparatus 1500 for processing guest information according to an embodiment of the present application includes: a sixth obtaining unit 1510 configured to obtain visitor information; a contract generation unit 1520, configured to perform payment contract based on the visitor information and generate contract information; a third sending unit 1530, configured to send the subscription information to the server, so that the server generates a visitor code based on the subscription information and the visitor information, where the visitor code is used to trigger a payment program associated with the visitor code to perform a payment operation based on the subscription information when the visitor code is triggered; a first receiving unit 1540, configured to receive the guest code sent by the server.
In some embodiments of the present application, based on the foregoing solution, the apparatus 1500 for processing visitor information further comprises: and the fourth sending unit is used for sending the visitor information to the server so that the server verifies and inputs the visitor information.
In some embodiments of the present application, based on the foregoing solution, the apparatus 1500 for processing visitor information further comprises: the first display unit is used for providing the visitor code to the collection device, so that the collection device can carry out identity verification, visitor information verification and signing verification based on the visitor code and deduct money after all verification passes; the second receiving unit is used for receiving the payment success information sent by the money receiving device; and the second display unit is used for displaying the payment success information on the interface.
FIG. 16 shows a block diagram of an apparatus to process guest information according to one embodiment of the present application.
Referring to fig. 16, an apparatus 1600 for processing guest information according to an embodiment of the present application includes: a scanning unit 1610, configured to scan a visitor code presented by a terminal; the parsing unit 1620 is configured to parse the visitor code to obtain visitor information of the visitor and a subscription identifier corresponding to the subscription information; a second verifying unit 1630 for verifying whether the guest information is correct; and the fee deduction unit 1640 is used for deducting the fee of the signed account of the visitor if the visitor information is correct and the signed mark is signed.
In some embodiments of the present application, based on the foregoing scheme, the guest information includes at least one of a guest identification, an access time, and a guest authority; the second authentication unit 1630 includes: the splicing unit is used for splicing the character strings corresponding to the visitor identification, the visitor time and the visitor permission to obtain a splicing code; the second encryption unit is used for encrypting the splicing code based on the secret key sent by the server to obtain an encrypted character; and the judging unit is used for comparing the encrypted character with the check code in the visitor code and judging whether the check code is legal or not according to the comparison result.
FIG. 17 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application.
It should be noted that the computer system 1700 of the electronic device shown in fig. 17 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiments.
As shown in fig. 17, a computer system 1700 includes a Central Processing Unit (CPU)1701 that can perform various appropriate actions and processes, such as executing the methods described in the above embodiments, according to a program stored in a Read-Only Memory (ROM) 1702 or a program loaded from a storage portion 1708 into a Random Access Memory (RAM) 1703. In the RAM 1703, various programs and data necessary for system operation are also stored. The CPU 1701, ROM 1702, and RAM 1703 are connected to each other through a bus 1704. An Input/Output (I/O) interface 1705 is also connected to the bus 1704.
The following components are connected to the I/O interface 1705: an input section 1706 including a keyboard, a mouse, and the like; an output section 1707 including a Display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage portion 1708 including a hard disk and the like; and a communication section 1709 including a network interface card such as a LAN (Local area network) card, a modem, or the like. The communication section 1709 performs communication processing via a network such as the internet. A driver 1710 is also connected to the I/O interface 1705 as necessary. A removable medium 1711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1710 as necessary, so that a computer program read out therefrom is mounted into the storage portion 1708 as necessary.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method illustrated by the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via the communication portion 1709, and/or installed from the removable media 1711. When the computer program is executed by a Central Processing Unit (CPU)1701, various functions defined in the system of the present application are executed.
It should be noted that the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with a computer program embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method described in the above embodiments.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present application.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (15)

1. A method of processing guest information, comprising:
acquiring visitor information and subscription information of visitors;
generating a visitor code serving as an access certificate based on the visitor information and the subscription information, wherein the visitor code is used for triggering a payment program associated with the visitor code to carry out payment operation based on the subscription information when the visitor code is triggered;
and sending the visitor code to a terminal.
2. The method of claim 1, wherein the guest information comprises at least one of identity information, access time, and guest permissions of the guest;
generating a visitor code as an access credential based on the visitor information and the subscription information, including:
generating an information field corresponding to the visitor information based on an encoding protocol, wherein the information field comprises: visitor identification corresponding to the identity information, a timestamp corresponding to the access time, authority identification corresponding to the visitor authority, subscription identification corresponding to the subscription information and a check code of the visitor;
and combining the information fields corresponding to the visitor information to generate the visitor code.
3. The method according to claim 2, characterized in that, based on the encoding protocol, at least one of the following information fields is generated: visitor's sign that identity information corresponds, the signing sign that signing information corresponds, the timestamp that access time corresponds, visitor's check code includes:
based on the coding protocol, generating a visitor identifier corresponding to the identity information, a subscription identifier corresponding to the subscription information and a timestamp corresponding to the access time;
combining the visitor identifier, the signing identifier and the timestamp to obtain a combined code;
encrypting the combined code to obtain an encrypted code;
and taking the code number of the preset digit in the encrypted code to obtain the check code.
4. The method of claim 1, further comprising:
acquiring positioning information of the terminal;
if the position corresponding to the positioning information is not in the position area of the visited object, sending a settlement reminding to the terminal;
and when receiving the contract release confirmation information sent by the terminal based on the contract release prompt, releasing the utility of the visitor code.
5. The method of claim 1, further comprising:
if the current time is not within the visitor time in the visitor information, carrying out contract-resolving processing on the visitor code and generating a contract-resolving notice;
and sending the contract release notice to the terminal.
6. The method of claim 1, wherein obtaining visitor information and subscription information for the visitor comprises:
obtaining the visitor information;
verifying the visitor information;
and after the visitor information passes verification, acquiring subscription information generated after the terminal performs payment subscription based on the visitor information.
7. The method of claim 6, wherein obtaining the visitor information comprises:
acquiring visitor information input by an administrator; or
And obtaining visitor information submitted by the terminal.
8. A method of processing guest information, comprising:
obtaining visitor information;
performing payment signing based on the visitor information, and generating signing information;
sending the subscription information to a server, so that the server generates a visitor code based on the subscription information and the visitor information, wherein the visitor code is used for triggering a payment program associated with the visitor code to carry out payment operation based on the subscription information when the visitor code is triggered;
and receiving the visitor code sent by the server.
9. The method of claim 8, wherein, prior to making a payment subscription based on the visitor information and generating subscription information, further comprising:
and sending the visitor information to the server, and enabling the server to verify and enter the visitor information.
10. The method of claim 8, further comprising:
providing the visitor code to a collection device, so that the collection device can perform identity verification, visitor information verification and signing verification based on the visitor code, and deduct money after all verifications are passed;
receiving payment success information sent by the money receiving device;
and displaying the payment success information on an interface.
11. A method of processing guest information, comprising:
scanning a visitor code presented by a terminal;
analyzing the visitor code to obtain visitor information of the visitor and a signing mark corresponding to the signing information;
verifying whether the visitor information is correct;
and if the visitor information is correct and the signing mark is signed, deducting the signing account of the visitor.
12. The method of claim 11, wherein the guest information comprises at least one of a guest identification, an access time, and a guest permission;
verifying whether the visitor information is correct, including:
splicing the character strings corresponding to the visitor identification, the access time and the visitor permission to obtain a spliced code;
encrypting the splicing code based on a secret key sent by a server to obtain an encrypted character;
and comparing the encrypted character with the check code in the visitor code, and judging whether the check code is legal or not according to the comparison result.
13. A system for processing guest information, comprising:
the server is used for generating a visitor code serving as a visitor certificate based on the visitor information and the subscription information sent by the terminal;
the terminal is used for sending subscription information of the payment program to the server and triggering the payment program associated with the visitor code to carry out payment operation based on the subscription information when the visitor code is shown;
and the collection device is used for scanning and analyzing the visitor code presented by the terminal and deducting the signed account of the visitor after the visitor code passes the verification.
14. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method of handling guest information according to any one of claims 1 to 7, or 8-10, or 11-12.
15. An electronic device, comprising:
one or more processors;
a storage device to store one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the method of processing guest information of any of claims 1-7, or 8-10, or 11-12.
CN202010178849.3A 2020-03-15 2020-03-15 Method, device, medium and electronic equipment for processing visitor information Active CN111243145B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010178849.3A CN111243145B (en) 2020-03-15 2020-03-15 Method, device, medium and electronic equipment for processing visitor information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010178849.3A CN111243145B (en) 2020-03-15 2020-03-15 Method, device, medium and electronic equipment for processing visitor information

Publications (2)

Publication Number Publication Date
CN111243145A true CN111243145A (en) 2020-06-05
CN111243145B CN111243145B (en) 2021-10-22

Family

ID=70864382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010178849.3A Active CN111243145B (en) 2020-03-15 2020-03-15 Method, device, medium and electronic equipment for processing visitor information

Country Status (1)

Country Link
CN (1) CN111243145B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111754671A (en) * 2020-06-28 2020-10-09 北京百度网讯科技有限公司 Verification method, device, equipment and computer storage medium
CN112528322A (en) * 2020-12-09 2021-03-19 深圳市天彦通信股份有限公司 Method and device for relieving user equipment control, electronic equipment and storage medium
CN112530067A (en) * 2020-11-27 2021-03-19 远光软件股份有限公司 Visitor management method, related device, storage medium and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388066A (en) * 2007-09-12 2009-03-18 北京方维银通科技有限公司 Method for implementing two-dimensional code certification
US20130013128A1 (en) * 2011-07-05 2013-01-10 Huf Hulsbeck & Furst Gmbh & Co. Kg Mobile identification transmitter which can be set to a normal state and a secure state
CN105138275A (en) * 2015-07-06 2015-12-09 中国科学院高能物理研究所 Data sharing method for Lustre storage system
US20160381001A1 (en) * 2015-06-24 2016-12-29 Lecloud Computing Co., Ltd. Method and apparatus for identity authentication between systems
CN109508951A (en) * 2018-10-09 2019-03-22 重庆君子签科技有限公司 Barcode scanning contracting method, device, storage medium and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388066A (en) * 2007-09-12 2009-03-18 北京方维银通科技有限公司 Method for implementing two-dimensional code certification
US20130013128A1 (en) * 2011-07-05 2013-01-10 Huf Hulsbeck & Furst Gmbh & Co. Kg Mobile identification transmitter which can be set to a normal state and a secure state
US20160381001A1 (en) * 2015-06-24 2016-12-29 Lecloud Computing Co., Ltd. Method and apparatus for identity authentication between systems
CN105138275A (en) * 2015-07-06 2015-12-09 中国科学院高能物理研究所 Data sharing method for Lustre storage system
CN109508951A (en) * 2018-10-09 2019-03-22 重庆君子签科技有限公司 Barcode scanning contracting method, device, storage medium and server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111754671A (en) * 2020-06-28 2020-10-09 北京百度网讯科技有限公司 Verification method, device, equipment and computer storage medium
CN112530067A (en) * 2020-11-27 2021-03-19 远光软件股份有限公司 Visitor management method, related device, storage medium and system
CN112528322A (en) * 2020-12-09 2021-03-19 深圳市天彦通信股份有限公司 Method and device for relieving user equipment control, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111243145B (en) 2021-10-22

Similar Documents

Publication Publication Date Title
KR102051895B1 (en) Data management method through distributed storage of data between user and blockchain
US11658961B2 (en) Method and system for authenticated login using static or dynamic codes
CN105427099B (en) The method for network authorization of secure electronic transaction
JP6648110B2 (en) System and method for authenticating a client to a device
US9642005B2 (en) Secure authentication of a user using a mobile device
US9521548B2 (en) Secure registration of a mobile device for use with a session
CN111243145B (en) Method, device, medium and electronic equipment for processing visitor information
RU2638741C2 (en) Method and user authentication system through mobile device with usage of certificates
US10382954B2 (en) System and method for providing a service to the user of a mobile terminal
US10439813B2 (en) Authentication and fraud prevention architecture
US20130311382A1 (en) Obtaining information for a payment transaction
CN109274652A (en) Identity information verifies system, method and device and computer storage medium
CN110930147B (en) Offline payment method and device, electronic equipment and computer-readable storage medium
CN111062717B (en) Data transfer processing method, device and computer readable storage medium
JP2007527059A (en) User and method and apparatus for authentication of communications received from a computer system
JP2015537399A (en) Application system for mobile payment and method for providing and using mobile payment means
CN113487321A (en) Identity identification and verification method and system based on block chain wallet
CN114519206A (en) Method for anonymously signing electronic contract and signature system
EP2747363A1 (en) Transaction validation method using a communications device
CN104657860A (en) Mobile banking security authentication method
CN110766388B (en) Virtual card generation method and system and electronic equipment
CN109583900A (en) A kind of certificate chain enterprise's settlement system and its application method
CN115221562A (en) Browser file signature method and device and computer readable storage medium
CN114037446A (en) Transaction method, transaction management method, device and system for digital currency
KR20150105937A (en) Method for loan covenant and apparatus for using the same

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40023553

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant