CN118038500A - Data processing method and related device - Google Patents

Data processing method and related device Download PDF

Info

Publication number
CN118038500A
CN118038500A CN202211420551.4A CN202211420551A CN118038500A CN 118038500 A CN118038500 A CN 118038500A CN 202211420551 A CN202211420551 A CN 202211420551A CN 118038500 A CN118038500 A CN 118038500A
Authority
CN
China
Prior art keywords
palm print
image
shared
initiating
fusion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211420551.4A
Other languages
Chinese (zh)
Inventor
张镇鸿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202211420551.4A priority Critical patent/CN118038500A/en
Publication of CN118038500A publication Critical patent/CN118038500A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1347Preprocessing; Feature extraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/764Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/77Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
    • G06V10/80Fusion, i.e. combining data from various sources at the sensor level, preprocessing level, feature extraction level or classification level
    • G06V10/806Fusion, i.e. combining data from various sources at the sensor level, preprocessing level, feature extraction level or classification level of extracted features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1365Matching; Classification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
    • H04L9/3231Biological data, e.g. fingerprint, voice or retina

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Medical Informatics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Biomedical Technology (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to the technical field of computers, and provides a data processing method and a related device, which are used for improving the object viscosity of palmprint business so as to provide more refined service for different object groups, wherein the method comprises the following steps: in the embodiment of the application, after a sharing operation triggered by an initiating object aiming at least one object to be shared is performed, when it is determined that palm print fusion authorization of the at least one object to be shared is obtained, respective palm print images of the at least one object to be shared are obtained, then, based on respective image fusion sequences of the initiating object and the at least one object to be shared, respective second palm print images of the initiating object and the at least one object to be shared are fused to obtain corresponding fused images, and finally, based on the obtained fused images, the corresponding NFT is obtained. In this way, NFT can be generated interactively between different objects.

Description

Data processing method and related device
Technical Field
The application relates to the technical field of computers, and provides a data processing method and a related device.
Background
With the development of computer technology, palm print recognition technology is increasingly widely applied, and can be applied to various scenes, such as a payment scene or a business card punching scene.
In the related art, in a palmprint service using palmprint recognition technology, identity verification is generally performed through palmprint recognition. However, the operability of the palmprint service is poor, and it is difficult to excite the use enthusiasm of the target object, so that object stickiness is difficult to generate, different object groups cannot be accumulated, and further it is difficult to provide more refined services for the different object groups.
Disclosure of Invention
The embodiment of the application provides a data processing method and a related device, which are used for improving the object viscosity of palm print business so as to provide finer services for different object groups.
In a first aspect, an embodiment of the present application provides a data processing method, including:
responding to a palmprint registration operation triggered by an initiating object, and acquiring a first palmprint image of the initiating object;
responding to a sharing operation triggered by the initiating object aiming at least one object to be shared, and acquiring respective second palmprint images of the at least one object to be shared when the palmprint fusion authorization of the at least one object to be shared is determined to be acquired;
based on the image fusion sequence corresponding to the initiating object and the at least one object to be shared, fusing the first palmprint image and the acquired at least one second palmprint image to obtain respective fused images of the initiating object and the at least one object to be shared;
Based on the obtained fusion images, obtaining the respective non-homogeneous universal NFT of the initiating object and the at least one object to be shared.
In a second aspect, an embodiment of the present application provides a data processing apparatus, including:
the registration unit is used for responding to the palmprint registration operation triggered by the initiating object and acquiring a first palmprint image of the initiating object;
The authorization unit is used for responding to the sharing operation triggered by the initiating object aiming at the at least one object to be shared, and when the fact that the palm print fusion authorization of the at least one object to be shared is acquired is determined, acquiring respective second palm print images of the at least one object to be shared;
The fusion unit is used for fusing the first palmprint image and the acquired at least one second palmprint image based on the image fusion sequence corresponding to the initiating object and the at least one object to be shared respectively, so as to obtain fusion images of the initiating object and the at least one object to be shared respectively;
The generating unit is used for obtaining the non-homogeneous certification NFT of each of the initiating object and the at least one object to be shared based on each obtained fusion image.
As a possible implementation, the fusion unit is further configured to:
acquiring an initial fusion sequence between the initiating object and the at least one object to be shared;
for the initiating object and the at least one object to be shared, respectively executing the following operations:
and when the position of the target object in the initial fusion sequence is determined to be not a set position, adjusting the target object to the set position, and taking the adjusted initial fusion sequence as the image fusion sequence of the target object.
As a possible implementation manner, when the initial fusion sequence between the initiating object and the at least one object to be shared is obtained, the fusion unit is specifically configured to:
acquiring an initial fusion sequence between the initiating object and the at least one object to be shared based on respective fusion authorization time of the at least one object to be shared; or alternatively
And responding to the input operation triggered by the initiating object and the at least one object to be shared, and obtaining the initial fusion sequence of the respective input of the initiating object and the at least one object to be shared.
As a possible implementation manner, based on the image fusion sequence corresponding to the initiating object, the fusion unit is specifically configured to, when obtaining a fused image of the initiating object, fuse the first palmprint image and the acquired at least one second palmprint image:
directly splicing the first palm print image and the acquired at least one second palm print image according to the image fusion sequence corresponding to the initiating object to obtain a fusion image of the initiating object; or alternatively
And presenting the first palm print image to the initiating object, responding to image editing operation triggered by the initiating object on the first palm print image, acquiring the edited first palm print image, and splicing the edited first palm print image and the acquired at least one second palm print image to acquire a fusion image of the initiating object.
As a possible implementation manner, when the responding to the palm print registration operation triggered by the initiating object and acquiring the first palm print image of the initiating object, the registration unit is specifically configured to:
responding to a palmprint registration operation triggered by an initiating object, and acquiring a palmprint image to be detected input by the initiating object;
And when the fact that the palm print image to be detected does not exist in each reference palm print image is determined, the palm print image to be detected is used as a first palm print image of the initiating object.
As a possible implementation manner, when it is determined that the palm print image to be detected does not exist in each reference palm print, the registration unit is specifically configured to:
extracting features of the palm print image to be detected to obtain first palm print features corresponding to the palm print image to be detected;
And acquiring second palm print characteristics corresponding to each reference palm print, and determining that the palm print image to be detected does not exist in each reference palm print when the similarity between the first palm print characteristics and each second palm print characteristics is smaller than a preset similarity threshold value.
As a possible implementation manner, when the NFT of the initiating object is obtained based on the fused image of the initiating object, the generating unit is specifically configured to:
Acquiring image attribute information of the fusion image of the initiating object, and adding the image attribute information into an intelligent contract;
Deploying the intelligent contract to each node in a target blockchain, so that each node generates an NFT (network File transfer) by executing the intelligent contract, and returning a storage address of the NFT and an NFT private key, wherein the NFT private key is used for representing that the initiating object holds the NFT;
And receiving a storage address and an NFT private key of the NFT returned by any node in the target block chain, and obtaining the NFT of the initiating object based on the storage address and the NFT private key of the NFT.
As a possible implementation manner, the response to the sharing operation triggered by the initiating object for at least one object to be shared, when determining that the palm print fusion authorization of the at least one object to be shared is obtained, the authorization unit is specifically configured to:
If the initiating object and the at least one object to be shared are located in the same group, a fusion authorization message is sent in the group in response to a sharing operation triggered by the initiating object for the at least one object to be shared;
and when receiving the authorization notification of each of the at least one object to be shared within a set time length, determining that the palm print fusion authorization of the at least one object to be shared is acquired, and acquiring a second palm print image of each of the at least one object to be shared.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, where the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the data processing method described above.
In a fourth aspect, an embodiment of the present application provides a computer readable storage medium comprising a computer program for causing an electronic device to perform the steps of the above-described data processing method when the computer program is run on the electronic device.
In a fifth aspect, embodiments of the present application provide a computer program product comprising a computer program stored in a computer readable storage medium, from which a processor of an electronic device reads and executes the computer program, causing the electronic device to perform the steps of the data processing method described above.
In the embodiment of the application, after a sharing operation triggered by an initiating object aiming at least one object to be shared is performed, when it is determined that palm print fusion authorization of the at least one object to be shared is obtained, respective palm print images of the at least one object to be shared are obtained, then, based on respective image fusion sequences of the initiating object and the at least one object to be shared, respective second palm print images of the initiating object and the at least one object to be shared are fused to obtain corresponding fused images, and finally, based on the obtained fused images, the corresponding non-homogeneous universal NFT is obtained.
In this way, after the palm print fusion authorization of the object to be shared is obtained, the object to be shared and the initiating object can both obtain the NFT fused with the palm print image of the initiating object and each object to be shared, and the NFT is stimulated to be generated mutually between different objects, so that the registration amount of the palm brushing business based on the palm brushing identification is improved, meanwhile, the object viscosity is improved, different object groups are accumulated, different object groups are oriented, and more refined service is provided.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
FIG. 2 is a block chain architecture diagram according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a block according to an embodiment of the present application;
FIG. 4 is a flow chart of a data processing method according to an embodiment of the present application;
FIG. 5 is a flowchart of a first palm print image acquisition method according to an embodiment of the present application;
FIG. 6 is a logic diagram of a similarity comparison provided in an embodiment of the present application;
FIG. 7 is a schematic diagram of a data store according to an embodiment of the present application;
FIG. 8 is a schematic diagram of an operation interface according to an embodiment of the present application;
FIG. 9 is a schematic diagram of another operation interface according to an embodiment of the present application;
FIG. 10 is a logic diagram of generating a fused image according to an embodiment of the present application;
Fig. 11 is a schematic diagram of another application scenario provided in an embodiment of the present application;
FIG. 12 is a schematic diagram of a data processing apparatus according to an embodiment of the present application;
Fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the technical solutions of the present application, but not all embodiments. All other embodiments, based on the embodiments described in the present document, which can be obtained by a person skilled in the art without any creative effort, are within the scope of protection of the technical solutions of the present application.
Electronic resource transfer: refers to the manner in which electronic resources are transferred to complete a particular transaction. For example, the payment object a logs in the device a by using its own account at 13:48 of 21 st 2021, and pays 5 yuan to the merchant for purchasing a jin of apples, and the electronic resource transferring process is involved in the process. The device a is an electronic device used by the payment object a, and the electronic device may be a personal computer, a mobile phone, a tablet computer, a notebook, an electronic book reader, an intelligent home, or other computer devices with a certain computing capability and supporting electronic payment.
Non-homogeneous communication (Non-Fungible Token, NFT): NFT is a trusted digital rights voucher with unique characteristics in a blockchain network, which is a data object that can record and process multidimensional, complex attributes on a blockchain.
With the development of computer technology, palm print recognition technology is increasingly widely applied, and can be applied to various scenes, such as a payment scene or a business card punching scene.
In the related art, in a palmprint service using palmprint recognition technology, identity verification is generally performed through palmprint recognition. However, the operability of the palmprint service is poor, and it is difficult to excite the use enthusiasm of the target object, so that object stickiness is difficult to generate, different object groups cannot be accumulated, and further it is difficult to provide more refined services for the different object groups.
In the embodiment of the application, after a sharing operation triggered by an initiating object aiming at least one object to be shared is performed, when it is determined that palm print fusion authorization of the at least one object to be shared is obtained, respective palm print images of the at least one object to be shared are obtained, then, based on respective image fusion sequences of the initiating object and the at least one object to be shared, respective second palm print images of the initiating object and the at least one object to be shared are fused to obtain corresponding fused images, and finally, based on the obtained fused images, the corresponding non-homogeneous universal NFT is obtained.
In this way, after the palm print fusion authorization of the object to be shared is obtained, the object to be shared and the initiating object can both obtain the NFT fused with the palm print image of the initiating object and each object to be shared, and the NFT is stimulated to be generated mutually between different objects, so that the registration amount of the palm brushing business based on the palm brushing identification is improved, meanwhile, the object viscosity is improved, different object groups are accumulated, different object groups are oriented, and more refined service is provided.
It will be appreciated that in the specific embodiments of the present application, data relating to palm print images, palm print features, etc. is required to be licensed or agreed upon by the user when the above embodiments of the present application are applied to specific products or techniques, and the collection, use and processing of the relevant data is required to comply with relevant laws and regulations and standards of the relevant countries and regions.
The following description is made for some simple descriptions of application scenarios applicable to the technical solution of the embodiment of the present application, and it should be noted that the application scenarios described below are only used for illustrating the embodiment of the present application, but not limiting. In the specific implementation process, the technical scheme provided by the embodiment of the application can be flexibly applied according to actual needs.
The scheme provided by the embodiment of the application can be applied to various scenes such as cloud technology, artificial intelligence, intelligent traffic and the like, for example, electronic resource transfer scenes, business-on and business-off card punching scenes, login recognition scenes and the like which support palm-brushing recognition.
Taking an electronic resource transfer scenario as an example, referring to fig. 1, an application scenario schematic diagram provided in an embodiment of the present application may include a resource transfer terminal device 101, a resource transfer server 102, and a blockchain 103.
In one embodiment, the resource transferring terminal device 101 may be, for example, a device owned by the resource transferring object, such as a mobile phone, a tablet computer (PAD), a notebook computer, a desktop computer, a smart television, a smart car-mounted device, and a smart wearable device. The resource transfer terminal device 101 may be provided with an application supporting palm recognition, for example, an electronic resource transfer application, where the application related to the embodiment of the present application may be a software client, or may be a client such as a web page or an applet, and the server is a background server corresponding to the software, the web page or the applet, and the specific type of the client is not limited.
In another embodiment, the resource transfer terminal apparatus 101 may also be an apparatus owned by the resource receiving object, such as a palm payment apparatus of a store. Likewise, it may also be installed with an electronic resource transfer application.
Regardless of the type of terminal device the resource transfer terminal device 101 is, it comprises image acquisition means. The image acquisition device may be a camera with infrared radiation.
The resource transfer server 102 may be a background server corresponding to an electronic resource transfer application installed on the resource transfer terminal device 101, and may provide a background service function of the electronic resource transfer system, for example, implement the steps of the data processing method provided by the embodiment of the present application. The resource transfer server 102 may be, for example, an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, i.e., a content distribution network (Content Delivery Network, CDN), basic cloud computing services such as big data and an artificial intelligence platform, but is not limited thereto.
In one embodiment, the resource transfer server 102 may include one or more processors 1021, memory 1022, and I/O interfaces 1023, etc. that interact with the terminals. In addition, the resource transfer server 102 may also configure a database 1024, and the database 1024 may be used to store one or more of palm print images and their corresponding palm print features, etc. The memory 1022 of the resource transfer server 102 may further store program instructions of the data processing method provided in the embodiment of the present application, where the program instructions, when executed by the processor 1021, can be used to implement steps of the data processing method provided in the embodiment of the present application, so as to implement an NFT generation process of a palmprint image.
The resource transfer terminal device 101, the resource transfer server 102, and the blockchain 103 may be directly or indirectly connected through one or more communication networks. The communication network may be a wired network or a wireless network. For example, the Wireless network may be a mobile cellular network, or may be a Wireless-Fidelity (WIFI) network, although other possible networks are possible, without limitation.
It should be noted that, in the embodiment of the present application, the number of the resource transfer terminal devices 101 may be one or more, and similarly, the number of the resource transfer servers 102 may be one or more, that is, the number of the resource transfer terminal devices 101 and the number of the resource transfer servers 102 are not limited.
In one implementation, relevant data (such as palm print images, palm print features, etc.) related to the embodiments of the present application may be stored using cloud storage (closed storage) technology. Cloud storage is a new concept which extends and develops in the concept of cloud computing, and a distributed cloud storage system refers to a storage system which integrates a large number of storage devices (or called storage nodes) of different types in a network through application software or application interfaces to cooperatively work and jointly provides data storage and service access functions for the outside through functions of cluster application, grid technology, a distributed storage file system and the like.
In one embodiment, in order to reduce the communication delay of the retrieval, the resource transfer servers 102 may be deployed in each region, or for load balancing, different resource transfer servers 102 may serve resource transfer terminal devices 101 in different regions, for example, the resource transfer terminal device 101 is located at a site a, a communication connection is established with the resource transfer server 102 serving the site a, the resource transfer terminal device 101 is located at a site b, a communication connection is established with the resource transfer server 102 serving the site b, and multiple resource transfer servers 102 form a data sharing system, which may implement sharing of data through a blockchain by way of example.
The blockchain 103 is used To generate and store NFT, referring To fig. 2, which is an optional structural schematic diagram of a blockchain system provided in an embodiment of the present application, where the blockchain 103 is formed by a plurality of nodes (any form of computing devices in an access network, such as servers and user terminals) and clients, and a Peer-To-Peer (P2P) network is formed between the nodes, and the P2P protocol is an application layer protocol running on top of a transmission control protocol (Transmission Control Protocol, TCP) protocol. In a distributed system, any machine, such as a server, a terminal, may join to become a node, including a hardware layer, an intermediate layer, an operating system layer, and an application layer.
Referring to the functionality of each node in the blockchain system shown in fig. 2, the functions involved include:
1) The routing, the node has basic functions for supporting communication between nodes.
Besides the routing function, the node can also have the following functions:
2) The application is used for being deployed in a block chain to realize specific service according to actual service requirements, recording data related to the realization function to form recorded data, carrying a digital signature in the recorded data to represent the source of task data, sending the recorded data to other nodes in the block chain system, and adding the recorded data into a temporary block when the source and the integrity of the recorded data are verified by the other nodes.
For example, the services implemented by the application include:
2.1 Wallet for providing electronic money transactions, including initiating a transaction (i.e., sending a transaction record of the current transaction to other nodes in the blockchain system, the other nodes, after verification, storing record data of the transaction in a temporary block of the blockchain in response to acknowledging that the transaction is valid; of course, the wallet also supports inquiry of remaining electronic money in the electronic money address;
2.2 The shared account book is used for providing the functions of storing, inquiring, modifying and the like of account data, sending record data of the operation on the account data to other nodes in the blockchain system, and after the other nodes verify to be effective, storing the record data into a temporary block as a response for acknowledging that the account data is effective, and also sending confirmation to the node initiating the operation.
2.3 A computerized agreement that can execute the terms of a contract, implemented by code deployed on a shared ledger for execution when certain conditions are met, for completing automated transactions based on actual business demand codes, such as querying the physical distribution status of the goods purchased by the buyer, transferring the electronic resources of the buyer to the merchant's address after the buyer signs for the goods; of course, smart contracts are not limited to executing contracts for transactions, but may also perform processing of received information, such as generating NFTs.
3) The blockchain comprises a series of blocks (blocks) which are connected with each other according to the generated sequence time, the new blocks are not removed once being added into the blockchain, and record data submitted by nodes in the blockchain system are recorded in the blocks.
Referring to fig. 3, an optional Block Structure (Block Structure) is shown in an embodiment of the present invention, where each Block includes a hash value of a transaction record stored in the Block (hash value of the Block) and a hash value of a previous Block, and each Block is connected by the hash value to form a Block chain. In addition, the block may include information such as a time stamp at the time of block generation. The blockchain (Blockchain) is essentially a de-centralized database, which is a string of data blocks that are generated in association using cryptographic methods, each of which contains associated information that is used to verify the validity (anti-counterfeiting) of its information and to generate the next block.
Of course, the method provided by the embodiment of the present application is not limited to the application scenario shown in fig. 1, but may be used in other possible application scenarios, and the embodiment of the present application is not limited. The functions that can be implemented by each device in the application scenario shown in fig. 1 will be described together in the following method embodiments, which are not described in detail herein.
The flow of the data processing method provided in the embodiments of the present application may be executed by the resource transfer server 102 or the resource transfer terminal device 101 in fig. 1, or may be executed by both the resource transfer server 102 and the resource transfer terminal device 101, and the description is mainly given here by taking the resource transfer terminal device 101 as an example.
Referring to fig. 4, a flow chart of a data processing method provided in an embodiment of the present application is shown, the flow chart is applied to an electronic device, where the electronic device may be a terminal device or a server that initiates an object, and the specific flow chart is as follows:
S401, responding to a palmprint registration operation triggered by an initiating object, and acquiring a first palmprint image of the initiating object.
Taking electronic resource transfer as an example, particularly a palm-brushing payment technology in electronic payment technology, it refers to a mechanism that can complete identity confirmation and payment of a payment object by scanning a palm.
When the user registers to open the palm-brushing payment service, the electronic device may collect a palm print image of the user through the camera, and the palm print image may be red-green-blue (RGB) three-color image data or (Infrared, IR) image data, but is not limited thereto.
In the embodiment of the application, an object initiating the fusion of the palm print images is called an initiating object, an object participating in the fusion of the palm print images is called an object to be shared, the palm print images stored after successful registration are called reference images, the first palm print image is the reference image of the initiating object, and the second palm print image is the reference image of the object to be shared. The object may be a user or an account, but is not limited thereto, and is described herein by way of example only.
In order to ensure that a unique tamper-proof NFT is generated, when palm print registration is performed, the palm print image to be registered can be subjected to uniqueness verification by determining that the palm print image to be registered belongs to an unregistered palm print image. Referring to fig. 5, in performing S401, the following steps may be employed, but are not limited to:
S4011, responding to a palmprint registration operation triggered by an initiating object, and acquiring a palmprint image to be detected, which is input by the initiating object. The palm print image to be detected, which is input by the initiating object, refers to the collected palm print image to be registered.
S4012, when it is determined that the palm print image to be detected does not exist in the reference palm print images, the palm print image to be detected is used as a first palm print image of the initiating object.
Specifically, when it is determined that the palm print image to be detected does not exist in each reference palm print image, the following manner may be adopted, but is not limited to:
Extracting features of the palm print image to be detected to obtain first palm print features corresponding to the palm print image to be detected; and acquiring second palm print characteristics corresponding to each reference palm print image, and determining that the palm print image to be detected does not exist in each reference palm print image when the similarity between the first palm print characteristics and each second palm print characteristics is determined to be smaller than a preset similarity threshold value.
The feature extraction is performed on the palm print image to be detected, and when the first palm print feature corresponding to the palm print image to be detected is obtained, a machine learning model for feature extraction can be used for implementation, but not limited to, and the machine learning model can be used for implementation of a deep learning model.
The electronic device performs image segmentation, normalization processing and feature extraction on the palm print image to be detected through the deep learning model for feature extraction to obtain a 512-dimensional feature vector, wherein the feature vector is the first palm print feature corresponding to the palm print image to be detected. Similarly, the same deep learning model can be used to extract the features of each reference palmprint, so as to obtain the second palmprint features corresponding to each reference palmprint. Different palm print features can be obtained for different palm print images through a machine learning model, and can be used for representing different biological features.
The second palm print features corresponding to each reference palm print may be generated in advance, or may be generated after feature extraction is performed on the palm print image to be detected, so as to obtain the first palm print features corresponding to the palm print image to be detected, which is not limited.
The similarity between the first palm print feature and each second palm print feature may be cosine similarity, but is not limited thereto, and the embodiment of the application is only described by taking cosine similarity as an example. The cosine similarity is proportional to the similarity, and the higher the cosine similarity of the two palmprint features is, the more similar the two palmprint features are.
For example, referring to fig. 6, a to-be-detected palm print image input by the account a is obtained, and feature extraction is performed on the to-be-detected palm print image to obtain a first palm print feature corresponding to the to-be-detected palm print image, and if the reference palm print image includes reference palm print images 1 and … … and reference palm print image m, a second palm print feature corresponding to each reference palm print image is obtained, a similarity threshold is 0.9, then cosine similarity between the first palm print feature and each second palm print feature is calculated, the cosine similarity between the first palm print feature and each second palm print feature is 0.1, … … and 0.2, and each cosine similarity is not more than 0.9, and it is determined that the to-be-detected palm print image does not exist in each reference palm print.
Through the implementation mode, the similarity between the two palmprint images is evaluated by adopting palmprint characteristics, and the efficiency and accuracy of similarity comparison are improved, so that repeated registration of the same palmprint image is avoided, and the palmprint registration efficiency is improved.
In one implementation, to improve data processing efficiency, after the reference palm print image is generated, the reference palm print image may be stored in an image library, and palm print features corresponding to the reference palm print image are stored in a feature library, where, illustratively, the storing component tableKV is used for performing persistent storage of the palm print features, and the storing component WeChat distributed file system (WECHAT FILE SYSTEM, WFS) is used for performing persistent storage of the palm print image, but not limited thereto.
In one implementation, referring to fig. 7, considering that if all the palm print features are stored in one feature library, the access pressure of the feature library is too high, a full feature library and a plurality of local feature libraries are set, wherein the full feature library stores all the palm print features of the reference palm print image, and the local feature library stores the palm print features of part of the reference palm print image. The local features may be set according to geographic locations, for example, 3 local feature libraries are set, where the 3 local feature libraries are local databases located in city a, city B, and city C, respectively.
The palm print features of each user's palm print image may also be stored in a terminal device or server, and the database in the terminal device for storage may be referred to as a local feature library.
The palm print characteristics of the palm print image of each user can be stored in the memory of the terminal equipment or the server, and when any one of the local characteristic library and the full characteristic library is subjected to data change, the changed data are synchronously updated into the memory in an incremental synchronous mode. And after the first palm print characteristics of the palm print image to be detected are obtained, the second palm print characteristics of each reference palm print image can be obtained from the memory, and then characteristic retrieval is carried out based on the first palm print characteristics and the second palm print characteristics, so that whether the palm print image to be detected is a registered palm print image or not is determined. In addition, in the embodiment of the application, each palmprint feature stored in the memory can also be used for feature retrieval, feature management, feature issuing and the like. The stored palmprint features may also be used for, but are not limited to, site lighting management, base map management, model training, and the like.
S402, responding to a sharing operation triggered by an initiating object aiming at least one object to be shared, and acquiring respective second palmprint images of the at least one object to be shared when the palmprint fusion authorization of the at least one object to be shared is determined to be acquired.
The object to be shared may be other objects in the electronic resource transfer application than the initiating object, but is not limited thereto. For example, the initiating object and the object to be shared are both users in the palm payment application.
As a possible implementation manner, a registration success interface is presented to the initiating object, the registration success interface comprises a fusion control, an object selection interface is presented to the initiating object in response to a triggering operation of the initiating object for the fusion control, and when the initiating object selects at least one object to be shared in all candidate objects contained in the object selection interface, the initiating object is determined to trigger a sharing operation for the at least one object to be shared.
One candidate object may be an object or a group formed by a plurality of objects, and if the candidate object selected by the initiating object is a group, the other objects except the initiating object in the group are taken as the objects to be shared.
For example, referring to fig. 8, the registration success interface includes a prompt message "the palm payment service has been opened", a "multi-user NFT" button, which is a fusion control, and an authorization component, where the text information of the authorization component is "authorized to use the palm print image", and when the user clicks the authorization component, it is indicated that the user gives permission to use the palm print image. The user A clicks the authorization component and clicks a multi-user NFT button, and an object selection interface is presented for the user A in response to the triggering operation of the user A on the fusion control by the initiating object, wherein the object selection interface comprises candidate objects: user B, group 1, group 2, etc., wherein group 1 includes user a, user B, user D, and user E, group 2 includes user a, user B, user D, and user E, and the object selection interface further includes a "share" button, and when user a selects at least one candidate object and clicks the "share" button, it is explained that user a selects the at least one candidate object, and supposing that user a selects "group 1" from among the candidate objects included in the object selection interface and clicks the "share" button, it is explained that user a selects group 1 from among the candidate objects included in the object selection interface, and it is ascertained that user a triggers a sharing operation with respect to user B and user C.
As another possible implementation, the user may also trigger a sharing operation in the group chat interface. Specifically, if the initiating object and the at least one object to be shared are located in the same group, when the initiating object triggers the fusion control in the group chat interface, it is determined that the initiating object triggers the sharing operation for the at least one object to be shared, where the at least one object to be shared may be at least one other object except the initiating object in the group, and the at least one other object may be specified by the initiating object, or may be all other objects except the initiating object in the group, which is not limited.
Specifically, when S402 is executed, in response to a sharing operation triggered by an initiating object for at least one object to be shared, a fusion authorization message is sent in a group, when an authorization notification of each of the at least one object to be shared is received within a set duration, it is determined that a palmprint fusion authorization of the at least one object to be shared is obtained, and a second palmprint image of each of the at least one object to be shared is obtained.
It should be noted that, if the object to be shared performs palm print registration, the terminal device corresponding to the object to be shared may directly obtain the palm print fusion authorization operation input by the object to be shared in the corresponding operation interface, if the object to be shared performs palm print registration, the terminal device corresponding to the object to be shared may register the image palm print image of the object to be shared after obtaining the palm print fusion authorization operation input by the object to be shared in the corresponding operation interface, and the palm print image registration process of the object to be shared refers to the palm print image registration process of the initiating object, which is not described herein.
For example, referring to fig. 9, the group 1 includes a user a, a user B, and a user C, the user a clicks a fusion control "multi-user NFT" button in the group chat interface, and in response to a trigger operation of the user a on the fusion control "multi-user NFT" button in the group chat interface, a fusion authorization message is sent in the group 1, and if a set duration is 10 minutes, when authorization notifications of the user B and the user C are received within 10 minutes, it is determined that palm print fusion authorizations of the user B and the user C are acquired, and second palm print images of the user B and the user C are acquired.
Through the implementation mode, the waiting time length can be controlled by setting the time length, the use feeling of the object is improved, and meanwhile, when fusion authorization of each object to be shared is obtained, corresponding palmprint images are obtained, so that the privacy of the object is ensured, and the safety of object information is improved.
S403, fusing the first palm print image and the acquired at least one second palm print image based on the respective image fusion sequence of the initiating object and the at least one object to be shared, and obtaining respective fusion images of the initiating object and the at least one object to be shared.
And S403, fusing the first palm print image and the acquired at least one second palm print image based on the image fusion sequence corresponding to the initiating object to obtain a fused image of the initiating object, and fusing the first palm print image and the acquired at least one second palm print image based on the image fusion sequence corresponding to the at least one object to be shared to obtain the fused image of the at least one object to be shared.
Since the generating process of the fusion image of the initiating object is the same as that of the fusion image of the object to be shared, the generating process of the fusion image of the initiating object will be described below as an example.
As a possible implementation manner, when the first palm print image and the acquired at least one second palm print image are fused, the first palm print image and the acquired at least one second palm print image may be directly spliced according to an image fusion sequence corresponding to the initiating object.
For example, referring to fig. 10, the image fusion sequence of the user a is that of the user a, the user B, and the user C, the first palm print image of the user a is the image 1, the second palm print image of the user B is the image 2, the second palm print image of the user C is the image 3, and the images 1, 2, and 3 are spliced according to the sequence of the user a, the user B, and the user C to obtain the fusion image a of the user a. The image fusion sequence of the user B is user A, user B and user C, and the image 1, the image 2 and the image 3 are spliced according to the sequence of the user B, the user A and the user C to obtain a fusion image B of the user B. The image fusion sequence of the user C is that of the user C, the user A and the user B, and the image 1, the image 2 and the image 3 are spliced according to the sequence of the user C, the user A and the user B to obtain a fusion image C of the user C.
As another possible implementation manner, in order to improve flexibility of palm print image fusion, operation interestingness of the object is increased so as to improve use feeling of the object, a first palm print image may be presented to the initiating object, an edited first palm print image is obtained in response to an image editing operation triggered by the initiating object for the first palm print image, and the edited first palm print image and the obtained at least one second palm print image are spliced to obtain a fused image of the initiating object. The image editing operation includes, but is not limited to, adding text, graffiti, watermark and the like.
For example, the initiating object may add a flower decorative image to the first palm print image, and splice the first palm print image after adding the flower decorative image and the acquired at least one second palm print image to obtain a fused image of the initiating object.
In the embodiment of the present application, one or more objects in each object to be shared may edit the respective second palm print image, and further splice the edited first palm print image and the edited at least one second palm print image to obtain a fused image of the initiating object.
As an example, the initiating object edits the first palm print image, and then the first palm print image and the acquired at least one second palm print image are spliced to obtain a fused image of the initiating object. As a second example, the initiating object edits the first palm print image, and each object to be shared edits the respective second palm print image, and then the edited first palm print image and the edited at least one second palm print image are spliced to obtain a fusion image of the initiating object. As a third example, each object to be shared edits the respective second palm print image, and then the first palm print image and at least one edited second palm print image are spliced to obtain a fusion image of the initiating object. The above description only uses the editing of the respective second palm print image by each object to be shared as an example, and the editing of the respective second palm print image by the partial objects in each object to be shared may also be performed, and the process is similar and will not be repeated here.
In some embodiments, the respective image fusion order of the initiating object and the at least one object to be shared is obtained by:
firstly, obtaining an initial fusion sequence between an initiating object and at least one object to be shared;
Secondly, aiming at the initiating object and at least one object to be shared, the following operations are respectively executed:
And when the position of the target object in the initial fusion sequence is determined to be not the set position, adjusting the target object to the set position, and taking the adjusted initial fusion sequence as the image fusion sequence of the target object.
If the position of the target object in the initial fusion sequence is the set position, the initial fusion sequence may be directly used as the image fusion sequence of the target object.
For example, if the initial fusion order is user a, user B, and user C, the set position is the first in the initial fusion order, and the target object is user a, the position of user a in the initial fusion order is the set position, and the initial fusion order is directly used as the image fusion order of user a, that is, the image fusion order is user a, user B, and user C.
For another example, if the initial fusion order is user a, user B, and user C, the set position is the first in the initial fusion order, and the target object is user B, then the position of user B in the initial fusion order is not the set position, user B is adjusted to the set position, and the adjusted initial fusion order is taken as the image fusion order of user B, and the image fusion order is user B, user a, and user C.
Through the implementation manner, the target object is adjusted to the set position, so that the generated fusion images are different, different objects can generate the NFT with the same content and different sequences, and the problem that the NFT can only hold one copy is solved.
In some embodiments, the initial fusion order between the initiating object and the at least one object to be shared may be obtained in at least one of, but not limited to:
In the first mode, based on respective fusion authorization time of at least one object to be shared, an initial fusion sequence between an initiating object and at least one object to be shared is obtained.
The fusion authorization time may refer to a time when the electronic device receives the fusion authorization returned by the at least one object to be shared. Specifically, at least one object to be shared can be sequenced according to the sequence from the morning to the evening based on each fusion authorization time, a sequencing result is obtained, an initiating object is taken as a first object, and an initial fusion sequence between the initiating object and the at least one object to be shared is obtained by combining the sequencing result.
For example, the initiating object is a user a, the object to be shared includes a user B and a user C, where the fusion authorization time of the user B is 10:05 and the fusion authorization time of the user C is 10:06, so that, based on the fusion authorization times, the user B and the user C are ordered according to the order from the early to the late to obtain an ordering result, the ordering result characterizes that the order of the user B is before the order of the user C, the user a is taken as a first object, and the ordering result is combined to obtain an initial fusion order among the user a, the user B and the user C, where each object in the initial fusion order is sequentially: user a, user B, user C.
Through the implementation manner, the initial fusion sequence can be obtained quickly, and the NFT generation efficiency is improved.
In a second possible implementation manner, in order to implement NFT generation personalized for the user, in an embodiment of the present application, the initial fusion order may also be specified by the user. Specifically, in response to input operations triggered by the initiating object and the at least one object to be shared, an initial fusion sequence of the respective inputs of the initiating object and the at least one object to be shared is obtained.
Taking the object x as an example, the object x may be any one of an initiating object and at least one object to be shared. Specifically, the electronic device may present an object list including an initiating object and at least one object to be shared to the object x in the operation interface, where the object x may adjust an order between the initiating object and the at least one object to be shared in the operation interface, and further the electronic device obtains an initial fusion order input by the object x in response to an input operation of the object x with respect to the initial fusion order.
For example, taking the object x as the user a as an initiating object, the electronic device may present an object list including the user a, the user B, and the user C to the user a in an operation interface, where the user a adjusts an order among the user a, the user B, and the user C in the operation interface, and the electronic device obtains an initial fusion order input by the user a in response to an input operation of the user a with respect to the initial fusion order, where each object in the initial fusion order is sequentially: user a, user C, user B.
For another example, taking the object x as the user B, the user B as the object to be shared, the electronic device may present the object list including the user a, the user B, and the user C to the user B in the operation interface, the user B adjusts the order among the user a, the user B, and the user C in the operation interface, and the electronic device obtains the initial fusion order input by the user B in response to the input operation of the user B with respect to the initial fusion order, where each object in the initial fusion order is sequentially: user C, user a, user B.
S404, based on the obtained fusion images, obtaining NFT of each of the initiating object and the at least one object to be shared.
NFT is a trusted digital rights voucher with unique characteristics in a blockchain network, which is a data object that can record and process multidimensional, complex attributes on a blockchain.
In the embodiment of the application, the palm print image is used as metadata to generate the NFT of the palm print image, specifically, when S204 is executed, the NFT of the initiating object is obtained based on each obtained fusion image, and at least one NFT of each object to be shared is obtained based on each obtained fusion image. Since the NFT generation process of the initiating object is the same as the NFT generation process of the object to be shared, only the NFT generation process of the initiating object will be described below as an example.
Illustratively, when the NFT of the initiating object is obtained based on the fused image of the initiating object, the following manner may be adopted, but is not limited to:
acquiring image attribute information of a fusion image of an initiating object, and adding the image attribute information into an intelligent contract;
Deploying the intelligent contracts to all nodes in the target blockchain, so that all nodes generate an NFT (network File System) by executing the intelligent contracts, and returning a storage address of the NFT and an NFT private key, wherein the NFT private key is used for representing that an initiating object holds the NFT;
and receiving the storage address and the NFT private key of the NFT returned by any node in the target block chain, and obtaining the NFT of the initiating object based on the storage address and the NFT private key of the NFT.
Wherein the image attribute information may also be referred to as metadata information, at least one of the following attributes in the image attribute information: width, height, resolution, color representation, but are not limited thereto. The NFT private key is held by the NFT owner.
In one embodiment, a corresponding blockchain encryption wallet may be created for a user to record NFT private keys held by the user.
To promote data security, in some embodiments, the blockchain may employ an enterprise blockchain that allows only accounts of the enterprise to be accessed and reviewed. It should be noted that, in the embodiment of the present application, a specific generation process of the NFT in the blockchain is not limited.
In one embodiment, the smart contract may be created based on the ERC-721 protocol and the palm print image may be deposited in the metadata extension IERC721metadata. Sol file based on the ERC721 protocol.
In one embodiment, after the intelligent contract is deployed and uplink, each node in the blockchain may obtain contract information of the intelligent contract, where the contract information includes, but is not limited to, contract identification, contract address, contract issuer, contract issue time, etc., so as to execute the intelligent contract and return the private key of the NFT.
In one embodiment, ownership of the NFT is managed by NFT identification (e.g., NFT ID) and metadata, which other tokens (token) cannot replicate and forge. Thus, NFT IDs and metadata may also be added to the smart contract.
In one embodiment, in order to ensure that the block of the intelligent contract uplink is correct and that the wallet corresponding to the NFT private key is correct, each node returns the storage address of the NFT and the NFT private key when determining that the storage address of the NFT is correct and that the NFT ID does not exist in each stored NFT ID.
In some embodiments, an NFT corresponding to a first palm print image of an initiating object may also be generated based on the first palm print image. The NFT may also be respectively corresponding based on the second palmprint image of each object to be shared.
The following is a description in connection with an application encryption scenario.
Referring to fig. 11, the application encryption scenario includes an application encryption terminal device, an application encryption server, and a blockchain 103, and takes the encryption terminal device as a mobile phone as an example.
Firstly, the third mobile phone responds to the third palmprint registration operation triggered in palmprint management application to acquire a third first palmprint image.
Then, the third mobile phone responds to Zhang Sanzhen sharing operation triggered by the fourth and fifth mobile phones to send a fusion request to the application encryption server, wherein the fusion request is used for indicating palm print fusion of the third mobile phone, the fourth mobile phone and the fifth mobile phone, and at the moment, the third mobile phone is an initiating object, and the fourth mobile phone and the fifth mobile phone are objects to be shared.
And then, when the palm print fusion authorization of the plum four and the king five is determined to be acquired, acquiring second palm print images of the plum four and the king five respectively by using an encryption server. When the server determines that the palm print fusion authorization of the king five is acquired, the second palm print image of the king five can be acquired through acquiring a mobile phone of the king five.
Assume that the image fusion sequence corresponding to Zhang three is: the image fusion sequence corresponding to Zhang III, li IV and Wang V is as follows: the image fusion sequence corresponding to the four, three and five kinds of plum is as follows: and respectively fusing the first palm print image and the two acquired second palm print images based on the image fusion sequences corresponding to Zhang three, li four and Zhang five by using an encryption server to obtain fused images of Zhang three, li four and Zhang five.
Finally, the encryption server is applied to obtain NFT of Zhang three, li four and Wang five based on the obtained fusion images, and the NFT of Zhang three, li four and Wang five are returned to the mobile phone of Zhang three, li four and Wang five respectively.
Based on the same inventive concept, an embodiment of the present application provides a data processing apparatus. As shown in fig. 12, which is a schematic structural diagram of the data processing apparatus 1200, may include:
a registration unit 1201, configured to obtain a first palmprint image of an initiating object in response to a palmprint registration operation triggered by the initiating object;
An authorization unit 1202, configured to, in response to a sharing operation triggered by the initiating object for at least one object to be shared, acquire respective second palmprint images of the at least one object to be shared when it is determined that palmprint fusion authorization of the at least one object to be shared is acquired;
A fusion unit 1203, configured to fuse the first palm print image and the acquired at least one second palm print image based on the respective image fusion sequences of the initiating object and the at least one object to be shared, so as to obtain respective fusion images of the initiating object and the at least one object to be shared;
the generating unit 1204 is configured to obtain, based on the obtained fusion images, respective non-homogeneous universal NFT of the initiating object and the at least one object to be shared.
As a possible implementation manner, the fusing unit 1203 is further configured to:
acquiring an initial fusion sequence between the initiating object and the at least one object to be shared;
for the initiating object and the at least one object to be shared, respectively executing the following operations:
and when the position of the target object in the initial fusion sequence is determined to be not a set position, adjusting the target object to the set position, and taking the adjusted initial fusion sequence as the image fusion sequence of the target object.
As a possible implementation manner, when the initial fusion order between the initiating object and the at least one object to be shared is obtained, the fusion unit 1203 is specifically configured to:
acquiring an initial fusion sequence between the initiating object and the at least one object to be shared based on respective fusion authorization time of the at least one object to be shared; or alternatively
And responding to the input operation triggered by the initiating object and the at least one object to be shared, and obtaining the initial fusion sequence of the respective input of the initiating object and the at least one object to be shared.
As a possible implementation manner, based on the image fusion sequence corresponding to the initiating object, the fusion unit 1203 is specifically configured to, when the first palm print image and the acquired at least one second palm print image are fused to obtain a fused image of the initiating object:
directly splicing the first palm print image and the acquired at least one second palm print image according to the image fusion sequence corresponding to the initiating object to obtain a fusion image of the initiating object; or alternatively
And presenting the first palm print image to the initiating object, responding to image editing operation triggered by the initiating object on the first palm print image, acquiring the edited first palm print image, and splicing the edited first palm print image and the acquired at least one second palm print image to acquire a fusion image of the initiating object.
As a possible implementation manner, when the first palm print image of the initiating object is obtained in response to the palm print registration operation triggered by the initiating object, the registration unit 1201 is specifically configured to:
responding to a palmprint registration operation triggered by an initiating object, and acquiring a palmprint image to be detected input by the initiating object;
And when the fact that the palm print image to be detected does not exist in each reference palm print image is determined, the palm print image to be detected is used as a first palm print image of the initiating object.
As a possible implementation manner, when it is determined that the palm print image to be detected does not exist in each reference palm print, the registration unit 1201 is specifically configured to:
extracting features of the palm print image to be detected to obtain first palm print features corresponding to the palm print image to be detected;
And acquiring second palm print characteristics corresponding to each reference palm print, and determining that the palm print image to be detected does not exist in each reference palm print when the similarity between the first palm print characteristics and each second palm print characteristics is smaller than a preset similarity threshold value.
As a possible implementation manner, when obtaining the NFT of the initiating object based on the fused image of the initiating object, the generating unit 1204 is specifically configured to:
Acquiring image attribute information of the fusion image of the initiating object, and adding the image attribute information into an intelligent contract;
Deploying the intelligent contract to each node in a target blockchain, so that each node generates an NFT (network File transfer) by executing the intelligent contract, and returning a storage address of the NFT and an NFT private key, wherein the NFT private key is used for representing that the initiating object holds the NFT;
And receiving a storage address and an NFT private key of the NFT returned by any node in the target block chain, and obtaining the NFT of the initiating object based on the storage address and the NFT private key of the NFT.
As a possible implementation manner, the responding to the sharing operation triggered by the initiating object for at least one object to be shared, when determining that the palm print fusion authorization of the at least one object to be shared is obtained, the authorization unit 1202 is specifically configured to:
If the initiating object and the at least one object to be shared are located in the same group, a fusion authorization message is sent in the group in response to a sharing operation triggered by the initiating object for the at least one object to be shared;
and when receiving the authorization notification of each of the at least one object to be shared within a set time length, determining that the palm print fusion authorization of the at least one object to be shared is acquired, and acquiring a second palm print image of each of the at least one object to be shared.
For convenience of description, the above parts are described as being functionally divided into modules (or units) respectively. Of course, the functions of each module (or unit) may be implemented in the same piece or pieces of software or hardware when implementing the present application.
The specific manner in which the respective units execute the requests in the apparatus of the above embodiment has been described in detail in the embodiment concerning the method, and will not be described in detail here.
Those skilled in the art will appreciate that the various aspects of the application may be implemented as a system, method, or program product. Accordingly, aspects of the application may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
Based on the same inventive concept, the embodiment of the application also provides electronic equipment. In one embodiment, the electronic device may be a server or a terminal device. Referring to fig. 13, which is a schematic structural diagram of one possible electronic device provided in an embodiment of the present application, in fig. 13, an electronic device 1300 includes: a processor 1310 and a memory 1320.
Wherein the memory 1320 stores a computer program executable by the processor 1310, the processor 1310 may perform the steps of the data processing method described above by executing instructions stored in the memory 1320.
Memory 1320 may be volatile memory (RAM), such as random-access memory (RAM); the Memory 1320 may also be a non-volatile Memory (non-volatile Memory), such as Read-Only Memory (ROM), flash Memory (flash Memory), hard disk (HARD DISK DRIVE, HDD) or solid state disk (solid-state disk) (STATE DRIVE, SSD); or memory 1320, is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. Memory 1320 may also be a combination of the above.
The processor 1310 may include one or more central processing units (central processing unit, CPUs) or a digital processing unit, or the like. A processor 1310 for implementing the above-described data processing method when executing a computer program stored in a memory 1320.
In some embodiments, processor 1310 and memory 1320 may be implemented on the same chip, or they may be implemented separately on separate chips in some embodiments.
The particular connection medium between the processor 1310 and the memory 1320 is not limited in this embodiment of the application. In the embodiment of the present application, the processor 1310 and the memory 1320 are connected by a bus, which is depicted in fig. 13 by a bold line, and the connection manner between other components is only schematically illustrated, but not limited thereto. The buses may be divided into address buses, data buses, control buses, etc. For ease of description, only one thick line is depicted in fig. 13, but only one bus or one type of bus is not depicted.
Based on the same inventive concept, an embodiment of the present application provides a computer readable storage medium comprising a computer program for causing an electronic device to perform the steps of the above-mentioned data processing method when the computer program is run on the electronic device. In some possible embodiments, aspects of the data processing method provided by the present application may also be implemented in the form of a program product comprising a computer program for causing an electronic device to perform the steps of the data processing method described above, when the program product is run on the electronic device, e.g. the electronic device may perform the steps as shown in fig. 4.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, a RAM, a ROM, an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (Compact Disk Read Only Memory, CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product of embodiments of the present application may take the form of a CD-ROM and comprise a computer program and may run on an electronic device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a computer program for use by or in connection with a command execution system, apparatus, or device.
The readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave in which a readable computer program is embodied. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a computer program for use by or in connection with a command execution system, apparatus, or device.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (12)

1. A method of data processing, comprising:
responding to a palmprint registration operation triggered by an initiating object, and acquiring a first palmprint image of the initiating object;
responding to a sharing operation triggered by the initiating object aiming at least one object to be shared, and acquiring respective second palmprint images of the at least one object to be shared when the palmprint fusion authorization of the at least one object to be shared is determined to be acquired;
based on the image fusion sequence corresponding to the initiating object and the at least one object to be shared, fusing the first palmprint image and the acquired at least one second palmprint image to obtain respective fused images of the initiating object and the at least one object to be shared;
Based on the obtained fusion images, obtaining the respective non-homogeneous universal NFT of the initiating object and the at least one object to be shared.
2. The method of claim 1, wherein the respective image fusion order of the initiating object and the at least one object to be shared is obtained by:
acquiring an initial fusion sequence between the initiating object and the at least one object to be shared;
for the initiating object and the at least one object to be shared, respectively executing the following operations:
and when the position of the target object in the initial fusion sequence is determined to be not a set position, adjusting the target object to the set position, and taking the adjusted initial fusion sequence as the image fusion sequence of the target object.
3. The method of claim 2, wherein the obtaining an initial fusion order between the initiating object and the at least one object to be shared comprises:
acquiring an initial fusion sequence between the initiating object and the at least one object to be shared based on respective fusion authorization time of the at least one object to be shared; or alternatively
And responding to the input operation triggered by the initiating object and the at least one object to be shared, and obtaining the initial fusion sequence of the respective input of the initiating object and the at least one object to be shared.
4. The method of claim 1,2 or 3, wherein fusing the first palm print image and the acquired at least one second palm print image based on the image fusion order corresponding to the initiating object, to obtain a fused image of the initiating object, comprises:
directly splicing the first palm print image and the acquired at least one second palm print image according to the image fusion sequence corresponding to the initiating object to obtain a fusion image of the initiating object; or alternatively
And presenting the first palm print image to the initiating object, responding to image editing operation triggered by the initiating object on the first palm print image, acquiring the edited first palm print image, and splicing the edited first palm print image and the acquired at least one second palm print image to acquire a fusion image of the initiating object.
5. The method of claim 1,2 or 3, wherein the acquiring the first palm print image of the initiating subject in response to the initiating subject triggered palm print registration operation comprises:
responding to a palmprint registration operation triggered by an initiating object, and acquiring a palmprint image to be detected input by the initiating object;
And when the fact that the palm print image to be detected does not exist in each reference palm print image is determined, the palm print image to be detected is used as a first palm print image of the initiating object.
6. The method of claim 5, wherein said determining that the palm print image to be detected is absent from each reference palm print comprises:
extracting features of the palm print image to be detected to obtain first palm print features corresponding to the palm print image to be detected;
And acquiring second palm print characteristics corresponding to each reference palm print, and determining that the palm print image to be detected does not exist in each reference palm print when the similarity between the first palm print characteristics and each second palm print characteristics is smaller than a preset similarity threshold value.
7. The method of claim 1,2 or 3, wherein deriving the NFT of the initiating object based on the fused image of the initiating object comprises:
Acquiring image attribute information of the fusion image of the initiating object, and adding the image attribute information into an intelligent contract;
Deploying the intelligent contract to each node in a target blockchain, so that each node generates an NFT (network File transfer) by executing the intelligent contract, and returning a storage address of the NFT and an NFT private key, wherein the NFT private key is used for representing that the initiating object holds the NFT;
And receiving a storage address and an NFT private key of the NFT returned by any node in the target block chain, and obtaining the NFT of the initiating object based on the storage address and the NFT private key of the NFT.
8. The method of claim 1,2 or 3, wherein the obtaining, in response to the sharing operation triggered by the initiating object for at least one object to be shared, the respective second palm print image of the at least one object to be shared when it is determined that palm print fusion authorization of the at least one object to be shared is obtained, includes:
If the initiating object and the at least one object to be shared are located in the same group, a fusion authorization message is sent in the group in response to a sharing operation triggered by the initiating object for the at least one object to be shared;
and when receiving the authorization notification of each of the at least one object to be shared within a set time length, determining that the palm print fusion authorization of the at least one object to be shared is acquired, and acquiring a second palm print image of each of the at least one object to be shared.
9. A data processing apparatus, comprising:
the registration unit is used for responding to the palmprint registration operation triggered by the initiating object and acquiring a first palmprint image of the initiating object;
The authorization unit is used for responding to the sharing operation triggered by the initiating object aiming at the at least one object to be shared, and when the fact that the palm print fusion authorization of the at least one object to be shared is acquired is determined, acquiring respective second palm print images of the at least one object to be shared;
The fusion unit is used for fusing the first palmprint image and the acquired at least one second palmprint image based on the image fusion sequence corresponding to the initiating object and the at least one object to be shared respectively, so as to obtain fusion images of the initiating object and the at least one object to be shared respectively;
The generating unit is used for obtaining the non-homogeneous certification NFT of each of the initiating object and the at least one object to be shared based on each obtained fusion image.
10. An electronic device comprising a processor and a memory, wherein the memory stores a computer program which, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 8.
11. A computer readable storage medium, characterized in that it comprises a computer program for causing an electronic device to perform the steps of the method according to any one of claims 1-8 when said computer program is run on the electronic device.
12. A computer program product, characterized in that it comprises a computer program stored in a computer readable storage medium, from which computer readable storage medium a processor of an electronic device reads and executes the computer program, causing the electronic device to perform the steps of the method according to any one of claims 1-8.
CN202211420551.4A 2022-11-11 2022-11-11 Data processing method and related device Pending CN118038500A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211420551.4A CN118038500A (en) 2022-11-11 2022-11-11 Data processing method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211420551.4A CN118038500A (en) 2022-11-11 2022-11-11 Data processing method and related device

Publications (1)

Publication Number Publication Date
CN118038500A true CN118038500A (en) 2024-05-14

Family

ID=90988361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211420551.4A Pending CN118038500A (en) 2022-11-11 2022-11-11 Data processing method and related device

Country Status (1)

Country Link
CN (1) CN118038500A (en)

Similar Documents

Publication Publication Date Title
KR102086001B1 (en) System for managing information of distribution history based on block-chain
CN109214883A (en) Service lease method, apparatus, system and electronic equipment based on block chain
CN110322317B (en) Transaction data processing method and device, electronic equipment and medium
CN111507717B (en) Data processing method, device, block node and computer readable storage medium
TWI746399B (en) Information reading and writing method and device based on blockchain
CN112613877B (en) Intelligent contract triggering method and device applied to block chain network and related equipment
CN108924109B (en) Data transmission method and device and processing equipment
US20220067125A1 (en) Method for distributing certificate of right to use digital content, and computer program stored in medium in order to carry out method
CN116894732A (en) Digital asset management method, device, system and readable storage medium
CN112418851A (en) Digital copyright registration, transaction and protection method and system
CN112862589A (en) Identity verification method, device and system in financial scene
WO2022206431A1 (en) Method and apparatus for querying ledger data of fabric blockchain
CN112884562A (en) Block chain-based mortgage processing method and device and readable storage medium
US20230055835A1 (en) Systems and Methods for Using a Non-Fungible Digital Asset to Facilitate Accessing an Access-Restricted Resource
US20240104642A1 (en) Apparatus for processing non-fungible token
KR102086000B1 (en) System for determining identity of non-digital work
CN112948866A (en) Data processing method, device and equipment and readable storage medium
CN116961876A (en) Virtual resource management method, device, equipment and storage medium for blockchain
CN117034358A (en) Service certificate processing method and device and computer equipment
CN116681527A (en) Digital asset transaction method, device and system based on meta-universe cultural product
CN110619566A (en) On-chain pledge asset return system and method through on-chain digital currency settlement
WO2021249208A1 (en) Digital currency model, method, system and device using code chain block
CN118038500A (en) Data processing method and related device
CN115422145A (en) Digital asset processing method, device, electronic equipment and storage medium
JP7322961B2 (en) Data recording device and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication