A tail box handover real-time verification method in a cash clearing process

By generating exclusive keys for both parties involved in the tail box handover and performing encryption, decryption, and logical matching during the handover, the resource waste and information security issues of tail box handover verification are resolved, achieving an efficient and secure tail box handover process.

CN122490550APending Publication Date: 2026-07-31SHENZHEN JUNHAI SICHUANG TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN JUNHAI SICHUANG TECH DEV CO LTD
Filing Date
2026-04-13
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

Existing tailgate handover verification technology requires cumbersome manual verification and uses fixed keys for security protection, resulting in a waste of human resources and information insecurity.

Method used

By configuring exclusive keys for the delivery party and the clearing party of the tail box, and using biometrics to generate exclusive keys for delivery and clearing to encrypt information, the information is decrypted and logically matched when the tail box is handed over without being connected to the network, and then stored on the blockchain after the handover.

Benefits of technology

It improves the safety and efficiency of tailgate handover, avoids waste of human resources, ensures information security, and provides traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122490550A_ABST
    Figure CN122490550A_ABST
Patent Text Reader

Abstract

This invention discloses a real-time verification method for cash box handover in a cash sorting process, relating to the field of cash box handover verification technology. The method includes the following steps: configuring escort and sorting information for the escort and sorting parties; extracting the biometric features of the escort and sorting parties and converting them into exclusive escort and sorting keys; securely encrypting the escort and sorting information to obtain escort ciphertext and sorting ciphertext; restoring the escort and sorting information during cash box handover; performing logical matching on the restored escort and sorting information, allowing the handover of the cash box after successful logical matching, and simultaneously storing the escort and sorting information on the blockchain. This invention addresses the problems of existing cash box handover verification technologies that rely on manual verification and fixed keys for security protection, leading to wasted human resources and insufficient information security for both parties.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of tail box handover verification technology, specifically a real-time verification method for tail box handover in the cash sorting process. Background Technology

[0002] Tail box handover verification technology refers to a comprehensive technology that verifies the information of the sorting personnel and escort personnel during the handover of the tail box, ensuring the safety and compliance of the tail box during the handover process.

[0003] Existing tailgate handover verification technologies typically require cumbersome manual verification, and the personnel performing this verification are not from either party but rather third parties. This not only wastes human resources but also makes the handover verification process more complicated. Furthermore, existing tailgate handover verification technologies usually use fixed keys to protect the information of both parties. When using fixed key encryption, the fixed key will be shared between the two parties, which is detrimental to information security. Existing tailgate handover verification technologies also suffer from the problems of wasting human resources and insufficient information security for both parties due to the reliance on manual verification and the use of fixed keys for security protection. Summary of the Invention

[0004] This invention aims to at least partially solve one of the technical problems in the prior art. Before the handover of the cargo box, it configures escort and clearing information for both the escorting and clearing parties. Then, it extracts fingerprint features from the escorting and clearing parties to obtain escort fingerprints and clearing fingerprints. It then extracts feature sequences from these fingerprints, analyzes the escort-specific key and clearing-specific key based on these feature sequences, and finally securely encrypts the escort and clearing information using these keys respectively, obtaining escort ciphertext and clearing ciphertext. During the handover of the tail box, the escorting party and the clearing party decrypt the escort and clearing ciphertexts using handheld PDAs without network access, restoring the escort and clearing information. Then, they perform a logical match on the restored escort and clearing information. If the logical match is successful, the handover of the tail box is allowed. At the same time, the escort and clearing information is stored on the blockchain for notarization. This solves the problem that the existing tail box handover verification technology still relies on manual verification and fixed keys for security protection, which leads to a waste of human resources and insufficient information security for both parties.

[0005] To achieve the above objectives, in a first aspect, this application provides a real-time verification method for the handover of cash containers during the cash sorting process, comprising the following steps:

[0006] Before the handover of the tail box, configure the escort and clearing information for the escort party and the clearing party.

[0007] Extract the biometrics of the escort and the clearing party, and convert the biometrics into exclusive keys for escort and clearing.

[0008] The escort information and the clearing information are securely encrypted using the dedicated escort key and the dedicated clearing key, respectively, to obtain the escort ciphertext and the clearing ciphertext.

[0009] During the handover of the tail box, the escorting party and the clearing party use handheld PDAs to decrypt the escort and clearing ciphertexts without connecting to the network, thus restoring the escort and clearing information.

[0010] Logical matching is performed on the restored escort and settlement information. Once the logical matching is successful, the handover of the tail box is allowed. At the same time, the escort and settlement information is stored on the blockchain.

[0011] Furthermore, before the handover of the tail box, configuring the escort and clearing information for the tail box's escort and clearing parties includes the following sub-steps:

[0012] Before the handover of the tail box, the escort information is configured for the escort party of the tail box, including the escort person information and the escort order number;

[0013] Before the handover of the tail box, the clearing information is configured for the clearing party of the tail box. The clearing information includes the clearing person information, tail box number and escort order number.

[0014] The escort order number is sent by the administrator to both the cash sorting party and the escort party before the cash sorting task begins.

