Intelligent-based Offline Check-in Code Creation Method and Platform
By receiving payment verification information, collecting and verifying images in the sign-in system, and generating offline sign-in codes, the check-in efficiency and ticket evasion caused by equipment disconnection in the existing technology is solved, and an efficient and safe sign-in process is achieved.
Patent Information
- Application Number
- CN202510186160.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-20
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2045-02-20
AI Technical Summary
The existing check-in system cannot achieve real-time identity verification when the network is disconnected, resulting in reduced check-in efficiency and ticket evasion.
By receiving the payment verification information sent by the sign-in end, the acquisition device controls the image acquisition device to collect the sign-in personnel in the verification area, uses the image verification strategy to verify personnel, and generate offline sign-in codes to ensure that identity verification and payment confirmation can still be achieved in the case of network disconnection.
It realizes that when the equipment is accidentally disconnected from the Internet and offline, personnel check-in is completed quickly and accurately, improving check-in efficiency, reducing economic losses caused by the equipment offline, and enhancing the security and reliability of the check-in system.
Smart Images

Figure CN119672823B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to data processing technologies, and in particular, to an intelligent offline check-in code creation method and platform. Background Art
[0002] In modern activity venues, such as museums, theme parks, and convention centers, personnel check-in and admission management have become important links in enhancing the user experience and management efficiency. With the progress of technology, more and more activity venues have started to adopt digital check-in systems to improve the convenience and security of check-in.
[0003] Although existing check-in systems have introduced technologies such as electronic payment and identity verification to a certain extent, they still face problems such as unstable network, device offline, and inaccurate verification of personnel identity information in actual operation. Current check-in systems generally rely on network connections for payment verification and identity confirmation. However, in the case of network disconnection, the check-in device cannot complete the real-time identity verification of personnel, resulting in a decrease in check-in efficiency and even the occurrence of ticket evasion. In addition, existing technologies usually require manual verification of check-in information and cannot achieve fast and automated processing, increasing management costs and wasting human resources.
[0004] Therefore, how to enable devices to achieve personnel check-in in the event of accidental network disconnection and offline, improve check-in efficiency, and reduce economic losses caused by device offline has become an urgent problem to be solved. Summary of the Invention
[0005] Embodiments of the present invention provide an intelligent offline check-in code creation method and platform, which can enable devices to achieve personnel check-in in the event of accidental network disconnection and offline, improve check-in efficiency, and reduce economic losses caused by device offline.
[0006] In a first aspect of embodiments of the present invention, an intelligent offline check-in code creation method is provided, including:
[0007] Receiving payment verification information sent by a check-in terminal, and based on the payment verification information, controlling a collection device to collect images of multiple check-in personnel in a verification area to obtain a collection verification image, where the processes of collecting images of check-in personnel and using personnel information both meet the requirements of legality;
[0008] Invoking an image verification strategy to perform personnel verification processing on the collection verification image, obtaining a collective verification image and sending it to the check-in terminal, responding to the re-verification feedback information of the check-in terminal on the collective verification image, sending the collective verification image to the management terminal, and receiving the operation information of the management terminal on the collective verification image to obtain a feedback payment image;
[0009] Respond to the payment information of the feedback payment graph by the check-in terminal, record the payment time, generate a payment verification graph based on the payment time and send it to the check-in terminal, verify the payment verification graph displayed by the check-in terminal, and generate a payment verification result;
[0010] Collect the basic personal information of the check-in personnel in the verification area based on the payment verification result, generate an offline check-in code based on the basic personal information, and send the offline check-in code to the check-in terminal.
[0011] Optionally, in a possible implementation manner of the first aspect, the process of using the retrieved image verification strategy to perform personnel verification on the collected verification graph and obtaining a collective verification graph for sending to the check-in terminal includes:
[0012] Obtain the image center point of the collected verification graph, and perform coordinate transformation on the collected verification graph with the image center point as the coordinate origin;
[0013] Identify the face information of each check-in personnel in the collected verification graph, compare the face information with the handheld identity information corresponding to the check-in personnel to obtain a comparison result, and the comparison result includes a normal identity result and an abnormal identity result;
[0014] When it is determined that the comparison result is a normal identity result, extract the age information from the handheld identity information. When it is determined that the age information belongs to the payment age range, regard the corresponding check-in personnel as full-fare personnel;
[0015] When it is determined that the age information does not belong to the payment age range, regard the corresponding check-in personnel as free-fare personnel;
[0016] When it is determined that the comparison result is an abnormal identity result, regard the corresponding check-in personnel as full-fare personnel;
[0017] When it is determined that the check-in personnel has no handheld identity information, regard the corresponding check-in personnel as a verified person, identify the body contour of the verified person, obtain the coordinates of the contour pixels corresponding to the body contour, and obtain contour coordinates;
[0018] Statistically analyze the contour coordinates to obtain a contour coordinate set, perform a vertical coordinate traversal on the contour coordinate set, regard the contour coordinate corresponding to the maximum vertical coordinate as the first coordinate, and regard the contour coordinate corresponding to the minimum vertical coordinate as the second coordinate;
[0019] Based on the difference between the vertical coordinates corresponding to the first coordinate and the second coordinate, obtain the height of the person;
[0020] When it is determined that the height of the person is greater than the reference height, regard the corresponding verified person as full-fare personnel;
[0021] Generate a check-in payment code corresponding to the full-ticket personnel, update each of the check-in payment codes above the corresponding full-ticket personnel in the acquisition verification map, generate a group verification map, and send it to the check-in terminal.
[0022] Optionally, in a possible implementation manner of the first aspect, the step of updating each of the check-in payment codes above the corresponding full-ticket personnel in the acquisition verification map, generating a group verification map, and sending it to the check-in terminal includes:
[0023] Based on OpenCV, identify the face contours corresponding to each of the full-ticket personnel in the acquisition verification map;
[0024] Obtain the contour area corresponding to the face contour to obtain a face area, and use the center point of the area corresponding to the face area as the pointing midpoint;
[0025] Taking the pointing midpoint as the starting point, construct a vertically upward pointing ray, and the pointing ray intersects the face contour at a construction intersection point;
[0026] Retrieve the interval length, and take the coordinate point at a distance of the interval length along the pointing ray from the construction intersection point as the update midpoint;
[0027] Retrieve the update slot, determine the center point of the update slot as the slot midpoint, place the slot midpoint at the update midpoint, and retrieve the check-in payment code to fill it into the corresponding update slot in the acquisition verification map, and generate a group verification map and send it to the check-in terminal.
[0028] Optionally, in a possible implementation manner of the first aspect, the step of responding to the re-inspection feedback information of the check-in terminal for the group verification map, sending the group verification map to the management terminal, and receiving the operation information of the management terminal for the group verification map to obtain a feedback payment map includes:
[0029] Respond to the re-inspection feedback information of the check-in terminal for the group verification map, and send the group verification map to the management terminal;
[0030] Receive the trigger information of the check-in personnel in the group verification map by the management terminal, and retrieve the attribute modification label based on the trigger information and send it to the management terminal for display;
[0031] When it is determined that the management terminal drags the attribute modification label to the corresponding check-in personnel, regard the corresponding check-in personnel as the changed personnel, and obtain the label attribute of the corresponding attribute modification label, where the label attribute includes a deletion attribute and an addition attribute;
[0032] When it is determined that the label attribute is a deletion attribute, delete the check-in payment code of the changed personnel;
[0033] When it is determined that the label attribute is an addition attribute, add a check-in payment code to the person who made the change;
[0034] Obtain the midpoint of the slot as the independent midpoint for the update slot corresponding to the check-in payment code, and retrieve the coordinates of the independent midpoint as the independent coordinates;
[0035] Based on the average value of the sum of the maximum abscissa and the minimum abscissa of the independent coordinates, obtain the collective abscissa;
[0036] Based on the sum of the maximum ordinate in the independent coordinates and the preset interval value, obtain the collective ordinate;
[0037] Based on the collective abscissa and the collective ordinate, obtain the collective coordinates, and set the midpoint of the update slot at the collective coordinates;
[0038] Generate a collective payment code according to the check-in payment code of the check-in person, update the collective payment code to the update slot at the collective coordinates, and connect the independent coordinates of the check-in payment code with the collective coordinates of the collective payment code to generate a feedback payment map.
[0039] Optionally, in a possible implementation manner of the first aspect, in response to the payment information of the feedback payment map by the check-in terminal, record the payment time, generate a payment verification map based on the payment time and send it to the check-in terminal, and verify the payment verification map displayed by the check-in terminal to generate a payment verification result, including:
[0040] Respond to the payment information of the feedback payment map by the check-in terminal, and record the current time as the payment time;
[0041] Obtain the area corresponding to the check-in person, the check-in payment code, and the collective payment code in the feedback payment map as the first occupied area, and construct a vertical occupied line according to the minimum abscissa and the maximum abscissa of the first occupied area in the feedback payment map;
[0042] Based on the minimum ordinate and the maximum ordinate of the first occupied area in the feedback payment map, construct a horizontal occupied line, generate a second occupied area of the feedback payment map according to the vertical occupied line and the horizontal occupied line, and determine the remaining area in the feedback payment map as the blank area based on the second occupied area;
[0043] Construct an anti-counterfeiting transparent layer with the same size as the feedback payment map, and obtain the area in the anti-counterfeiting transparent layer that is in the same position as the blank area as the rubbing area;
[0044] Update the payment time to the rubbing area to obtain a time anti-counterfeiting layer, and obtain the anti-counterfeiting center point of the time anti-counterfeiting layer and the payment center point of the feedback payment map;
[0045] Align the anti-counterfeiting center point with the payment center point to obtain a payment verification diagram and send it to the check-in terminal;
[0046] Control the acquisition device to acquire the payment verification diagram displayed by the check-in terminal, and identify the payment moment in the payment verification diagram;
[0047] Obtain the trigger moment for proximal payment at the check-in terminal, and based on the preset payment duration and the trigger moment, obtain a payment period;
[0048] When it is determined that the payment moment is within the payment period, generate a payment passed result;
[0049] When it is determined that the payment moment is not within the payment period, generate a payment not passed result;
[0050] Obtain a payment verification result according to the payment passed result and the payment not passed result.
[0051] Optionally, in a possible implementation manner of the first aspect, it further includes:
[0052] Obtain the basic personnel information of the check-in personnel corresponding to the offline check-in code. The basic personnel information includes identity information and verification information, and retrieve the offline payment amount of the check-in personnel;
[0053] Retrieve an initial comparison form, and sequentially fill the identity information, verification information, and the offline payment amount corresponding to each check-in personnel into the initial comparison form to generate an offline comparison form;
[0054] When it is determined that the network is in an online state, retrieve the online payment amount of each check-in personnel from the database based on the identity information in the offline comparison form;
[0055] When it is determined that the offline payment amount is consistent with the online payment amount, return the offline payment amount to the check-in terminal.
[0056] Optionally, in a possible implementation manner of the first aspect, it further includes:
[0057] When it is determined that there are multiple check-in locations in the full-ticket personnel interval selection check-in guidance diagram, regard the corresponding full-ticket personnel as series-nested payment personnel;
[0058] Obtain the check-in location corresponding to the verification area in the check-in guidance diagram as the entry check-in point, sequentially count the check-in location closest to the entry check-in point, obtain a first check-in sequence, and add the entry check-in point to the front of the first check-in sequence to obtain a guided check-in sequence;
[0059] Count the multiple check-in locations corresponding to the series-nested payment personnel to obtain the series check-in set of the series-nested payment personnel, and sort the check-in locations in the series check-in set based on the order of the check-in locations in the guided check-in sequence to obtain the series-nested sequence of the series-nested payment personnel;
[0060] Based on OpenCV, identify the face contours corresponding to each of the series-nested payment personnel in the captured verification image;
[0061] Obtain the contour area corresponding to the face contour to obtain the face area, and use the center point of the area corresponding to the face area as the pointing midpoint;
[0062] Starting from the pointing midpoint, construct a vertically upward pointing ray, and the pointing ray intersects the face contour at a construction intersection point;
[0063] Generate a check-in payment code corresponding to the first check-in location in the series-nested sequence, retrieve the interval length, and along the direction of the pointing ray away from the pointing midpoint, use the coordinate point at a distance of the interval length from the construction intersection point as the setting midpoint;
[0064] Retrieve the nested slot, place the slot midpoint of the nested slot at the setting midpoint, and retrieve the check-in payment code to fill it into the nested slot to obtain the series-nested payment code;
[0065] Delete the first check-in location in the series-nested sequence, and use the slot midpoint of the nested slot as the current construction intersection point, and repeat the above steps to obtain the series-nested payment code until there are no check-in locations in the series-nested sequence, and generate a series-nested verification image.
[0066] Optionally, in a possible implementation manner of the first aspect, it further includes:
[0067] When it is determined that the full-ticket personnel continuously select a check-in guidance map with multiple check-in locations, regard the corresponding full-ticket personnel as parallel-nested payment personnel;
[0068] Obtain the check-in location corresponding to the verification area in the check-in guidance map as the entry check-in point, sequentially count the check-in location closest to the entry check-in point to obtain the first check-in sequence, and add the entry check-in point to the front of the first check-in sequence to obtain the guided check-in sequence;
[0069] Count the multiple check-in locations corresponding to the parallel-nested payment personnel to obtain the parallel check-in set of the parallel-nested payment personnel, and sort the check-in locations in the parallel check-in set based on the order of the check-in locations in the guided check-in sequence to obtain the parallel-nested sequence of the parallel-nested payment personnel;
[0070] Based on OpenCV, recognize the face contours corresponding to each of the parallel nested payment personnel in the collected verification diagram;
[0071] Obtain the contour area corresponding to the face contour to get the face area, and use the center point of the area corresponding to the face area as the pointing midpoint;
[0072] Starting from the pointing midpoint, construct a vertically upward pointing ray, and the pointing ray intersects the face contour at a construction intersection point;
[0073] Select the first check-in location in the parallel nested sequence as the first check-in point, and use the remaining check-in locations as the second check-in points;
[0074] Generate a first payment code corresponding to the first check-in point, retrieve the interval length, and along the direction of the pointing ray away from the pointing midpoint, use the coordinate point at a distance of the interval length from the construction intersection point as the setting midpoint;
[0075] Retrieve the nested slot, place the slot midpoint of the nested slot at the setting midpoint, and retrieve the first payment code to fill it into the nested slot to obtain a parallel nested payment code;
[0076] Construct a horizontal line at the center point of the parallel nested payment code, and based on the interval length, determine multiple parallel positioning points on both sides of the center point of the parallel nested payment code in sequence;
[0077] Obtain the set number of the second check-in point, and sequentially select the parallel positioning points as parallel setting points based on the set number;
[0078] Retrieve the nested slot, place the slot midpoint of the nested slot at the parallel setting point, and generate a second payment code corresponding to the second check-in point, retrieve the second payment code to fill it into the nested slot to generate a parallel nested verification diagram.
[0079] Optionally, in a possible implementation manner of the first aspect, it further includes:
[0080] Retrieve the series nested payment codes corresponding to each of the series nested payment personnel in the series nested verification diagram, and according to the series nested payment codes, obtain the corresponding series payment amounts, and use the series payment amounts as individual series payment amounts;
[0081] Accumulate the individual series payment amounts to obtain the total series payment amount of the series nested payment personnel in the series nested verification diagram;
[0082] Retrieve the parallel nested payment codes corresponding to each of the parallel nested payment personnel in the parallel nested verification diagram and the second payment code, and obtain the payment amounts corresponding to the parallel nested payment code and the second payment code as the parallel payment amounts;
[0083] Accumulate the parallel payment amounts to obtain the total parallel payment amount of the parallel nested payment personnel in the parallel nested verification diagram;
[0084] Count the number of the parallel payment amounts to obtain the parallel times;
[0085] Retrieve the discount comparison table, and based on the parallel times, compare and select the discount comparison table to obtain the discount weight corresponding to the parallel times. The discount comparison table includes a one-to-one correspondence between preset parallel times and discount weights;
[0086] Based on the product of the total parallel payment amount and the discount weight, obtain the actual total parallel amount.
[0087] In the second aspect of the present invention, there is provided an intelligent offline check-in code creation platform, including:
[0088] An acquisition module, configured to receive payment verification information sent by a check-in terminal, and based on the payment verification information, control an acquisition device to perform image acquisition on multiple check-in personnel in a verification area to obtain an acquisition verification diagram. Wherein, the processes of performing image acquisition on check-in personnel and using personnel information both meet the requirements of legality;
[0089] A receiving module, configured to retrieve an image verification strategy to perform personnel verification processing on the acquisition verification diagram, obtain a collective verification diagram and send it to the check-in terminal, respond to the re-inspection feedback information of the check-in terminal on the collective verification diagram, send the collective verification diagram to the management terminal, and receive the operation information of the management terminal on the collective verification diagram to obtain a feedback payment diagram;
[0090] A verification module, configured to respond to the payment information of the check-in terminal on the feedback payment diagram, record the payment time, generate a payment verification diagram based on the payment time and send it to the check-in terminal, and verify the payment verification diagram displayed by the check-in terminal to generate a payment verification result;
[0091] A generation module, configured to collect the basic personnel information of the check-in personnel in the verification area based on the payment verification result, generate an offline check-in code based on the basic personnel information, and send the offline check-in code to the check-in terminal.
[0092] The beneficial effects of the present invention are as follows:
[0093] 1. The present invention enables the device to achieve personnel check-in in the event of accidental network disconnection and offline status, improving the check-in efficiency and reducing the economic losses caused by device offline. First, the present invention can receive the payment verification information sent by the check-in terminal and control the acquisition device to collect images of multiple check-in personnel in the verification area, effectively enabling multiple people to check in simultaneously, so as to improve the check-in speed and allow the participants to quickly enter the activity area. Second, the present invention can retrieve the image verification strategy to perform personnel verification processing on the collected verification images, ensuring effective identity verification and payment confirmation even in the case of network disconnection. Finally, when responding to the feedback payment information from the check-in terminal, the present invention can record the payment time and generate a payment verification image for subsequent payment verification. At the same time, it can also collect the basic information of personnel according to the payment verification result to further generate an offline check-in code for personnel to perform check-in verification, providing data support for check-in management and enhancing the security and reliability of the check-in system.
[0094] 2. The present invention can perform intelligent identity verification and payment confirmation, improving the check-in efficiency and accuracy. Among them, by comparing the face information in the collected verification image with the handheld identity information, the payment amount that the personnel need to make can be quickly determined. And when there is no handheld identity information, the body contour of the check-in personnel can also be recognized to automatically judge their payment information, realizing the rapid acquisition of the payment information of the check-in personnel and generating the corresponding payment code in real time, which not only improves the accuracy of payment but also reduces the need for manual verification, thus reducing the workload of management personnel. In addition, when the system confirms that the identity information is abnormal, it can automatically mark the person as a full-fare person to ensure that all personnel can complete the payment of fees, not only improving the security of on-site check-in but also providing effective data support for subsequent payment and information verification, ensuring the smoothness and efficiency of the entire check-in process.
[0095] 3. The present invention provides processing solutions for series-nested and parallel-nested payment personnel, greatly enhancing the flexibility and efficiency of check-in. In the case of multiple check-in locations, the system can intelligently judge the check-in mode of the participants and arrange them in sequence according to the distances of multiple check-in locations, enabling the viewing of the visiting order of the corresponding check-in locations intuitively, effectively reducing the time for participants to plan the route and saving the time of check-in personnel. BRIEF DESCRIPTION OF THE DRAWINGS
[0096] Figure 1 It is a flowchart of an intelligent offline check-in code creation method provided by the present invention;
[0097] Figure 2 It is a schematic diagram of an offline comparison table provided by the present invention;
[0098] Figure 3Schematic diagram of a series nested verification graph provided by the present invention;
[0099] Figure 4 Schematic diagram of a parallel nested verification graph provided by the present invention;
[0100] Figure 5 Schematic structural diagram of an intelligent offline check-in code creation platform provided by the present invention. Detailed implementation manners
[0101] The technical solution of the present invention will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0102] As Figure 1 shown, the present invention provides an intelligent offline check-in code creation method, including:
[0103] S1. Receive the payment verification information sent by the check-in terminal, and based on the payment verification information, control the acquisition device to collect images of multiple check-in personnel in the verification area to obtain an acquisition verification graph, wherein the processes of image acquisition and personnel information use for the check-in personnel both meet the requirements of legality.
[0104] It should be noted that when a person enters the venue or the play area, there may be a situation where the check-in device is disconnected from the network and the personnel check-in cannot be completed. In this case, in order to reduce losses, reduce the phenomenon of personnel ticket evasion due to the disconnection of the check-in device, and improve the personnel check-in efficiency, it is possible to analyze the check-in personnel, determine the payment amount, and give priority to payment check-in when the check-in device is disconnected from the network, so that the check-in personnel can normally participate in the corresponding activities.
[0105] It can be understood that after receiving the payment verification information sent by the check-in terminal, the acquisition device can be controlled to collect images of multiple check-in personnel in the verification area to obtain an acquisition verification graph, so as to analyze the personnel in the acquisition verification graph later, determine the payment amount of each check-in personnel, and generate corresponding payment verification codes, improve the personnel check-in efficiency, and solve the check-in problem in the case of network disconnection.
[0106] Among them, the check-in terminal is the information terminal of the personnel who arrive for check-in. For example, it can be a mobile phone. The payment verification information is the verification information for check-in payment. For example, it can be the trigger operation information for the check-in terminal to interact with the check-in device through NFC. The collection device is a device that can capture images. The verification area is the specified area for check-in verification. For example, there is a pre-planned area at the ticket window so that the personnel entering the venue can perform verification and payment within the verification area. The check-in personnel are the personnel who perform the entry check-in. The collected verification image is the personnel information image corresponding to the verification area captured by the collection device. Among them, the processes of image collection and personnel information use for the check-in personnel both meet the requirements of legality. The collection device corresponds to the verification area.
[0107] Through the above implementation manners, the present invention can obtain the collected verification image, so as to subsequently verify the personnel according to the collected verification image, determine the corresponding payment amount, and improve the check-in efficiency of personnel entering the venue.
[0108] S2. Invoke the image verification strategy to perform personnel verification processing on the collected verification image, obtain the collective verification image and send it to the check-in terminal. Respond to the re-inspection feedback information of the check-in terminal for the collective verification image, send the collective verification image to the management terminal, and receive the operation information of the management terminal for the collective verification image to obtain the feedback payment image.
[0109] It can be understood that the collected verification image can be verified and analyzed through the image verification strategy to quickly determine the personnel who need to make payments, generate the corresponding check-in payment code, obtain the collective verification image, reduce the time for the management personnel to verify the identities of the check-in personnel one by one, improve the check-in efficiency. At the same time, when there is a deviation in the collective verification image, the check-in personnel can also apply for re-inspection to obtain the accurate payment amount. Therefore, when receiving the re-inspection feedback information sent by the check-in terminal, the collective verification image can be sent to the management terminal so that the management personnel can conduct verification and generate the feedback payment image to improve the accuracy of the payment amount for the check-in personnel.
[0110] Among them, the collective verification image is an image that shows the payment verification code after personnel verification of the collected verification image. The re-inspection feedback information is the feedback information requesting re-verification. For example, when during the identity verification process, a free-ticket check-in personnel is determined as a personnel who needs to pay, the check-in personnel can give re-inspection feedback for manual verification, so as to improve the accuracy of payment information. The management terminal is the information terminal of the personnel who manage the check-in information. For example, it can be the mobile phone corresponding to the manual verification personnel. The operation information is the information for updating the collective verification image. The feedback payment image is the image feedback to the check-in personnel for check-in payment.
[0111] In some embodiments, the specific implementation manner in step S2 (retrieving an image verification policy to perform personnel verification processing on the collected verification image, and sending the collective verification image to the check-in terminal) includes:
[0112] S201, obtaining the image center point of the collected verification image, and performing coordinate transformation on the collected verification image with the image center point as the coordinate origin.
[0113] It can be understood that the center position point of the collected verification image can be obtained through existing image processing technologies, such as OpenCV. Furthermore, coordinate transformation can be performed on the collected verification image, that is, a coordinate system is constructed in the collected verification image, so as to subsequently perform verification and analysis of personnel based on the coordinate positions, facilitating the obtaining of the collective verification image.
[0114] S202, identifying the face information of each check-in person in the collected verification image, and performing information comparison based on the face information and the hand-held identity information corresponding to the check-in person to obtain a comparison result, where the comparison result includes a normal identity result and an abnormal identity result.
[0115] It can be understood that the payment amounts corresponding to different ages are different. For example, the payment amount for those aged between 18 and 60 is 100, and the payment amount for the rest of the ages is 0. Therefore, to prevent check-in personnel from stealing the information of other people to achieve fare reduction, when collecting images of personnel, they need to hold their own identity information, such as an ID card, so that the server can automatically identify and extract the identity information and face information in the collected verification image and perform identity comparison to improve the accuracy of check-in information.
[0116] Among them, the face information is the face image of the check-in person captured in the collected verification image, the hand-held identity information is the item information proving the identity in the hand of the check-in person, such as the ID card of the person, and the comparison result is the result of comparing the face information with the hand-held identity information, including a normal identity result and an abnormal identity result.
[0117] S203, when it is determined that the comparison result is a normal identity result, extracting the age information in the hand-held identity information, and when it is determined that the age information belongs to the payment age range, regarding the corresponding check-in person as a full-fare person.
[0118] It can be understood that by comparing the facial information extracted from the handheld identity information with the face information captured in the collection verification image, when it is determined that the comparison result is a normal identity result, that is, the face information is consistent, the age information in the handheld identity information can be extracted, so as to determine whether it belongs to the payment age range according to the extracted age information. When the age information belongs to the payment age range, the corresponding sign-in person is regarded as a full-fare person, which means that the sign-in person needs to pay the full fare amount.
[0119] Among them, the normal identity result is the result of consistent identity information comparison, the age information is the age value in the handheld identity information, the payment age range is the age value range for ticket payment, for example, the payment age range can be (18 - 60), and the full-fare person is the person who needs to pay the full fare, that is, the sign-in person corresponding to the age information belonging to the payment age range. For example, when the age of person A is 24, the corresponding person A can be regarded as a full-fare person.
[0120] S204, when it is determined that the age information does not belong to the payment age range, the corresponding sign-in person is regarded as a free-ticket person.
[0121] It can be understood that when it is determined that the age information belongs to the payment age range, it means that the sign-in person does not need to make a payment. Therefore, the corresponding sign-in person can be regarded as a free-ticket person.
[0122] Among them, the free-ticket person is the person who does not need to pay the fee, that is, the sign-in person whose age information does not belong to the payment age range.
[0123] S205, when it is determined that the comparison result is an abnormal identity result, the corresponding sign-in person is determined as a full-fare person.
[0124] It can be understood that when it is determined that the comparison result is an abnormal identity result, it can be explained that the handheld identity information of the sign-in person is stolen from another person and has the risk of fare evasion. Therefore, the corresponding sign-in person can be directly regarded as a full-fare person to make the payment.
[0125] Among them, the abnormal identity result is the result of inconsistent identity information comparison.
[0126] S206, when it is determined that the sign-in person has no handheld identity information, the corresponding sign-in person is regarded as a verification person, the body shape contour of the verification person is identified, and the coordinates of the contour pixel points corresponding to the body shape contour are obtained to get the contour coordinates.
[0127] It should be noted that when the sign-in personnel sign in, there may be a situation where they do not carry the handheld identity information, so that the corresponding age information cannot be extracted from the acquisition verification diagram. Therefore, a preliminary judgment can be made based on the body type of the corresponding sign-in personnel to determine the corresponding payment information. Thus, a judgment can be made based on the height of the personnel. For example, when the height exceeds a certain height, the person can be regarded as an adult, and the corresponding payment information can be determined.
[0128] Among them, the verification personnel are the personnel who need to conduct body type verification, that is, the sign-in personnel without handheld identity information. The body type contour is the body image contour corresponding to the verification personnel, the contour pixel points are the image pixel points corresponding to the body type contour, and the contour coordinates are the coordinates of the contour pixel points.
[0129] Through the above implementation manner, the present invention can obtain the contour coordinates, so as to subsequently determine the height corresponding to the verification personnel according to the contour coordinates, and thus determine the payment information corresponding to the verification personnel.
[0130] S207, count the contour coordinates to obtain a contour coordinate set, traverse the ordinate of the contour coordinate set, and take the contour coordinate corresponding to the maximum ordinate as the first coordinate, and take the contour coordinate corresponding to the minimum ordinate as the second coordinate.
[0131] It can be understood that the contour coordinate set is the set of all contour coordinates corresponding to the verification personnel. Thus, the contour coordinate corresponding to the maximum ordinate in the contour coordinate set is taken as the first coordinate, and the contour coordinate corresponding to the minimum ordinate is taken as the second coordinate, so as to subsequently determine the height distance of the verification personnel in the image according to the first coordinate and the second coordinate.
[0132] S208, based on the difference between the ordinates corresponding to the first coordinate and the second coordinate, obtain the height of the person.
[0133] It can be understood that the height of the person is the height distance of the verification personnel in the image, that is, the difference between the ordinates of the first coordinate and the second coordinate.
[0134] S209, when it is determined that the height of the person is greater than the reference height, regard the corresponding verification personnel as full-fare personnel.
[0135] It can be understood that in order to determine whether the corresponding verification personnel meet the payment conditions, that is, when the height is greater than the reference height, the corresponding age may reach the payment standard. Therefore, the height distance corresponding to the reference height in the image can be compared with the obtained height of the person. When the height of the person is greater than the reference height, it can be explained that the actual height of the person has reached the height of the paid-age personnel. Thus, the corresponding verification personnel can be regarded as full-fare personnel.
[0136] Among them, the reference height is the height distance corresponding to the reference height in the image, which can be set in advance manually.
[0137] S210. Generate a check-in payment code corresponding to the full-fare passengers, update each of the check-in payment codes above the corresponding full-fare passengers in the collection verification map, generate a group verification map, and send it to the check-in terminal.
[0138] It can be understood that after determining the full-fare passengers who need to pay the fee, the check-in payment code can be updated above the corresponding full-fare passengers in the collection verification map to obtain a group verification map for subsequent check-in payment to achieve offline check-in.
[0139] Among them, the check-in payment code is a scan payment code for check-in. For example, it can be a two-dimensional code containing passenger information and the payment amount. The group verification map is an image for verifying the check-in payment of multiple passengers.
[0140] In some embodiments, the specific implementation manner in step S210 (updating each of the check-in payment codes above the corresponding full-fare passengers in the collection verification map, generating a group verification map, and sending it to the check-in terminal) includes:
[0141] S2101. Based on OpenCV, identify the face contours corresponding to each of the full-fare passengers in the collection verification map.
[0142] It should be noted that in order to update the corresponding check-in payment code above the image of each full-fare passenger in the collection verification map, it is necessary to first identify the face contours corresponding to each full-fare passenger in the collection verification map to facilitate determining the position point for placing and updating the check-in payment code subsequently.
[0143] Among them, the face contour is the contour of the facial image corresponding to each full-fare passenger in the collection verification map.
[0144] S2102. Obtain the contour area corresponding to the face contour to get the face area, and use the center point of the area corresponding to the face area as the pointing midpoint.
[0145] It can be understood that the face area is the contour area corresponding to the face contour, the center point of the area is the central position point of the face area, and the pointing midpoint is the pointing position point for determining the placement position of the check-in payment code, that is, the center point of the area corresponding to the face area.
[0146] Through the above implementation manner, the present invention can obtain the pointing midpoint to facilitate obtaining the updated midpoint for placing the check-in payment code based on the pointing midpoint subsequently.
[0147] S2103. Starting from the pointing midpoint, construct a vertically upward pointing ray, and the pointing ray intersects the face contour at an intersection point.
[0148] It can be understood that the pointing ray is a guiding line segment for determining the updated midpoint, that is, a ray segment vertically upward starting from the midpoint of the pointing. Since the midpoint of the pointing is the center point of the face area, the constructed pointing ray will intersect with the face contour. Therefore, the intersection point can be used as the constructed intersection point, so that the position point for placing the check-in payment code can be determined through the constructed intersection point later.
[0149] Among them, the constructed intersection point is the position point where the pointing ray intersects with the face contour.
[0150] S2104, retrieve the interval length. Taking the constructed intersection point as the starting point, the coordinate point at a distance of the interval length along the pointing ray is the updated midpoint.
[0151] It can be understood that the interval length is the length distance from the constructed intersection point, which can be set in advance manually. The updated midpoint is the position point for updating the placement of the check-in payment code.
[0152] S2105, retrieve the update slot, determine the center point of the update slot as the slot midpoint, place the slot midpoint at the updated midpoint, and retrieve the check-in payment code to fill it into the corresponding update slot in the collection verification diagram, and generate a collective verification diagram to send to the check-in end.
[0153] It can be understood that the update slot is a slot for updating and filling the check-in payment code, which can be set in advance manually. The slot midpoint is the center point of the update slot. Therefore, when the slot midpoint is placed at the updated midpoint, it realizes that the update slot is placed at the corresponding updated midpoint position. Furthermore, the check-in payment code can be retrieved and filled into the corresponding update slot in the collection verification diagram, and a collective verification diagram is obtained and sent to the check-in end, which is convenient for the check-in end to perform check-in payment.
[0154] In some embodiments, the specific implementation manner of step S2 (responding to the re-inspection feedback information of the check-in end for the collective verification diagram, sending the collective verification diagram to the management end, receiving the operation information of the management end for the collective verification diagram, and obtaining the feedback payment diagram) includes:
[0155] S211, respond to the re-inspection feedback information of the check-in end for the collective verification diagram, and send the collective verification diagram to the management end.
[0156] It can be understood that when the server receives the re-inspection feedback information sent by the check-in end, it will send the collective verification diagram to the management end, so that the management end can perform manual verification on the personnel according to the collective verification diagram, and thus update the check-in payment code of the corresponding personnel.
[0157] S212: Receive the trigger information of the signed-in personnel in the group verification image from the management terminal, and retrieve the attribute modification label based on the trigger information and send it to the management terminal for display.
[0158] It can be understood that when the management terminal determines through manual verification that there is an error in the sign-in payment code of the signed-in personnel in the group verification image, it is necessary to change the information of the corresponding signed-in personnel. Therefore, the management terminal can be triggered. For example, trigger the modification button to retrieve the attribute modification label and display it on the management terminal, facilitating the subsequent selection and movement of the attribute modification label by the management terminal, thereby realizing the replacement of the payment information of the signed-in personnel.
[0159] Among them, the trigger information is the information of the personnel's trigger operation on the management terminal. For example, it can be the operation information of clicking the button at the corresponding position. The attribute modification label is the label for modifying the payment attribute of the signed-in personnel. For example, it can be a prompt label for those over 1.2 meters but under 18 years old.
[0160] S213: When it is determined that the management terminal drags the attribute modification label to the corresponding signed-in personnel, regard the corresponding signed-in personnel as the changed personnel, and obtain the label attribute of the corresponding attribute modification label. The label attribute includes a deletion attribute and an addition attribute.
[0161] It can be understood that when the management personnel determine through verification that the sign-in payment code of the corresponding signed-in personnel in the group verification image needs to be modified, they will select the corresponding suitable label and move it to the image position corresponding to the signed-in personnel. Furthermore, this signed-in personnel can be regarded as the changed personnel for subsequent modification of the corresponding sign-in payment code.
[0162] Among them, the changed personnel are the signed-in personnel to whom the attribute modification label is moved to the corresponding position. For example, when the management personnel drag the attribute modification label for those over 1.2 meters but under 18 years old to the position corresponding to Person B on the management terminal, Person B can be regarded as the changed personnel, and the label attribute of the attribute modification label can be obtained to determine the replacement operation according to the label attribute subsequently. The label attribute is the attribute information of the attribute modification label, including a deletion attribute and an addition attribute. Among them, the deletion attribute is the attribute of deleting the sign-in payment code corresponding to the corresponding changed personnel, and the addition attribute is the attribute of adding a sign-in payment code to the corresponding changed personnel.
[0163] It is not difficult to understand that when the height of person B corresponding in the collective verification diagram exceeds the benchmark height, but after manual verification, it is confirmed that the actual age of person B has not reached the payment condition. Therefore, it is necessary to delete the check-in payment code above person B. Similarly, when person C is determined to be a free ticket person during the preliminary confirmation process, but the actual age already belongs to the age payment range. Therefore, it is necessary to make a modification so that a check-in payment code is generated above person C subsequently to improve the accuracy of check-in payment.
[0164] S214, when it is determined that the label attribute is the deletion attribute, delete the check-in payment code of the changed person.
[0165] It can be understood that when the label attribute of the person to be replaced is the deletion attribute when moving, the corresponding check-in payment code of the changed person is deleted to avoid subsequent fee payment.
[0166] S215, when it is determined that the label attribute is the addition attribute, add a check-in payment code to the changed person.
[0167] It can be understood that when the label attribute of the person to be replaced is the addition attribute when moving, a corresponding check-in payment code is generated for the full-fare person according to the addition attribute, and the corresponding check-in payment code is displayed above the changed person.
[0168] S216, obtain the slot midpoint of the update slot corresponding to the check-in payment code as the independent midpoint, and retrieve the coordinate of the independent midpoint as the independent coordinate.
[0169] It can be understood that in the collective verification diagram, a team can have multiple people verifying and checking in simultaneously. Therefore, the operation midpoint of the update operation where the check-in payment code corresponding to a single person is located can be used as the independent midpoint, so as to determine the collective coordinate position according to the independent midpoint subsequently, so that the collective payment code generated by summing up the payment amounts corresponding to multiple people is updated at the corresponding collective coordinate, facilitating subsequent personnel to select the payment method by themselves. That is, it is possible to pay the payment amounts of all check-in personnel at the same time, or choose to scan the code for individual payment.
[0170] Among them, the independent midpoint is the slot midpoint of the update slot corresponding to the check-in payment code of each check-in person, and the independent coordinate is the position coordinate of the independent midpoint.
[0171] S217, obtain the collective abscissa according to the average value of the sum of the maximum abscissa and the minimum abscissa of the independent coordinate.
[0172] It should be noted that the payment amounts corresponding to all personnel can be summed up so that the subsequent check-in terminal can select a unified payment method for payment check-in. Therefore, the collective abscissa can be obtained, which is convenient for subsequent use of the midpoint positions corresponding to all independent slots as the placement positions for constructing the updated slots corresponding to the collective coordinates.
[0173] It can be understood that the collective abscissa is the abscissa corresponding to the collective coordinates, that is, the average value of the sum of the maximum abscissa and the minimum abscissa of the independent coordinates.
[0174] Through the above implementation manner, the present invention can obtain the collective abscissa, so as to combine it with the collective ordinate subsequently to obtain the collective coordinates, which is convenient for the placement of the updated slots.
[0175] S218, based on the sum value of the maximum ordinate in the independent coordinates and the preset interval value, obtain the collective ordinate.
[0176] It can be understood that when summing up the payment information of all personnel and generating the corresponding collective payment code for display, the collective payment code needs to be displayed above multiple independent slots. Therefore, it is necessary to select the maximum ordinate in the independent coordinates and determine the collective ordinate at an interval of the preset interval value, so as to obtain the collective coordinates subsequently and place the corresponding update operation at the position of the collective coordinates, which is convenient for the filling and display of the collective payment code.
[0177] Among them, the preset interval value is the preset interval distance value, which can be set artificially in advance. The collective ordinate is the sum value of the maximum ordinate in the independent coordinates and the preset interval value. For example, when the maximum ordinate is 10 and the preset interval value is 5, the collective ordinate obtained is 15.
[0178] S219, according to the collective abscissa and the collective ordinate, obtain the collective coordinates, and set the slot midpoint of the updated slot at the collective coordinates.
[0179] It can be understood that the collective coordinates are the position coordinates for placing the collective payment code, that is, obtained by combining the collective abscissa and the collective ordinate. For example, when the collective abscissa is 15 and the collective ordinate is 15, the collective coordinates (15, 15) can be obtained, so as to subsequently set the slot midpoint of the updated slot at the position corresponding to the collective coordinates, which is convenient for subsequently filling the corresponding collective payment code in the updated slot at this position for display.
[0180] S220, generate a collective payment code according to the check-in payment code of the check-in personnel, update the collective payment code to the updated slot at the collective coordinates, and connect the independent coordinates of the check-in payment code with the collective coordinates of the collective payment code to generate a feedback payment diagram.
[0181] It is understandable that the collective payment code is a scan code that summarizes the payment information corresponding to all check-in payment codes. For example, it is a two-dimensional code containing the payment amounts of all personnel. Thus, the generated collective payment code can be updated in the update slot at the collective coordinate, facilitating personnel to scan and make payments. At the same time, the position corresponding to the independent coordinate of the check-in payment code is connected to the position of the collective coordinate of the collective payment code to generate a feedback payment diagram.
[0182] Through the above implementation manner, the present invention obtains a feedback payment diagram so that subsequent check-in personnel can scan and pay the payment code in the feedback payment diagram, facilitating the realization of offline check-in.
[0183] S3. Respond to the payment information of the feedback payment diagram by the check-in terminal, record the payment time, generate a payment verification diagram based on the payment time, send it to the check-in terminal, and verify the payment verification diagram displayed by the check-in terminal to generate a payment verification result.
[0184] It is understandable that since the quantity and amount that different collectives or check-in personnel need to pay may be the same, there may be a situation where a check-in person displays the payment interface of other collectives or personnel to impersonate their own payment and avoid paying the fare. Therefore, it is necessary to perform time verification on the payment verification diagram displayed by the check-in terminal to ensure that the corresponding person completes the payment of the fee.
[0185] Among them, the payment information is the operation information of making an amount payment by scanning the payment code in the feedback payment diagram, the payment time is the time when the fee payment is completed, the payment verification diagram is a verification image with payment information, and the payment verification result is a comparison result for verifying whether the payment is real.
[0186] Through the above implementation manner, the present invention can obtain a payment verification result, thereby improving the accuracy of payment check-in.
[0187] In some embodiments, the specific implementation manner in step S3 (responding to the payment information of the feedback payment diagram by the check-in terminal, recording the payment time, generating a payment verification diagram based on the payment time, sending it to the check-in terminal, and verifying the payment verification diagram displayed by the check-in terminal to generate a payment verification result) includes:
[0188] S301. Respond to the payment information of the feedback payment diagram by the check-in terminal and record the current time as the payment time.
[0189] It is understandable that the payment time is the time when the check-in terminal makes the fee payment, that is, the current time when responding to the payment information of the feedback payment diagram by the check-in terminal.
[0190] S302. Obtain the areas corresponding to the sign-in personnel, sign-in payment codes, and group payment codes in the feedback payment diagram as the first occupied areas, and construct a vertical occupancy line based on the minimum abscissa and maximum abscissa of the first occupied areas in the feedback payment diagram.
[0191] It should be noted that, in order to improve the accuracy of the verification result, a watermark with the payment time can be added to the feedback payment diagram, so that the authenticity of the current sign-in personnel's payment can be determined according to the payment time on the watermark in the subsequent process. Therefore, it is necessary to obtain a blank area in the feedback payment diagram for displaying the watermark information.
[0192] It can be understood that the first occupied areas are the areas corresponding to the sign-in personnel, sign-in payment codes, and group payment codes in the feedback payment diagram, and the vertical occupancy line is a vertical line segment used to determine the second occupied areas, that is, the vertical line segments corresponding to the minimum abscissa and maximum abscissa of the first occupied areas.
[0193] S303. Construct a horizontal occupancy line based on the minimum ordinate and maximum ordinate of the first occupied areas in the feedback payment diagram. Generate the second occupied areas of the feedback payment diagram according to the vertical occupancy line and the horizontal occupancy line, and determine the remaining areas in the feedback payment diagram as blank areas based on the second occupied areas.
[0194] It can be understood that the horizontal occupancy line is a horizontal line segment used to determine the second occupied areas, that is, the horizontal line segments corresponding to the minimum ordinate and maximum ordinate of the first occupied areas. The second occupied areas are the areas including all the first occupied areas, and the blank areas are the other areas in the feedback payment diagram except the second occupied areas, so as to add a watermark layer on the blank areas in the subsequent process.
[0195] S304. Construct an anti-counterfeiting transparent layer with the same size as the feedback payment diagram, and obtain the area in the anti-counterfeiting transparent layer that is in the same position as the blank areas as the rubbing area.
[0196] It can be understood that the anti-counterfeiting transparent layer is a transparent layer for verifying the real feedback payment diagram, and its specifications are the same as the size of the feedback payment diagram, so that it can be superimposed on the feedback payment diagram. The rubbing area is the area where the payment time can be rubbed, that is, the area in the anti-counterfeiting transparent layer that is in the same position as the blank areas.
[0197] Through the above embodiments, the present invention can construct an anti-counterfeiting transparent layer and determine the rubbing area at the same time, so as to mark the payment time at the position corresponding to the rubbing area in the subsequent process for verifying the real completed payment information in the subsequent process.
[0198] S305. Update the payment time to the rubbing area to obtain a time anti-counterfeiting layer, obtain the anti-counterfeiting center point of the time anti-counterfeiting layer, and the payment center point of the feedback payment diagram.
[0199] It can be understood that the time anti-counterfeiting layer is a layer with the payment time, the anti-counterfeiting center point is the image center point corresponding to the time anti-counterfeiting layer, and the payment center point is the image center point corresponding to the feedback payment diagram.
[0200] Through the above implementation, the present invention can determine the anti-counterfeiting center point and the payment center point, so that the anti-counterfeiting center point and the payment center point can be aligned subsequently to achieve the superposition of the time anti-counterfeiting layer.
[0201] S306. Align the anti-counterfeiting center point with the payment center point to obtain a payment verification diagram and send it to the check-in terminal.
[0202] It can be understood that the payment verification diagram is a payment image with a time anti-counterfeiting layer, that is, the verification diagram after adding the time anti-counterfeiting layer to the feedback payment diagram, so as to judge the authenticity of the corresponding check-in personnel's payment according to the payment time on the payment verification diagram subsequently.
[0203] S307. Control the acquisition device to acquire the payment verification diagram displayed by the check-in terminal and identify the payment time in the payment verification diagram.
[0204] It can be understood that by controlling the acquisition device to photograph the payment verification diagram displayed by the check-in terminal, the payment time in the payment verification diagram displayed by the check-in terminal can be identified, so as to compare and judge with the payment period subsequently to obtain a payment verification result.
[0205] S308. Obtain the trigger time for proximal payment of the check-in terminal, and obtain a payment period based on the preset payment duration and the trigger time.
[0206] It can be understood that the trigger time is the time when the check-in terminal makes a proximal payment. For example, the time when a person holds a mobile phone to trigger NFC for payment to the charging terminal. The preset payment duration is the preset payment duration. For example, 5 minutes, that is, the person needs to complete the payment within 5 minutes after triggering the payment information, otherwise the trigger information will become invalid and the payment cannot be completed.
[0207] Among them, the payment period is the time period during which the payment can be made. For example, when the trigger time is 15:00 and the preset payment duration is 5 minutes, the corresponding payment period is (15:00 - 15:05).
[0208] S309. When it is determined that the payment time is within the payment period, generate a payment pass result.
[0209] It can be understood that when it is determined that the payment moment is within the payment period, it can be shown that the currently displayed payment verification diagram represents a real payment by the person, that is, the signing-in person has made a payment. Therefore, a payment passed result can be generated for subsequent offline signing-in.
[0210] Among them, the payment passed result is a verification result for determining that the real payment is successful.
[0211] S310. When it is determined that the payment moment is not within the payment period, generate a payment not passed result.
[0212] It can be understood that when it is determined that the payment moment is not within the payment period, it can be shown that the time in the currently displayed payment verification diagram is not within the normal payment period, and it may be a payment verification diagram of someone else. Therefore, a payment not passed result can be generated.
[0213] Among them, the payment not passed result is a verification result for determining that there is an abnormality in the payment.
[0214] S311. Obtain a payment verification result based on the payment passed result and the payment not passed result.
[0215] It can be understood that the payment verification result includes the payment passed result and the payment not passed result.
[0216] Through the above embodiments, the present invention can obtain a payment verification result, so as to subsequently determine the information collection of the signing-in person according to the payment verification result, thereby generating an offline signing-in code and realizing the signing-in operation of the signing-in person when the signing-in device is offline, improving the signing-in efficiency.
[0217] S4. Based on the payment verification result, collect the basic personal information of the signing-in person in the verification area, generate an offline signing-in code based on the basic personal information, and send the offline signing-in code to the signing-in terminal.
[0218] It should be noted that in order to improve the accuracy of offline signing-in subsequently, it is necessary to collect the basic personal information of the signing-in person in the verification area, so as to subsequently conduct signing-in verification according to the basic personal information and generate a corresponding offline signing-in code for the signing-in terminal to scan for signing-in.
[0219] It can be understood that the basic personal information is identity information related to the signing-in person. For example, it may include identity information and verification information, etc. The offline signing-in code is a signing-in code in the offline state.
[0220] It should be noted that in some embodiments, it further includes:
[0221] A1. Obtain the basic personal information of the sign-in person corresponding to the offline sign-in code. The basic personal information includes identity information and verification information, and retrieve the offline payment amount of the sign-in person.
[0222] It can be understood that the identity information is information indicating the identity of the sign-in person. For example, it can include name, gender, height, etc. The verification information is information for verifying the identity, such as face information and signature information for paper-based sign-in.
[0223] It is not difficult to understand that the basic information input by the sign-in person can be received to generate an offline sign-in code. Furthermore, it is convenient to subsequently fill in the basic personal information and offline payment amount corresponding to the sign-in person in the initial comparison form, facilitating the final comparison and verification with the database and improving the accuracy of offline sign-in.
[0224] Among them, the offline payment amount is the amount paid in the offline state. For example, when visiting Hall A, the device for verifying sign-in corresponding to Hall A is in the offline state, then the amount that the sign-in person can pay in advance on their own sign-in terminal.
[0225] A2. Retrieve the initial comparison form, and sequentially fill in the identity information, verification information, and the offline payment amount corresponding to each sign-in person into the initial comparison form to generate an offline comparison form.
[0226] It should be noted that the identity information, verification information, and payment amount of the sign-in person can be statistically counted and filled in a blank form, facilitating subsequent comparison and verification of the personnel and amount between the obtained offline comparison form and the original database for statistically counting sign-in personnel. When a person makes payments both in the offline and online states, the amount paid in the offline state can be refunded to ensure that the sign-in person can sign in and enter the venue normally in the offline state. At the same time, it can also effectively reduce ticket evaders and improve the accuracy of offline sign-in.
[0227] It can be understood that the initial comparison form is a preset blank form for filling in sign-in person information, and the offline comparison form is a form for statistically counting sign-in person information in the offline state.
[0228] For example, as Figure 2 shown, when there are sign-in persons A, B, and C, the name, gender, height in the identity information, and the face image and signature in the verification information can be sequentially filled into the corresponding slots, and finally the paid amount is filled into the cell corresponding to the offline payment amount to obtain an offline comparison form for subsequent comparison and verification with the database.
[0229] A3. When it is determined that the network is online, retrieve the online payment amounts of each signed-in person from the database based on the identity information in the offline comparison table.
[0230] It can be understood that when it is determined that the network of the device for identifying sign-in is online, the online payment amounts of the corresponding personnel can be retrieved from the data according to the identity information in the offline comparison table, so as to determine whether the signed-in person has made duplicate payments, which is convenient for counting the refund personnel and amounts.
[0231] Among them, the online payment amount is the amount paid when the device is in the online state of networking.
[0232] It is not difficult to understand that when the device has a network connection, the signed-in person needs to make a re-payment to ensure that all the people entering the venue have completed the payment, avoiding the situation that the device cannot sign in and pay in the offline state. Thus, in the follow-up, it can be compared with the offline comparison table and the amount of multiple payments can be refunded.
[0233] A4. When it is determined that the offline payment amount is the same as the online payment amount, return the offline payment amount to the sign-in terminal.
[0234] It can be understood that when it is determined that the offline payment amount is the same as the online payment amount, it means that the signed-in person has made multiple payments. Therefore, the offline payment amount can be returned to the sign-in terminal. On the contrary, when the offline payment amount is different from the online payment amount, no return operation is performed.
[0235] It should be noted that there may be multiple venues in the same area, and people need to sign in and pay when visiting each venue. Therefore, when people select multiple venues for ticket splitting according to their actual needs, and then, when signing in and verifying at the entrance of the area, the corresponding payment code can be determined according to the payment information and amount, so that the subsequent personnel can reach the corresponding location for payment and sign-in. Thus, in some embodiments, it further includes:
[0236] B1. When it is determined that there are multiple sign-in locations selected by the full-ticket personnel at intervals in the sign-in guidance map, regard the corresponding full-ticket personnel as series-nested payment personnel.
[0237] It can be understood that when people do not choose to buy a combined ticket initially, if they temporarily add other venues to visit after payment, there will be a time interval from the previous ticket purchase and payment moment. Therefore, the full-ticket personnel who select multiple sign-in locations at intervals can be regarded as series-nested payment personnel, so as to generate the corresponding series-nested verification map, which is convenient for subsequent payment and viewing.
[0238] Among them, the check-in guidance map is a map for guiding the reference check-in for admission. For example, it can be a map of the corresponding play area. The check-in location is the location for check-in and admission. For example, Venue A, Venue B, Venue C, etc. The series-connected nested payment personnel are full-ticket personnel who select multiple check-in locations at intervals.
[0239] B2. Obtain the check-in location corresponding to the verification area in the check-in guidance map as the entry check-in point, and sequentially count the check-in locations closest to the entry check-in point to obtain the first check-in sequence, and add the entry check-in point to the front of the first check-in sequence to obtain the guided check-in sequence.
[0240] It can be understood that the entry check-in point is the location where the check-in personnel enter the reference area. For example, it can be the entrance location of ticket checking and check-in shown in the check-in guidance map. The first check-in sequence is the location sequence after arranging multiple check-in locations according to the distance from the entry check-in point. When location S is the entry check-in point, among them, there are 5 venues in the check-in guidance map, and the corresponding check-in locations are Location A, Location B, Location C, Location D, and Location E respectively. Sequentially arrange the check-in locations closest to the entry check-in point to obtain the first check-in sequence as (Location A, Location B, Location C, Location D, Location E). The guided check-in sequence is the sequence for guiding the check-in personnel to perform reference check-in, that is, the sequence after adding the entry check-in point to the front of the first check-in sequence. For example, when the first check-in sequence is (Location A, Location B, Location C, Location D, Location E) and the entry check-in point is Location S, the guided check-in sequence can be obtained as (Location S, Location A, Location B, Location C, Location D, Location E).
[0241] Through the above implementation manner, the present invention can obtain the guided check-in sequence to provide a sorting reference for obtaining the series-connected nested sequence subsequently.
[0242] B3. Count the multiple check-in locations corresponding to the series-connected nested payment personnel to obtain the series-connected check-in set of the series-connected nested payment personnel, and sort the check-in locations in the series-connected check-in set based on the order of the check-in locations in the guided check-in sequence to obtain the series-connected nested sequence of the series-connected nested payment personnel.
[0243] It can be understood that the series-connected nested payment personnel will select the corresponding interested locations in the check-in guidance map as the check-in locations. Therefore, the multiple check-in locations corresponding to the series-connected nested payment personnel can be counted to obtain the series-connected check-in set of the series-connected nested payment personnel. Furthermore, the check-in locations in the series-connected check-in set can be sorted according to the order of the check-in locations in the guided check-in sequence to obtain the series-connected nested sequence of the series-connected nested payment personnel, which is convenient for subsequently generating the corresponding nested slots according to the series-connected nested sequence, thereby obtaining the series-connected nested verification map for personnel to view.
[0244] Among them, the serial check-in set is a set containing multiple check-in locations corresponding to the serially nested payment personnel, and the serial nesting sequence is a sequence obtained by sorting the check-in locations in the serial check-in set.
[0245] B4. Based on OpenCV, identify the face contours corresponding to each of the serially nested payment personnel in the collected verification image.
[0246] It can be understood that by using OpenCV to identify the face contours corresponding to the serially nested payment personnel in the collected verification image, so as to generate serially nested payment codes at the positions of the corresponding personnel subsequently.
[0247] B5. Obtain the contour area corresponding to the face contour to obtain the face area, and use the center point of the area corresponding to the face area as the pointing midpoint.
[0248] It can be understood that the face area is the contour area corresponding to the face contour, the center point of the area is the central position point of the face area, and the pointing midpoint is the pointing position point for determining the placement position of the check-in payment code, that is, the center point of the area corresponding to the face area.
[0249] Through the above embodiments, the present invention can obtain the pointing midpoint, so as to subsequently determine the placement position of the nested slot according to the pointing midpoint.
[0250] B6. Starting from the pointing midpoint, construct a vertically upward pointing ray, and the pointing ray intersects the face contour at a constructed intersection point.
[0251] It can be understood that the pointing ray is a guiding line segment for determining the updated midpoint, that is, a vertically upward ray segment starting from the pointing midpoint. Since the pointing midpoint is the center point of the face area, the constructed pointing ray will intersect the face contour. Therefore, the intersecting point can be used as the constructed intersection point, so as to subsequently determine the position point for placing the check-in payment code through the constructed intersection point.
[0252] Among them, the constructed intersection point is the position point where the pointing ray intersects the face contour.
[0253] B7. Generate a check-in payment code corresponding to the first check-in location in the serial nesting sequence, retrieve the interval length, and along the direction of the pointing ray away from the pointing midpoint, use the coordinate point at a distance of the interval length from the constructed intersection point as the setting midpoint.
[0254] It can be understood that, in order to perform sign-in verification at the corresponding sign-in locations in sequence subsequently, it is necessary to generate sign-in payment codes corresponding to the sign-in locations one by one. Then, when entering the venue for a visit subsequently, sign-in verification can be carried out. Therefore, a sign-in payment code corresponding to the first sign-in location in the serial nested sequence can be generated, so that the corresponding sign-in payment codes can be placed in the corresponding slots for display in sequence subsequently, facilitating the payment sign-in of subsequent personnel.
[0255] Among them, the interval length is the length distance from the constructed intersection point, which can be set artificially in advance, and the midpoint is set as the position point for placing the sign-in payment code.
[0256] B8, retrieve the nested slot, place the slot midpoint of the nested slot at the set midpoint, and retrieve the sign-in payment code to fill it into the nested slot to obtain a serial nested payment code.
[0257] It can be understood that the nested slot is a slot for filling the sign-in payment code, which can be set artificially in advance. The slot midpoint is the center point of the nested slot. Thus, when the slot midpoint is placed at the set midpoint, the nested slot is placed at the corresponding set midpoint position. Then, the sign-in payment code can be retrieved and filled in the corresponding nested slot to obtain a serial nested payment code.
[0258] Among them, the serial nested payment code is the payment code corresponding to the sign-in location of the serial nested payment personnel.
[0259] B9, delete the first sign-in location in the serial nested sequence, and use the slot midpoint of the nested slot as the current constructed intersection point, and repeat the above steps to obtain the serial nested payment code until there is no sign-in location in the serial nested sequence, and a serial nested verification graph is generated.
[0260] It can be understood that after the above implementation steps complete the construction of the serial nested payment code corresponding to the first sign-in location in the serial nested sequence, the first sign-in location in the serial nested sequence needs to be deleted, so as to generate and construct the payment codes for the remaining sign-in locations in sequence, facilitating the generation of the serial nested verification graph, so that personnel can perform payment verification on the serial nested verification graph.
[0261] Among them, the serial nested verification graph is a verification graph with the serial nested payment codes of multiple sign-in locations corresponding to the serial nested personnel.
[0262] For example, as Figure 3 shown, the serial nested payment codes of the corresponding multiple sign-in locations can be displayed in sequence to obtain a serial nested verification graph, so that personnel can intuitively view the order of the locations to be signed in with reference to the serial nested verification graph. It is worth mentioning that Figure 3The rectangular patterns corresponding to persons A, B, and C in [the figure] represent the images of the persons captured by the acquisition device, and are only represented by rectangular patterns here.
[0263] It should be noted that the sign-in personnel may also continuously select multiple sign-in locations in advance. Therefore, in order to facilitate the personnel to intuitively view the visiting paths of the venues corresponding to each sign-in location through the payment verification map, accordingly, according to the ticket purchase method of the venues selected by the sign-in personnel to visit, the corresponding venue information can be intuitively displayed according to the distance, so that the personnel can master a better visiting path while making the payment, saving the time for the personnel to find the path. Therefore, it further includes:
[0264] C01. When it is determined that the full-ticket personnel continuously select multiple sign-in locations in the sign-in guidance map, the corresponding full-ticket personnel are regarded as parallel nested payment personnel.
[0265] It can be understood that when the full-ticket personnel continuously select multiple sign-in locations, it means that the personnel will subsequently refer to the corresponding multiple venues. Therefore, the full-ticket personnel who continuously select multiple sign-in locations in the sign-in guidance map can be regarded as parallel nested payment personnel, so as to generate the corresponding parallel nested payment code subsequently, enabling the personnel to intuitively view the corresponding reference path and facilitating the saving of the personnel's walking time.
[0266] Among them, the sign-in guidance map is a map for guiding and indicating the reference sign-in for admission. For example, it can be a map of the corresponding playing area. The sign-in location is the location for sign-in and admission. For example, Venue A, Venue B, Venue C, etc. The parallel nested payment personnel are the full-ticket personnel who continuously select multiple sign-in locations.
[0267] C02. Obtain the sign-in location corresponding to the verification area in the sign-in guidance map as the entry sign-in point, sequentially count the sign-in location closest to the entry sign-in point, obtain the first sign-in sequence, and add the entry sign-in point to the front of the first sign-in sequence to obtain the guided sign-in sequence.
[0268] It can be understood that the entry sign-in point is the location where the sign-in personnel enter the reference area. For example, it can be the entrance location of ticket checking and sign-in shown in the sign-in guidance map. The first sign-in sequence is the location sequence after arranging the distances of multiple sign-in locations from the entry sign-in point, which has the same meaning as that in the above series connection and will not be elaborated here.
[0269] C03. Count the multiple sign-in locations corresponding to the parallel nested payment personnel to obtain the parallel sign-in set of the parallel nested payment personnel, and sort the sign-in locations in the parallel sign-in set according to the order of the sign-in locations in the guided sign-in sequence to obtain the parallel nested sequence of the parallel nested payment personnel.
[0270] It can be understood that the parallel check-in set is a set containing multiple check-in locations corresponding to the parallel nested payment personnel, and the parallel nested sequence is a sequence obtained by sorting the check-in locations in the parallel check-in set.
[0271] It is not difficult to understand that the check-in locations in the parallel check-in set are sorted according to the order of the check-in locations in the guided check-in sequence, so that the sequence of each payment code in the subsequent generated parallel nested verification diagram is a formal sequence that conforms to the personnel visit.
[0272] C04. Based on OpenCV, recognize the face contours corresponding to each of the parallel nested payment personnel in the collected verification diagram.
[0273] It can be understood that the face contours corresponding to the parallel nested payment personnel in the collected verification diagram are recognized through OpenCV, so as to generate parallel nested payment codes at the corresponding personnel positions subsequently.
[0274] C05. Obtain the contour area corresponding to the face contour to get the face area, and use the center point of the area corresponding to the face area as the pointing midpoint.
[0275] It can be understood that the face area is the contour area corresponding to the face contour, the center point of the area is the central position point of the face area, and the pointing midpoint is the pointing position point for determining the placement position of the check-in payment code, that is, the center point of the area corresponding to the face area.
[0276] C06. Starting from the pointing midpoint, construct a vertically upward pointing ray, and the pointing ray intersects the face contour at a constructed intersection point.
[0277] It can be understood that the pointing ray is a guiding line segment for determining the updated midpoint, that is, a vertically upward ray segment starting from the pointing midpoint. Since the pointing midpoint is the center point of the face area, the constructed pointing ray will intersect the face contour. Therefore, the intersecting point can be used as the constructed intersection point, so that the position point for placing the check-in payment code can be determined subsequently.
[0278] Among them, the constructed intersection point is the position point where the pointing ray intersects the face contour.
[0279] C07. Select the first check-in location in the parallel nested sequence as the first check-in point, and use the remaining check-in locations as the second check-in points.
[0280] It can be understood that the first check-in point is the first check-in location in the parallel nested sequence, and the second check-in points are the other check-in locations in the parallel nested sequence excluding the first check-in point.
[0281] Through the above embodiments, the present invention can distinguish the check-in locations in the parallel nested sequence, so that corresponding verification payment codes can be generated in sequence and filled and placed at appropriate positions, realizing the arrangement of the visit order, facilitating personnel to view, and saving the path planning time for visiting.
[0282] C08. Generate a first payment code corresponding to the first check-in point, retrieve the interval length, and along the direction of the pointing ray away from the pointing midpoint, use the coordinate point at a distance of the interval length from the construction intersection point as the setting midpoint.
[0283] It should be noted that in order to perform check-in verification at the corresponding check-in locations in sequence subsequently, thus, it is necessary to generate check-in payment codes corresponding to the check-in locations one by one. Furthermore, when entering the venue for a visit subsequently, check-in verification can be performed. Therefore, a first payment code corresponding to the first check-in point in the parallel nested sequence can be generated, so as to place the corresponding first payment code in the corresponding slot for display subsequently, facilitating the payment check-in of subsequent personnel.
[0284] It can be understood that the first payment code is the payment code of the parallel nested payment personnel corresponding to the first check-in point, the interval length is the length distance from the construction intersection point, which can be set artificially in advance, and the setting midpoint is the position point for placing the check-in payment code.
[0285] C09. Retrieve the nested slot, place the slot midpoint of the nested slot at the setting midpoint, and retrieve the first payment code to fill it into the nested slot to obtain a parallel nested payment code.
[0286] It can be understood that the nested slot is a slot for filling the payment code, which can be set artificially in advance, and the slot midpoint is the center point of the nested slot. Thus, when the slot midpoint is placed at the setting midpoint, the nested slot is placed at the corresponding setting midpoint position. Furthermore, the first payment code can be retrieved and filled in the corresponding nested slot to obtain a parallel nested payment code.
[0287] Among them, the parallel nested payment code is the payment code of the parallel nested payment personnel corresponding to the first check-in point.
[0288] C10. Construct a horizontal line at the center point of the parallel nested payment code, and based on the interval length, determine multiple parallel positioning points on both sides of the center point of the parallel nested payment code in sequence.
[0289] It can be understood that in order to enable the payment codes corresponding to the continuously selected check-in locations to be arranged and displayed in parallel, thus, a horizontal line can be constructed at the center point of the parallel nested payment code, so as to determine the position points for placing the nested slots on the horizontal line subsequently, enabling multiple subsequent payment codes to be displayed on the same horizontal line.
[0290] Among them, the interval length is the preset interval distance between two nested slots, and the parallel positioning point is a position point used to determine the nested slot corresponding to the second payment code.
[0291] C11, obtaining the set number of the second check-in points, and selecting the parallel positioning points in sequence as parallel setting points based on the set number.
[0292] It can be understood that the set number is the number of second check-in points, and the parallel set points are parallel positioning points selected in sequence according to the set number.
[0293] It is not difficult to understand that when selecting parallel positioning points, you can select points on the left and right sides of the center point of the parallel nested payment code in turn. For example, you can give priority to selecting the points close to and located on the left side of the center point of the parallel nested payment code, and then select the parallel positioning point close to and located on the right side of the center point of the parallel nested payment code as the parallel setting point. When selecting the third parallel setting point, you can again select the parallel positioning point located on the left side of the center point of the parallel nested payment code as the parallel setting point, and so on, until the number of selected parallel positioning points is equal to the setting number.
[0294] Through the above implementation, the present invention can obtain parallel setting points, so that nested slots can be placed at the determined parallel setting points later, so as to facilitate updating the corresponding second payment code to the corresponding slot, so that personnel can perform payment verification in sequence.
[0295] C12, call the nested slot, place the midpoint of the nested slot at the parallel setting point, generate a second payment code corresponding to the second check-in point, call the second payment code and fill it into the nested slot to generate a parallel nested verification diagram.
[0296] It can be understood that the second payment code is the payment code corresponding to the second check-in point, and the parallel nested verification diagram is a payment verification diagram that displays the payment codes corresponding to the parallel nested payment personnel in parallel.
[0297] For example, Figure 4 As shown, the parallel nested payment codes of the corresponding multiple check-in locations can be horizontally arranged and displayed to obtain a parallel nested verification diagram, so that personnel can intuitively view the required check-in reference locations through the parallel nested verification diagram. It is worth mentioning that Figure 4 The rectangular patterns corresponding to persons A, B, and C in the figure represent images of persons captured by the acquisition device, and are represented here only by rectangular patterns.
[0298] Through the above implementation, the present invention can obtain a parallel nested verification graph, which is convenient for subsequent personnel to pay and sign in according to the parallel nested verification graph.
[0299] In some embodiments, it further includes:
[0300] D1. Retrieve the serial nested payment codes corresponding to each of the serial nested payment personnel in the serial nested verification diagram. According to the serial nested payment codes, obtain the corresponding serial payment amounts, and use the serial payment amounts as individual serial payment amounts.
[0301] It can be understood that, for the convenience of personnel to intuitively view the total payment amount corresponding to the payment, when the personnel is in the serial nested verification diagram, all the serial nested payment codes corresponding to the corresponding serial nested payment personnel can be retrieved, so as to obtain the corresponding associated serial payment amounts, that is, the amounts to be paid at each check-in location. Use the serial payment amounts corresponding to each serial nested payment code as individual serial payment amounts for subsequent amount statistics.
[0302] Among them, the serial payment amount is the payment amount corresponding to each serial nested payment code, and the independent serial payment amount is the amount corresponding to a single payment code, that is, the serial payment amount.
[0303] D2. Accumulate the individual serial payment amounts to obtain the total serial payment amount of the serial nested payment personnel in the serial nested verification diagram.
[0304] It can be understood that the total serial payment amount is the total payment amount corresponding to the serial nested payment personnel, that is, the total amount after accumulating all the individual serial payment amounts corresponding to the serial nested payment personnel.
[0305] D3. Retrieve the parallel nested payment codes corresponding to each of the parallel nested payment personnel in the parallel nested verification diagram and the second payment code, and obtain the payment amounts corresponding to the parallel nested payment codes and the second payment code as the parallel payment amount.
[0306] It can be understood that the parallel payment amount is the payment amount in the parallel nested payment code or the second payment code scanned and paid by the parallel nested payment personnel.
[0307] D4. Accumulate the parallel payment amounts to obtain the total parallel payment amount of the parallel nested payment personnel in the parallel nested verification diagram.
[0308] It can be understood that the total parallel payment amount is the total payment amount corresponding to the parallel nested payment personnel, that is, the total amount after accumulating all the individual parallel payment amounts corresponding to the parallel nested payment personnel.
[0309] D5. Count the number of the parallel payment amounts to obtain the parallel times.
[0310] It should be noted that since the parallel nested payment personnel consecutively select multiple check-in locations, when checking in and paying at the initial check-in location, it is necessary to pay and check in the fees corresponding to multiple locations together. Therefore, in order to increase the visit rate of the check-in locations, a certain discount can be provided to the parallel nested payment personnel. That is, the more check-in locations are selected, the more the corresponding parallel payment amounts are, and thus the more subsequent discounts are. Therefore, the number of parallel payment amounts can be obtained to get the number of parallel times, so as to determine the corresponding discount weight subsequently, and then the total amount that the final parallel nested personnel need to pay can be calculated.
[0311] Among them, the number of parallel times is the number of times of the parallel payment amount.
[0312] D6. Retrieve the discount comparison table, compare and select the discount comparison table based on the number of parallel times, and obtain the discount weight corresponding to the number of parallel times. The discount comparison table includes the one-to-one correspondence between the preset number of parallel times and the discount weight.
[0313] It can be understood that the discount comparison table is a form for discount calculation, which can be set artificially in advance, including the preset number of parallel times and the discount weight. And the preset number of parallel times and the discount weight are in one-to-one correspondence, that is, the more the number of parallel times, the smaller the discount weight, and the more the preferential amount.
[0314] Among them, the preset number of parallel times is the preset numerical value of the number of times, and the discount weight is the weight ratio for amount discount. For example, the discount weight can be 9.5 folds, 8 folds, etc.
[0315] D7. Based on the product of the total parallel payment amount and the discount weight, obtain the actual total parallel amount.
[0316] It can be understood that multiplying the total parallel payment amount by the discount weight can obtain the actual total parallel amount that the discounted personnel need to pay, so as to facilitate the personnel to pay.
[0317] Among them, the actual total parallel amount is the amount that the parallel nested payment personnel actually need to pay, that is, the product of the total parallel payment amount and the discount weight.
[0318] See Figure 5 , which is a schematic structural diagram of an intelligent offline check-in code creation platform provided by an embodiment of the present invention. The intelligent offline check-in code creation platform includes:
[0319] The acquisition module is used to receive the payment verification information sent by the check-in terminal, and based on the payment verification information, control the acquisition device to perform image acquisition on multiple check-in personnel in the verification area to obtain an acquisition verification map. Among them, the processes of performing image acquisition on the check-in personnel and using the personnel information both meet the requirements of legality.
[0320] A receiving module, configured to retrieve an image verification policy to perform personnel verification processing on the collected verification image, obtain a collective verification image and send it to a check-in terminal, respond to the re-verification feedback information of the check-in terminal on the collective verification image, send the collective verification image to a management terminal, and receive the operation information of the management terminal on the collective verification image to obtain a feedback payment image.
[0321] A verification module, configured to respond to the payment information of the feedback payment image of the check-in terminal, record the payment time, generate a payment verification image based on the payment time and send it to the check-in terminal, and verify the payment verification image displayed by the check-in terminal to generate a payment verification result.
[0322] A generation module, configured to collect the basic personnel information of the check-in personnel in the verification area based on the payment verification result, generate an offline check-in code based on the basic personnel information, and send the offline check-in code to the check-in terminal.
[0323] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for creating an offline sign-in code based on intelligence, characterized in that: include: Receiving payment verification information sent by the check-in terminal, and controlling the collection device to collect images of multiple check-in persons in the verification area based on the payment verification information to obtain a collection verification map, wherein the process of collecting images of the check-in persons and using the personnel information meets the legality; Retrieve the image verification strategy to perform personnel verification processing on the collected verification image, obtain a collective verification image and send it to the sign-in end, respond to the check-in end's feedback information on the collective verification image, send the collective verification image to the management end, receive the management end's operation information on the collective verification image, and obtain a feedback payment image, wherein the collective verification image is a verification image for payment for multiple sign-ins; Responding to the payment information of the check-in end to the feedback payment graph, and recording the payment time, generating a payment verification graph based on the payment time and sending it to the check-in end, verifying the payment verification graph displayed by the check-in end, and generating a payment verification result; Based on the payment verification result, basic information of the sign-in personnel in the verification area is collected, an offline sign-in code is generated based on the basic information of the personnel, and the offline sign-in code is sent to the sign-in terminal.
2. The method according to claim 1, characterized in that The calling of the image verification strategy performs personnel verification processing on the collected verification image to obtain a collective verification image and sends it to the sign-in end, including: Acquire the image center point of the acquisition verification image, and perform coordinate processing on the acquisition verification image with the image center point as the coordinate origin; Identify the facial information corresponding to each of the sign-in persons in the collection and verification image, and compare the facial information with the handheld identity information corresponding to the sign-in persons to obtain a comparison result, wherein the comparison result includes a normal identity result and an abnormal identity result; When it is determined that the comparison result is a normal identity result, the age information in the handheld identity information is extracted, and when it is determined that the age information belongs to the payment age range, the corresponding signed-in person is regarded as a full-ticket person; When it is determined that the age information does not fall within the payment age range, the corresponding signed-in person is regarded as a ticket-free person; When the comparison result is determined to be an abnormal identity result, the corresponding signed-in person is determined as a full-ticket person; When it is determined that the sign-in person does not hold the identity information, the sign-in person is used as the verification person, the body contour of the verification person is identified, and the coordinates of the contour pixel points corresponding to the body contour are obtained to obtain the contour coordinates; Counting the contour coordinates to obtain a contour coordinate set, performing ordinate traversal on the contour coordinate set, taking the contour coordinate corresponding to the maximum ordinate as the first coordinate, and taking the contour coordinate corresponding to the minimum ordinate as the second coordinate; Obtaining a height of the person based on a difference between the first coordinate and the ordinate corresponding to the second coordinate; When it is determined that the height of the person is greater than the reference height, the corresponding verification person is regarded as a full-ticket person; Generate a check-in payment code corresponding to the full-ticket personnel, update each of the check-in payment codes above the corresponding full-ticket personnel in the collection and verification diagram, generate a collective verification diagram and send it to the check-in terminal.
3. The method according to claim 2, characterized in that The step of updating each of the check-in payment codes to the top of the corresponding full-ticket personnel in the collection verification diagram, generating a collective verification diagram and sending it to the check-in terminal includes: Based on OpenCV, the facial contours corresponding to the full-ticket personnel in the acquisition verification image are identified; Acquire the contour area corresponding to the face contour to obtain the face area, and use the area center point corresponding to the face area as the pointing midpoint; Taking the pointing midpoint as a starting point, constructing a vertically upward pointing ray, wherein the pointing ray intersects with the face contour at a constructed intersection point; Retrieve the interval length, take the constructed intersection point as the starting point, and use the coordinate point along the pointing ray at the interval length as the updated midpoint; Retrieve the update slot, determine the center point of the update slot as the slot midpoint, place the slot midpoint at the update midpoint, retrieve the sign-in payment code and fill it into the corresponding update slot in the collection verification map, generate a collective verification map and send it to the sign-in end.
4. The method according to claim 3, characterized in that: The step of responding to the check-in end's recheck feedback information on the collective verification graph, sending the collective verification graph to the management end, receiving the management end's operation information on the collective verification graph, and obtaining a feedback payment graph includes: In response to the check-in end's feedback information on the collective verification diagram, sending the collective verification diagram to the management end; Receiving trigger information of the sign-in personnel in the collective verification graph from the management end, retrieving the attribute modification tag based on the trigger information and sending it to the management end for display; When it is determined that the management end drags the attribute modification tag to the corresponding sign-in person, the corresponding sign-in person is used as the change person, and the tag attributes of the corresponding attribute modification tag are obtained, and the tag attributes include deletion attributes and addition attributes; When it is determined that the tag attribute is a deletion attribute, the check-in payment code of the person who made the change is deleted; When it is determined that the tag attribute is an added attribute, a check-in payment code is added to the changed person; Obtain the slot midpoint of the updated slot corresponding to the sign-in payment code as an independent midpoint, and retrieve the coordinates of the independent midpoint as independent coordinates; Obtaining a collective abscissa according to the average of the maximum abscissa and the minimum abscissa and the values of the independent coordinates; Obtaining a collective ordinate based on the sum of the largest ordinate among the independent coordinates and a preset interval value; According to the collective horizontal coordinate and the collective vertical coordinate, a collective coordinate is obtained, and a slot midpoint of the update slot is set at the collective coordinate; A collective payment code is generated according to the check-in payment code of the check-in personnel, the collective payment code is updated to the update slot at the collective coordinates, and the independent coordinates of the check-in payment code are connected with the collective coordinates of the collective payment code to generate a feedback payment graph.
5. The method according to claim 4, characterized in that The responding to the payment information of the check-in end to the feedback payment graph and recording the payment time, generating a payment verification graph based on the payment time and sending it to the check-in end, verifying the payment verification graph displayed by the check-in end, and generating a payment verification result, including: Responding to the payment information of the check-in end to the feedback payment graph, and recording the current time as the payment time; Acquire the area corresponding to the sign-in person, the sign-in payment code and the collective payment code in the feedback payment graph as the first occupied area, and construct a longitudinal occupied line according to the minimum horizontal coordinate and the maximum horizontal coordinate of the first occupied area in the feedback payment graph; constructing a horizontal occupation line based on the minimum vertical coordinate and the maximum vertical coordinate of the first occupation area in the feedback payment map, generating a second occupation area of the feedback payment map according to the vertical occupation line and the horizontal occupation line, and determining the remaining area in the feedback payment map as a blank area based on the second occupation area; Constructing an anti-counterfeiting transparent layer with the same size as the feedback payment graph, and obtaining an area in the anti-counterfeiting transparent layer that is consistent with the position of the blank area as a rubbing area; The payment time is updated to the rubbing area, a time anti-counterfeiting layer is obtained, the anti-counterfeiting center point of the time anti-counterfeiting layer is obtained, and the payment center point of the feedback payment graph is fed back; Align the anti-counterfeiting center point with the payment center point to obtain a payment verification image and send it to the check-in terminal; Controlling the collection device to collect the payment verification image displayed by the check-in terminal, and identifying the payment moment in the payment verification image; Obtaining a triggering time for the sign-in end to make a proximal payment, and obtaining a payment period based on a preset payment duration and the triggering time; When it is determined that the payment moment is within the payment period, generating a payment pass result; When it is determined that the payment time is not within the payment period, generating a payment failure result; A payment verification result is obtained according to the payment pass result and the payment fail result.
6. The method according to claim 5, characterized in that Also includes: Obtain the basic information of the person who signs in corresponding to the offline sign-in code, the basic information including identity information and verification information, and retrieve the offline payment amount of the person who signs in; Retrieving an initial comparison table, and sequentially filling the identity information, verification information and offline payment amount corresponding to each of the sign-in personnel into the initial comparison table to generate an offline comparison table; When it is determined that the network is online, the online payment amount of each sign-in person is retrieved from the database based on the identity information in the offline comparison table; When it is determined that the offline payment amount is consistent with the online payment amount, the offline payment amount is returned to the check-in end.
7. The method according to claim 3, characterized in that Also includes: When it is determined that there are multiple sign-in locations in the sign-in guide map selected by the full-ticket personnel, the corresponding full-ticket personnel are used as serially nested payment personnel; Obtaining a check-in location corresponding to the verification area in the check-in guide map as an entry check-in point, counting the check-in locations closest to the entry check-in point in sequence to obtain a first check-in sequence, and adding the entry check-in point to the front of the first check-in sequence to obtain a guide check-in sequence; Counting multiple check-in locations corresponding to the serially nested payment personnel to obtain a serially nested check-in set of the serially nested payment personnel, and sorting the check-in locations in the serially nested check-in set based on the order of the check-in locations in the guided check-in sequence to obtain a serially nested sequence of the serially nested payment personnel; Based on OpenCV, recognize the facial contours corresponding to the serially nested payment personnel in the acquisition verification image; Acquire the contour area corresponding to the face contour to obtain the face area, and use the area center point corresponding to the face area as the pointing midpoint; Taking the pointing midpoint as a starting point, constructing a vertically upward pointing ray, wherein the pointing ray intersects with the face contour at a constructed intersection point; Generate a check-in payment code corresponding to the first check-in location in the serial nested sequence, retrieve the interval length, and set the midpoint along the direction of the pointing ray away from the pointing midpoint, with the constructed intersection as the starting point and the coordinate point at the interval length; Retrieving a nested slot, placing the midpoint of the nested slot at the set midpoint, and retrieving the check-in payment code to fill it into the nested slot to obtain a serially nested payment code; Delete the first check-in location in the serial nested sequence, and use the slot midpoint of the nested slot as the current construction intersection, repeat the above steps of obtaining the serial nested payment code, until there is no check-in location in the serial nested sequence, and generate a serial nested verification diagram.
8. The method according to claim 7, characterized in that Also includes: When it is determined that the full-ticket personnel have selected multiple check-in locations in the check-in guide map continuously, the full-ticket personnel are regarded as parallel nested payment personnel; Obtaining a check-in location corresponding to the verification area in the check-in guide map as an entry check-in point, counting the check-in locations closest to the entry check-in point in sequence to obtain a first check-in sequence, and adding the entry check-in point to the front of the first check-in sequence to obtain a guide check-in sequence; Counting multiple sign-in locations corresponding to the parallel nested payment personnel to obtain a parallel sign-in set of the parallel nested payment personnel, and sorting the sign-in locations in the parallel sign-in set based on the order of the sign-in locations in the guided sign-in sequence to obtain a parallel nested sequence of the parallel nested payment personnel; Based on OpenCV, recognize the facial contours corresponding to the parallel nested payment personnel in the acquisition verification image; Acquire the contour area corresponding to the face contour to obtain the face area, and use the area center point corresponding to the face area as the pointing midpoint; Taking the pointing midpoint as a starting point, constructing a vertically upward pointing ray, wherein the pointing ray intersects with the face contour at a constructed intersection point; Selecting the first check-in location in the parallel nested sequence as the first check-in point, and the remaining check-in locations as the second check-in points; Generate a first payment code corresponding to the first check-in point, retrieve the interval length, and set the midpoint along the direction of the pointing ray away from the pointing midpoint, with the constructed intersection as the starting point and the coordinate point at the interval length; Retrieving a nested slot, placing the midpoint of the nested slot at the set midpoint, and retrieving the first payment code to fill it into the nested slot to obtain a parallel nested payment code; Constructing a horizontal straight line at the center point of the parallel nested payment codes, and determining a plurality of parallel positioning points on both sides of the center point of the parallel nested payment codes based on the interval length; Acquire the setting number of the second check-in points, and select the parallel positioning points in sequence as parallel setting points based on the setting number; Retrieve the nested slot, place the midpoint of the nested slot at the parallel setting point, generate a second payment code corresponding to the second check-in point, retrieve the second payment code and fill it into the nested slot to generate a parallel nested verification diagram.
9. The method according to claim 8, characterized in that Also includes: Retrieve the serial nested payment code corresponding to each of the serial nested payment personnel in the serial nested verification diagram, obtain the corresponding serial payment amount according to the serial nested payment code, and use the serial payment amount as a separate serial payment amount; The individual serial payment amounts are accumulated to obtain the total serial payment amount of the serial nested payment personnel described in the serial nested verification diagram; Retrieve the parallel nested payment code and the second payment code corresponding to each of the parallel nested payment personnel in the parallel nested verification diagram, and obtain the payment amount corresponding to the parallel nested payment code and the second payment code as the parallel payment amount; Accumulating the parallel payment amounts to obtain the total parallel payment amount of the parallel nested payment personnel described in the parallel nested verification diagram; Counting the number of the parallel payment amounts to obtain the number of parallel times; Retrieving a discount comparison table, comparing and selecting the discount comparison table based on the number of parallel connections, and obtaining a discount weight corresponding to the number of parallel connections, wherein the discount comparison table includes a one-to-one correspondence between a preset number of parallel connections and a discount weight; Based on the product of the total parallel payment amount and the discount weight, the actual parallel total amount is obtained.
10. An intelligent offline sign-in code creation platform, characterized in that: include: A collection module, used to receive payment verification information sent by the check-in terminal, and control the collection device to collect images of multiple check-in persons in the verification area based on the payment verification information to obtain a collection verification map, wherein the process of collecting images of the check-in persons and using the personnel information meets the legality; A receiving module is used to call up an image verification strategy to perform personnel verification processing on the collected verification image, obtain a collective verification image and send it to the check-in end, respond to the check-in end's re-inspection feedback information on the collective verification image, send the collective verification image to the management end, receive the management end's operation information on the collective verification image, and obtain a feedback payment image, wherein the collective verification image is a verification image for payment for multiple people's check-in; A verification module, used to respond to the payment information of the check-in end to the feedback payment graph, record the payment time, generate a payment verification graph based on the payment time and send it to the check-in end, verify the payment verification graph displayed by the check-in end, and generate a payment verification result; A generation module is used to collect the basic information of the check-in personnel in the verification area based on the payment verification result, generate an offline check-in code based on the basic information of the personnel, and send the offline check-in code to the check-in terminal.
Citation Information
Patent Citations
Collective portrait construction method and device, computer equipment and storage medium
CN117436751A
Multi-person ticket checking method and system based on ticket buying information
CN117523686A