A data processing method and related equipment

By obtaining, analyzing and storing palm map data into the blockchain in the business system and monitoring its changes, the challenges of palm map data storage security and business system optimization are solved, and efficient and secure data management and system optimization are achieved.

CN117009433BActive Publication Date: 2025-03-25TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202211349165.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-31
Publication Date
2025-03-25
Estimated Expiration
2042-10-31

AI Technical Summary

Technical Problem

How to ensure the storage security of palm map data in the business system and timely monitor the dynamic changes of palm map data on the blockchain to achieve accurate optimization and processing of the business system.

Method used

By obtaining the palm map data in the business system, analyzing and classifying it to the blockchain, the changes in the palm map data on the blockchain are monitored from multiple monitoring dimensions, the monitoring results are obtained and the business system is optimized.

Benefits of technology

It realizes secure storage and dynamic monitoring of palm map data, ensures the accuracy and targeted optimization and processing of the business system, and improves data security and business system performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117009433B_ABST
    Figure CN117009433B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a data processing method and related equipment, wherein the method includes: obtaining a palm image to be processed in a business system, wherein the palm image is obtained by collecting the hands or feet of an object in the business system through a collection device; parsing the palm image to obtain at least one form of palm image data; classifying and storing at least one form of palm image data on a blockchain; monitoring the changes in the palm image data on the blockchain from one or more monitoring dimensions to obtain monitoring results under each monitoring dimension; and optimizing the business system based on the monitoring results under each monitoring dimension. The embodiment of the present application can ensure the storage security of the palm image data in the business system, and can timely monitor the dynamic changes of the palm image data on the blockchain and optimize the business system, thereby improving the accuracy of business system optimization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of blockchain technology, and specifically to a data processing method, a data processing device, a computer device, a computer-readable storage medium, and a computer program product. Background Art

[0002] With the development of computer technology, some important data are usually involved in certain business scenarios, such as: biometric data of objects (such as fingerprint data, palm image data, etc.), attribute data of objects, etc. These important data are also important bases for business system optimization processing; how to ensure the security of these important data and how to ensure the accuracy of business system optimization are one of the most important technical issues in business scenarios. Summary of the invention

[0003] The embodiments of the present application provide a data processing method and related equipment, which can ensure the storage security of palm map data in the business system, and can timely monitor the dynamic changes of palm map data on the blockchain and optimize the business system more accurately and specifically.

[0004] On the one hand, an embodiment of the present application provides a data processing method, the method comprising:

[0005] Acquire a palm image to be processed in the business system, where the palm image is obtained by collecting the hands or feet of an object in the business system through a collection device;

[0006] Analyze the palm image to obtain palm image data of at least one form;

[0007] At least one form of palm map data is classified and stored on the blockchain;

[0008] Monitor the changes of the palm map data on the blockchain from one or more monitoring dimensions to obtain the monitoring results under each monitoring dimension;

[0009] Based on the monitoring results in each monitoring dimension, the business system is optimized.

[0010] On the one hand, an embodiment of the present application provides a data processing device, the device comprising:

[0011] An acquisition unit, used for acquiring a palm image to be processed in a business system, wherein the palm image is acquired by acquiring a hand or a foot of an object in the business system through an acquisition device;

[0012] A processing unit, used for analyzing the palm image to obtain palm image data of at least one form;

[0013] The processing unit is further used to classify and store at least one form of palm map data on the blockchain;

[0014] The processing unit is further used to monitor the changes of the palm map data on the blockchain from one or more monitoring dimensions to obtain monitoring results under each monitoring dimension;

[0015] The processing unit is also used to optimize the business system based on the monitoring results in each monitoring dimension.

[0016] In one embodiment, the forms of the palm image data include a first form, a second form and a third form;

[0017] The first form of palm image data is an infrared spectrum; the second form of palm image data is a color image; the third form of palm image data is a palm image feature and an identifier of a feature extraction model bound to the palm image feature;

[0018] The feature extraction model bound to the palm image feature refers to a feature extraction model used to extract the palm image feature.

[0019] In one embodiment, a monitoring script is deployed in the blockchain. When the processing unit monitors the changes of the palm map data on the blockchain from one or more monitoring dimensions and obtains the monitoring results under each monitoring dimension, it can be specifically used to:

[0020] Run monitoring scripts in the blockchain;

[0021] When the palm map data on the blockchain changes, the change information is obtained based on the monitoring script, and the monitoring log is updated according to the change information. The monitoring log is used to record the change of the palm map data on the blockchain;

[0022] Analyze changes in the updated monitoring log from one or more monitoring dimensions to obtain monitoring results under each monitoring dimension.

[0023] In one embodiment, at least one form of palm image data is carried in a transaction request. When the transaction request passes the blockchain consensus, at least one form of palm image data is stored on the blockchain.

[0024] When the processing unit monitors the changes of the palm map data on the blockchain from one or more monitoring dimensions and obtains the monitoring results under each monitoring dimension, it can be specifically used to:

[0025] Intercept transaction requests awaiting consensus on the blockchain;

[0026] Analyze the transaction request and determine the change information of the palm map data on the blockchain triggered by the transaction request;

[0027] Update the monitoring log according to the change information. The monitoring log is used to record the changes of the palm map data on the blockchain;

[0028] Analyze changes in the updated monitoring log from one or more monitoring dimensions to obtain monitoring results under each monitoring dimension.

[0029] In one embodiment, the processing unit monitors the changes of the palm map data on the blockchain in one or more monitoring dimensions, and when the monitoring results in each monitoring dimension are obtained, it can be specifically used to:

[0030] Synchronously storing at least one form of palm map data in a cache database;

[0031] Compare the palm image data on the blockchain with the palm image data in the cache database at every preset period;

[0032] If the palm image data on the blockchain is inconsistent with the palm image data in the cache database, then the change information of the palm image data on the blockchain within the corresponding period is determined according to the difference between the palm image data on the blockchain and the palm image data in the cache database;

[0033] Update the monitoring log according to the change information. The monitoring log is used to record the changes of the palm map data on the blockchain;

[0034] Analyze changes in the updated monitoring log from one or more monitoring dimensions to obtain monitoring results under each monitoring dimension.

[0035] In one embodiment, the processing unit is further configured to update the palm image data in the cache database with the palm image data on the blockchain if the palm image data on the blockchain is inconsistent with the palm image data in the cache database.

[0036] In one embodiment, when the processing unit classifies and stores at least one form of palm map data on the blockchain, it can be specifically used to: store at least one form of palm map data on the same blockchain; or, store at least one form of palm map data on at least one blockchain respectively, and one form of palm map data corresponds to one blockchain.

[0037] In one embodiment, the target form is any form of palm map data; when the processing unit stores the palm map data of the target form on the target blockchain, it can be specifically used to:

[0038] Store the palm image data of the target form into the message queue asynchronously;

[0039] Read the palm image data of the target form from the message queue asynchronously;

[0040] Store the target palm image data on the target blockchain.

[0041] In one embodiment, the monitoring dimension includes the on-chain rate of the first period, and the monitoring result under the monitoring dimension includes the value of the on-chain rate of the palm map data in the first period; the larger the value of the on-chain rate of the first period, the more the palm map data stored on the blockchain in the first period;

[0042] When the processing unit optimizes the business system based on the monitoring results under each monitoring dimension, it can be specifically used for:

[0043] If the value of the upload rate of the palm map data in the first period is less than the upload rate threshold, the exposure of the palm map function of the business system is increased;

[0044] If the value of the upload rate of the palm image data in the first time period is greater than the upload rate threshold, the rate of collecting palm images in the business system is increased.

[0045] In one embodiment, the monitoring dimension includes the query volume of the palm map data in the second period, and the monitoring result under the monitoring dimension includes the value of the query volume of the palm map data in the second period. The larger the value of the query volume in the second period, the more the amount of palm map data queried in the second period on the blockchain.

[0046] When the processing unit optimizes the business system based on the monitoring results under each monitoring dimension, it can be specifically used for:

[0047] If the value of the query volume in the second time period is greater than the quantity threshold, the business volume of concurrently processed businesses in the business system is increased.

[0048] In one embodiment, the monitoring dimension includes the amount of increase and the amount of deletion of the palm map data in the third period; the monitoring result under the monitoring dimension includes the value of the amount of increase of the palm map data and the value of the amount of deletion of the palm map data;

[0049] When the processing unit optimizes the business system based on the monitoring results under each monitoring dimension, it can be specifically used for:

[0050] If the amount of palm map data deleted in the third period is greater than the amount of palm map data added in the third period, the palm map function in the business system is improved.

[0051] In one embodiment, the processing unit is further used to optimize the blockchain network where the blockchain is located based on the monitoring results under each monitoring dimension.

[0052] In one embodiment, the monitoring dimension includes the response rate of the node device in the blockchain network to the transaction request, and the monitoring result under the monitoring dimension includes the value of the response rate of the node device to the transaction request; the higher the response rate, the stronger the processing capability of the node device;

[0053] When the processing unit optimizes the blockchain network where the blockchain is located based on the monitoring results under each monitoring dimension, it can be specifically used to:

[0054] If the response rate of any node device in the blockchain network to the transaction request is lower than the rate threshold, the pending transaction requests in the node device whose response rate is lower than the rate threshold will be distributed to other node devices in the blockchain network for response.

[0055] In one embodiment, the business system includes a payment business system, and the processing unit is further used for:

[0056] Receive a payment request, which carries the payment order to be processed and the palm image data of the target object;

[0057] In response to the payment request, detecting whether there is a consensus operation on the palm map data of the target object in the blockchain network where the blockchain is located;

[0058] If it exists, the palm image data of the target object is obtained from the blockchain;

[0059] If the palm image data in the payment request is consistent with the palm image data obtained from the blockchain, the payment order will be processed.

[0060] In one embodiment, the processing unit is further configured to:

[0061] Verify the legitimacy of the collection device corresponding to the palm image;

[0062] If the acquisition device passes the legality verification, the step of parsing the palm image to obtain at least one form of palm image data is performed.

[0063] In one aspect, an embodiment of the present application provides a computer device, the computer device comprising:

[0064] a processor suitable for executing a computer program;

[0065] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the data processing method described above is implemented.

[0066] On the one hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program is loaded by a processor and executes the above-mentioned data processing method.

[0067] On the one hand, an embodiment of the present application provides a computer program product, which includes a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device performs the above-mentioned data processing method.

[0068] In the embodiment of the present application, the palm map obtained in the business system will first be analyzed to obtain at least one form of palm map data; then the palm map data in at least one form will be classified and stored on the blockchain; in this way, not only can the blockchain be used to uniformly manage various forms of palm map data, but also the decentralization, anti-tampering and other mechanisms of the blockchain can be used to ensure the storage security of various forms of palm map data; secondly, the embodiment of the present application will also monitor the changes in the palm map data on the blockchain from one or more monitoring dimensions to obtain monitoring results under each monitoring dimension; through active monitoring, the data dynamics on the blockchain can be discovered in time, the risk of data tampering can be avoided in time, and data security can be further provided; in addition, the embodiment of the present application will also optimize the business system according to the monitoring results under each monitoring dimension, and the business system can be optimized more accurately and targeted through the monitoring results, thereby improving the optimization accuracy of the business system. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0070] Figure 1 is a schematic diagram of a data processing solution provided by an exemplary embodiment of the present application;

[0071] Figure 2A is a structural diagram of a data processing system provided by an exemplary embodiment of the present application;

[0072] Figure 2B It is a schematic diagram of the structure of a blockchain provided by an exemplary embodiment of the present application;