[0015] Further, extracting the biometrics of the escort and the clearing party, and converting the biometrics into escort-specific keys and clearing-specific keys includes the following sub-steps:

[0016] Extract the fingerprint features of the escorting party and the clearing party to obtain the escort fingerprint and clearing fingerprint;

[0017] Extracting feature sequences from escort fingerprints and clearing fingerprints;

[0018] Based on feature sequence analysis, the dedicated keys for escorting and clearing are analyzed.

[0019] Further, extracting the fingerprint features of the escorting party and the clearing party to obtain the escort fingerprints and clearing fingerprints includes the following sub-steps:

[0020] Extract the fingerprint features of the escorting party and the clearing party, and name them the escort fingerprint and the clearing fingerprint, respectively;

[0021] The fingerprint features contain the coordinates of different feature points, and the coordinates of the feature points are named feature coordinates.

[0022] Furthermore, extracting feature sequences from escort fingerprints and clearing fingerprints includes the following sub-steps:

[0023] Add the X-axis and Y-axis coordinates of the feature coordinates to obtain the coordinate parameters. Find the feature coordinates with the minimum and maximum coordinate parameters and name them the minimum coordinates and maximum coordinates, respectively. Find the feature coordinates that are closest to the minimum coordinates and name them the reference coordinates. Calculate the distance between the minimum coordinates and the reference coordinates and name it the reference parameter.

[0024] Connect the minimum coordinates and the maximum coordinates to obtain the characteristic line. Calculate the distance between the characteristic coordinates and the characteristic line and name it the characteristic length. Name the characteristic coordinates whose characteristic length is less than or equal to the reference parameter as the characteristic reference coordinates.

[0025] Starting with the smallest coordinate, we name it the central coordinate. We construct a two-dimensional coordinate system with the central coordinate as the center, and name it the central coordinate system. The X-axis of the central coordinate system is equal to the X-axis of the central coordinate, and the Y-axis of the central coordinate system is equal to the Y-axis of the central coordinate.

[0026] Find the feature reference coordinates that are closest to the center coordinates in the first and fourth quadrants, and name them the neighboring coordinates. Use the neighboring coordinates as the new center coordinates and repeat the search for neighboring coordinates. When there are no feature reference coordinates in the first and fourth quadrants, search for the feature reference coordinates that are closest to the center coordinates in the second and third quadrants, and name them the neighboring coordinates. Feature coordinates that have been used as center coordinates will be removed from the feature reference coordinates.

[0027] The search stops when no feature reference coordinates are found in the second or third quadrant. The feature reference coordinates are then sorted and numbered according to the order of the search, using the symbol P. h Let P be a non-zero natural number and h be the index of P. h That is, the feature sequence, which includes the escort feature sequence and the clearing feature sequence.

[0028] Furthermore, the process of escorting and distributing the dedicated key based on feature sequence analysis includes the following sub-steps:

[0029] P h The values ​​of the X-axis and Y-axis are labeled as P. h (X) and P h (Y);

[0030] Analyze each value of h individually and extract P bit by bit. h (X) and P h The numbers in (Y) are named the horizontal axis number and the vertical axis number, respectively. If there are horizontal axis numbers and vertical axis numbers that are equal, then the equal horizontal axis numbers and vertical axis numbers are named equivalent numbers.

[0031] P h (X) and P h The equivalent numbers in (Y) are removed, and the remaining P is... h (Y) is placed at P h (X) After that, the recombined number is labeled PC h ;

[0032] PC is sorted in ascending order of h. h The components are combined to obtain a unique key. The escort feature sequence is analyzed to obtain an escort-specific key. The clearing feature sequence is analyzed to obtain a clearing-specific key.

[0033] Furthermore, the escort information and the clearing information are securely encrypted using the escort-specific key and the clearing-specific key, respectively, to obtain the escort ciphertext and the clearing ciphertext, including the following sub-steps:

[0034] Using the dedicated escort key as the encryption password, the escort information is securely encrypted using the national cryptographic algorithm to obtain the escort ciphertext. The escort ciphertext is then stored in the escort party's handheld PDA device. After storage, the network connection of the handheld PDA device is disconnected.

[0035] Using the dedicated clearing key as the encryption password, the clearing information is securely encrypted using the national cryptographic algorithm to obtain the clearing ciphertext. The clearing ciphertext is then stored in the clearing party's handheld PDA device. After storage, the network connection of the handheld PDA device is disconnected.

[0036] Furthermore, during the handover of the cargo box, the escorting party and the clearing party decrypt the escort and clearing ciphertexts using handheld PDAs without network access, restoring the escort and clearing information through the following sub-steps:

[0037] During the handover of the tail box, both the escort and the clearing party simultaneously record their fingerprints on a handheld PDA device. The handheld PDA device analyzes the escort-specific key and the clearing-specific key based on the fingerprint features and decrypts the escort ciphertext and the clearing ciphertext to restore the escort information and the clearing information.

[0038] Simultaneously, the timestamps of the fingerprint features entered by the escorting party and the clearing party on the handheld PDA device are recorded, and named as escort verification time and clearing verification time respectively. The escort verification time is included in the escort information, and the clearing verification time is included in the clearing information.

[0039] Furthermore, the restored escort and settlement information are logically matched. Once the logical match is successful, the handover of the tail box is allowed. Simultaneously, the escort and settlement information are stored on the blockchain, including the following sub-steps:

[0040] Generate a Bluetooth QR code for the escort's handheld PDA device. The escort scans the Bluetooth QR code with the handheld PDA device to establish a Bluetooth connection.

[0041] Obtain the escort order number from the escort information and the escort order number from the clearing information, and name them the escort task number and clearing task number respectively. Determine whether the escort task number and the clearing task number are the same. If they are the same, output a normal order number signal. If not, output an abnormal order number signal.

[0042] The system presets a verification time threshold, acquires the escort verification time and the clearing verification time, calculates the difference between the escort verification time and the clearing verification time, names it the verification time difference, and determines whether the verification time difference is less than or equal to the verification time threshold. If it is, the system outputs a normal time signal; otherwise, the system outputs an abnormal time signal.

[0043] Obtain the information of the escort and the clearing party, and verify the permissions of the escort and the clearing party. Specifically, check whether the escort party in the escort information has escort authority, and check whether the clearing party in the clearing party information has clearing authority. If both are yes, output a normal permission signal; otherwise, output an abnormal permission signal.

[0044] The system determines whether the handover of the tail box is allowed based on the output signal, and simultaneously stores the handover behavior on the blockchain.

[0045] Furthermore, determining whether to allow the handover of the tail box based on the output signal, and simultaneously storing the handover behavior on the blockchain, includes the following sub-steps:

[0046] If the order number is normal, the time is normal, and the permission is normal at the same time, then the handover of the tail box is allowed; otherwise, the handover of the tail box is not allowed.

[0047] If the handover of the tail box is permitted, the escort information and settlement information for this transaction will be combined into a single handover message, which will then be stored in the blockchain storage platform.

[0048] The beneficial effects of this invention are as follows: Before the handover of the tail box, escort and clearing information are configured for the escort and clearing parties. Then, the fingerprint features of the escort and clearing parties are extracted to obtain escort fingerprints and clearing fingerprints. Feature sequences are extracted from the escort and clearing fingerprints, and then the escort-specific key and clearing-specific key are analyzed based on the feature sequences. The advantage is that, according to the different escort and clearing personnel, unique escort-specific keys and clearing-specific keys are generated through biometrics. The escort-specific keys and clearing-specific keys are not stored in any form and are not known to anyone, so there will be no leakage. Moreover, the keys will also be changed synchronously according to the different escort and clearing personnel, providing diversity for the keys and improving the security and effectiveness of tail box handover verification.

[0049] This invention securely encrypts escort and settlement information using dedicated keys for escort and settlement, respectively, resulting in escort ciphertext and settlement ciphertext. During the handover of the tail box, the escorting and settling parties decrypt the escort and settlement ciphertexts using handheld PDAs without network access, restoring the original escort and settlement information. Then, a logical match is performed on the restored escort and settlement information. If the logical match passes, the handover of the tail box is allowed. Simultaneously, the escort and settlement information is stored on the blockchain. The advantage is that when connected to the network, there are not only network security threats, but also network blocking at the handover location due to the special nature of tail box handovers. Relying on the network would not be applicable to all scenarios. Furthermore, the blockchain storage of the handover after completion ensures traceability, improving the security and comprehensiveness of tail box handover verification. Attached Figure Description

[0050] Figure 1 This is a flowchart of the steps of the method of the present invention;

[0051] Figure 2 This is a schematic diagram of the characteristic straight line and characteristic coordinates of the present invention;

[0052] Figure 3 This is a schematic diagram of the feature reference coordinates of the present invention;

[0053] Figure 4 This is a schematic diagram of the central coordinate system of the present invention;

[0054] Figure 5 This is a schematic diagram illustrating the search order of the present invention. Detailed Implementation

[0055] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0056] Example 1, please refer to Figure 1 As shown, this application provides a real-time verification method for the handover of cash containers during the cash sorting process, including the following steps:

[0057] Step S1: Before the handover of the tail box, configure the escort and clearing information for the escort party and the clearing party; Step S1 includes the following sub-steps:

[0058] Step S101: Before the handover of the tail box, configure the escort information for the escort party of the tail box. The escort information includes the escort person information and the escort order number.

[0059] Step S102: Before the handover of the tail box, configure the clearing information for the clearing party of the tail box. The clearing information includes the clearing person information, tail box number and escort slip number.

[0060] Step S103: The escort order number is sent by the administrator to the cash sorting party and the escort party before the cash sorting task begins.

[0061] In practice, when the tail box needs to be handed over, it is usually necessary to confirm the identities of both parties, that is, to confirm the information of the clearing party and the escort party. For example, in this embodiment, the escort information obtained is "Escort Personnel: Zhang San; Employee ID: YS-1001; Escort Order Number: 123456789", where "Escort Personnel: Zhang San; Employee ID: YS-1001" belongs to the escort personnel information. At the same time, the clearing information obtained is "Clearing Personnel: Li Si; Employee ID: QF-2002; Tail Box Number: WX901; Escort Order Number: 123456789", where "Clearing Personnel: Li Si; Employee ID: QF-2002" belongs to the clearing personnel information. When the tail box needs to be handed over, the entrusting party confirms the escort information and clearing information. After confirmation that they are correct, the subsequent processing procedure is initiated.

