Cash box management method and system based on Internet of Things

The Internet of Things platform connects business systems, locks and unlocking devices to realize identity authentication and unlocking factor management, solves the risk and connectivity problems of cash box management in the existing technology, and improves management efficiency and security.

CN114170709BActive Publication Date: 2024-10-11CHINA CONSTRUCTION BANK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111487517.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-07
Publication Date
2024-10-11
Estimated Expiration
2041-12-07

AI Technical Summary

Technical Problem

In the existing technology, there are risks and inconveniences in the offline management of mechanical locks in the management of cash boxes in financial institutions or other institutions, and there is a lack of methods for synchronous real-time monitoring of multiple cash boxes and maintaining connectivity between cash boxes and business systems.

Method used

Connect business systems, locks, and unlocking devices through the Internet of Things management platform to achieve identity authentication and unlocking factor generation and verification, ensuring that only authenticated requesters can unlock the lock, and improving security and connectivity through encryption technology and communication key management .

Benefits of technology

It improves the efficiency and safety of cash box management, reduces manpower investment, realizes real-time interaction and refined management of cash boxes and business systems, and reduces the difficulty of key management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114170709B_ABST
    Figure CN114170709B_ABST
Patent Text Reader

Abstract

This disclosure provides a cash box management method based on the Internet of Things (IoT), applicable to the field of IoT technology. The method includes: a business system obtaining requester identity information from an unlocking device via an IoT management platform; the business system authenticating the requester's identity information; the business system sending the authentication result to the unlocking device via the IoT management platform; when the authentication is successful, the unlocking device sending an unlocking request to the business system via the IoT management platform; the business system generating an unlocking factor based on the unlocking request; the lock obtaining the unlocking factor via the IoT management platform; and the lock verifying the unlocking factor and unlocking the cash box. This disclosure also provides a cash box management system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of Internet of Things, in particular to cash box management based on the Internet of Things, and more particularly to a cash box management method and system based on the Internet of Things. Background Art

[0002] At present, financial institutions or other institutions mostly use mechanical locks for offline management when managing physical cash bags / boxes. Mechanical key management mainly relies on internal rules and regulations. For example, for teller cash boxes at bank outlets, it is required that when the cash boxes are opened and closed, the box body must be double-locked "open, close and lock together", "two keys are managed by two people, jointly managed and jointly responsible"; two people are in charge of a set of two keys at business outlets, and they are not allowed to manage concurrently, etc. However, these rules and regulations have many risks and inconveniences in the specific implementation process. Although there are methods in the prior art to realize electronic box opening and sealing based on encryption and decryption technology, they are usually only managed for specific cash boxes, and lack methods that can simultaneously monitor multiple cash boxes in real time and maintain the connectivity between the cash boxes and the business system. Summary of the invention

[0003] In view of the above problems, the present disclosure provides a cash box management method and system based on the Internet of Things to improve the efficiency of cash box management.

[0004] According to the first aspect of the present disclosure, a cash box management method based on the Internet of Things is provided, characterized in that it includes: a business system obtains the identity information of the requester from an unlocking device based on an Internet of Things management platform; the business system authenticates the identity information of the requester; the business system sends the identity authentication result to the unlocking device based on the Internet of Things management platform; when the identity authentication is passed, the unlocking device sends an unlocking request to the business system based on the Internet of Things management platform; the business system generates an unlocking factor based on the unlocking request; the lock obtains the unlocking factor based on the Internet of Things management platform; the lock verifies the unlocking factor and realizes unlocking, wherein the lock matches the cash box, and the Internet of Things management platform is respectively communicated with the business system, the lock, and the unlocking device; the unlocking device is also communicated with the lock.

[0005] According to an embodiment of the present disclosure, the business system authenticates the identity information of the requester, including: the business system calls an identity recognition device, the identity recognition device pre-stores the identity information of the manager; and the business system compares the identity information of the requester with the identity information of the manager, wherein the identity recognition device is communicatively connected to the business system.

[0006] According to an embodiment of the present disclosure, the business system generates an unlocking factor based on the unlocking request, including: the business system determines whether the unlocking authority is established based on the unlocking request, wherein the unlocking request includes a lock identification; if the unlocking authority is established, sending unlocking security data to an encryption device, the unlocking security data includes the lock identification and a locking code corresponding to the lock identification; the encryption device generates an unlocking code ciphertext based on the unlocking security data; and the business system obtains the unlocking code ciphertext and generates an unlocking factor based on the unlocking code ciphertext, wherein the encryption device is communicatively connected to the business system.

[0007] According to an embodiment of the present disclosure, the lock verifies the unlocking factor and realizes unlocking, including: the lock obtains the unlocking factor from the business system based on the Internet of Things management platform; the lock verifies the unlocking factor based on the saved locking code and lock identification; when the verification is successful, the lock is unlocked.