[0073] Figure 2C It is a flowchart of a block generation provided by an exemplary embodiment of the present application;

[0074] Figure 3A is a structural schematic diagram of a data processing system provided by another exemplary embodiment of the present application;

[0075] Figure 3B is a schematic diagram of palm map data storage provided by an exemplary embodiment of the present application;

[0076] Figure 3C is a schematic diagram of monitoring palm map data provided by another exemplary embodiment of the present application;

[0077] Figure 4 It is a flowchart of a data processing method provided by an exemplary embodiment of the present application;

[0078] Figure 5 is a flowchart of a data processing method provided by another exemplary embodiment of the present application;

[0079] Figure 6 is a structural schematic diagram of a data processing device provided by an exemplary embodiment of the present application;

[0080] Figure 7 It is a structural diagram of a computer device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0081] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0082] The following is an introduction to the technical terms involved in this application:

[0083] 1. Blockchain and blockchain network:

[0084] Blockchain is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithm. Blockchain is essentially a decentralized distributed database that records transactions by creating a decentralized tamper-proof system. Specifically: Blockchain uses blocks as the basic unit to manage and store data. Blocks are composed of two data structures, namely the block header and the Merkle tree structure. The header of the block includes data such as a modifiable temporary random number, the hash value of the previous block, a timestamp, the difficulty of creating the block, and the root of the transaction tree. The other part of the block is the Merkle tree, which is used to store valid transactions. When the blocks containing transaction data are linked in order, a blockchain is formed.

[0085] The blockchain network where the blockchain is located contains multiple node devices. Here, the blockchain exists in the blockchain network, specifically in each node device in the blockchain network. Each node device maintains a ledger. When all transactions are stored in the blockchain, they must be processed by consensus by multiple node devices. After the consensus processing, they will be updated in real time in the ledgers of multiple node devices. Any damage in historical transactions will cause damage to the entire ledger, which can solve the problem of untrustworthy transactions and realize tamper-proof transactions.

[0086] In the embodiment of the present application, all related operations of the palm map data on the blockchain are performed in the form of transactions, for example: the operation of uploading the palm map data to the chain is a transaction on the blockchain; the query operation of the palm map data on the blockchain is a transaction on the blockchain; the modification (such as deletion) operation of the palm map data on the blockchain is a transaction on the blockchain; after the node devices in the blockchain network have consensus processing on each transaction, they respond to the transaction and execute the corresponding operation on the blockchain. In one embodiment, the blockchain involved in the embodiment of the present application can be a private blockchain, for example: the blockchain network where the blockchain is located can be a private blockchain network built using the Hyperledger Fabric framework. Hyperledger Fabric is an open source blockchain modular general framework with unique management mechanisms and access control mechanisms. The embodiment of the present application uses a private blockchain to store palm map data, which can better ensure the security of palm map data compared to the public blockchain.

[0087] 2. Artificial Intelligence

[0088] 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. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making.

[0089] Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level and software-level technologies. The basic technologies of artificial intelligence generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics and other technologies. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0090] 3. Computer Vision (CV)

[0091] Computer vision is a science that studies how to make machines "see". To put it more specifically, it refers to machine vision such as using cameras and computers to replace human eyes to identify and measure targets, and further perform graphic processing to make computer processing into images that are more suitable for human eye observation or transmission to instruments for detection. As a scientific discipline, computer vision studies related theories and technologies, and attempts to establish an artificial intelligence system that can obtain information from images or multi-dimensional data. Computer vision technology usually includes image processing, image recognition, image semantic understanding, image retrieval, OCR, video processing, video semantic understanding, video content / behavior recognition, three-dimensional object reconstruction, 3D technology, virtual reality, augmented reality, simultaneous positioning and mapping, and other technologies, as well as common biometric recognition technologies such as face recognition and fingerprint recognition.

[0092] 4. Machine Learning (ML)

[0093] Machine learning is a multi-disciplinary subject that involves probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines. It specializes in studying how computers simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications are spread across all areas of artificial intelligence. Machine learning and deep learning usually include artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and self-learning.

[0094] The above-mentioned AI technology, CV and machine learning technology are usually used together in practical applications. For example, in the embodiment of the present application, the collected palm image will be parsed into one or more forms, one of which may refer to palm image features and a feature extraction model bound to the palm image features. The feature extraction model here is a model built using AI technology, which is trained using machine learning ML technology, and it can use CV technology to extract palm image features from the palm image.

[0095] 5. Palm map

[0096] A palm image refers to an image obtained by capturing the hands or feet of an object through a capture device (such as a camera device, an infrared sensor device, etc.). The object here can refer to any object with hands or feet, such as a person, an animal, or other objects. The palm image data corresponding to the palm image can have different forms, and the forms of the palm image data can include but are not limited to at least one of the following: a first form, a second form, and a third form. Among them, the first form of palm image data can be an infrared spectrum (or IR image), and the IR image refers to an infrared image of the hand or foot output by an infrared image sensor; the second form of palm image data can be a color image (or RGB image), and the RGB image refers to a color image of the hand or foot; the third form of palm image data is the identification of the palm image features and the feature extraction model bound to the palm image features; wherein the feature extraction model bound to the palm image features refers to a model for extracting features from the palm image features. It should be understood that when extracting features from the palm image, different feature extraction models can be used to extract features from the palm image to obtain different palm image features; in one implementation, different feature extraction models can refer to models with different dimensions but the same type, so different palm image features can have different feature dimensions. For example, feature extraction model 1 and feature extraction model 2 are both models for extracting palm print features, but the dimension of the palm image features obtained by using feature extraction model 1 is 50, and the dimension of the palm image features obtained by using feature extraction model 2 is 256. In another implementation, different feature extraction models may be models of the same dimension but different types, and different palm image features may be features of different types. For example, the dimensions of feature extraction model 1 and feature extraction model 2 are both 50, but the palm image features obtained by feature extraction model 3 are palm print features, but the palm image features obtained by feature extraction model 4 are palm joint features. In another implementation, different feature extraction models may be models of different dimensions and different types.

[0097] Next, the data processing solution provided in the embodiment of the present application is generally described.

[0098] See also Figure 1 , is a schematic diagram of a data processing scheme provided by an exemplary embodiment of the present application; the data processing scheme can be divided into two parts: on-chain and off-chain. Among them, on-chain refers to the blockchain, that is, the on-chain part is used to describe the relevant operations on the blockchain. Off-chain refers to the blockchain, that is, the off-chain part is used to describe the relevant operations outside the blockchain.

[0099] The off-chain solution includes: ① Image acquisition: Capture the hands or feet of objects in the business system to obtain palm images. The business system here refers to any system that needs to apply palm image data. The business system may include but is not limited to: payment business system, social business system, e-commerce business system, game business system, etc. The object in the business system refers to the object that uses palm image data for business processing in the business system; when the business system includes a payment business system, the object may refer to the object that uses palm image data for payment in the payment business system; when the business system includes a social business system, the object may refer to the object that uses palm image data for social interaction in the social business system. ② Image analysis: Analyze the palm image to obtain palm image data in different forms; ③ Send a transaction request to the blockchain network, requesting that these palm image data in different forms be classified and stored on the blockchain.

[0100] The scheme of the on-chain part includes: ① determining the blockchain corresponding to different forms of palm map data; in one implementation of the embodiment of the present application, one form of palm map data can be stored in one blockchain, and different forms of palm map data can be stored in different blockchains. In this case, one form of palm map data can correspond to one blockchain; for example Figure 1 The blockchain 101 in can be used to store a form of palm map data corresponding to the blockchain. In another embodiment, various forms of palm map data can be stored on the same blockchain. In this case, various forms of palm map data correspond to the same blockchain. ② The node devices in the blockchain network where the determined blockchain is located process the relevant transactions of the palm map data. With the help of the distributed accounting capability of the blockchain, the above-mentioned palm map data in different forms can be passed through the consensus of the node devices in the blockchain network, and after the consensus, they can be stored in the blockchain maintained by each node device, thereby ensuring that the palm map data in the global scope is stored in a distributed manner. At the same time, the consensus algorithm is used to consensus the blocks generated by packaging the palm map data in various forms according to the chain data structure, which can ensure the consistency of global data and realize the safe storage of palm map data.

[0101] In addition, the scheme of the off-chain part also includes: ④ monitoring the changes of the palm map data on the blockchain from one or more monitoring dimensions, obtaining the change information about the palm map data on the blockchain, and using the change information to update the monitoring log, which is used to record the changes of the palm map data on the blockchain. Among them, the change information may include but is not limited to: the palm map data added on the blockchain in a certain period and the amount of addition, the palm map data queried on the blockchain in a certain period and the amount of query, the palm map data deleted on the blockchain in a certain period and the amount of deletion, and the number of node devices on the blockchain responding to transaction requests. By monitoring the changes of the palm map data on the blockchain, the security of the palm map data on the blockchain can be effectively guaranteed. The monitoring dimension can be set according to actual needs. In one embodiment, the monitoring dimension can include but is not limited to at least one of the following: the rate of palm map data on the chain, the amount of palm map data query, the amount of palm map data increase and deletion, the response rate of node devices in the blockchain network to transaction requests, etc. Among them, the rate of palm map data on the chain refers to the amount of palm map data stored on the blockchain in a certain period. The amount of palm map data query refers to the amount of palm map data queried on the blockchain in a certain period. The increase in the amount of palm map data refers to the amount of palm map data that is newly stored on the blockchain within a certain period of time. The amount of palm map data deleted refers to the amount of palm map data deleted on the blockchain within a certain period of time. ⑤ Permission control: various permission control policies can be set, for example: prohibiting certain devices from accessing the palm map data on the blockchain; or allowing certain devices to access the palm map data on the blockchain with restrictions (for example, only query, only add, only delete, etc.). ⑥ Optimization processing, including optimization processing of business systems and optimization processing of blockchain networks. By analyzing the changes in the updated monitoring log, the monitoring results under each monitoring dimension can be obtained. Using the monitoring results under each monitoring dimension, the business system or blockchain network can be optimized in a targeted and accurate manner; for example: under the dimension of the palm map data chain rate, it is found that the value of the palm map data chain rate in a certain period of time is less than the chain rate threshold, indicating that the object data using the palm map data in the business system is relatively small, further indicating that the palm map function in the business system needs to increase the promotion efforts, then the optimization processing can be to increase the exposure of the palm map function of the business system. For example, in the dimension of the response rate of the node devices in the blockchain network to the transaction requests, it is found that the response rate of a certain node device to the transaction requests is lower than the rate threshold, which means that the node device may be overloaded. Then the optimization processing can be to schedule other node devices in the blockchain network to respond to the transaction requests to ensure the load balance of the blockchain network.

[0102] In an embodiment of the present application, the palm map obtained in the business system will first be analyzed to obtain at least one form of palm map data; then the palm map data in at least one form will be classified and stored on the blockchain; in this way, not only can the blockchain be used to uniformly manage various forms of palm map data, but also the decentralization, anti-tampering and other mechanisms of the blockchain can be used to ensure the storage security of various forms of palm map data; secondly, the embodiment of the present application will also monitor the changes in the palm map data on the blockchain from one or more monitoring dimensions to obtain monitoring results under each monitoring dimension; through active monitoring, the data dynamics on the blockchain can be discovered in time, the risk of data tampering can be avoided in time, and data security can be further provided; in addition, the embodiment of the present application will also optimize the business system and / or blockchain network according to the monitoring results under each monitoring dimension, and the business system and / or blockchain network can be reliably optimized through the monitoring results to improve the optimization accuracy.