[0062] Step S2 involves extracting the biometrics of the escort and the clearing party, and converting these biometrics into dedicated escort and clearing keys. Step S2 includes the following sub-steps:

[0063] Step S201: Extract the fingerprint features of the escort and the clearing party to obtain the escort fingerprint and the clearing fingerprint;

[0064] Step S201 includes the following sub-steps:

[0065] Step S2011: Extract the fingerprint features of the escort and the clearing party, and name them as escort fingerprint and clearing fingerprint respectively;

[0066] Step S2012: The fingerprint features contain the coordinates of different feature points, and the coordinates of the feature points are named feature coordinates;

[0067] In practice, fingerprint features are composed of numerous coordinate points, and fingerprint extraction technology is a mature existing technology, so it will not be described in this embodiment.

[0068] Step S202: Extract the feature sequences from the escort fingerprints and the clearing fingerprints;

[0069] Step S202 includes the following sub-steps:

[0070] Step S2021: Add the X-axis and Y-axis of the feature coordinates to obtain the coordinate parameters. Obtain the feature coordinates with the minimum and maximum coordinate parameters and name them as the minimum coordinates and maximum coordinates, respectively. Obtain the feature coordinate closest to the minimum coordinate and name it as the reference coordinate. Calculate the distance between the minimum coordinate and the reference coordinate and name it as the reference parameter.

[0071] Please see Figures 2 to 3 As shown, in step S2022, the minimum coordinates are connected to the maximum coordinates to obtain the feature line. The distance between the feature coordinates and the feature line is calculated and named the feature length. The feature coordinates whose feature length is less than or equal to the reference parameter are named the feature reference coordinates.

[0072] In practice, for example, if a feature coordinate is (-54, -131), the origin of the coordinate system where the feature coordinate is located is usually the core point in the fingerprint feature. Adding these coordinates together, the coordinate parameter for (-54, -131) is -185. Similarly, the coordinate parameters for all feature coordinates are calculated. The minimum coordinate is (-54, -131), and the maximum coordinate is (53, 166). The reference coordinate closest to the minimum coordinate is (-48, -115), and the calculated reference parameter is 17. The calculation result is rounded to the nearest integer, and the resulting feature line is shown below. Figure 2 As shown, Figure 2 The coordinates in the diagram are the feature coordinates, and the dashed lines are the feature lines. Since there are too many feature coordinates, a portion needs to be extracted to generate a dedicated key. Feature reference coordinates are shown below. Figure 3 As shown, Figure 3 The coordinates of the points within the rectangular area defined by the solid line are the feature reference coordinates.

[0073] Please see Figures 4 to 5As shown, in step S2023, starting with the smallest coordinate, it is named the central coordinate. A two-dimensional coordinate system is constructed with the central coordinate as the center and named the central coordinate system. The X-axis direction of the central coordinate system is equal to the X-axis direction of the central coordinate, and the Y-axis direction of the central coordinate system is equal to the Y-axis direction of the central coordinate.

[0074] Step S2024: Find the feature reference coordinates that are closest to the center coordinates in the first quadrant and the fourth quadrant, and name them as neighboring coordinates. Use the neighboring coordinates as the new center coordinates and repeat the search for neighboring coordinates. When there are no feature reference coordinates in the first quadrant and the fourth quadrant, search for the feature reference coordinates that are closest to the center coordinates in the second quadrant and the third quadrant, and name them as neighboring coordinates. Feature coordinates that have been used as center coordinates will be removed from the feature reference coordinates.

[0075] Step S2025: When no feature reference coordinates are found in the second or third quadrant, the search stops. The feature reference coordinates are then sorted and numbered according to the search order, using the symbol P. h Let P be a non-zero natural number, where h is the index of P. h This refers to the characteristic sequence, which includes the escort characteristic sequence and the clearing characteristic sequence;

[0076] In practice, the central coordinate system is constructed as follows: Figure 4 As shown, the nearest coordinates are obtained. Figure 4 The black coordinates in the image are searched repeatedly, and the search order is as follows: Figure 5 As shown, according to Figure 5 The order in which the arrows sequentially search for the feature reference coordinates on the continuous curves is the search order, thus obtaining P1 to P... 15 It should be noted that P1 to P1 here 15 Only the escort feature sequence is used, because in this embodiment... Figure 2 The fingerprints of the escort personnel are used for identification, while the sorting personnel have their own independent sorting characteristic sequences. The ordered analysis process is the same, so this embodiment will not be described in detail.

[0077] Step S203: Based on feature sequence analysis, escort exclusive keys and clear exclusive keys are processed.

[0078] Step S203 includes the following sub-steps:

[0079] Step S2031, P h The values ​​of the X-axis and Y-axis are labeled as P. h (X) and P h (Y);