[0008] According to an embodiment of the present disclosure, the business system and the lock store an initial locking code, and the initial locking code is generated by the following steps: the business system obtains a lock list based on the Internet of Things management platform, the lock list matches the cash box, and the lock list contains a lock identification corresponding to the lock; the lock obtains the first encrypted data from the business system based on the Internet of Things management platform to generate a first communication key and a second encrypted data; the business system obtains the second encrypted data from the lock based on the Internet of Things management platform; the encryption device generates a second communication key and a lock working key based on the second encrypted data from the business system, wherein the first communication key and the second communication key are the same; the encryption device encrypts the lock working key based on the second communication key, generates a working key ciphertext and sends it to the business system; the lock obtains the working key ciphertext from the business system based on the Internet of Things management platform; and the lock decrypts the working key ciphertext based on the first communication key to generate an initial locking code, wherein the business system is communicatively connected to the encryption device and the Internet of Things management platform respectively, and the lock is communicatively connected to the Internet of Things management platform. According to an embodiment of the present disclosure, the lock obtains the first encrypted data from the business system based on the Internet of Things management platform to generate the first communication key and the second encrypted data, including: the business system obtains the first encrypted data from the encryption device, and the first encrypted data includes public key data containing a signature; the lock obtains the first encrypted data from the business system based on the Internet of Things management platform; the lock parses the first encrypted data, and generates the first communication key and the second encrypted data based on the parsed data, wherein the parsing includes verifying the signature of the public key data containing the signature.

[0009] According to an embodiment of the present disclosure, the lock obtains the first encrypted data from the business system based on the Internet of Things management platform to generate the first communication key and the second encrypted data, including: the business system obtains the first encrypted data from the encryption device, and the first encrypted data includes public key data containing a signature; the lock obtains the first encrypted data from the business system based on the Internet of Things management platform; the lock parses the first encrypted data, and generates the first communication key and the second encrypted data based on the parsed data, wherein the parsing includes verifying the signature of the public key data containing the signature.

[0010] According to an embodiment of the present disclosure, the encryption device generates a second communication key and a lock working key based on the second encrypted data from the business system, including: the business system obtains the second encrypted data from the lock based on the Internet of Things management platform. The business system generates a lock encryption factor based on the second encrypted data. The lock encryption factor includes the lock identification. The encryption device generates a second communication key and a lock working key based on the lock encryption factor from the business system.

[0011] According to an embodiment of the present disclosure, when the lock list is empty, the method further includes: the business system automatically generates a lock identification; the business system sends the lock identification and the first encrypted data to the lock based on the Internet of Things management platform; and the lock stores the lock identification.

[0012] According to an embodiment of the present disclosure, after unlocking, the method also includes: the lock updates the locking code and generates third encrypted data based on the locking code; the business system obtains the third encrypted data from the lock based on the Internet of Things management platform; and the business system obtains and saves the updated locking code based on the third encrypted data.

[0013] According to an embodiment of the present disclosure, the lock, the unlocking device and the cash box are connected to the Internet of Things management platform through a gateway.

[0014] The second aspect of the present disclosure provides a cash box management system based on the Internet of Things, including: a lock, a cash box, a business system, an unlocking device, and an Internet of Things management platform, wherein the business system is configured to obtain the identity information of the requester from the unlocking device based on the Internet of Things management platform; authenticate the identity information of the requester; send the identity authentication result to the unlocking device through the Internet of Things management platform; receive the unlocking request from the unlocking device; and send the unlocking factor based on the unlocking request; the unlocking device is configured to send the unlocking request to the business system based on the Internet of Things management platform when the identity authentication is passed; the lock is configured to obtain the unlocking factor based on the Internet of Things management platform; and verify the unlocking factor and realize unlocking, wherein the lock matches the cash box, and the Internet of Things management platform is communicatively connected to the business system, the lock and the unlocking device respectively; the lock is also communicatively connected to the unlocking device.

[0015] According to an embodiment of the present disclosure, the cash box management system also includes: an encryption device configured to receive unlocking security data from the business system, and generate unlocking code ciphertext data based on the unlocking security data, wherein the encryption device is communicatively connected to the business system.

[0016] According to an embodiment of the present disclosure, the cash box management system further includes: an identity recognition device configured to pre-store manager identity information, wherein the manager identity information is used to compare with the requester identity information to verify the requester identity.

[0017] According to an embodiment of the present disclosure, the cash box management system further includes: a gateway configured to connect the lock, the unlocking device, and the cash box to the Internet of Things management platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0019] Figure 1 The application scenario diagram of cash box management according to an embodiment of the present disclosure is schematically shown.

[0020] Figure 2 The flowchart of the cash box management method according to the embodiment of the present disclosure is schematically shown.

[0021] Figure 3 The flowchart of the business system generating the unlocking factor based on the unlocking request according to the embodiment of the present disclosure is schematically shown.

[0022] Figure 4The flowchart of the business system generating the unlocking factor based on the unlocking request according to the embodiment of the present disclosure is schematically shown.

[0023] Figure 5 The flowchart of the method that may be included after unlocking according to the embodiment of the present disclosure is schematically shown.

[0024] Figure 6 The flowchart of the method for generating an initial locking code according to an embodiment of the present disclosure is schematically shown.

[0025] Figure 7 The structural block diagram of the cash box management system according to the embodiment of the present disclosure is schematically shown.

[0026] Figure 8 The structural block diagram of a cash box management system according to another embodiment of the present disclosure is schematically shown.