[0103] It can be understood that in the embodiments of the present application, when relevant data such as the palm map data of an object is involved, when the above embodiments of the present application are applied to specific products or technologies, it is necessary to obtain the permission or consent of the object, and the collection, use and processing of the relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0104] Next, the data processing system provided in the embodiment of the present application is described.

[0105] See also Figure 2A , is a data processing system provided in an embodiment of the present application; the data processing system includes a computer device 201 and a blockchain network 202: the computer device 201 and the blockchain network 202 can exchange data via wired or wireless means.

[0106] The computer device 201 can call the acquisition device to obtain the palm image of the object in the business system. The acquisition device can be a module or component with acquisition function built into the computer device 201, for example, the acquisition device can be a camera, sensor, etc. built into the computer device 201. Alternatively, the acquisition device can be an external device connected to the computer device 201, for example, the acquisition device can be a camera, video recorder, sensor device, etc. connected to the computer device 201.

[0107] The blockchain network 202 refers to a network for sharing data between nodes, and the blockchain network may include multiple node devices 20. Each node device 20 can receive input palm map data when performing normal work, and maintain the shared data in the blockchain network based on the received palm map data. Specifically, when any node device in the blockchain network receives input palm map data, other node devices 20 in the blockchain network obtain the input palm map data according to the consensus algorithm, and store the input palm map data as data in the shared data, so that the related transactions of the palm map data stored on all nodes in the blockchain network are consistent.

[0108] Each node device in the blockchain network 202 stores one or more identical blockchains. Figure 2A In the example, each node device 20 stores two blockchains, namely blockchain 21 and blockchain 22; blockchain 21 can store one form of palm map data (such as IR map), and blockchain 22 can store another form of palm map data (such as GRB map). Any blockchain can be composed of multiple blocks. For example, both blockchain 21 and blockchain 22 contain multiple blocks. Figure 2B , multiple blocks include a genesis block, which includes a block header and a block body. The block header stores the characteristic value, version number, timestamp and difficulty value of the input palm map data, and the block body stores the input palm map data; the next block of the genesis block takes the genesis block as the parent block, and the next block also includes a block header and a block body. The block header stores the characteristic value of the input palm map data of the current block, the block header characteristic value, version number, timestamp and difficulty value of the parent block, and so on, so that the block data stored in each block in the blockchain is associated with the block data stored in the parent block, thereby ensuring the security of the palm map data in the block.

[0109] When generating each block in the blockchain, see Figure 2C When the node device where the blockchain is located receives the input palm image data, it verifies the input palm image data. The verification here can be to verify the digital signature on the palm image data. If the input palm image data is signed by a private key, the public key corresponding to the private key will be used to verify the digital signature on the palm image data. After the verification passes, the input palm image data is stored in the memory pool, and the hash tree used to record the input palm image data is updated; then, the update timestamp is updated to the time when the input palm image data is received, and different random numbers are tried, and the eigenvalue calculation is performed multiple times, so that the calculated eigenvalue can satisfy the following formula:

[0110] SHA256(SHA256(version+prev_hash+merkle_root+ntime+nbits+x)) <TARGET

[0111] Among them, SHA256 is the eigenvalue algorithm used to calculate the eigenvalue; version (version number) is the version information of the relevant block protocol in the blockchain; prev_hash is the block header eigenvalue of the parent block of the current block; merkle_root is the eigenvalue of the input palm map data; ntime is the update time of the update timestamp; nbits is the current difficulty, which is a fixed value within a period of time and is determined again after exceeding the fixed time period; x is a random number; TARGET is the eigenvalue threshold, which can be determined based on nbits.

[0112] In this way, when the random number that satisfies the above formula is calculated, the palm map data can be stored accordingly, the block header and block body can be generated, and the current block can be obtained. Subsequently, the node where the blockchain is located sends the newly generated block to other nodes in the blockchain network according to the node identification of other nodes in the blockchain network. Other nodes verify the newly generated block and add the newly generated block to the blockchain stored in them after the verification is completed.

[0113] It should be understood that the computer device 201 in the embodiment of the present application can be any node device in the blockchain network 202, or a device independent of the blockchain network 202, but the computer device 201 can communicate with one or more node devices in the blockchain network 202. In addition, the computer device 201 can communicate with the business system to provide the business system with services for uplinking and optimizing the data of the palm map. The above-mentioned computer device 201 can be a server or a terminal device, and the above-mentioned node device 20 can be a server or a terminal device. The above-mentioned terminal device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or 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, etc.

[0114] In one embodiment, the data processing flow may be described by taking the computer device 201 and the blockchain network 202 as an example:

[0115] (1) When the subject wants to participate in certain services in the business system by using his / her palm image data, he / she can bring his / her hand or foot close to the computer device 201, and the computer device 201 calls the acquisition device to acquire the hand or foot of the subject in the business system and obtain the palm image of the subject. Then, the computer device 201 can parse and process the palm image of the subject according to the image requirements and obtain at least one form of palm image data.

[0116] (2) The computer device 201 may send various forms of palm image data to the node device 20 in the blockchain network in the form of a transaction request. When the node device 20 receives the transaction request corresponding to the palm image data in various forms, it may package the palm image data in the corresponding form into a block according to the transaction request, and perform consensus processing in the blockchain network 202. After the consensus processing is successful, the block may be stored in the blockchain corresponding to the palm image data in the corresponding form. For example, when the node device 20 receives the transaction request corresponding to the palm image data in the first form, it may package the palm image data in the first form into a block according to the transaction request, and perform consensus processing in the blockchain network 202. After the consensus is passed on the block containing the palm image data in the first form, the block containing the palm image data in the first form is stored in the blockchain 21. For another example, the node device 20 receives a transaction request corresponding to the palm map data in the second form. It can package the palm map data in the second form into blocks according to the transaction request, and perform consensus processing in the blockchain network 202. After consensus is passed on the blocks containing the palm map data in the second form, the blocks containing the palm map data in the second form are stored in the blockchain 22.

[0117] In addition, the computer device 201 can also store various forms of palm map data in the cache database to achieve double writing of the palm map data, which can facilitate determining whether the palm map data has changed based on the palm map data in the cache database and the palm map data stored on the blockchain.

[0118] (3) The computer device 201 can monitor the changes of the palm map data on the blockchain from one or more monitoring dimensions, and record the change information monitored in each monitoring dimension into the monitoring log to ensure that the changes of the palm map data in the blockchain can be recorded, and it is also convenient for the subsequent optimization of the above-mentioned business system or blockchain network according to the monitoring log.

[0119] In one embodiment, see Figure 3A , Figure 3A Another data processing system architecture diagram is provided for the embodiment of the present application. The data processing system includes a palm map uplink module, a palm map monitoring module, a palm map access module, and a blockchain network. Among them:

[0120] Palm map on-chain module: used to store palm map data in the business system on the blockchain in the blockchain network. The storage process includes the consensus processing process of palm map data by each node device in the blockchain network and the on-chain process after the consensus is passed.

[0121] Palm Image Access Module: Palm Image Access Module may include access control function, role authorization function, uplink router, image consumption gateway, image production gateway, cache database, image source risk control, privacy risk control, elastic expansion, etc. Among them, the access control function can be used to control the devices that access Palm Image data. The role authorization function can be used to authorize certain devices to access Palm Image data. The uplink router can be used to interact with the blockchain network, the image consumption gateway can be used to consume Palm Image data in the message queue, and the image production gateway can be used to add Palm Image data that needs to be uploaded to the message queue. The cache database can be used to store Palm Image data. Image source risk control is used to control the source of Palm Image data. Privacy risk control can be used to avoid privacy risks of Palm Image data and ensure the privacy of Palm Image data. Elastic expansion refers to supporting the plug-in and unplugging of functional modules, such as adding new functional modules, reducing functional modules, etc.

[0122] In one embodiment, Figure 3B As shown, in Figure 3B In the process, the palm image access module can obtain the palm image to be stored, and parse the palm image to obtain the palm image data of the first form, the palm image data of the second form and the palm image data of the third form, and then upload the palm image data of the first form, the palm image data of the second form and the palm image data of the third form to the chain. Before uploading to the chain, the palm image data of different forms are stored in the message queue through the image production gateway, and then the palm image data of each form are asynchronously consumed from the message queue through the image consumption gateway; then the palm image data of each form are asynchronously sent to the palm image uplink module through the uplink route so that the palm image uplink module can reach a consensus on the palm image data of each form and store it on the corresponding blockchain in the blockchain network, and the palm image data of each form are stored in the cache database.

[0123] Palm map monitoring module: mainly includes monitoring log function, monitoring function of palm map data changes, alarm function and prediction function. The monitoring function of palm map data changes provides a variety of means to monitor the changes of palm map data on the blockchain. The various means may include but are not limited to: script monitoring means, means of intercepting and parsing requests, means of data comparison, etc. The monitoring log is used to record the changes of the monitored palm map data on the blockchain. The prediction function is used to analyze the changes in the monitoring log to determine the security of the palm map data (for example, whether it has been tampered with, whether it has been maliciously accessed, etc.). In addition, the prediction function is also used to provide optimization processing capabilities, that is, by analyzing the changes in the monitoring log from one or more monitoring dimensions, the monitoring results under each monitoring dimension are obtained, and corresponding optimization processing suggestions are given based on the monitoring results, or the business system or blockchain network is directly optimized.

[0124] In some embodiments, the prediction function in the palm chart monitoring module is used to predict whether the palm chart data is at risk of being tampered with based on the monitored change information, and when it is predicted that the palm chart data is at risk of being tampered with, an alarm message is output through the alarm function. The alarm message can be used to prompt that the current palm chart data may be at risk of being tampered with. In some embodiments, the prediction function in the palm chart monitoring module can also be used to analyze the monitored changes to obtain monitoring results under each monitoring dimension, and give corresponding optimization suggestions based on the monitoring results, for example: returning the optimization suggestions to the business system or blockchain network so that the business system or blockchain network can be optimized. In some embodiments, the palm chart monitoring module can directly optimize the business system or blockchain network based on the monitoring results under each monitoring dimension.

[0125] For example, Figure 3C As shown, Figure 3C The palm map data monitoring process provided in the embodiment of the present application. The palm map monitoring module can request authorization to obtain palm map data. After authorization, the palm map monitoring module can obtain palm map data from the blockchain and obtain palm map data from the cache database, and compare whether the two are consistent. If they are inconsistent, the change information of the palm map data on the blockchain is reported through the gateway (i.e., the user interface) and the monitoring log is updated according to the change information. At the same time, the palm map monitoring module can also update the palm map data in the cache database according to the palm map data on the blockchain, and return the palm map change result.

[0126] In one embodiment, in order to ensure the access security of the cache database, the cache database can be set in a secure area, for example, it can be set in a trusted execution environment TEE. In another embodiment, the monitoring log can also be stored in a secure area, for example, it can be set in a trusted execution environment TEE. It is understandable that the cache database and the monitoring log can exist in the same security area or in different security areas.

[0127] Through the above-mentioned data processing system, different forms of palm map data are stored on the same or different blockchains, which can facilitate the acquisition of different forms of palm map data from the blockchain according to needs, while also preventing the palm map data from being tampered with, thereby ensuring the security of the palm map data. In addition, the changes in the palm map data on the blockchain can be monitored and recorded in the log, which can ensure that the changes in the palm map data can be recorded and traceable, further ensuring the security of the palm map data. In addition, the embodiment of the present application will also optimize the business system or blockchain network according to the monitoring results under each monitoring dimension, and the business system can be reliably optimized through the monitoring results to improve the performance of the business system. At the same time, the storage and monitoring of palm map data can be better realized through various modules, which is also convenient for the maintenance of the entire data processing system.