[0080] Step S2032: Analyze each value of h individually and extract P bit by bit. h(X) and P h The numbers in (Y) are named the horizontal axis number and the vertical axis number, respectively. If there are horizontal axis numbers and vertical axis numbers that are equal, then the equal horizontal axis numbers and vertical axis numbers are named equivalent numbers.

[0081] Step S2033, P h (X) and P h The equivalent numbers in (Y) are removed, and the remaining P is... h (Y) is placed at P h (X) After that, the recombined number is labeled PC h ;

[0082] Step S2034: Process PC in ascending order of h. h The components are combined to obtain a unique key. The escort feature sequence is analyzed to obtain an escort-specific key. The clearing feature sequence is analyzed to obtain a clearing-specific key.

[0083] In specific implementation, taking P1 as an example, P1 is (-54, -131), where P1(X) and P1(Y) are -54 and -131 respectively. The extracted horizontal axis numbers include 5 and 4, and the vertical axis numbers include 1, 3, and 1. Ignoring the sign, since the horizontal and vertical axis numbers do not have the same digit, they do not need to be removed. Then, the recombined values ​​are obtained as PC1: -54-131. Note that in actual analysis, the sign needs to be removed, so the actual PC1 is 54131. Taking P3 as another example, P3 is obtained as (-26, -96), where the horizontal axis numbers include 2 and 6, and the vertical axis numbers include 9 and 6. Since both the horizontal and vertical axis numbers contain 6, 6 is the equivalent number. Removing 6 from P3(X) and P3(Y) yields P3(X) and P3(Y) as 2 and 9 respectively, thus obtaining PC3 as 29. This process is repeated for PC1 to PC3. 15 Then follow PC1 to PC 15 The sequence is combined to obtain the escort key 54131481152976334589210653116089725. Since the analysis process of sorting the exclusive key is the same as the analysis process of escorting the exclusive key, it will not be described in detail in this embodiment.

[0084] Step S3 involves securely encrypting the escort information and the clearing information using the escort-specific key and the clearing-specific key, respectively, to obtain the escort ciphertext and the clearing ciphertext. Step S3 includes the following sub-steps:

[0085] Step S301: Using the escort-specific key as the encryption password, the escort information is securely encrypted using the national cryptographic algorithm to obtain the escort ciphertext. The escort ciphertext is then stored in the escort party's handheld PDA device. After storage, the network connection of the handheld PDA device is disconnected.

[0086] Step S302: Using the clearing exclusive key as the encryption password, the clearing information is securely encrypted using the national cryptographic algorithm to obtain clearing ciphertext. The clearing ciphertext is then stored in the clearing party's handheld PDA device. After storage, the network connection of the handheld PDA device is disconnected.

[0087] In practice, the national cryptographic algorithm includes a variety of encryption algorithms, and any algorithm from the national cryptographic algorithm can be used. In this embodiment, the SM4 algorithm is used, that is, the escort-specific key is used as the encryption password, and the escort information is encrypted by the SM4 algorithm to obtain the escort ciphertext. At the same time, the clearing-specific key is used as the encryption password, and the clearing information is encrypted by the SM4 algorithm to obtain the clearing ciphertext. Both the escort ciphertext and the clearing ciphertext are stored in a handheld PDA device without network connection, which is controlled by the escort personnel and the clearing personnel respectively. This not only avoids the network security risks brought by network connection, but also enables subsequent operations to be completed in special network-blocked scenarios such as vaults.

[0088] Step S4: During the handover of the cargo box, the escorting party and the clearing party decrypt the escort ciphertext and clearing ciphertext using handheld PDAs without network access, restoring the escort information and clearing information; Step S4 includes the following sub-steps:

[0089] Step S401: During the handover of the tail box, the escort and the clearing party simultaneously record fingerprint features in the handheld PDA device. The handheld PDA device analyzes the escort exclusive key and the clearing exclusive key based on the fingerprint features and decrypts the escort ciphertext and the clearing ciphertext to restore the escort information and the clearing information.

[0090] Step S402: Simultaneously record the timestamps of the fingerprint features entered on the handheld PDA device by the escort party and the clearing party, and name them as escort verification time and clearing verification time respectively. Include the escort verification time in the escort information and the clearing verification time in the clearing information.

[0091] In practice, during the handover of the cargo box, both the escorting and clearing personnel simultaneously register their fingerprints on handheld PDAs. This ensures that both personnel are present at the same time. The fingerprints can be analyzed to obtain the exclusive escort and clearing keys. Therefore, the escort and clearing ciphertexts on the handheld PDAs can be decrypted to restore the escort and clearing information. Simultaneously, the escort and clearing verification times are recorded. The recorded escort and clearing verification times are 1743411632895 and 1743411633168, respectively. Finally, the handheld PDAs held by the escorting personnel are used to obtain the information. The escort information in the PDA device includes "Escort Personnel: Zhang San; Employee ID: YS-1001; Escort Order Number: 123456789; Escort Verification Time: 1743411632895". The clearing information in the handheld PDA device held by the clearing personnel includes "Clearing Personnel: Li Si; Employee ID: QF-2002; Tail Box Number: WX901; Escort Order Number: 123456789; Clearing Verification Time: 1743411633168". The information in the handheld PDA device cannot be modified and has no network connection to prevent tampering by third parties other than staff.