[0027] Fig. 9 The structural block diagram of a cash box management system according to another embodiment of the present disclosure is schematically shown.

[0028] Fig.10 The structural block diagram of a cash box management system according to another embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0029] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0030] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0031] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0032] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0033] It should be noted that the cash box management method, system, device, medium and program product provided in the embodiments of the present disclosure can be used in the device management related aspects of the Internet of Things technology, and can also be used in various fields other than the Internet of Things technology, such as the financial field, etc. The application field of the cash box management method, system and electronic device provided in the embodiments of the present disclosure is not limited.

[0034] The embodiment of the present disclosure provides a cash box management method based on the Internet of Things.

[0035] Figure 1 The application scenario diagram of cash box management according to an embodiment of the present disclosure is schematically shown.

[0036] like Figure 1 As shown, the application scenario 100 according to this embodiment may include terminal devices 101, 102, and 103. A network 104 is used to provide a medium for a communication link between the terminal devices 101, 102, and 103 and a server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0037] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).

[0038] The terminal devices 101 , 102 , and 103 are various electronic devices that can send unlock request data and perform identity authentication, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0039] The server 105 may be a server that provides various services, such as a background management server that processes unlocking request signals sent by users using the terminal devices 101, 102, and 103 and manages the opening and closing of cash boxes (for example only). The background management server may analyze and process the received user request data, and feed back the processing results (such as identity authentication results, data information required for unlocking, etc.) to the terminal device.

[0040] It should be noted that the cash box management method provided in the embodiment of the present disclosure can be mainly executed by the server 105. Accordingly, the cash box management system provided in the embodiment of the present disclosure can generally include a device including the server 105, such as a business system. The cash box management method provided in the embodiment of the present disclosure can also be executed by a server or a server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105. Accordingly, the cash box management system provided in the embodiment of the present disclosure can also include a device including a server or a server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105.

[0041] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.

[0042] The following will be based on Figure 1 The scene described by Figure 2 to Figure 6 The cash box management method of the disclosed embodiment is described in detail.

[0043] Figure 2 The flowchart of the cash box management method according to the embodiment of the present disclosure is schematically shown.

[0044] like Figure 2 As shown, the cash box management method of this embodiment includes operations S210 to S260.

[0045] In operation S210, the business system obtains the identity information of the requester from the unlocking device based on the Internet of Things management platform.

[0046] In operation S220, the business system authenticates the identity information of the requester.

[0047] In operation S230, the business system sends the identity authentication result to the unlocking device based on the Internet of Things management platform.

[0048] In operation S240, when the identity authentication is passed, the unlocking device sends an unlocking request to the business system based on the Internet of Things management platform.

[0049] In operation S250 , the business system generates an unlocking factor based on the unlocking request.

[0050] In operation S260, the lock verifies the unlocking factor and realizes unlocking.

[0051] According to the embodiments of the present disclosure, in order to achieve the de-keying of cash box management, and to enable the cash box to achieve the goal of real-time interaction and real-time with the core system such as the business system, and to achieve the refined management of the cash box, the embodiments of the present disclosure introduce the Internet of Things management platform. The connection between the cash box, the lock, the unlocking device and the business system is established through the Internet of Things management platform. Specifically, the lock can be an active lock, the cash box can be an active cash box, and the unlocking device can be a device equipped with a radio frequency identification function, such as a PDA equipped with RFID and NFC reading functions. The lock is matched with the cash box, and the Internet of Things management platform is respectively connected to the business system, the lock, and the unlocking device; the unlocking device is also connected to the lock. The interaction between the lock, the unlocking device and the business system needs to be carried out through the Internet of Things platform, thereby maintaining the connectivity between the cash box and the business system under the conditions of limited battery capacity, small communication volume and taking into account mobility, improving the efficiency of cash box management, reducing manpower investment costs, and realizing the intelligent operation of the cash box.

[0052] In the embodiments of the present disclosure, in order to ensure the security of cash box management, an identity authentication process can be established between the unlocking device and the business system. The unlocking device can only execute the next unlocking process, such as sending an unlocking request, after the identity authentication of the unlocking requester is passed. Accordingly, the unlocking device can be equipped with an identity recognition module, including but not limited to an identification module with biometric functions such as fingerprint recognition, face recognition, and finger vein recognition. The unlocking factor can be data generated based on encryption and decryption technology that is necessary for unlocking and can be verified with the lock. Based on the dual security authentication of identity authentication and unlocking factor, the security of cash box management is further improved.

[0053] According to an embodiment of the present disclosure, a method for a business system to authenticate the identity information of the applicant may include: the business system calls an identity recognition device, and the identity recognition device pre-stores the identity information of the administrator. The business system compares the identity information of the applicant with the identity information of the administrator. According to an embodiment of the present disclosure, the identity recognition device may be communicatively connected to the business system. In an embodiment of the present disclosure, the identity recognition device may correspond to an identity recognition module equipped with an unlocking device, and may include functional components such as fingerprint comparison, face comparison, and finger vein comparison.