[0128] Next, the data processing method involved in the embodiment of the present application is explained.

[0129] See also Figure 4 , Figure 4 The following is a flow chart of a data processing method provided in an embodiment of the present application. The data processing method can be executed by the above-mentioned computer device 201, and the method may include the following steps S401-S405:

[0130] S401, obtaining a palm image to be processed in a business system, where the palm image is obtained by collecting images of hands or feet of an object in the business system through a collection device.

[0131] In one embodiment, when it is necessary to capture images of the hands or feet of an object in a business system, a computer device may display a palm image acquisition interface, which may include prompt information, and the prompt information is used to prompt the hands or feet to be placed at the target position (such as prompting to place the hands at the camera). When the detected object places the hands or feet at the target position, the acquisition device may be called to capture images of the hands or feet of the object to obtain a palm image of the object.

[0132] In the process of calling the acquisition device to acquire the image of the hand or foot of the object in the business system and obtaining the palm image of the object, an image confirmation option and an image cancellation option may be output in the palm image acquisition interface. When the object triggers (such as single-clicking, double-clicking, etc.) the image confirmation option, step S402 may be executed in response to the triggering operation of the image confirmation option. When the object triggers the image cancellation option, cancellation prompt information may be output in response to the triggering operation of the image cancellation option, and the cancellation prompt information is used to indicate that the image acquisition has been canceled.

[0133] In one embodiment, in order to determine the legitimacy of the palm image source and to prevent the palm image data from being maliciously used, the computer device may perform legitimacy verification on the acquisition device that collects the palm image after obtaining the palm image. If it is determined that the acquisition device passes the legitimacy verification, step S402 is executed. If it is determined that the acquisition device fails the legitimacy verification, an alarm message may be output, which is used to indicate that there is a risk in the current acquisition device. The purpose of the legitimacy verification is to identify whether the adopted device is legal. Only palm images submitted by legal acquisition devices will be processed later; this can effectively ensure the legitimacy of the source of the palm image and effectively prevent illegal devices from collecting the palm image of the object.

[0134] S402: Analyze the palm image to obtain palm image data of at least one form.

[0135] Among them, the form of palm map data may include but is not limited to the first form, the second form, and the third form. The palm map data in the first form may be an IR image; the palm map data in the second form may be an RGB image; the palm map data in the third form may be a palm map feature and an identifier of a feature extraction model bound to the palm map feature; the feature extraction model bound to the palm map feature refers to a feature extraction model used to extract the palm map feature, and the palm map feature may include palm print features of the hands or feet, palm shape features, etc., and the above identifier may be a number, a character string, etc. It can be understood that the palm map data form may also include a fourth form, a fifth form, etc. For example, the palm map data in the fourth form may be a grayscale image, and the palm map data in the fifth form may be a depth map. The subsequent embodiments of the present application are described by taking the forms of palm map data including the first form, the second form, and the third form as an example; when there are other different forms or more forms, reference may be made to the description of the following embodiments.

[0136] The computer device can parse the palm image to obtain palm image data of a first form, palm image data of a second form, and palm image data of a third form. The manners of parsing the palm image to obtain palm image data of different forms are different. For example, parsing the palm image data to obtain palm image data of a third form can be: the computer device calls a feature extraction model to extract features from the palm image to obtain palm image features, and generates palm image data of a third form according to the palm image features and the identifier of the feature extraction model bound to the palm image features. In some optional embodiments, different feature extraction models can be selected according to different palm image features. For example, if the palm image features include palm print features of the hands or feet, a feature extraction model for extracting palm print features of the hands or feet can be selected; for another example, if the palm image features include palm shape features of the hands or feet, a feature extraction model for extracting palm shape features of the hands or feet can be selected.

[0137] S403. Classify and store at least one form of palm map data on the blockchain.

[0138] In one embodiment, multiple forms of palm map data correspond to the same blockchain, that is, palm map data of at least one form can be classified and stored on the same blockchain. The classification at this time can be to use different blocks, or to indicate different forms of palm map data in the same block. In another embodiment, one form of palm map data can correspond to a blockchain, that is, palm map data of one form can be stored on a blockchain. At this time, classifying and storing at least one form of palm map data on the blockchain may include: storing at least one form of palm map data on at least one blockchain respectively. For example, palm map data of the first form is stored on blockchain 1, palm map data of the second form is stored on blockchain 2, and palm map data of the third form is stored on blockchain 3. By storing palm map data of different forms on different blockchains respectively, palm map data of corresponding forms can be quickly obtained from the corresponding blockchain according to demand later.

[0139] Of course, the embodiments of the present application may also store some of the palm map data in the above-mentioned at least one form on one blockchain, and the remaining palm map data in another blockchain. For example: when the forms of the palm map data include the first form, the second form, and the third form, the palm map data in the first form and the palm map data in the second form may be stored on one blockchain, and the palm map data in the third form may be stored on another blockchain, and the present application does not limit this. When at least one form of palm map data is stored in the blockchain, a transaction request will be generated based on the at least one form of palm map data. At this time, the above-mentioned at least one form of palm map data may be carried in the transaction request. When the transaction request passes the blockchain consensus, at least one form of palm map data will be stored on the blockchain.

[0140] Among them, taking the palm image data of the target form stored on the target blockchain as an example, the target form refers to any form of the palm image data. First, the computer device can store the palm image data of the target form in the message queue in an asynchronous manner, read the palm image data of the target form from the message queue in an asynchronous manner, and store the palm image data of the target form asynchronously on the target blockchain. Specifically, the palm image data of the target form can be sent to the node device in the blockchain network in the form of a transaction request. The node devices in the blockchain network all store the target blockchain. At this time, the palm image data of the target form can be asynchronously stored on the target blockchain: any node device in the blockchain network can receive the target transaction request, and the target transaction request carries the palm image data of the target form. Any node device can package the palm image data of the target form into blocks based on the target transaction request, and send it to other node devices in the blockchain network for consensus. After the consensus on the block is passed, the block containing the palm image data of the target form can be stored in the target blockchain. It should be understood that storing the block in the target blockchain means storing the target transaction request on the target blockchain, and the target blockchain in any node records the palm image data of the target form.

[0141] Among them, when multiple blockchains are stored in the node device, and the multiple blockchains include the target blockchain, one form of the palm map data corresponds to one blockchain; when the node device receives a transaction request, it can determine the target blockchain storing the palm map data of the target form according to the target form of the palm map data in the target transaction request. For example, when the target form is the first form, the node device can determine the target blockchain storing the palm map data of the first form when receiving the transaction request.

[0142] In one embodiment, the message queue may contain multiple forms of palm image data. At this time, when the palm image data of the target form is stored in the message queue in an asynchronous manner, a prompt message about the palm image data of the target form being on the chain can be directly returned. The prompt message is used to prompt the progress of the palm image data on the chain; for example, it can be "The palm image data is being processed on the chain, please wait!" Then, within a preset time (such as 2 minutes, 4 minutes, etc.), it is judged whether the palm image data of the target form is successfully stored on the target blockchain; the judgment here can be made in a callback manner, specifically: receiving a notification fed back by a node device in the blockchain network in a callback manner, and the callback notification contains the result of whether the palm image data of the target form is successfully on the chain. Of course, the judgment here can also be made in a query manner, specifically: sending a query request to the node device in the blockchain network, requesting to query whether the palm image data of the target form requested to be on the chain already exists on the target blockchain. If the palm image data of the target form is not successfully stored on the target blockchain, a prompt message of failure to be on the chain is output, and the prompt message of failure to be on the chain is used to prompt that the palm image data of the target form of the object fails to be stored on the target blockchain. In this way, in large-scale high-concurrency scenarios, objects do not need to wait for the palm map data to be successfully stored on the target blockchain before performing other operations, which can improve the system's concurrent processing capabilities to a certain extent.

[0143] Optionally, while the palm map data in the target form is asynchronously stored on the target blockchain, the palm map data in the target form can be synchronously stored in the cache database, thereby achieving double writing of the palm map data in the target form, ensuring that changes in the blockchain network are recorded and traceable.

[0144] S404: Monitor changes in the palm map data on the blockchain from one or more monitoring dimensions to obtain monitoring results under each monitoring dimension.

[0145] The monitoring dimensions may include but are not limited to: the rate of on-chain in the first period, the amount of queries for palm map data in the second period, the amount of additions to palm map data in the third period, the amount of deletions to palm map data in the third period, and the response rate of node devices in the blockchain network to transaction requests. The first period, the second period, and the third period may be set as required, and the first period, the second period, and the third period may be the same or different, or any two periods may be the same and the other period may be different.

[0146] The on-chain rate of the first period refers to the ratio of the number of palm map data stored on the blockchain in the first period to the time. It should be understood that the larger the value of the on-chain rate of the first period, the more palm map data is stored on the blockchain in the first period; conversely, the smaller the value of the on-chain rate of the first period, the less palm map data is stored on the blockchain in the first period.

[0147] The query volume of the palm map data in the second period refers to the number of palm map data queried from the blockchain in the second period. It should be understood that the larger the value of the query volume in the second period, the more palm map data queried in the second period on the blockchain; conversely, the smaller the value of the query volume in the second period, the smaller the number of palm map data queried in the second period on the blockchain.

[0148] The increase in the amount of palm map data in the third period refers to the amount of palm map data stored on the blockchain in the third period, and the deletion of palm map data in the third period may refer to the amount of palm map data deleted from the blockchain in the third period.

[0149] The response rate of node devices in the blockchain network to transaction requests can be used to indicate the processing capacity of the node devices in handling business. The higher the response rate, the stronger the processing capacity of the node devices. Conversely, the lower the response rate, the weaker the processing capacity of the node devices.

[0150] Among them, the changes of the palm map data on the blockchain are monitored from one or more monitoring dimensions, and the monitoring results under each monitoring dimension can include but are not limited to the following (1)-(3) methods:

[0151] (1) A monitoring script is deployed in the blockchain, and the monitoring script in the blockchain can be run. As an implementation method, the node device can be triggered to run the monitoring script in the blockchain within a target period (such as 1 day, 1 hour, etc.). As another implementation method, when the node device receives a transaction request, the monitoring script in the blockchain can be run. Then, when the palm map data on the blockchain is monitored to change, the change information can be obtained based on the monitoring script, and the monitoring log can be updated according to the change information. The monitoring log is used to record the changes in the palm map data on the blockchain. Then, the changes in the updated monitoring log are analyzed from one or more monitoring dimensions to obtain the monitoring results under each monitoring dimension. The change information may include but is not limited to: the palm map data added to the blockchain in a certain period and the amount of additions, the palm map data queried on the blockchain in a certain period and the amount of queries, the palm map data deleted on the blockchain in a certain period and the amount of deletions, and the number of node devices on the blockchain responding to transaction requests.