[0092] Step S5 involves logically matching the restored escort information and settlement information. Once the logical matching is successful, the handover of the tail container is permitted. Simultaneously, the escort information and settlement information are stored on the blockchain. Step S5 includes the following sub-steps:

[0093] Step S501: Generate a Bluetooth QR code for the escort's handheld PDA device. The escort scans the Bluetooth QR code with the handheld PDA device to establish a Bluetooth connection with the escort's handheld PDA device.

[0094] Step S502: Obtain the escort order number from the escort information and the escort order number from the clearing information, and name them the escort task number and the clearing task number respectively. Determine whether the escort task number and the clearing task number are the same. If they are, output a normal order number signal. If not, output an abnormal order number signal.

[0095] Step S503: Preset verification time threshold, obtain escort verification time and clearing verification time, calculate the difference between escort verification time and clearing verification time, name it verification time difference, and determine whether the verification time difference is less than or equal to the verification time threshold. If yes, output a normal time signal; otherwise, output a time abnormal signal.

[0096] Step S504: Obtain the information of the escort and the clearing party, and verify the permissions of the escort and the clearing party. That is, query whether the escort in the escort information has the escort permission, and at the same time query whether the clearing party in the clearing party information has the clearing permission. If both are yes, output the permission normal signal; otherwise, output the permission abnormal signal.

[0097] In practice, a Bluetooth QR code is used for Bluetooth pairing. After the two handheld PDA devices connect via Bluetooth, they transmit information through Bluetooth. The sorting information is transmitted to the escort personnel's handheld PDA device, and the escort information is transmitted to the sorting personnel's handheld PDA device. The two devices are matched synchronously. Analysis shows that the escort task number and the sorting task number are the same in this embodiment, so a normal order number signal is output. The verification time threshold is set by the administrator to ensure that the sorting personnel and the escort personnel are present at the same time. In this embodiment, the verification time threshold is set to 1 second, meaning that the time error between the fingerprint features entered by the two cannot exceed 1 second. According to the timestamp calculation, the verification time difference between the two is 273ms, or 0.273s, which does not exceed the verification time threshold, so a normal time signal is output. Finally, the permissions of the escort personnel and the sorting personnel are verified. The employee ID of the employee with escort permissions starts with YS, while the employee ID of the employee with sorting permissions starts with QF. After verification, the permissions of the two are correct, so a normal permission signal is output.

[0098] Step S505: Determine whether the handover of the tail box is allowed based on the output signal, and at the same time, store the handover behavior on the blockchain.

[0099] Step S505 includes the following sub-steps:

[0100] Step S5051: If the order number normal signal, time normal signal and permission normal signal are output simultaneously, the handover of the tail box is allowed; otherwise, the handover of the tail box is not allowed.

[0101] Step S5052: If the handover of the tail box is allowed, combine the escort information and the clearing information into a handover message and store the handover message in the blockchain storage platform.

[0102] In practice, since the order number, time, and permission are all output simultaneously, if the escort personnel's handheld PDA device matches, their handheld PDA device will light up green. The same applies to the sorting personnel. Only when both of their handheld PDA devices light up green can the handover of the tail box be allowed; otherwise, the handover is not permitted. After the handover is allowed, the combined handover information is as follows: "Escort Order Number: 123456789; Escort Personnel: Zhang San; Employee ID: YS-1001; Escort Verification Time: 1743411632895; Sorting Personnel: Li Si; Employee ID: QF-2002; Tail Box Number: WX901; Sorting Verification Time: 1743411633168". This handover information is stored in the blockchain storage platform, and the handover behavior can be traced based on the information later.

[0103] Example 2: This application provides an electronic device, which may include a processor, a communication interface, a memory, and a communication bus. The processor, communication interface, and memory communicate with each other via the communication bus. The memory stores computer-readable instructions. The processor can call the instructions in the memory. When the processor executes a computer-readable instruction, it runs steps such as those in a real-time verification method for cash sorting in a tail box handover process, to achieve the following functions: configuring escort and sorting information for the tail box's escort and sorting parties; extracting the biometric features of the escort and sorting parties and converting them into escort-specific keys and sorting-specific keys; securely encrypting the escort and sorting information to obtain escort ciphertext and sorting ciphertext; restoring the escort and sorting information during tail box handover; performing logical matching on the restored escort and sorting information; allowing tail box handover after successful logical matching; and simultaneously storing the escort and sorting information on a blockchain.

[0104] Furthermore, when the logical instructions in the aforementioned memory can be implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0105] Example 3: This application also provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by the computer, the computer can execute a real-time verification method for the handover of cash boxes in a cash sorting process provided by the methods described above. The method includes: configuring escort information and sorting information for the escort and sorting parties of the cash box; extracting the biometric features of the escort and sorting parties and converting them into escort-specific keys and sorting-specific keys; securely encrypting the escort information and sorting information to obtain escort ciphertext and sorting ciphertext; restoring the escort information and sorting information during the handover of the cash box; performing logical matching on the restored escort information and sorting information, allowing the handover of the cash box after the logical matching is successful, and simultaneously storing the escort information and sorting information on the blockchain.