[0054] In some specific embodiments, the unlocking device collects the identity authentication information of the requester, and sends the identity authentication information to the business system through the Internet of Things management platform. The business system then calls an identity recognition device that stores the identity information of the manager with cash box management authority to identify the identity authentication information, such as using the UASS component to perform fingerprint comparison. The business system pushes the comparison result to the unlocking device through the Internet of Things management platform, and initiates an unlocking request if the comparison is successful.

[0055] It is understandable that if the applicant's identity authentication fails, it means that the applicant does not have the right to manage the cash box and the comparison fails. At this time, the business system can push the result of the failed comparison to the unlocking device through the Internet of Things management platform. The unlocking device will display a prompt message of failed comparison and will no longer perform the subsequent unlocking process.

[0056] Figure 3 The flowchart of the business system generating the unlocking factor based on the unlocking request according to the embodiment of the present disclosure is schematically shown.

[0057] like Figure 3 As shown, the cash box management method of this embodiment includes operations S310 to S340.

[0058] In operation S310, the business system determines whether the unlocking authority is established based on the unlocking request, wherein the unlocking request includes a lock identification.

[0059] According to an embodiment of the present disclosure, in order to further ensure the security of unlocking, it is possible to verify whether the current unlocking requester has the unlocking authority, for example, by checking the cash box bound to the lock, and whether the current requester is consistent with the corresponding data pre-stored by the business system, to determine whether he has the unlocking authority. Among them, the unlocking device can obtain the current lock identification by interacting with the lock, for example, it can be the lock ID. Thus, the unlocking request can include the above lock identification. Furthermore, the unlocking request can also include a personnel identification. If the unlocking authority is not established, the business system can send a prompt message to the unlocking device through the Internet of Things management platform. When the unlocking authority is established, the next unlocking process is executed.

[0060] In operation S320, if the unlocking authority is established, unlocking security data is sent to the encryption device, and the unlocking security data includes the lock identification and the locking code corresponding to the lock identification.

[0061] According to an embodiment of the present disclosure, the business system pre-stores a lock identification and a locking code corresponding to the lock identification, wherein the lock identification may include one or more lock identifications, and each lock stores a locking code uniquely corresponding to itself, and the business system also stores a locking code corresponding to the lock. The locking code may be generated based on encrypted data, and after each unlocking and locking, a new locking code may be generated based on an encryption algorithm to improve the security of cash box management. Among them, the encryption algorithm used may include a symmetric encryption algorithm, an asymmetric encryption algorithm, and a hash algorithm, for example, it may be the national secret algorithm SM3 or SM4. By setting unlocking security data, encryption and decryption technology may be used to achieve connectivity between the lock and the business system, thereby improving the security of cash box management.

[0062] In operation S330, the encryption device generates an unlocking code ciphertext based on the unlocking security data.

[0063] According to an embodiment of the present disclosure, the encryption device is in communication connection with the business system. After receiving the unlocking security data from the business system, the encryption device can generate unlocking code ciphertext data using the unlocking security data based on an encryption algorithm, and the unlocking code ciphertext data can include a check value based on the selected encryption algorithm.

[0064] In operation S340, the business system obtains the unlocking code ciphertext and generates an unlocking factor based on the unlocking code ciphertext.

[0065] According to the embodiments of the present disclosure, after the encryption device generates the unlock code ciphertext, the unlock code ciphertext can be sent to the business system, and the business system can generate an unlock factor for transmission to the lock based on the unlock code ciphertext, wherein the unlock factor can include the unlock code ciphertext, the unlock code ciphertext including the check value, and can also include a digital signature, for example, a timestamp. The unlock factor can further improve the security protection of cash box management.

[0066] Figure 4 The flowchart of the business system generating the unlocking factor based on the unlocking request according to the embodiment of the present disclosure is schematically shown.

[0067] like Figure 4 As shown, the cash box management method of this embodiment includes operations S410 to S430.

[0068] In operation S410, the lock obtains an unlocking factor from the business system based on the Internet of Things management platform.

[0069] In operation S420, the lock verifies the unlocking factor based on the stored locking code and the lock identification.

[0070] In operation S430, when the verification is successful, the lock is unlocked.

[0071] According to an embodiment of the present disclosure, in each unlocking round, the lock saves the same locking code as the business system. The locking code can be a random number generated based on a preset algorithm. After the business system generates the unlocking factor, the unlocking factor can be transmitted to the lock through the Internet of Things management platform, and the lock can verify the unlocking factor according to the locking code. The locking codes in different unlocking rounds can be the same or different to meet cash box management scenarios with different security requirements.

[0072] In some specific embodiments, the method for verifying the unlocking factor may include: when the lock receives the unlocking factor, the lock first decrypts the unlocking code ciphertext to obtain the plaintext unlocking code. The lock can obtain a new unlocking code based on the agreed algorithm based on the locked code stored in the business system, the current lock identification and the digital signature (such as a timestamp). The plaintext unlocking code from the business system and the new unlocking code generated by the lock are compared. If they are consistent, the verification is successful and the lock can be opened. If they are inconsistent, the verification fails, and the lock can send the verification failure information to the unlocking device.

[0073] According to an embodiment of the present disclosure, in a cash box management scenario with high security requirements, after unlocking, the lock can also update the locking code and transmit the locking code to the business system for storage.