[0152] (2) When at least one form of palm image data is carried in a transaction request and sent to a node device in the blockchain network where the blockchain is located, the computer device can intercept the transaction request to be agreed upon on the blockchain, analyze the transaction request, determine the change information of the palm image data on the blockchain triggered by the transaction request, and update the monitoring log according to the change information. Among them, if the transaction request is used to request to store at least one form of palm image data on the blockchain, then the palm image data on the blockchain will increase, and the change information may include the palm image data stored on the blockchain; if the transaction request is used to request to delete at least one form of palm image data of the object, then the palm image data on the blockchain will decrease, and the change information may include the palm image data deleted from the blockchain; if the transaction request is used to request to modify at least one form of palm image data of the object, then the corresponding palm image data on the blockchain will be modified, and the change information may include the modified palm image data on the blockchain. Then, the computer device analyzes the changes in the updated monitoring log from one or more monitoring dimensions to obtain the monitoring results under each monitoring dimension.

[0153] (3) In the embodiment of the present application, the palm image data of the object is stored in a double-write manner. In this case, the palm image data on the blockchain and the palm image data in the cache database can be compared to determine the change of the palm image data on the blockchain. The computer device can compare the palm image data on the blockchain with the palm image data in the cache database at every preset period. If the palm image data on the blockchain is inconsistent with the palm image data in the cache database, the change information of the palm image data on the blockchain within the corresponding preset period is determined according to the difference between the palm image data on the blockchain and the palm image data in the cache database, and the monitoring log is updated according to the change information; then the change in the updated monitoring log is analyzed from one or more monitoring dimensions to obtain the monitoring results under each monitoring dimension. Among them, the preset period can be set according to demand, such as the preset period can be 1 day, 1 week, etc. At this time, the change information can include but is not limited to: the palm image data added on the blockchain in a preset period and the amount of addition, the palm image data queried on the blockchain in a preset period and the amount of query, the palm image data deleted on the blockchain in a preset period and the amount of deletion, and the number of node devices on the blockchain responding to transaction requests. If it is determined that the palm map data on the blockchain is consistent with the palm map data in the cache database, no action is required.

[0154] In addition, if the palm image data on the blockchain is inconsistent with the palm image data in the cache database, the computer device can also use the palm image data on the blockchain to update the palm image data in the cache database. The update can effectively ensure the consistency of the palm image data on the blockchain and the palm image data in the cache database, making it easier to determine the changes in the palm image data on the blockchain next time.

[0155] In one embodiment, the number of the above-mentioned monitoring logs is one or more. When the number of monitoring logs is one, the above-mentioned updating of the monitoring log according to the change information may be: directly recording the change information into the monitoring log; or directly replacing the information in the monitoring log with the change information. In another implementation, when the number of monitoring logs is multiple, one monitoring log corresponds to one monitoring dimension, and updating the monitoring log according to the change information may be: the computer device divides the change information according to one or more monitoring dimensions, and records the change information under each monitoring dimension into the corresponding monitoring log. For example, the monitoring dimensions include the query volume of palm map data and the increase volume of palm map data. The query volume of palm map data corresponds to monitoring log 1; the increase volume of palm map data corresponds to monitoring log 2; the computer device may record the palm map data queried on the blockchain in the change information into the corresponding monitoring log 1, and record the palm map data added on the blockchain in the change information into the corresponding monitoring log 2. By updating the monitoring log with change information, it can be ensured that the changes in the palm map data on the blockchain are recorded.

[0156] It should be understood that the above-mentioned various monitoring methods can be flexibly selected for use, or can be used in combination. For example, when the above-mentioned methods (1) and (2) are used in combination, the change information monitored by the monitoring script can be merged with the change information obtained by analyzing the transaction request and then the monitoring log is updated. This makes the data source of the monitoring log more diversified, thereby making the data record of the monitoring log more complete. For another example, the above-mentioned methods (1) and (3) can also be used in combination, or the above-mentioned (1), (2) and (3) can also be used in combination. The embodiments of the present application do not limit the monitoring methods or the combination of monitoring methods.

[0157] The above analysis of changes in the updated monitoring log from one or more monitoring dimensions can result in the following types of monitoring results under each monitoring dimension:

[0158] (1) The number of the above-mentioned monitoring logs can be only one, that is, the changes in the palm map data on the blockchain are recorded through one monitoring log. At this time, the changes in the updated monitoring log are analyzed from one or more monitoring dimensions to obtain the monitoring results under each monitoring dimension, including: obtaining the changes in the palm map data on the blockchain under different dimensions from the updated monitoring log, and analyzing the changes in the palm map data on the blockchain under different dimensions to obtain the monitoring results under each monitoring dimension. For example, if the monitoring dimension is the chain-up rate in the first period, the number of palm map data stored on the blockchain in the first period can be obtained from the updated monitoring log, and the value of the chain-up rate in the first period can be determined based on the number and the first period. For example, if the monitoring dimension is the query volume in the second period, the number of palm map data queried on the blockchain in the second period can be counted from the updated monitoring log to obtain the query volume in the second period.

[0159] (2) There may be multiple monitoring logs, and one monitoring log may record the changes in the palm map data on the blockchain under one monitoring dimension. That is, one monitoring log corresponds to one monitoring dimension. At this time, the changes in the updated monitoring log are analyzed from one or more monitoring dimensions to obtain the monitoring results under each monitoring dimension, including: obtaining the target monitoring log under the target monitoring dimension from the updated multiple monitoring logs, and analyzing the target monitoring log to obtain the monitoring results under the target monitoring dimension. For example, if the monitoring dimension is the chain-up rate in the first time period, the target monitoring log corresponding to the chain-up rate in the first time period may be obtained from the updated multiple monitoring logs, and the target monitoring log may be analyzed to obtain the number of palm map data chained in the first time period, and then the value of the chain-up rate in the first time period is obtained based on the first time period and the number of palm map data chained.

[0160] (3) There can be multiple monitoring logs, and one monitoring log corresponds to different monitoring times. The monitoring log corresponding to the desired monitoring time can be obtained according to the analysis requirements. At this time, the specific process of analyzing the changes in the updated monitoring log from one or more monitoring dimensions to obtain the monitoring results under each monitoring dimension can be: obtaining the monitoring log corresponding to the target monitoring time from the multiple updated monitoring logs, and analyzing the monitoring log corresponding to the target monitoring time from one or more monitoring dimensions to obtain the monitoring results under each monitoring dimension. For example, the monitoring log of the most recent time (i.e., the monitoring time closest to the system time) is more valuable for analysis, so the monitoring log corresponding to the monitoring time closest to the system time is obtained from the multiple updated monitoring logs, and the monitoring log is analyzed from one or more monitoring dimensions to obtain the monitoring results under each monitoring dimension.

[0161] S405. Optimize the business system based on the monitoring results in each monitoring dimension.

[0162] Among them, the business system may include but is not limited to: payment business system, social business system, e-commerce business system, game business system. According to the detection results under each monitoring dimension, there are certain differences in the optimization processing direction of the business system. The optimization processing performed by the computer device on the business system based on the monitoring results under each monitoring dimension may include the following aspects:

[0163] A. The monitoring dimension includes the chain rate of the first period, and accordingly, the monitoring result under the monitoring dimension includes the value of the chain rate of the palm map data in the first period. The computer device can determine whether the value of the chain rate of the first period is less than the chain rate threshold. If it is determined that the value of the chain rate of the palm map data in the first period is less than the chain rate threshold, it means that the number of users of the palm map function of the business system is small. At this time, the exposure of the palm map function of the business system can be increased to attract more objects to use the palm map function in the business system. If it is determined that the value of the chain rate of the palm map data in the first period is greater than the chain rate threshold, it means that the number of users in the first period is large, then the rate of collecting palm maps in the business system can be increased, and the experience of the object can be improved by increasing the rate of collecting palm maps. For example, taking the business system as a payment business system, the object can use palm map data in the payment business system to pay for orders. At this time, the payment business system can be optimized by monitoring the changes in the palm map data on the blockchain. For example, the chain-up situation of palm map data on the blockchain can be monitored, and the chain-up rate of palm map data in a certain period (such as XX:01:01-XX:03:01) can be determined based on the monitored chain-up situation; if the chain-up rate is lower than the chain-up rate threshold, then only a few objects may use the palm map function. At this time, the exposure of the palm map function of the payment business system can be increased, and the promotion of the palm map function of the payment business system can be increased. For another example, the deletion amount and increase amount of palm map data on the blockchain can be monitored. If the object no longer uses the palm swipe payment, the object will usually request to delete the palm map data that has been uploaded in the past; if the object wants to use the palm map function, the object will usually request to upload its own palm map data; based on this, it will bring about the addition and deletion of palm map data on the blockchain; therefore, the deletion amount and increase amount of palm map data on the blockchain can be compared. When the deletion amount is greater than the increase amount, it means that the palm map function cannot maintain the object's usage viscosity. At this time, the palm map function in the business system can be improved.

[0164] B. The monitoring dimension includes the query volume in the second time period. Accordingly, the monitoring results under the monitoring dimension include the numerical value of the query volume of the palm map data in the second time period. The computer device can determine whether the numerical value of the query volume in the second time period is greater than the quantity threshold. If it is determined that the numerical value of the query volume in the second time period is greater than the quantity threshold, it means that a large number of objects are using the palm map function in the business system. At this time, the business volume of concurrently processing business in the business system to which the palm map data is applied can be increased; if it is determined that the numerical value of the query volume in the second time period is less than or equal to the quantity threshold, there is no need to increase the business volume of concurrently processing business in the business system to which the palm map data is applied.

[0165] For example, if the business system is a payment business system, the payment business system supports the Palm Picture payment function, and the query volume of Palm Picture data in 2:00-3:00 is 100. The query volume in the period of 2:00-3:00 is greater than the quantity threshold of 50, which means that a large number of objects in this period are using the Palm Picture payment function to perform payment services, and only then will the corresponding Palm Picture data be queried from the blockchain; at this time, the number of concurrently processed payment services in the business system where the Palm Picture data is applied can be increased, so that the objects can quickly complete the payment services and improve the experience of the objects. For another example, if the business system is a data reading system, the objects can read the corresponding data through the Palm Picture function in the data reading system. At this time, the data reading system can be optimized by monitoring the changes in the Palm Picture data on the blockchain. For example, by monitoring the query status of the Palm Map data on the blockchain, the query volume of the Palm Map data in a certain period of time (such as XX:01:01-XX:03:01) can be determined based on the monitored query status; if the query volume is greater than the quantity threshold, it means that a large number of objects use the Palm Map function to read the corresponding data during this period. At this time, the business volume of concurrently processing data query services in the data query system can be increased.

[0166] As an implementation method, the amount of concurrently processed business in the business system used by PalmMap data can be increased by increasing the number of processes for processing business (for example, the original two processes can now be increased to four processes). This not only increases the amount of concurrently processed business, but also quickly processes the efficiency of processing business in the business system.

[0167] C. The monitoring dimension includes the amount of increase and deletion of palm map data in the third period. Accordingly, the monitoring results under the monitoring dimension include the value of the amount of increase of palm map data in the third period and the value of the amount of deletion of palm map data in the third period; the computer device can determine whether the amount of increase of palm map data is greater than the amount of deletion of palm map data; if it is determined that the amount of deletion of palm map data is greater than the amount of increase of palm map data, it means that most objects may give up using the palm map function due to problems with the palm map function and delete their own palm map data from the blockchain, then the palm map function in the business system can be improved. As an implementation method, feedback information of the object corresponding to the deleted palm map data can be obtained, and the palm map function in the business system can be improved based on the feedback information. For example, the feedback information includes that when using the palm map function, a complete image of the hand or foot needs to be obtained. Based on the feedback information, the palm map function in the business system can be improved, that is, only a partial image of the hand or foot can be obtained when using the palm map function. If it is determined that the amount of deletion of palm map data is less than or equal to the amount of increase of palm map data, there is no need to improve the palm map function in the business system.

