Enterprise bank account management method and equipment based on supply chain platform, and medium
Through the combination of asymmetric encryption and blockchain technology, the problem of low security in corporate bank account management is solved, the confidential protection of account information and the credibility of transaction data are achieved, and account tampering and fraud are prevented.
Patent Information
- Application Number
- CN202411329053.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2025-01-07
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Enterprise bank account management has low security problems on supply chain platforms. Traditional authentication methods are vulnerable to attacks, and centralized data storage is vulnerable to hackers, resulting in account information leakage or tampering.
Asymmetric encryption is used to protect account information, and transaction packaging and signature verification are carried out through the blockchain network, and consensus nodes are used to ensure the legality and immutability of transactions, forming a distributed ledger to enhance security.
Effectively protect the confidentiality of account information, prevent single point of failure and tampering risks, improve the integrity and credibility of transaction data, enhance the security and transparency of account management, and prevent potential fraud and data tampering.
Smart Images

Figure CN119272328A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of account management, and in particular to a method, device and medium for managing an enterprise bank account based on a supply chain platform. Background Art
[0002] With the acceleration of globalization and digital transformation, companies increasingly need to effectively manage their bank accounts, especially on supply chain platforms, where bank account information and financial transactions face increasing security threats.
[0003] Most bank account management still relies on traditional authentication methods such as usernames and passwords, which are relatively vulnerable to attacks such as phishing and cracking, and are not very secure. At the same time, centralized data storage and management methods are usually used, which makes the system an easy target for hacker attacks. Once the system is attacked, the user's account information may be leaked or tampered with. Summary of the invention
[0004] The present invention provides a method, device and computer-readable storage medium for managing corporate bank accounts based on a supply chain platform, the main purpose of which is to solve the problem of low security when managing corporate bank accounts.
[0005] To achieve the above-mentioned purpose, the present invention provides a method for managing corporate bank accounts based on a supply chain platform, comprising:
[0006] Asymmetrically encrypt the pre-acquired account information, and perform transaction packaging on the asymmetrically encrypted account information to obtain the corporate bank's transaction;
[0007] Broadcasting the transaction to a pre-built blockchain network;
[0008] Using the network nodes in the blockchain network to perform signature verification on each of the transactions, when the transaction passes the signature verification, packaging all transactions that pass the signature verification into a block;
[0009] Generate a consensus node of the network nodes;
[0010] The consensus node is used to process the block on the chain to obtain an updated blockchain network.
[0011] Optionally, the asymmetric encryption of the pre-acquired account information includes:
[0012] Generate a key pair of pre-acquired account information;
[0013] The pre-acquired account information is encrypted using the public key in the key pair to obtain a ciphertext of the pre-acquired account information.
[0014] Optionally, the asymmetrically encrypted account information is packaged for transactions to obtain corporate bank transactions, including:
[0015] Decrypting the asymmetrically encrypted account information using the private key in the key pair to obtain the plain text account data of the corporate bank;
[0016] Constructing transaction data of the transaction to be constructed of the corporate bank according to the plain text account data and preset transaction requirements;
[0017] The transaction data is digitally signed, and the digitally signed transaction data is packaged into a transaction package of the corporate bank.
[0018] Optionally, broadcasting the transaction to a pre-built blockchain network includes:
[0019] Determine the communication protocol of the pre-built blockchain network;
[0020] Establishing a broadcast connection with a target node in the blockchain network according to the communication protocol;
[0021] The transaction is broadcast to the target node according to the established broadcast connection, and the transaction information is propagated using the target node.
[0022] Optionally, the using a network node in the blockchain network to perform signature verification on each of the transactions includes:
[0023] Determine a transaction to be verified based on transactions received by a network node in the blockchain network, and extract a digital signature from the transaction to be verified;
[0024] Obtain the public key corresponding to the exchange from the sender corresponding to the exchange;
[0025] The digital signature is verified using the public key and the transaction.
[0026] Optionally, when the transaction passes the signature verification, packaging all the signature-verified transactions into a block includes:
[0027] Calculate the hash values of the transactions verified by the signature one by one;
[0028] Generate a transaction list of transactions verified by signature according to the hash value;
[0029] The transactions are targeted according to the handling fees corresponding to the exchanges in the transaction list, and the selected transactions are packaged into blocks.
[0030] Optionally, the using the consensus node to process the block on-chain to obtain an updated blockchain network includes:
[0031] Using the consensus node to broadcast the block to network nodes in the blockchain network;
[0032] Using the network node to verify the validity of the block;
[0033] When the total number of verification passes for the block validity verification is greater than a preset verification threshold, the network nodes reach a consensus and add the block to the blockchain network.
[0034] Optionally, the using the network node to verify the validity of the block includes:
[0035] Using the network node to verify the legitimacy of transactions in the block;
[0036] Hash verification is performed on the blocks that have passed the transaction legitimacy verification.
[0037] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:
[0038] at least one processor; and,
[0039] a memory communicatively connected to the at least one processor; wherein,
[0040] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the above-mentioned corporate bank account management method based on the supply chain platform.
[0041] In order to solve the above problems, the present invention also provides a computer-readable storage medium, in which at least one computer program is stored. The at least one computer program is executed by a processor in an electronic device to implement the above-mentioned corporate bank account management method based on the supply chain platform.
[0042] The embodiment of the present invention performs asymmetric encryption on account information. After asymmetric encryption, even if it is intercepted during transmission, its content cannot be directly interpreted, thereby effectively protecting the confidentiality of account information. Secondly, transactions are broadcast and verified through the blockchain network. All participating network nodes need to sign and verify the transactions to ensure the legality and authenticity of the transactions. This distributed verification mechanism prevents single point failures and tampering risks, greatly improving the integrity and credibility of transaction data. Finally, the consensus algorithm of the blockchain ensures that transactions are confirmed and recorded in tamper-proof blocks, further enhancing the security and transparency of account management, and effectively preventing potential fraud and data tampering. That is, the method effectively solves the problem of low security in traditional corporate bank account management through the combination of encryption and distributed ledger technology. Therefore, the corporate bank account management method, device and storage medium based on the supply chain platform proposed in the present invention can solve the problem of low security in bank account management. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A schematic diagram of a process of a corporate bank account management method based on a supply chain platform provided by an embodiment of the present invention;
[0044] Figure 2 A schematic diagram of the structure of an electronic device for implementing the enterprise bank account management method based on the supply chain platform provided in one embodiment of the present invention.
[0045] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0046] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0047] The embodiment of the present application provides a corporate bank account management method based on a supply chain platform. The execution subject of the corporate bank account management method based on the supply chain platform includes but is not limited to at least one of the electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiment of the present application. In other words, the corporate bank account management method based on the supply chain platform can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
[0048] Reference Figure 1 FIG. 1 is a flow chart of a method for managing corporate bank accounts based on a supply chain platform according to an embodiment of the present invention. In this embodiment, the method for managing corporate bank accounts based on a supply chain platform includes:
[0049] The enterprise bank account management method based on the supply chain platform comprises the following steps:
[0050] Asymmetrically encrypt the pre-acquired account information, and perform transaction packaging on the asymmetrically encrypted account information to obtain the corporate bank's transaction;
[0051] Broadcasting the transaction to a pre-built blockchain network;
[0052] Using the network nodes in the blockchain network to perform signature verification on each of the transactions, when the transaction passes the signature verification, packaging all transactions that pass the signature verification into a block;
[0053] Generate a consensus node of the network nodes;
[0054] The consensus node is used to process the block on the chain to obtain an updated blockchain network.
[0055] In a preferred embodiment of the present invention, the enterprise bank account management method based on the supply chain platform includes:
[0056] S1. Asymmetrically encrypt the account information acquired in advance, and perform transaction packaging on the asymmetrically encrypted account information to obtain the corporate bank's transaction.
[0057] In the embodiment of the present invention, the asymmetric encryption of the pre-acquired account information includes:
[0058] Generate a key pair of pre-acquired account information;
[0059] The pre-acquired account information is encrypted using the public key in the key pair to obtain a ciphertext of the pre-acquired account information.
[0060] In detail, the asymmetric encryption of the pre-acquired account information may be performed using the RSA (Rivest-Shamir-Adleman) algorithm, which is a common and secure asymmetric encryption algorithm that uses a pair of keys (a public key and a private key) to encrypt and decrypt data.
[0061] In detail, for each customer or account, a key pair needs to be generated, including a public key and a private key, where the public key is used to encrypt data and the private key is used to decrypt data. These key pairs can be generated when the customer registers or the account is created and associated with the corresponding account information.
[0062] In detail, the pre-acquired account information includes: the name of the account holder, account number, balance, etc., which are accurately acquired and prepared for encryption.
[0063] In detail, once the key pair is generated, the public key can be used to encrypt account information. The encryption process converts the account information into unreadable ciphertext. Only the entity holding the corresponding private key can decrypt and read the original account information.
[0064] In detail, through the above steps, the account information obtained in advance will be processed through secure asymmetric encryption, ensuring the confidentiality and security of the account information during transmission and storage.
[0065] In detail, the asymmetrically encrypted account information is packaged for transactions to obtain corporate bank transactions, including:
[0066] Decrypting the asymmetrically encrypted account information using the private key in the key pair to obtain the plain text account data of the corporate bank;
[0067] Constructing transaction data of the transaction to be constructed of the corporate bank according to the plain text account data and preset transaction requirements;
[0068] The transaction data is digitally signed, and the digitally signed transaction data is packaged into a transaction package of the corporate bank.
[0069] In detail, the asymmetrically encrypted account information refers to the account information previously encrypted with a public key, and the asymmetrically encrypted account information is decrypted using a corresponding private key to obtain the original plaintext account data.
[0070] Furthermore, by using the private key to decrypt the account information, the account information can be restored to readable plaintext data when needed to facilitate subsequent transaction processing.
[0071] In detail, constructing the transaction data of the corporate bank's transaction to be constructed based on the plaintext account data and preset transaction requirements means combining the decrypted account information with the required transaction type, transaction amount, target account and other information to construct a data structure that meets the corporate bank transaction requirements, and create a transaction object or data model that includes all necessary transaction information.
[0072] Furthermore, the constructed transaction data structure is serialized into a transmittable format, such as JSON, XML, etc. This can ensure the consistency and integrity of the transaction data during transmission.
[0073] In detail, the transaction data is digitally signed using a private key to ensure its authenticity and integrity, and the signature result is sent together with the transaction data to the corporate bank for verification.
[0074] In detail, the signed transaction data is packaged together with its additional information (such as certificates, timestamps, etc.) into a complete transaction package. This message includes the details of the transaction, such as the sender, receiver, amount, etc.
[0075] S2. Broadcast the transaction to a pre-built blockchain network.
[0076] In an embodiment of the present invention, broadcasting the transaction to a pre-built blockchain network includes:
[0077] Determine the communication protocol of the pre-built blockchain network;
[0078] Establishing a broadcast connection with a target node in the blockchain network according to the communication protocol;
[0079] The transaction is broadcast to the target node according to the established broadcast connection, and the transaction information is propagated using the target node.
[0080] In detail, select one or more target nodes, which will become the recipients of the transaction. You can choose nodes that are directly connected to you or other important nodes in the network.
[0081] Furthermore, through the communication protocol of the blockchain network, a connection is established with the selected target nodes, so that transaction messages can be sent to these nodes.
[0082] In detail, broadcasting the transaction to the target node according to the established broadcast connection and using the target node to propagate the transaction information refers to using the broadcast mechanism of the blockchain network to broadcast the transaction message to the selected node. In other words, it means sending the transaction message to the node so that the node further propagates the message to their adjacent nodes.
[0083] Furthermore, ensuring that the transaction message is successfully propagated to other nodes in the network may require waiting for a period of time so that enough nodes receive and forward the transaction message.
[0084] S3. Use the network nodes in the blockchain network to perform signature verification on each of the transactions. When the transaction passes the signature verification, package all transactions that pass the signature verification into a block.
[0085] In an embodiment of the present invention, the method of using a network node in the blockchain network to perform signature verification on each transaction includes:
[0086] Determine a transaction to be verified based on transactions received by a network node in the blockchain network, and extract a digital signature from the transaction to be verified;
[0087] Obtain the public key corresponding to the exchange from the sender corresponding to the exchange;
[0088] The digital signature is verified using the public key and the transaction.
[0089] In detail, a node in the blockchain network receives a transaction to be verified and extracts a digital signature portion from the received transaction.
[0090] Furthermore, obtaining the public key corresponding to the exchange from the sender corresponding to the exchange refers to extracting specific fields or information of the public key from the transaction data.
[0091] In detail, using the obtained public key and transaction data, the digital signature is verified to ensure that the transaction data has not been tampered with and is indeed signed by the sender.
[0092] In the embodiment of the present invention, when the transaction passes the signature verification, all the signature-verified transactions are packaged into a block, including:
[0093] Calculate the hash values of the transactions verified by the signature one by one;
[0094] Generate a transaction list of transactions verified by signature according to the hash value;
[0095] The transactions are targeted according to the handling fees corresponding to the exchanges in the transaction list, and the selected transactions are packaged into blocks.
[0096] For example, calculating the hash value of the signature-verified transactions one by one refers to performing a hash operation on each signature-verified transaction to obtain a unique identifier of a fixed length, wherein a hash function (such as SHA-256) is applied to each signature-verified transaction to generate a unique hash value.
[0097] For example, generating the transaction list of the transactions verified by the signature according to the hash value means using a data structure (such as a list, a dictionary, etc.) to store transactions and their hash values and construct a transaction list.
[0098] For example, the transactions are selected according to the handling fees corresponding to the exchanges in the transaction list, and the selected transactions are packaged into blocks, including: traversing the transaction list; and selecting a preset number of transactions to form a block according to the handling fee information contained in the transaction. For example, an algorithm can be written to select targets according to the level of transaction fees to select the optimal transaction combination. Usually, transactions with higher handling fees are selected as priority packaging objects. The selected transactions can be packaged into new blocks and added to the blockchain.
[0099] S4. Generate a consensus node of the network node.
[0100] In an embodiment of the present invention, specific nodes are selected from network nodes as consensus nodes, which are responsible for verifying transactions, packaging blocks and maintaining the consistency of the entire blockchain network. The consensus nodes are configured to use a specific consensus algorithm to reach a consensus on the validity of new blocks.
[0101] In an embodiment of the present invention, the generation of the consensus node of the network node includes: determining which nodes will become consensus nodes in the network based on the trust, computing power, participation, etc. of the nodes; for the selected nodes, identity verification is performed to ensure that they have appropriate permissions and identities to participate in the consensus process, and the identity verification can be digital identity verification, access control list, etc.; selecting an appropriate consensus algorithm to ensure consistency between nodes, common consensus algorithms include Proof of Work (PoW), Proof of Stake (PoS), Delegated Proof of Stake (DPoS), etc.; configuring the software and hardware environment of the consensus nodes to ensure that they can correctly execute the selected consensus algorithm and communicate with other nodes; when the consensus nodes are ready, starting the consensus process so that the nodes can reach an agreement based on the selected consensus algorithm, verify and confirm new transactions, and add them to the blockchain.
[0102] Furthermore, consensus nodes can be monitored and managed to ensure their normal operation and perform troubleshooting and maintenance when necessary; appropriate reward mechanisms can be designed to incentivize consensus nodes to participate in the consensus process and ensure that they comply with protocol rules and maintain network security.
[0103] S5. Use the consensus node to process the block on the chain to obtain an updated blockchain network.
[0104] In the embodiment of the present invention, the process of using the consensus node to process the block on the chain to obtain an updated blockchain network includes:
[0105] Using the consensus node to broadcast the block to network nodes in the blockchain network;
[0106] Using the network node to verify the validity of the block;
[0107] When the total number of verification passes for the block validity verification is greater than a preset verification threshold, the network nodes reach a consensus and add the block to the blockchain network.
[0108] In detail, the consensus node is used to broadcast the block to the network nodes in the blockchain network, and the network nodes are also selected nodes with a consensus algorithm.
[0109] In detail, the consensus node broadcasts the generated new block to other nodes in the entire network. After receiving the new block, other nodes will verify its validity, including whether the transaction is legal, whether the block hash is correct, etc. Once most nodes have passed the verification, they reach a consensus to add the block to the blockchain and complete the update of the blockchain network.
[0110] In general, through the consensus mechanism, the blockchain network can achieve distributed authoritative authentication and data consistency in a decentralized environment, and the node competition process is the key to ensuring that the creation and addition of new blocks are fair and effective.
[0111] In detail, the using the network node to verify the validity of the block includes:
[0112] Using the network node to verify the legitimacy of transactions in the block;
[0113] Hash verification is performed on the blocks that have passed the transaction legitimacy verification.
[0114] In detail, the format of each transaction in the block is verified to ensure that it complies with the specifications and protocols of the blockchain network, and the signature of each transaction in the block is verified to ensure that the sender of the transaction has sufficient permissions and the transaction content has not been tampered with.
[0115] In detail, check whether each transaction has double-spending problems, that is, the same asset is used multiple times, to ensure the uniqueness and consistency of the transaction, and confirm whether the input and output of each transaction are legal, that is, whether the input of the transaction comes from a valid transaction output, and whether the output complies with the account balance and rules.
[0116] Furthermore, the same hash algorithm is used to calculate the data of the entire block to generate a hash value as the unique identifier of the block, and the calculated hash value is compared with the hash value recorded in the block header to ensure that the two are consistent.
[0117] Furthermore, if the Proof of Work consensus algorithm is used, it is also necessary to verify whether the proof of work of the block meets the difficulty requirements set by the network.
[0118] Through the above steps, network nodes can verify the legitimacy of transactions and hash verification on blocks to ensure that transactions in blocks are legal and the data integrity of the entire block is guaranteed. These verification processes are important links in ensuring security and consistency in blockchain networks.
[0119] The embodiment of the present invention performs asymmetric encryption on account information. After asymmetric encryption, even if it is intercepted during transmission, its content cannot be directly interpreted, thereby effectively protecting the confidentiality of account information. Secondly, transactions are broadcast and verified through the blockchain network. All participating network nodes need to sign and verify the transactions to ensure the legality and authenticity of the transactions. This distributed verification mechanism prevents single point failures and tampering risks, greatly improving the integrity and credibility of transaction data. Finally, the consensus algorithm of the blockchain ensures that transactions are confirmed and recorded in tamper-proof blocks, further enhancing the security and transparency of account management, and effectively preventing potential fraud and data tampering. That is, the method effectively solves the problem of low security in traditional corporate bank account management through the combination of encryption and distributed ledger technology. Therefore, the corporate bank account management method based on the supply chain platform proposed in the present invention can solve the problem of low security in bank account management.
[0120] like Figure 2 , is a schematic diagram of the structure of an electronic device for implementing a method for managing an enterprise bank account based on a supply chain platform provided by an embodiment of the present invention.
[0121] The electronic device 1 may include a processor 10, a memory 11, a communication bus 12, and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a corporate bank account management program based on a supply chain platform.
[0122] In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The processor 10 is the control core (ControlUnit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules stored in the memory 11 (for example, executing a corporate bank account management program based on a supply chain platform, etc.), and calls data stored in the memory 11 to execute various functions of the electronic device and process data.
[0123] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory 11 may also be an external storage device of an electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 11 may also include both an internal storage unit of the electronic device and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in the electronic device, such as the code of the enterprise bank account management program based on the supply chain platform, but also can be used to temporarily store data that has been output or is to be output.
[0124] The communication bus 12 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.
[0125] The communication interface 13 is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.
[0126] The figure only shows an electronic device with components. Those skilled in the art will understand that the structure shown in the figure does not constitute a limitation on the electronic device, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0127] For example, although not shown, the electronic device may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0128] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.
[0129] The enterprise bank account management program based on the supply chain platform stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve:
[0130] Asymmetrically encrypt the pre-acquired account information, and perform transaction packaging on the asymmetrically encrypted account information to obtain the corporate bank's transaction;
[0131] Broadcasting the transaction to a pre-built blockchain network;
[0132] Using the network nodes in the blockchain network to perform signature verification on each of the transactions, when the transaction passes the signature verification, packaging all transactions that pass the signature verification into a block;
[0133] Generate a consensus node of the network nodes;
[0134] The consensus node is used to process the block on the chain to obtain an updated blockchain network.
[0135] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, which will not be repeated here.
[0136] Furthermore, if the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).
[0137] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:
[0138] Asymmetrically encrypt the pre-acquired account information, and perform transaction packaging on the asymmetrically encrypted account information to obtain the corporate bank's transaction;
[0139] Broadcasting the transaction to a pre-built blockchain network;
[0140] Using the network nodes in the blockchain network to perform signature verification on each of the transactions, when the transaction passes the signature verification, packaging all transactions that pass the signature verification into a block;
[0141] Generate a consensus node of the network nodes;
[0142] The consensus node is used to process the block on the chain to obtain an updated blockchain network.
[0143] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0144] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0145] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0146] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0147] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.
[0148] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0149] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A corporate bank account management method based on a supply chain platform, characterized in that: The method comprises: Asymmetrically encrypt the pre-acquired account information, and perform transaction packaging on the asymmetrically encrypted account information to obtain the corporate bank's transaction; Broadcasting the transaction to a pre-built blockchain network; Using the network nodes in the blockchain network to perform signature verification on each of the transactions, when the transaction passes the signature verification, packaging all transactions that pass the signature verification into a block; Generate a consensus node of the network nodes; The consensus node is used to process the block on the chain to obtain an updated blockchain network.
2. The enterprise bank account management method based on the supply chain platform as claimed in claim 1, characterized in that: The asymmetric encryption of the pre-acquired account information includes: Generate a key pair of pre-acquired account information; The pre-acquired account information is encrypted using the public key in the key pair to obtain a ciphertext of the pre-acquired account information.
3. The enterprise bank account management method based on the supply chain platform as claimed in claim 2, characterized in that: The asymmetrically encrypted account information is packaged for transactions to obtain corporate bank transactions, including: Decrypting the asymmetrically encrypted account information using the private key in the key pair to obtain the plain text account data of the corporate bank; Constructing transaction data of the transaction to be constructed of the corporate bank according to the plain text account data and preset transaction requirements; The transaction data is digitally signed, and the digitally signed transaction data is packaged into a transaction package of the corporate bank.
4. The enterprise bank account management method based on the supply chain platform as claimed in claim 1, characterized in that: Broadcasting the transaction to a pre-built blockchain network includes: Determine the communication protocol of the pre-built blockchain network; Establishing a broadcast connection with a target node in the blockchain network according to the communication protocol; The transaction is broadcast to the target node according to the established broadcast connection, and the transaction information is propagated using the target node.
5. The enterprise bank account management method based on the supply chain platform as claimed in claim 1, characterized in that: The using the network nodes in the blockchain network to perform signature verification on each of the transactions includes: Determine a transaction to be verified based on transactions received by a network node in the blockchain network, and extract a digital signature from the transaction to be verified; Obtain the public key corresponding to the exchange from the sender corresponding to the exchange; The digital signature is verified using the public key and the transaction.
6. The enterprise bank account management method based on the supply chain platform as claimed in claim 1, characterized in that: When the transaction passes the signature verification, all the signature-verified transactions are packaged into a block, including: Calculate the hash values of the transactions verified by the signature one by one; Generate a transaction list of transactions verified by signature according to the hash value; The transactions are targeted according to the handling fees corresponding to the exchanges in the transaction list, and the selected transactions are packaged into blocks.
7. The enterprise bank account management method based on the supply chain platform according to any one of claims 1 to 6, characterized in that: The using the consensus node to process the block on the chain to obtain an updated blockchain network includes: Using the consensus node to broadcast the block to network nodes in the blockchain network; Using the network node to verify the validity of the block; When the total number of verification passes for the block validity verification is greater than a preset verification threshold, the network nodes reach a consensus and add the block to the blockchain network.
8. The enterprise bank account management method based on the supply chain platform as claimed in claim 7, characterized in that: The using the network node to verify the validity of the block includes: Using the network node to verify the legitimacy of transactions in the block; Hash verification is performed on the blocks that have passed the transaction legitimacy verification.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the enterprise bank account management method based on the supply chain platform as described in any one of claims 1 to 8.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the enterprise bank account management method based on the supply chain platform as described in any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Charging pile operation method, device and system based on block chain
CN111768189A
Privacy protection method for block chain data under supply chain financial system
CN113127917A
Block chain privacy protection method and device
CN113128999A
Dual transaction method and system based on centralization and decentralization
US20210049601A1
Blockchain baas cross-border digital payment platform for smart supply chain
WO2022100078A1