[0074] Figure 5 The flowchart of the method that may be included after unlocking according to the embodiment of the present disclosure is schematically shown.

[0075] like Figure 5 As shown, the cash box management method of this embodiment includes operations S510 to S530.

[0076] In operation S510, the lock updates a locking code and generates third encrypted data based on the locking code.

[0077] In operation S520, the business system obtains the third encrypted data from the lock based on the Internet of Things management platform.

[0078] In operation S530, the business system obtains and saves an updated locking code based on the third encrypted data.

[0079] In an embodiment of the present disclosure, the lock can update the locking code, for example, a new random number is generated based on a preset algorithm. Then, the new random number is encrypted using a preset encryption algorithm based on the working key to generate third encrypted data. Among them, the preset encryption algorithm adopted may include a symmetric encryption algorithm, an asymmetric encryption algorithm, and a hash algorithm, for example, it may be a national secret algorithm SM3, SM4. According to the type of the preset encryption algorithm, the third encrypted data may include a locking code ciphertext and a check value. The business system may obtain the third encrypted data through the Internet of Things management platform, and then pass the third encrypted data to the encryption device. After the encryption device obtains the third encrypted data, it can obtain an updated locking code after decryption based on the agreed algorithm. After the encryption device passes the updated locking code to the business system, the business system can save the updated locking code as a component of the unlocking security data in the next round of unlocking. It is understandable that the business system can pass the corresponding lock identification for the encryption device to decrypt while passing the third encrypted data to maintain the corresponding relationship between the lock locking code and the business system locking code. The working key can be generated by the business system based on a preset algorithm and transferred to the lock for storage, for example, it can be stored in the encryption chip of the active lock. After each unlocking, a new locking code can be generated based on the agreed generation algorithm based on the working key stored in the lock, and the locking code can be dynamically updated when the working key remains unchanged. The generation rule of the working key can be uniquely saved by the business system, thereby realizing the secure connection and dynamic control between the business system and the lock.

[0080] According to an embodiment of the present disclosure, the cash box management method may further include a method for initializing a device, for example, including a step of generating an initial locking code, and the initial locking code is stored in a business system and a lock.

[0081] Figure 6 The flowchart of the method for generating an initial locking code according to an embodiment of the present disclosure is schematically shown.

[0082] like Figure 6 As shown, the cash box management method of this embodiment includes operations S610 to S670.

[0083] In operation S610, the business system obtains a lock list based on the Internet of Things management platform, the lock list matches the cash box, and the lock list includes lock identifiers corresponding to the locks.

[0084] According to an embodiment of the present disclosure, before the business system obtains the lock list, it may also include a cash box registration step. The cash box may be an active cash box, which may include a unique device identification when leaving the factory, such as the device SN number. When adding a new cash box, you can choose in the business system whether to register the cash box to the Internet of Things management platform, and initiate a registration application to the Internet of Things management platform based on the device identification. The Internet of Things management platform can feed back the registration results to the business system. It is understandable that based on the complexity requirements of the business system equipment management, one or more Internet of Things management platforms can be connected, and accordingly, the registration result can include the Internet of Things management platform identification, so that the business system can update the online status of the cash box in real time after registration.

[0085] According to the embodiments of the present disclosure, after the cash box is registered, a cash box activation step may be included. Specifically, the administrator may perform an activation operation on the cash box, such as pressing the power key three times in a row, and the cash box initiates an activation request to the Internet of Things management platform, thereby activating the cash box on the Internet of Things management platform. It is understandable that the activation request may include a cash box identifier and a business system identifier, thereby establishing a unique mapping relationship between the business system, the Internet of Things management platform and the cash box, and realizing refined management of the cash box. The Internet of Things management platform may feed back the cash box activation result to the cash box. In some specific embodiments, the cash box may be a cash box that has been registered on the Internet of Things management platform, such as a cash box that has been returned to the factory for repair or called within the organization, and the lock that matches it may be a lock that has been assigned a lock identifier (such as a lock ID) by the business system. When the above cash box is managed by the business system again, for security reasons, it is necessary to re-register and activate the cash box, but it is not necessary to change the lock identifier. Therefore, after receiving the activation result feedback, the cash box may automatically call the lock interface to obtain the lock identifier. A cash box can match one or more locks, and accordingly, one or more lock identifiers can be obtained and a lock list can be generated. Furthermore, the cash box can send the lock list to the business system through the Internet of Things management platform, thereby establishing connectivity between the lock and the business system. It is understandable that in order to ensure the acquisition of the lock list and prevent the cash box from automatically calling the lock interface, the business system can initiate a lock list acquisition request after the device is successfully activated. The request can be sent to the cash box through the Internet of Things management platform, and the cash box can initiate a call to the lock.

[0086] In operation S620, the lock obtains first encrypted data from the business system based on the Internet of Things management platform to generate a first communication key and second encrypted data.