[0168] Among them, the difference between the increase in palm chart data in the third time period and the deletion in the third time period can be calculated. If the difference is greater than the target value (such as 0), it is determined that the increase in palm chart data is greater than the deletion in palm chart data. If the difference is less than the target value (such as 0), it is determined that the deletion in palm chart data is greater than the increase in palm chart data. If the difference is equal to the target value (such as 0), it is determined that the increase in palm chart data is equal to the deletion in palm chart data.

[0169] In one embodiment, when the business system may include a payment business system, the computer device may receive a payment request, which carries a payment order to be processed and the palm image data of the target object; in response to the payment request, it is detected whether there is a consensus operation for the palm image data of the target object in the blockchain network where the blockchain is located; if there is a consensus operation for the palm image data of the target object, the palm image data of the target object can be obtained from the blockchain, and it is determined whether the palm image data in the payment request is consistent with the palm image data obtained from the blockchain; if the palm image data in the payment request is consistent with the palm image data obtained from the blockchain, the payment order is processed for payment. If the palm image data in the payment request is inconsistent with the palm image data obtained from the blockchain, an alarm message is output, which can be used to indicate that the palm image data does not match, and please re-acquire the palm image data of the target object. It should be understood that after the consensus on the palm image data stored in the blockchain is passed, it can be broadcast to all node devices, so it can be detected whether there is a consensus operation for the palm image data of the target object in the blockchain network to know whether the palm image data of the target object is stored on the blockchain. If there is no consensus operation on the palm map data of the target object, a registration prompt message may be output, and the registration prompt message is used to prompt the target object to activate the palm map function.

[0170] In one embodiment, a node device in a blockchain network stores a blockchain, and a palm image data of a form is stored on a blockchain. Obtaining the palm image data of a target object from a blockchain may include: determining the target form of the palm image data of the target object, and querying the palm image data of the target object from a target blockchain corresponding to the target form. Specifically, a data query transaction may be sent to a node device in the blockchain network, and the data query transaction may carry the object information of the target object and the target form of the palm image data of the target object. The node device may receive the data query transaction, and determine the target blockchain corresponding to the target form according to the object information (such as the object identifier) ​​in the data query transaction and the target form of the palm image data of the target object, and then the node device may query the palm image data of the target form of the target object from the target blockchain.

[0171] In the embodiment of the present application, the acquired palm map will first be parsed to obtain at least one form of palm map data; at least one form of palm map data will be classified and stored on the blockchain; in this way, not only can the blockchain be used to uniformly manage various forms of palm map data, but also the decentralized and tamper-proof mechanisms of the blockchain can be used to ensure the storage security of various forms of palm map data; secondly, the embodiment of the present application will also monitor the changes in the palm map data on the blockchain; through active monitoring, the data dynamics on the blockchain can be discovered in time, the risk of data tampering can be avoided in time, and data security can be further provided. In addition, the embodiment of the present application will also optimize the business system or blockchain network according to the monitoring results under each monitoring dimension, and the business system can be reliably optimized through the monitoring results.

[0172] See also Figure 5 , Figure 5 A flowchart of another data processing method provided by an embodiment of the present invention. The data processing method can be executed by the above-mentioned computer device. The data processing method described in this embodiment may include steps S501-S505:

[0173] S501. Obtain a palm image to be processed in a business system. The palm image is obtained by collecting the hands or feet of an object in the business system through a collection device.

[0174] S502: Analyze the palm image to obtain palm image data of at least one form.

[0175] S503. Classify and store at least one form of palm map data on the blockchain.

[0176] S504: Monitor the changes of the palm map data on the blockchain from one or more monitoring dimensions to obtain monitoring results under each monitoring dimension.

[0177] S505. Optimize the business system based on the monitoring results in each monitoring dimension.

[0178] The specific implementation of steps S501-S505 may refer to the specific implementation of steps S401-S405 above, which will not be described again.

[0179] S506. Based on the monitoring results under each monitoring dimension, the blockchain network where the blockchain is located is optimized.

[0180] The monitoring dimensions may include but are not limited to: the rate of on-chain in the first period, the amount of queries for palm map data in the second period, the amount of additions to palm map data in the third period, the amount of deletions to palm map data in the third period, and the response rate of node devices in the blockchain network to transaction requests. The optimization processing performed by the computer device on the blockchain network based on the monitoring results under each monitoring dimension may include the following aspects:

[0181] (1) When the monitoring dimension includes the response rate of the node devices in the blockchain network to the transaction request, the monitoring result under the monitoring dimension includes the value of the response rate of the node devices to the transaction request. The computer device can determine whether the response rate of any node device in the blockchain network to the transaction request is lower than the rate threshold. If it is determined that the response rate of any node device to the transaction request is lower than the rate threshold, the pending transaction requests in the node device with a response rate lower than the rate threshold are allocated to other node devices in the blockchain network for response. It should be understood that the lower the response rate of the node devices in the blockchain network to the transaction request, the weaker the ability of the node device to process the transaction request. Therefore, in order to respond to the transaction request quickly, the transaction request in the node device with a response rate lower than the rate threshold can be allocated to other idle node devices in the blockchain network; or the transaction request in the node device with a response rate lower than the rate threshold can be allocated to the node device in the blockchain with a response rate higher than the rate threshold for response. In this way, the load balancing of the node devices in the blockchain network can be achieved.

[0182] (2) When the monitoring dimension includes the query volume of the palm map data in the second time period, the monitoring result under the monitoring dimension includes the numerical value of the query volume of the palm map data in the second time period. The larger the numerical value of the query volume in the second time period, the more the palm map data queried in the second time period on the blockchain is. The computer device can determine whether the numerical value of the query volume in the second time period is greater than the quantity threshold. If it is determined that the numerical value of the query volume in the second time period is greater than the quantity threshold, it means that in the second time period, the business system sends a large number of query transactions to the node device to obtain the palm map data on the blockchain. Then, the response speed of the node device in the blockchain network can be improved or the data processing priority can be set for the node device. For example, setting the node device to process data query transactions with a higher priority than palm map data storage transactions can be understood as: when the node device simultaneously obtains data query transactions (i.e., querying palm map data) and palm map data storage transactions (i.e., uploading palm map data to the chain), the data query transactions can be processed first.

[0183] In the embodiment of the present application, a palm image to be processed in a business system is obtained. The palm image is obtained by collecting the hands or feet of an object in the business system through a collection device. Then, the palm image is parsed to obtain at least one form of palm image data, and at least one form of palm image data is classified and stored on the blockchain; palm image data of different forms are stored on different blockchains, which can facilitate the acquisition of palm image data of different forms from the blockchain according to needs, and also prevent the palm image data from being tampered with, thereby ensuring the security of the palm image data. In addition, the changes in the palm image data on the blockchain can be monitored from one or more monitoring dimensions to obtain the monitoring results under each monitoring dimension, and then the blockchain network and the business system where the blockchain is located are optimized according to the monitoring results under each monitoring dimension, so as to achieve reliability optimization of the business system or blockchain network.

[0184] Next, the data processing device involved in the embodiment of the present application is explained.

[0185] See also Figure 6 , Figure 6 is a structural diagram of a data processing device provided in an embodiment of the present application; the data processing device may be a computer program (including program code) running on a computer device, for example, the data processing device may be an application software in a computer device; the data processing device may be used to execute Figure 4 or Figure 5 Some or all of the steps in the method embodiment shown. Figure 6 , the data processing device comprises the following units:

[0186] An acquisition unit 601 is used to acquire a palm image to be processed in a business system, where the palm image is acquired by collecting the hands or feet of an object in the business system through a collection device;

[0187] The processing unit 602 is used to analyze the palm image to obtain palm image data of at least one form;

[0188] The processing unit 602 is further used to classify and store at least one form of palm image data on the blockchain;

[0189] The processing unit 602 is further used to monitor the changes of the palm map data on the blockchain from one or more monitoring dimensions to obtain monitoring results under each monitoring dimension;

[0190] The processing unit 602 is further used to optimize the business system based on the monitoring results in each monitoring dimension.

[0191] In one embodiment, the forms of the palm image data include a first form, a second form and a third form;

[0192] The first form of palm image data is an infrared spectrum; the second form of palm image data is a color image; the third form of palm image data is a palm image feature and an identifier of a feature extraction model bound to the palm image feature;

[0193] The feature extraction model bound to the palm image feature refers to a feature extraction model used to extract the palm image feature.

[0194] In one embodiment, a monitoring script is deployed in the blockchain. When the processing unit 602 monitors the changes of the palm map data on the blockchain from one or more monitoring dimensions and obtains the monitoring results under each monitoring dimension, it can be specifically used to:

[0195] Run monitoring scripts in the blockchain;

[0196] When the palm map data on the blockchain changes, the change information is obtained based on the monitoring script.

[0197] Update the monitoring log according to the change information. The monitoring log is used to record the changes of the palm map data on the blockchain;

[0198] Analyze changes in the updated monitoring log from one or more monitoring dimensions to obtain monitoring results under each monitoring dimension.

[0199] In one embodiment, at least one form of palm image data is carried in a transaction request. When the transaction request passes the blockchain consensus, at least one form of palm image data is stored on the blockchain.

[0200] When the processing unit 602 monitors the changes of the palm map data on the blockchain from one or more monitoring dimensions and obtains the monitoring results under each monitoring dimension, it can be specifically used to:

[0201] Intercept transaction requests awaiting consensus on the blockchain;

[0202] Analyze the transaction request and determine the change information of the palm map data on the blockchain triggered by the transaction request;

[0203] Update the monitoring log according to the change information. The monitoring log is used to record the changes of the palm map data on the blockchain;

[0204] Analyze changes in the updated monitoring log from one or more monitoring dimensions to obtain monitoring results under each monitoring dimension.

[0205] In one embodiment, when the processing unit 602 monitors the changes of the palm map data on the blockchain from one or more monitoring dimensions and obtains the monitoring results under each monitoring dimension, it can be specifically used to:

[0206] Synchronously storing at least one form of palm map data in a cache database;

[0207] Compare the palm image data on the blockchain with the palm image data in the cache database at every preset period;

[0208] If the palm image data on the blockchain is inconsistent with the palm image data in the cache database, then according to the difference between the palm image data on the blockchain and the palm image data in the cache database, the change information of the palm image data on the blockchain within the corresponding preset period is determined;

[0209] Update a monitoring log according to the change information, where the monitoring log is used to record changes in the palm map data on the blockchain;

[0210] Analyze changes in the updated monitoring log from one or more monitoring dimensions to obtain monitoring results under each monitoring dimension.

[0211] In one embodiment, the processing unit 602 is further configured to:

[0212] If the palm map data on the blockchain is inconsistent with the palm map data in the cache database, the palm map data on the blockchain is used to update the palm map data in the cache database.

[0213] In one embodiment, when the processing unit 602 classifies and stores at least one form of palm map data on the blockchain, it can be specifically used to: store at least one form of palm map data on the same blockchain; or store at least one form of palm map data on at least one blockchain respectively, and one form of palm map data corresponds to one blockchain.

[0214] In one embodiment, the target form is any form of palm map data; when the processing unit 602 stores the palm map data of the target form on the target blockchain, it can be specifically used to:

[0215] Store the palm image data of the target form into the message queue asynchronously;

[0216] Read the palm image data of the target form from the message queue asynchronously;

[0217] Store the target palm image data on the target blockchain.

[0218] In one embodiment, the monitoring dimension includes the on-chain rate of the first period, and the monitoring result under the monitoring dimension includes the value of the on-chain rate of the palm map data in the first period; the larger the value of the on-chain rate of the first period, the more the palm map data stored on the blockchain in the first period;

[0219] When the processing unit 602 optimizes the business system based on the monitoring results under each monitoring dimension, it can be specifically used to:

[0220] If the value of the upload rate of the palm map data in the first period is less than the upload rate threshold, increasing the exposure of the palm map function of the business system to which the palm map data is applied;

[0221] If the value of the upload rate of the palm image data in the first time period is greater than the upload rate threshold, the rate of collecting palm images in the business system is increased.

[0222] In one embodiment, the monitoring dimension includes the query volume of the palm map data in the second period, and the monitoring result under the monitoring dimension includes the value of the query volume of the palm map data in the second period. The larger the value of the query volume in the second period, the more the amount of palm map data queried in the second period on the blockchain.

[0223] When the processing unit 602 optimizes the business system based on the monitoring results under each monitoring dimension, it can be specifically used to:

[0224] If the query volume in the second period is greater than the quantity threshold, the volume of concurrently processed services in the business system to which the palm map data is applied is increased.

[0225] In one embodiment, the monitoring dimension includes the amount of increase and the amount of deletion of the palm map data in the third period; the monitoring result under the monitoring dimension includes the value of the amount of increase of the palm map data and the value of the amount of deletion of the palm map data;

[0226] When the processing unit 602 optimizes the business system based on the monitoring results under each monitoring dimension, it can be specifically used to:

[0227] If the amount of palm map data deleted in the third period is greater than the amount of palm map data added in the third period, the palm map function in the business system is improved.

[0228] In one embodiment, the processing unit 602 is further used to optimize the blockchain network where the blockchain is located based on the monitoring results under each monitoring dimension.

[0229] In one embodiment, the monitoring dimension includes the response rate of the node device in the blockchain network to the transaction request, and the monitoring result under the monitoring dimension includes the value of the response rate of the node device to the transaction request; the higher the response rate, the stronger the processing capability of the node device;

[0230] When the processing unit 602 optimizes the blockchain network where the blockchain is located based on the monitoring results under each monitoring dimension, it can be specifically used to:

[0231] If the response rate of any node device in the blockchain network to the transaction request is lower than the rate threshold, the pending transaction requests in the node device whose response rate is lower than the rate threshold will be distributed to other node devices in the blockchain network for response.

[0232] In one embodiment, the business system includes a payment business system, and the processing unit 602 is further used to:

[0233] Receive a payment request, which carries the payment order to be processed and the palm image data of the target object;

[0234] In response to the payment request, detecting whether there is a consensus operation on the palm map data of the target object in the blockchain network where the blockchain is located;

[0235] If it exists, the palm image data of the target object is obtained from the blockchain;

[0236] If the palm image data in the payment request is consistent with the palm image data obtained from the blockchain, the payment order will be processed.

[0237] In one embodiment, the processing unit 602 is further configured to:

[0238] Verify the legitimacy of the collection device corresponding to the palm image;

[0239] If the acquisition device passes the legality verification, the step of parsing the palm image to obtain at least one form of palm image data is performed.

[0240] In an embodiment of the present application, the palm map obtained in the business system will first be analyzed to obtain at least one form of palm map data; the palm map data in at least one form will be classified and stored on the blockchain; in this way, not only can the blockchain be used to uniformly manage various forms of palm map data, but also the decentralization, anti-tampering and other mechanisms of the blockchain can be used to ensure the storage security of various forms of palm map data; secondly, the embodiment of the present application will also monitor the changes in the palm map data on the blockchain from one or more monitoring dimensions to obtain monitoring results under each monitoring dimension; through active monitoring, the data dynamics on the blockchain can be discovered in time, the risk of data tampering can be avoided in time, and data security can be further provided. In addition, the business system is optimized according to the monitoring results under each monitoring dimension, and the business system can be reliably optimized through the monitoring results.

[0241] Next, the computer device involved in the embodiments of the present application is explained.

[0242] Furthermore, the present application embodiment also provides a schematic diagram of the structure of a computer device. The schematic diagram of the structure of the computer device can be found in Figure 7 ; The computer device may be the above Figure 4 or Figure 5 The computer device in the embodiment of the present invention may include: a processor 701, an input device 702, an output device 703 and a memory 704. The processor 701, the input device 702, the output device 703 and the memory 704 are connected via a bus. The memory 704 is used to store a computer program, the computer program includes program instructions, and the processor 701 is used to execute the program instructions stored in the memory 704.

[0243] In the embodiment of the present application, the processor 701 performs the following operations by running the executable program code in the memory 704:

[0244] Acquire a palm image to be processed in the business system, where the palm image is obtained by collecting the hands or feet of an object in the business system through a collection device;

[0245] Analyze the palm image to obtain palm image data of at least one form;

[0246] At least one form of palm map data is classified and stored on the blockchain;

[0247] Monitor the changes of the palm map data on the blockchain from one or more monitoring dimensions to obtain the monitoring results under each monitoring dimension;

[0248] Based on the monitoring results under the various monitoring dimensions, the business system is optimized.

[0249] In one embodiment, the forms of the palm image data include a first form, a second form and a third form;

[0250] The first form of palm image data is an infrared spectrum; the second form of palm image data is a color image; the third form of palm image data is a palm image feature and an identifier of a feature extraction model bound to the palm image feature;

[0251] The feature extraction model bound to the palm image feature refers to a feature extraction model used to extract the palm image feature.

[0252] In one embodiment, a monitoring script is deployed in the blockchain. When the processor 701 monitors the changes of the palm map data on the blockchain from one or more monitoring dimensions and obtains the monitoring results under each monitoring dimension, it can be specifically used to:

[0253] Run monitoring scripts in the blockchain;

[0254] When the palm map data on the blockchain changes, the change information is obtained based on the monitoring script;

[0255] Update the monitoring log according to the change information, where the monitoring log is used to record the changes of the palm map data on the blockchain;

[0256] Analyze changes in the updated monitoring log from one or more monitoring dimensions to obtain monitoring results under each monitoring dimension.

[0257] In one embodiment, at least one form of palm image data is carried in a transaction request. When the transaction request passes the blockchain consensus, at least one form of palm image data is stored on the blockchain.

[0258] When the processor 701 monitors the changes of the palm map data on the blockchain from one or more monitoring dimensions and obtains the monitoring results under each monitoring dimension, it can be specifically used to:

[0259] Intercept transaction requests awaiting consensus on the blockchain;

[0260] Analyze the transaction request and determine the change information of the palm map data on the blockchain triggered by the transaction request;

[0261] Update a monitoring log according to the change information, where the monitoring log is used to record changes in the palm map data on the blockchain;

[0262] Analyze changes in the updated monitoring log from one or more monitoring dimensions to obtain monitoring results under each monitoring dimension.

[0263] In one embodiment, when the processor 701 monitors the changes of the palm map data on the blockchain from one or more monitoring dimensions and obtains the monitoring results under each monitoring dimension, it can be specifically used to:

[0264] Synchronously storing at least one form of palm map data in a cache database;

[0265] Compare the palm image data on the blockchain with the palm image data in the cache database at every preset period;

[0266] If the palm image data on the blockchain is inconsistent with the palm image data in the cache database, then according to the difference between the palm image data on the blockchain and the palm image data in the cache database, the change information of the palm image data on the blockchain within the corresponding preset period is determined;

[0267] Update the monitoring log according to the change information. The monitoring log is used to record the changes of the palm map data on the blockchain;

[0268] Analyze changes in the updated monitoring log from one or more monitoring dimensions to obtain monitoring results under each monitoring dimension.

[0269] In one embodiment, the processor 701 is further configured to update the palm image data in the cache database with the palm image data on the blockchain if the palm image data on the blockchain is inconsistent with the palm image data in the cache database.

[0270] In one embodiment, when the processor 701 stores at least one form of palm map data in a classified manner on a blockchain, it can be specifically used to: store at least one form of palm map data on the same blockchain; or,

[0271] At least one form of palm map data is stored on at least one blockchain, and one form of palm map data corresponds to one blockchain.

[0272] In one embodiment, the target form is any form of palm map data; when the processor 701 stores the palm map data of the target form on the target blockchain, it can be specifically used to:

[0273] Store the palm image data of the target form into the message queue asynchronously;

[0274] Read the palm image data of the target form from the message queue asynchronously;

[0275] Store the target palm image data on the target blockchain.

[0276] In one embodiment, the monitoring dimension includes the on-chain rate of the first period, and the monitoring result under the monitoring dimension includes the value of the on-chain rate of the palm map data in the first period; the larger the value of the on-chain rate of the first period, the more the palm map data stored on the blockchain in the first period;

[0277] When the processor 701 optimizes the business system based on the monitoring results under each monitoring dimension, it can be specifically used to:

[0278] If the value of the upload rate of the palm map data in the first period is less than the upload rate threshold, the exposure of the palm map function of the business system is increased;

[0279] If the value of the upload rate of the palm image data in the first time period is greater than the upload rate threshold, the rate of collecting palm images in the business system is increased.

[0280] In one embodiment, the monitoring dimension includes the query volume of the palm map data in the second period, and the monitoring result under the monitoring dimension includes the value of the query volume of the palm map data in the second period. The larger the value of the query volume in the second period, the more the amount of palm map data queried in the second period on the blockchain.

[0281] When the processor 701 optimizes the business system based on the monitoring results under each monitoring dimension, it can be specifically used to:

[0282] If the value of the query volume in the second time period is greater than the quantity threshold, the business volume of concurrently processed businesses in the business system is increased.

[0283] In one embodiment, the monitoring dimension includes the amount of increase and the amount of deletion of the palm map data in the third period; the monitoring result under the monitoring dimension includes the value of the amount of increase of the palm map data and the value of the amount of deletion of the palm map data;

[0284] When the processor 701 optimizes the business system based on the monitoring results under each monitoring dimension, it can be specifically used to:

[0285] If the amount of palm map data deleted in the third period is greater than the amount of palm map data added in the third period, the palm map function in the business system is improved.

[0286] In one embodiment, the processor 701 is further configured to:

[0287] Based on the monitoring results under the various monitoring dimensions, the blockchain network where the blockchain is located is optimized.

[0288] In one embodiment, the monitoring dimension includes the response rate of the node device in the blockchain network to the transaction request, and the monitoring result under the monitoring dimension includes the value of the response rate of the node device to the transaction request; the higher the response rate, the stronger the processing capability of the node device;

[0289] When the processor 701 optimizes the blockchain network where the blockchain is located according to the monitoring results, it can be specifically used to:

[0290] If the response rate of any node device in the blockchain network to the transaction request is lower than the rate threshold, the pending transaction requests in the node device whose response rate is lower than the rate threshold will be distributed to other node devices in the blockchain network for response.

[0291] In one embodiment, the business system includes a payment business system, and the processor 701 is further configured to:

[0292] Receive a payment request, which carries the payment order to be processed and the palm image data of the target object;

[0293] In response to the payment request, detecting whether there is a consensus operation on the palm map data of the target object in the blockchain network where the blockchain is located;

[0294] If it exists, the palm image data of the target object is obtained from the blockchain;

[0295] If the palm image data in the payment request is consistent with the palm image data obtained from the blockchain, the payment order will be processed.

[0296] In one embodiment, the processor 701 is further configured to:

[0297] Verify the legitimacy of the collection device corresponding to the palm image;

[0298] If the acquisition device passes the legality verification, the step of parsing the palm image to obtain at least one form of palm image data is performed.