[0106] Example 4: This application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it performs the steps of the real-time verification method for cash sorting in the above cash sorting process to achieve the following functions: configuring escort and sorting information for the escort and sorting parties of the cash sorting; extracting the biometric features of the escort and sorting parties and converting them into escort-specific keys and sorting-specific keys; securely encrypting the escort and sorting information to obtain escort ciphertext and sorting ciphertext; restoring the escort and sorting information during cash sorting; performing logical matching on the restored escort and sorting information, allowing the cash sorting to be handed over after the logical matching is successful, and simultaneously storing the escort and sorting information on the blockchain.

[0107] Based on the above description of the embodiments, the embodiments of the present invention can be provided as methods, systems, or computer program products. Based on this understanding, the above technical solutions, in essence or in terms of their contribution to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or certain parts of the embodiments.

[0108] In the embodiments provided in this application, it should be understood that the disclosed system or method can be implemented in other ways. The embodiments described above are merely illustrative. For example, the division of modules or units is only a logical functional division, and there may be other division methods in actual implementation. Furthermore, multiple modules or units may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the coupling or direct coupling or communication connection shown or discussed may be through some communication interfaces. The indirect coupling or communication connection between systems, modules, and units may be electrical, mechanical, or other forms.

[0109] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for real-time verification of the handover of cash containers in a cash sorting process, characterized in that, Includes the following steps: Before the handover of the tail box, configure the escort and clearing information for the escort party and the clearing party. Extract the biometrics of the escort and the clearing party, and convert the biometrics into exclusive keys for escort and clearing. The escort information and the clearing information are securely encrypted using the dedicated escort key and the dedicated clearing key, respectively, to obtain the escort ciphertext and the clearing ciphertext. During the handover of the tail box, the escorting party and the clearing party use handheld PDAs to decrypt the escort and clearing ciphertexts without connecting to the network, thus restoring the escort and clearing information. Logical matching is performed on the restored escort and settlement information. Once the logical matching is successful, the handover of the tail box is allowed. At the same time, the escort and settlement information is stored on the blockchain.

2. The real-time verification method for the handover of cash containers in a cash sorting process according to claim 1, characterized in that, Before the handover of the tail box, the following sub-steps are involved in configuring the escort and clearing information for the tail box's escort and clearing parties: Before the handover of the tail box, the escort information is configured for the escort party of the tail box, including the escort person information and the escort order number; Before the handover of the tail box, the clearing information is configured for the clearing party of the tail box. The clearing information includes the clearing person information, tail box number and escort order number. The escort order number is sent by the administrator to both the cash sorting party and the escort party before the cash sorting task begins.

3. The real-time verification method for the handover of the cash container in the cash sorting process according to claim 2, characterized in that, Extracting the biometrics of the escort and the clearing party, and converting the biometrics into exclusive escort and clearing keys, includes the following sub-steps: Extract the fingerprint features of the escorting party and the clearing party to obtain the escort fingerprint and clearing fingerprint; Extracting feature sequences from escort fingerprints and clearing fingerprints; Based on feature sequence analysis, the dedicated keys for escorting and clearing are analyzed.

4. The real-time verification method for the handover of cash containers in a cash sorting process according to claim 3, characterized in that, Extracting fingerprint features from the escorting party and the clearing party to obtain escort fingerprints and clearing fingerprints includes the following sub-steps: Extract the fingerprint features of the escorting party and the clearing party, and name them the escort fingerprint and the clearing fingerprint, respectively; The fingerprint features contain the coordinates of different feature points, and the coordinates of the feature points are named feature coordinates.

5. The real-time verification method for the handover of the cash container in the cash sorting process according to claim 4, characterized in that, Extracting feature sequences from escort fingerprints and clearing fingerprints includes the following sub-steps: Add the X-axis and Y-axis coordinates of the feature coordinates to obtain the coordinate parameters. Find the feature coordinates with the minimum and maximum coordinate parameters and name them the minimum coordinates and maximum coordinates, respectively. Find the feature coordinates that are closest to the minimum coordinates and name them the reference coordinates. Calculate the distance between the minimum coordinates and the reference coordinates and name it the reference parameter. Connect the minimum coordinates and the maximum coordinates to obtain the characteristic line. Calculate the distance between the characteristic coordinates and the characteristic line and name it the characteristic length. Name the characteristic coordinates whose characteristic length is less than or equal to the reference parameter as the characteristic reference coordinates. Starting with the smallest coordinate, we name it the central coordinate. We construct a two-dimensional coordinate system with the central coordinate as the center, and name it the central coordinate system. The X-axis of the central coordinate system is equal to the X-axis of the central coordinate, and the Y-axis of the central coordinate system is equal to the Y-axis of the central coordinate. Find the feature reference coordinates that are closest to the center coordinates in the first and fourth quadrants, and name them the neighboring coordinates. Use the neighboring coordinates as the new center coordinates and repeat the search for neighboring coordinates. When there are no feature reference coordinates in the first and fourth quadrants, search for the feature reference coordinates that are closest to the center coordinates in the second and third quadrants, and name them the neighboring coordinates. Feature coordinates that have been used as center coordinates will be removed from the feature reference coordinates. The search stops when no feature reference coordinates are found in the second or third quadrant. The feature reference coordinates are then sorted and numbered according to the order of the search, using the symbol P. h Let P be a non-zero natural number and h be the index of P. h That is, the feature sequence, which includes the escort feature sequence and the clearing feature sequence.