[0087] According to the embodiments of the present disclosure, in order to separate the authority of the cash box and lock manufacturer from the business system, the manufacturer's technical unlocking method is used to improve the security of cash box management, a communication key and a working key are introduced in the process of generating the initial locking code, the working key is encrypted using the communication key, and the working key is used as the generation factor of the locking code. Among them, the connection between the lock and the business system can be established based on the communication key, and the tool key can be written into the lock encryption chip. The generation rule of the communication key can be relatively simple and one-time use to reduce the computer load.

[0088] In an embodiment of the present disclosure, the encryption device may generate the first encrypted data based on a preset encryption algorithm, such as an asymmetric encryption algorithm. In some specific embodiments, the first encrypted data may include public key data containing a signature. After the business system obtains the above-mentioned public key data containing a signature, the public key data containing a signature may be sent to the lock through the Internet of Things management platform. The lock may parse the first encrypted data and generate a first communication key and a second encrypted data based on the parsed data. Wherein, the parsing includes verifying the signature of the public key data containing a signature. Correspondingly, the parsed data may be the public key data obtained after the signature verification. The generation of the first communication key may include security data generated by the lock based on cryptographic technology that can be used to communicate with the business system, such as generating a random number. The lock may generate the first communication key according to the agreed algorithm using the random number, wherein the agreed algorithm may be a common algorithm for generating communication keys agreed by the lock manufacturer and the institution, and the same communication key may be generated at the lock end and the business system end through the agreed algorithm to establish connectivity between the lock and the business system. Wherein, the type of the agreed algorithm may include a symmetric encryption algorithm, an asymmetric encryption algorithm, and a hash algorithm, such as the national secret algorithm SM2, SM3, and SM4. The second encrypted data can be the data obtained by encrypting the security data using the parsed data after the lock generates security data that can be used to communicate with the business system based on cryptographic technology. For example, the second encrypted data can be obtained by encrypting the random number generated by the lock using the public key obtained after the signature verification.

[0089] According to an embodiment of the present disclosure, when the lock list is empty, the method further includes: the business system automatically generates a lock identification. The business system sends the lock identification and the first encrypted data to the lock based on the Internet of Things management platform. The lock stores the lock identification.

[0090] In an embodiment of the present disclosure, when the cash box and its matching lock have not been registered on the Internet of Things management platform, and have not established a connection with the business system, the lock identification obtained by the cash box calling the lock interface can be empty, thereby obtaining an empty lock list. At this time, the lock identification can be automatically generated by the business system, and the lock identification and the first encrypted data can be sent to the lock through the Internet of Things management platform. The lock stores the lock identification, for example, the lock identification can be written into the encryption chip of the lock as the unique identification of the lock.

[0091] In operation S630, the business system obtains second encrypted data from the lock based on the Internet of Things management platform.

[0092] In operation S640, the encryption device generates a second communication key and a lock working key based on the second encrypted data from the business system, wherein the first communication key and the second communication key are the same.

[0093] According to an embodiment of the present disclosure, after the business system obtains the second encrypted data from the lock based on the Internet of Things management platform, it can further generate a lock encryption factor based on the second encrypted data. The lock encryption factor can be saved for the business system and used as a calculation factor for generating a working key. In some specific embodiments, the lock encryption factor may include the second encrypted data, and may further include a lock identification, and may further include security factors such as the current system timestamp. Further, the encryption device may generate a second communication key and a lock working key based on the lock encryption factor from the business system. Among them, the algorithm of the second communication key is the same as the algorithm of the first communication key, and the first communication key generated thereby is the same as the second communication key, so that connectivity between the lock and the business system can be established. For example, the encryption device can decrypt the second encrypted data to obtain security data such as a random number, and then generate a second communication key based on the random number. Further, the encryption device can generate a lock working key based on the lock identification and security factors (such as timestamp) in the lock encryption factor. Based on the demand for data storage overhead, the business system can save the lock encryption factor without having to save the lock working key.

[0094] In operation S650, the encryption device encrypts the lock working key based on the second communication key, generates a working key ciphertext, and sends it to the business system.

[0095] In operation S660, the lock obtains the working key ciphertext from the business system based on the Internet of Things management platform.

[0096] According to an embodiment of the present disclosure, based on a preset algorithm, the lock working key can be encrypted using the second communication key to obtain a working key ciphertext so that the working key can be securely transmitted to the lock through the Internet of Things management platform.

[0097] In operation S670, the lock decrypts the working key ciphertext based on the first communication key to generate an initial locking code.

[0098] According to an embodiment of the present disclosure, after receiving the working key ciphertext, the lock can decrypt the ciphertext using the first communication key that is the same as the second communication key to obtain the plaintext working key, and write it into the lock encryption chip for storage. The lock can generate an initial locking code based on a preset encryption algorithm. After generating the initial locking code, the lock can also encrypt the initial locking code using the working key based on the preset encryption algorithm, and transmit the initial locking code encrypted data back to the business system through the Internet of Things management platform. Further, the business system can send the initial locking code encrypted data to the encryption device for decryption. Further, the business system can also save the initial locking code based on the decryption result for unlocking verification.

[0099] According to an embodiment of the present disclosure, the lock, the unlocking device and the cash box can be connected to the Internet of Things management platform through a gateway. For example, the lock, the unlocking device and the cash box can be connected to the edge computing gateway device through a Zigbee module, and then connected to the Internet of Things management platform through the edge computing gateway device to form a link between the lock, the unlocking device and the cash box and the Internet of Things management platform.