[0299] In an embodiment of the present application, the palm map obtained in the business system will first be analyzed to obtain at least one form of palm map data; the palm map data in at least one form will be classified and stored on the blockchain; in this way, not only can the blockchain be used to uniformly manage various forms of palm map data, but also the decentralization, anti-tampering and other mechanisms of the blockchain can be used to ensure the storage security of various forms of palm map data; secondly, the embodiment of the present application will also monitor the changes in the palm map data on the blockchain in one or more monitoring dimensions to obtain monitoring results under each monitoring dimension; through active monitoring, the data dynamics on the blockchain can be discovered in time, the risk of data tampering can be avoided in time, and data security can be further provided. In addition, the business system is optimized according to the monitoring results under each monitoring dimension, and the business system can be reliably optimized through the monitoring results to improve the optimization accuracy of the business system.

[0300] In addition, it should be pointed out here that: the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the processor executes the above computer program, it can execute the above Figure 4 and Figure 5 The method in the corresponding embodiment. For technical details and beneficial effects not disclosed in the computer-readable storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application, which will not be repeated here. As an example, the computer program can be deployed on a computer device for execution, or on multiple computer devices located in one location, or on multiple computer devices distributed in multiple locations and interconnected by a communication network.

[0301] According to one aspect of the present application, a computer program product is provided, the computer program product comprising a computer program, the computer program being storable in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, so that the computer device can perform the above Figure 4 and Figure 5 For the methods in the corresponding embodiments, for the technical details and beneficial effects not disclosed in the computer program product embodiments involved in this application, please refer to the description of the method embodiments of this application, which will not be repeated here.

[0302] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0303] What is disclosed above is only a preferred embodiment of the present invention, and it certainly cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiment and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.

Claims

1. A data processing method, characterized in that: include: Acquire a palm image to be processed in a business system, where the palm image is obtained by collecting a hand or a foot of an object in the business system through a collection device; The palm map is parsed to obtain palm map data of at least one form; the forms of the palm map data include a first form, a second form and a third form; the palm map data of the first form is an infrared spectrum; the palm map data of the second form is a color map; the palm map data of the third form is a palm map feature and an identifier of a feature extraction model bound to the palm map feature; Classify and store the at least one form of palm image data on the blockchain; Monitor the palm map data on the blockchain in accordance with at least one monitoring method to obtain change information; the monitoring method includes a script monitoring method, a transaction request analysis method, and a data comparison method; Divide the change information according to one or more monitoring dimensions, and record the change information under each monitoring dimension obtained by the division into a corresponding monitoring log; One monitoring log corresponds to one monitoring dimension, and one monitoring log is used to record the changes of the palm map data on the blockchain under the corresponding monitoring dimension; the monitoring log is stored in a secure area; the monitoring dimension includes at least one of the following: the on-chain rate in the first period, the query volume of the palm map data in the second period, and the increase and deletion volume of the palm map data in the third period; Analyze the changes in the palm map data recorded in the monitoring log corresponding to each of the monitoring dimensions to obtain the monitoring results under each monitoring dimension; Based on the monitoring results under the various monitoring dimensions, the business system is optimized; The monitoring results under each monitoring dimension are used to indicate the optimization processing direction of the business system, and the monitoring result corresponding to the link-up rate in the first time period is used to indicate the optimization processing of the attributes of the palm map function of the business system; The monitoring result corresponding to the query volume of the palm map data in the second time period is used to indicate to optimize the concurrent processing of the business system; The monitoring results corresponding to the amount of increase and deletion of the palm map data in the third time period are used to indicate the optimization of the use of the palm map function of the business system.

2. The method according to claim 1, characterized in that The feature extraction model bound to the palm image feature refers to a feature extraction model used to extract the palm image feature.

3. The method according to claim 1, characterized in that The monitoring method includes a script monitoring method, a monitoring script is deployed in the blockchain, and the palm map data on the blockchain is monitored according to at least one monitoring method to obtain change information, including: Running the monitoring script in the blockchain; When the palm map data on the blockchain changes, the change information is obtained based on the monitoring script.

4. The method according to claim 1, characterized in that The monitoring method includes a method of analyzing a transaction request, wherein the at least one form of palm image data is carried in the transaction request, and when the transaction request passes the blockchain consensus, the at least one form of palm image data is stored on the blockchain; The monitoring of the palm map data on the blockchain in accordance with at least one monitoring method to obtain change information includes: Intercepting transaction requests awaiting consensus on the blockchain; The transaction request is analyzed to determine the change information of the palm map data on the blockchain triggered by the transaction request.

5. The method according to claim 1, characterized in that The monitoring method includes a data comparison method, and the monitoring of the palm map data on the blockchain according to at least one monitoring method to obtain change information includes: Synchronously storing the at least one form of palm image data in a cache database; Comparing the palm image data on the blockchain with the palm image data in the cache database at every preset period; If the palm map data on the blockchain is inconsistent with the palm map data in the cache database, the change information of the palm map data on the blockchain within the corresponding preset period is determined based on the difference between the palm map data on the blockchain and the palm map data in the cache database.

6. The method according to claim 5, characterized in that The method further comprises: If the palm image data on the blockchain is inconsistent with the palm image data in the cache database, the palm image data on the blockchain is used to update the palm image data in the cache database.

7. The method according to claim 1, characterized in that The storing of the at least one form of palm map data in a classified manner on the blockchain includes: storing the palm image data in the at least one form on the same blockchain; or, The at least one form of palm map data is stored on at least one blockchain respectively, and one form of palm map data corresponds to one blockchain.

8. The method according to claim 7, characterized in that The target form is any form of the palm map data; storing the palm map data of the target form on the target blockchain includes: Store the palm image data of the target form into the message queue asynchronously; Reading the palm image data of the target form from the message queue in an asynchronous manner; The palm image data of the target form is stored on the target blockchain.

9. The method according to claim 1, characterized in that The monitoring dimension includes the on-chain rate of the first period, and the monitoring result under the monitoring dimension includes the value of the on-chain rate of the palm map data in the first period; the larger the value of the on-chain rate of the first period, the more the palm map data stored on the blockchain in the first period; The optimizing process of the business system based on the monitoring results under each monitoring dimension includes: If the value of the upload rate of the palm map data in the first time period is less than the upload rate threshold, increasing the exposure of the palm map function of the business system; If the value of the upload rate of the palm map data in the first time period is greater than the upload rate threshold, the rate of collecting palm maps in the business system is increased.

10. The method according to claim 1, characterized in that The monitoring dimension includes the query volume of the palm map data in the second period, and the monitoring result under the monitoring dimension includes the value of the query volume of the palm map data in the second period, and the larger the value of the query volume in the second period, the more the palm map data queried in the second period on the blockchain is; The optimizing process of the business system based on the monitoring results under each monitoring dimension includes: If the value of the query volume in the second time period is greater than the quantity threshold, the business volume of concurrently processed businesses in the business system is increased.

11. The method according to claim 1, characterized in that The monitoring dimension includes the amount of increase and the amount of deletion of the palm map data in the third period; the monitoring result under the monitoring dimension includes the value of the amount of increase of the palm map data and the value of the amount of deletion of the palm map data; The optimizing process of the business system based on the monitoring results under each monitoring dimension includes: If the amount of palm map data deleted in the third time period is greater than the amount of palm map data added in the third time period, the palm map function in the business system is improved.

12. The method according to claim 1, characterized in that The method further comprises: Based on the monitoring results under the various monitoring dimensions, the blockchain network where the blockchain is located is optimized.

13. The method according to claim 12, characterized in that The monitoring dimension includes the response rate of the node device in the blockchain network to the transaction request, and the monitoring result under the monitoring dimension includes the value of the response rate of the node device to the transaction request; the higher the response rate, the stronger the processing capability of the node device; The optimizing process of the blockchain network where the blockchain is located based on the monitoring results under each monitoring dimension includes: If the response rate of any node device in the blockchain network to the transaction request is lower than the rate threshold, the transaction requests to be processed in the node device whose response rate is lower than the rate threshold are distributed to other node devices in the blockchain network for response.

14. The method according to claim 1, wherein: The business system includes a payment business system, and the method further includes: receiving a payment request, wherein the payment request carries a payment order to be processed and palm image data of a target object; In response to the payment request, detecting whether there is a consensus operation on the palm map data of the target object in the blockchain network where the blockchain is located; If so, obtaining the palm image data of the target object from the blockchain; If the palm image data in the payment request is consistent with the palm image data obtained from the blockchain, payment processing is performed on the payment order.

15. The method according to claim 1, wherein: The method further comprises: Verifying the legitimacy of the collection device corresponding to the palm image; If the acquisition device passes the legality verification, the step of parsing the palm image to obtain at least one form of palm image data is performed.

16. A data processing device, characterized in that: include: An acquisition unit, used for acquiring a palm image to be processed in a business system, wherein the palm image is acquired by acquiring a hand or a foot of an object in the business system through an acquisition device; a processing unit, configured to analyze the palm map to obtain palm map data in at least one form; the forms of the palm map data include a first form, a second form and a third form; the palm map data in the first form is an infrared spectrum; the palm map data in the second form is a color map; the palm map data in the third form is a palm map feature and an identifier of a feature extraction model bound to the palm map feature; The processing unit is further used to classify and store the at least one form of palm image data on the blockchain; The processing unit is further used to monitor the palm map data on the blockchain in accordance with at least one monitoring method to obtain change information; the monitoring method includes a script monitoring method, a transaction request analysis method, and a data comparison method; The processing unit is further used to divide the change information according to one or more monitoring dimensions, and record the change information under each monitoring dimension obtained by the division into a corresponding monitoring log; one monitoring log corresponds to one monitoring dimension, and one monitoring log is used to record the change of the palm map data on the blockchain under the corresponding monitoring dimension; the monitoring log is stored in a secure area; the monitoring dimension includes at least one of the following: the on-chain rate in the first period, the query volume of the palm map data in the second period, and the increase and deletion volume of the palm map data in the third period; The processing unit is further used to analyze the changes in the palm map data recorded in the monitoring log corresponding to each monitoring dimension to obtain the monitoring results under each monitoring dimension; The processing unit is further used to optimize the business system based on the monitoring results under each monitoring dimension; The monitoring results under each monitoring dimension are used to indicate the optimization processing direction of the business system, and the monitoring result corresponding to the link-up rate in the first time period is used to indicate the optimization processing of the attributes of the palm map function of the business system; The monitoring result corresponding to the query volume of the palm map data in the second time period is used to indicate to optimize the concurrent processing of the business system; The monitoring results corresponding to the amount of increase and deletion of the palm map data in the third time period are used to indicate the optimization of the use of the palm map function of the business system.

17. A computer device, characterized in that: include: a processor suitable for executing a computer program; A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the data processing method according to any one of claims 1 to 15 is executed.

18. A computer-readable storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by a processor, the data processing method according to any one of claims 1 to 15 is executed.

19. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the data processing method according to any one of claims 1 to 15 is implemented.

Citation Information

Patent Citations

  • Low-resolution multi-spectral palm print and palm vein real-time identity recognition method and system

    CN103793692A

  • Management and control measure adjustment method and device based on block chain, medium and equipment

    CN110490597A

  • Method and device for controlling flow in blockchain network, storage medium and equipment

    CN110601995A

  • Property security and protection monitoring method and system based on block chain technology, device and storage medium

    CN113887307A

  • Method and device for improving block chain data throughput based on asynchronous mode, and medium

    CN115062091A