6. The real-time verification method for the handover of cash containers in a cash sorting process according to claim 5, characterized in that, The process of escorting and clearing dedicated keys based on feature sequence analysis includes the following sub-steps: P h The values ​​of the X-axis and Y-axis are labeled as P. h (X) and P h (Y); Analyze each value of h individually and extract P bit by bit. h (X) and P h The numbers in (Y) are named the horizontal axis number and the vertical axis number, respectively. If there are horizontal axis numbers and vertical axis numbers that are equal, then the equal horizontal axis numbers and vertical axis numbers are named equivalent numbers. P h (X) and P h The equivalent numbers in (Y) are removed, and the remaining P is... h (Y) is placed at P h (X) After that, the recombined number is labeled PC h ; PC is sorted in ascending order of h. h The components are combined to obtain a unique key. The escort feature sequence is analyzed to obtain an escort-specific key. The clearing feature sequence is analyzed to obtain a clearing-specific key.

7. The real-time verification method for the handover of cash containers in a cash sorting process according to claim 6, characterized in that, The escort and settlement information are securely encrypted using the dedicated escort key and settlement key, respectively, to obtain the escort ciphertext and settlement ciphertext. This process includes the following sub-steps: Using the dedicated escort key as the encryption password, the escort information is securely encrypted using the national cryptographic algorithm to obtain the escort ciphertext. The escort ciphertext is then stored in the escort party's handheld PDA device. After storage, the network connection of the handheld PDA device is disconnected. Using the dedicated clearing key as the encryption password, the clearing information is securely encrypted using the national cryptographic algorithm to obtain the clearing ciphertext. The clearing ciphertext is then stored in the clearing party's handheld PDA device. After storage, the network connection of the handheld PDA device is disconnected.

8. The real-time verification method for the handover of cash containers in a cash sorting process according to claim 7, characterized in that, During the handover of the cargo box, the escorting party and the clearing party decrypt the escort and clearing ciphertexts using handheld PDAs without network access, restoring the escort and clearing information through the following sub-steps: During the handover of the tail box, both the escort and the clearing party simultaneously record their fingerprints on a handheld PDA device. The handheld PDA device analyzes the escort-specific key and the clearing-specific key based on the fingerprint features and decrypts the escort ciphertext and the clearing ciphertext to restore the escort information and the clearing information. Simultaneously, the timestamps of the fingerprint features entered by the escorting party and the clearing party on the handheld PDA device are recorded, and named as escort verification time and clearing verification time respectively. The escort verification time is included in the escort information, and the clearing verification time is included in the clearing information.

9. A real-time verification method for the handover of cash containers in a cash sorting process according to claim 8, characterized in that, Logical matching is performed on the restored escort and settlement information. Once the logical matching is successful, the handover of the tail box is allowed. At the same time, the escort and settlement information is stored on the blockchain, including the following sub-steps: Generate a Bluetooth QR code for the escort's handheld PDA device. The escort scans the Bluetooth QR code with the handheld PDA device to establish a Bluetooth connection. Obtain the escort order number from the escort information and the escort order number from the clearing information, and name them the escort task number and clearing task number respectively. Determine whether the escort task number and the clearing task number are the same. If they are the same, output a normal order number signal. If not, output an abnormal order number signal. The system presets a verification time threshold, acquires the escort verification time and the clearing verification time, calculates the difference between the escort verification time and the clearing verification time, names it the verification time difference, and determines whether the verification time difference is less than or equal to the verification time threshold. If it is, the system outputs a normal time signal; otherwise, the system outputs an abnormal time signal. Obtain the information of the escort and the clearing party, and verify the permissions of the escort and the clearing party. Specifically, check whether the escort party in the escort information has escort authority, and check whether the clearing party in the clearing party information has clearing authority. If both are yes, output a normal permission signal; otherwise, output an abnormal permission signal. The system determines whether the handover of the tail box is allowed based on the output signal, and simultaneously stores the handover behavior on the blockchain.

10. A real-time verification method for the handover of cash containers in a cash sorting process according to claim 9, characterized in that, The process of determining whether to allow the handover of the tail box based on the output signal, and simultaneously storing the handover transaction on the blockchain, includes the following sub-steps: If the order number is normal, the time is normal, and the permission is normal at the same time, then the handover of the tail box is allowed; otherwise, the handover of the tail box is not allowed. If the handover of the tail box is permitted, the escort information and settlement information for this transaction will be combined into a single handover message, which will then be stored in the blockchain storage platform.