[0100] The cash box management method provided by the embodiment of the present disclosure manages active cash boxes and locks by introducing an Internet of Things management platform into cash box management, thereby reducing the difficulty of key management, accurately controlling authority, mastering the actual opening and closing conditions, improving management effectiveness, and enhancing the level of risk control.

[0101] Based on the above cash box management method, the present disclosure also provides a cash box management system based on the Internet of Things. Figure 7 The device is described in detail.

[0102] Figure 7 The structural block diagram of the cash box management system according to the embodiment of the present disclosure is schematically shown.

[0103] like Figure 7 As shown, the cash box management system 700 of this embodiment includes a lock 710 , a cash box 720 , a business system 730 , an unlocking device 740 , and an Internet of Things management platform 750 .

[0104] The business system is configured to obtain the identity information of the requester from the unlocking device based on the Internet of Things management platform, authenticate the identity information of the requester, send the identity authentication result to the unlocking device through the Internet of Things management platform, receive the unlocking request from the unlocking device, and send the unlocking factor based on the unlocking request.

[0105] The unlocking device is configured to send an unlocking request to the business system based on the Internet of Things management platform when identity authentication is passed.

[0106] The lock configuration is configured to obtain the unlocking factor based on the Internet of Things management platform; and verify the unlocking factor and achieve unlocking.

[0107] Among them, the lock is matched with the cash box, and the Internet of Things management platform is communicatively connected with the business system, the lock and the unlocking device respectively; the lock is also communicatively connected with the unlocking device.

[0108] Figure 8 The structural block diagram of a cash box management system according to another embodiment of the present disclosure is schematically shown.

[0109] like Figure 8 As shown, the cash box management system 700 of this embodiment may also include an encryption device 760.

[0110] The encryption device 760 is configured to receive unlocking security data from the business system and generate unlocking code ciphertext data based on the unlocking security data. The encryption device is in communication connection with the business system.

[0111] Fig. 9 The structural block diagram of a cash box management system according to another embodiment of the present disclosure is schematically shown.

[0112] like Fig. 9 As shown, the cash box management system 700 of this embodiment may also include an identity recognition device 770.

[0113] The identity recognition device 770 is configured to pre-store the manager identity information, and the manager identity information is used to compare with the requester identity information to verify the requester identity.

[0114] Fig.10 The structural block diagram of a cash box management system according to another embodiment of the present disclosure is schematically shown.

[0115] like Fig.10 As shown, the cash box management system 700 of this embodiment may also include a gateway 780.

[0116] The gateway 780 is configured to connect the lock, the unlocking device, and the cash box to the Internet of Things management platform.

[0117] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the methods and systems according to various embodiments of the present disclosure. It should be noted that in some alternative implementations, the functions marked in the boxes may also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of boxes in the block diagram or flow chart, can be implemented with a dedicated hardware-based system that performs the specified functions or operations, or can be implemented with a combination of dedicated hardware and computer instructions.

[0118] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0119] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A cash box management method based on the Internet of Things, characterized in that: include: The business system obtains the identity information of the requester from the unlocking device based on the Internet of Things management platform; The business system authenticates the identity information of the requester; The business system sends the identity authentication result to the unlocking device based on the Internet of Things management platform; When the identity authentication is passed, the unlocking device sends an unlocking request to the business system based on the Internet of Things management platform; The business system generates an unlocking factor based on the unlocking request; The lock obtains the unlocking factor based on the Internet of Things management platform; The lock verifies the unlocking factor and unlocks the lock. The lock is matched with the cash box, the Internet of Things management platform is respectively connected to the business system, the lock, and the unlocking device; the unlocking device is also connected to the lock; Wherein, the business system generates an unlocking factor based on the unlocking request, comprising: the business system determines whether the unlocking authority is established based on the unlocking request, wherein the unlocking request includes a lock identification; if the unlocking authority is established, sending unlocking security data to an encryption device, wherein the unlocking security data includes the lock identification and a lock code corresponding to the lock identification; the encryption device generates an unlocking code ciphertext based on the unlocking security data; and the business system obtains the unlocking code ciphertext and generates an unlocking factor based on the unlocking code ciphertext, wherein the encryption device is communicatively connected to the business system; Wherein, the business system and the lock store an initial locking code, and the initial locking code is generated by the following steps: the business system obtains a lock list based on the Internet of Things management platform, the lock list matches the cash box, and the lock list contains a lock identification corresponding to the lock; the lock obtains the first encrypted data from the business system based on the Internet of Things management platform to generate a first communication key and a second encrypted data; the business system obtains the second encrypted data from the lock based on the Internet of Things management platform; the encryption device generates a second communication key and a lock working key based on the second encrypted data from the business system, wherein the first communication key and the second communication key are the same; the encryption device encrypts the lock working key based on the second communication key, generates a working key ciphertext and sends it to the business system; the lock obtains the working key ciphertext from the business system based on the Internet of Things management platform; and the lock decrypts the working key ciphertext based on the first communication key to generate an initial locking code, wherein the business system is respectively connected to the encryption device and the Internet of Things management platform for communication, and the lock is connected to the Internet of Things management platform for communication.

2. The method according to claim 1, wherein: The business system authenticates the identity information of the requester including: The business system calls an identity recognition device, and the identity recognition device pre-stores the manager's identity information; and The business system compares the identity information of the requester with the identity information of the manager. Wherein, the identity recognition device is communicatively connected with the business system.

3. According to the method of claim 1, the lock verifies the unlocking factor and realizes unlocking, comprising: The lock obtains an unlocking factor from the business system based on the Internet of Things management platform; The lock verifies the unlocking factor based on the stored locking code and lock identification; When the verification is successful, the lock is unlocked.

4. The method according to claim 1, wherein: The lock acquires the first encrypted data from the business system based on the Internet of Things management platform to generate the first communication key and the second encrypted data, including: The business system obtains first encrypted data from the encryption device, where the first encrypted data includes public key data including a signature; The lock obtains first encrypted data from the business system based on the Internet of Things management platform; The lock parses the first encrypted data, and generates the first communication key and the second encrypted data based on the parsed data, wherein the parsing includes verifying the signature of the public key data containing the signature.

5. The method according to claim 4, wherein the encryption device generates a second communication key and a lock working key based on the second encrypted data from the business system, comprising: The business system obtains second encrypted data from the lock based on the Internet of Things management platform; The business system generates a lock encryption factor based on the second encrypted data, wherein the lock encryption factor includes the lock identifier; The encryption device generates a second communication key and a lock working key based on the lock encryption factor from the business system.

6. The method according to claim 1, wherein: When the lock list is empty, the method further includes: The business system automatically generates a lock identifier; The business system sends the lock identifier and the first encrypted data to the lock based on the Internet of Things management platform; The lock stores the lock identification.

7. The method according to claim 1, wherein: After unlocking, the method further comprises: The lock updates the locking code and generates third encrypted data based on the locking code; The business system acquires the third encrypted data from the lock based on the Internet of Things management platform; and The business system obtains and saves the updated locking code based on the third encrypted data.

8. The method according to any one of claims 1 to 7, characterized in that: The lock, the unlocking device and the cash box are connected to the Internet of Things management platform through a gateway.

9. A cash box management system based on the Internet of Things, characterized in that: include: Locks, cash boxes, business systems, unlocking devices, and IoT management platforms, The business system is configured to obtain the identity information of the requester from the unlocking device based on the Internet of Things management platform; authenticate the identity information of the requester; send the identity authentication result to the unlocking device through the Internet of Things management platform; receive the unlocking request from the unlocking device; and send the unlocking factor based on the unlocking request; The unlocking device is configured to send an unlocking request to the business system based on the Internet of Things management platform when identity authentication is passed; The lock is configured to obtain the unlocking factor based on the Internet of Things management platform; and verify the unlocking factor and realize unlocking, The lock is matched with the cash box, and the Internet of Things management platform is connected to the business system, the lock and the unlocking device respectively; the lock is also connected to the unlocking device; Wherein, the business system generates an unlocking factor based on the unlocking request, comprising: the business system determines whether the unlocking authority is established based on the unlocking request, wherein the unlocking request includes a lock identification; if the unlocking authority is established, sending unlocking security data to an encryption device, wherein the unlocking security data includes the lock identification and a lock code corresponding to the lock identification; the encryption device generates an unlocking code ciphertext based on the unlocking security data; and the business system obtains the unlocking code ciphertext and generates an unlocking factor based on the unlocking code ciphertext, wherein the encryption device is communicatively connected to the business system; Wherein, the business system and the lock store an initial locking code, and the initial locking code is generated by the following steps: the business system obtains a lock list based on the Internet of Things management platform, the lock list matches the cash box, and the lock list contains a lock identification corresponding to the lock; the lock obtains the first encrypted data from the business system based on the Internet of Things management platform to generate a first communication key and a second encrypted data; the business system obtains the second encrypted data from the lock based on the Internet of Things management platform; the encryption device generates a second communication key and a lock working key based on the second encrypted data from the business system, wherein the first communication key and the second communication key are the same; the encryption device encrypts the lock working key based on the second communication key, generates a working key ciphertext and sends it to the business system; the lock obtains the working key ciphertext from the business system based on the Internet of Things management platform; and the lock decrypts the working key ciphertext based on the first communication key to generate an initial locking code, wherein the business system is respectively connected to the encryption device and the Internet of Things management platform for communication, and the lock is connected to the Internet of Things management platform for communication.

10. The cash box management system according to claim 9, characterized in that: The cash box management system also includes: The encryption device is configured to receive unlocking security data from the business system and generate unlocking code ciphertext data based on the unlocking security data, wherein the encryption device is communicatively connected to the business system.

11. The cash box management system according to claim 10, characterized in that: The cash box management system also includes: The identity recognition device is configured to pre-store the manager's identity information, and the manager's identity information is used to compare with the requester's identity information to verify the requester's identity.

12. The cash box management system according to claim 11, characterized in that: The cash box management system also includes: The gateway is configured to connect the lock, the unlocking device, and the cash box to the Internet of Things management platform.