Data processing method, device and equipment and readable storage medium

By calling the metadata addition function of the smart contract in the blockchain, the attribute description information of the trusted digital certificate is dynamically expanded, which solves the problem of the cumbersome update process of the trusted digital certificate in the blockchain, reduces costs and improves efficiency.

CN118586012APending Publication Date: 2024-09-03TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310239505.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-03
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In the existing technology, the update process of trusted digital certificates in the blockchain is cumbersome, resulting in high time and expense costs and affecting the update efficiency.

Method used

By calling the metadata addition function of the smart contract in the blockchain, the attribute description information of the trusted digital certificate is dynamically expanded, reducing the need to regenerate the certificate, and adding new information directly to the original certificate.

Benefits of technology

It reduces the cost of updating trusted digital credentials, improves update efficiency, eliminates the need to regenerate credentials, and enables accurate storage and display of event updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118586012A
    Figure CN118586012A
Patent Text Reader

Abstract

The invention discloses a data processing method, apparatus and device, and a readable storage medium. The method comprises the steps of receiving a voucher extension request sent by a service device for a target trusted digital voucher; the voucher extension request comprises target attribute description information for the target trusted digital voucher; calling a smart contract in the block chain based on the certificate extension request, and adding the target attribute description information to an attribute description information set of the target trusted digital certificate through a metadata adding function in the smart contract; returning information extension success prompt information to the business equipment, so that the business equipment updates the object display effect of the target object based on the extension success prompt information; the updated object display effect is determined by the attribute description information set after the target attribute description information is added. According to the invention, the original credible digital certificate is dynamically expanded, the certificate updating cost of the credible digital certificate is reduced, and the certificate updating efficiency of the credible digital certificate is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a data processing method, apparatus, device and readable storage medium. Background Art

[0002] Blockchain is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. It is mainly used to organize data in chronological order and encrypt it into a ledger to make it impossible to be tampered with or forged. At the same time, it can verify, store and update data. Blockchain can also perform data encryption transmission, node identification and secure access, and is an advanced distributed infrastructure. At present, due to the immutability and authenticity of blockchain, more and more blockchain applications are being used. Many institutions (such as banks, certain enterprises, etc.) use blockchain to store relevant business data and perform related business operations.

[0003] In the blockchain, the application of trusted digital certificates is also increasing. Trusted digital certificates refer to data objects that can record and process multi-dimensional and complex attributes in the blockchain. They can be generated based on the blockchain. Each trusted digital certificate is unique and non-replicable, and can be anchored to an item in the real world. In related technologies, when there are new or updated related events for items in the real world (the events will vary based on the different items, such as when the items are buildings, the related events may refer to new maintenance records, new decoration records, etc.), the corresponding trusted digital certificates need to be regenerated to be able to uniquely anchor the items after the event is updated. However, the process of regenerating trusted digital certificates is cumbersome, requires a lot of time and cost, and also affects the update efficiency of trusted digital certificates. Summary of the invention

[0004] The embodiments of the present application provide a data processing method, apparatus, device and readable storage medium, which can dynamically expand the original trusted digital certificate, thereby reducing the credential update cost of the trusted digital certificate and improving the credential update efficiency of the trusted digital certificate.

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

[0006] Receiving a credential extension request for a target trusted digital credential sent by a business device; the target trusted digital credential refers to a trusted digital credential used to represent a target object in a business scenario; the credential extension request includes target attribute description information for the target trusted digital credential; the target attribute description information is generated based on a target extension event associated with the target object in the business scenario;

[0007] Based on the credential extension request, the smart contract in the blockchain is called, and the target attribute description information is added to the attribute description information set of the target trusted digital credential through the metadata addition function in the smart contract;

[0008] Return information indicating successful extension to the business device, so that the business device updates the object display effect of the target object based on the successful extension prompt information; the updated object display effect is determined by the attribute description information set after adding the target attribute description information.

[0009] An embodiment of the present application provides a data processing device, including:

[0010] A request receiving module, used for receiving a credential extension request for a target trusted digital credential sent by a business device; the target trusted digital credential refers to a trusted digital credential used to characterize a target object in a business scenario; the credential extension request includes target attribute description information for the target trusted digital credential; the target attribute description information is generated based on a target extension event associated with the target object in the business scenario;

[0011] An information adding module is used to call the smart contract in the blockchain based on the credential extension request, and add the target attribute description information to the attribute description information set of the target trusted digital credential through the metadata adding function in the smart contract;

[0012] The information return module is used to return information about successful information extension to the business device, so that the business device can update the object display effect of the target object based on the successful extension prompt information; the updated object display effect is determined by the attribute description information set after adding the target attribute description information.

[0013] In one embodiment, a credential extension request is generated by a business device after receiving a target extension event of an ownership object to a target object, performing event qualification verification on the target extension event based on event qualification verification rules corresponding to the business scenario, and after the verification passes; the ownership object refers to an object that has ownership of the target trusted digital credential.

[0014] In one embodiment, the credential extension request carries digital signature information; the digital signature information is obtained by the service device signing the credential extension request based on the private key of the service device;

[0015] The data processing device may further include:

[0016] The signature verification module is used to obtain the public key of the business device, verify the digital signature information based on the public key of the business device, and obtain the signature verification result;

[0017] The step execution module is used to execute the step of calling the smart contract in the blockchain based on the credential extension request when the signature verification result is a signature verification passing result.

[0018] In one embodiment, the information adding module may include:

[0019] A rule acquisition unit, used to acquire event qualification verification rules corresponding to the business scenario based on the credential extension request; the event qualification verification rules are used to verify the extended events in the business scenario;

[0020] The qualification verification unit is used to verify the event qualification of the target extended event according to the event qualification verification rule, and obtain the qualification verification result of the target extended event;

[0021] The information adding unit is used to call the smart contract in the blockchain when the qualification verification result is a qualified qualification verification result, and add the target attribute description information to the attribute description information set of the target trusted digital certificate through the metadata adding function in the smart contract.

[0022] In one embodiment, the business scenario is a game business scenario, the target object is a target virtual object in the game business; the target extension event refers to an event in which a configuration attribute parameter of the target virtual object is updated;

[0023] Qualification verification units may include:

[0024] The table acquisition subunit is used to acquire the threshold mapping table in the event qualification verification rule; the threshold mapping table includes a mapping relationship between a voucher value threshold set and a virtual object set in the game business; a voucher value threshold in the voucher value threshold set has a mapping relationship with the virtual object set; the virtual object set includes a target virtual object;

[0025] The credential value determination subunit is used to obtain the update configuration attribute parameters of the target virtual object in the target extension event, and determine the target credential value of the target trusted digital credential based on the update configuration attribute parameters of the target virtual object;

[0026] The qualification verification subunit is used to verify the event qualification of the target extended event based on the target credential value and the threshold mapping table, and obtain the qualification verification result of the target extended event.

[0027] In one embodiment, the qualification verification subunit is further specifically used to determine the credential value threshold value that has a mapping relationship with the target virtual object in the credential value threshold value set included in the threshold mapping table as the credential value threshold value to be compared;

[0028] The qualification verification subunit is further specifically used to determine that the qualification verification result of the target extended event is a qualification verification failure result if the credential value threshold to be compared is greater than the target credential value of the target trusted digital credential;

[0029] The qualification verification subunit is further specifically used to determine that the qualification verification result of the target extended event is a qualification verification pass result if the credential value threshold to be compared is less than the target credential value of the target trusted digital credential.

[0030] In one embodiment, the business scenario is a virtual resource evaluation business scenario for items; the target object is an item to be evaluated in the virtual resource evaluation business for items; the target extension event is a maintenance event of the item to be evaluated;

[0031] Qualification verification units may include:

[0032] A component status acquisition subunit, used to acquire a target maintenance component in a target extended event and a maintenance component status of the target maintenance component according to an event qualification verification rule;

[0033] The qualification verification subunit is used to obtain the historical component status of the target maintenance component, and based on the maintenance component status and the historical component status, verify the event qualification of the target extended event to obtain the qualification verification result of the target extended event.

[0034] In one embodiment, the qualification verification subunit is further specifically used to determine a difference component status between the maintenance component status and the historical component status, and determine the newly added item evaluation value of the item to be evaluated based on the difference component status;

[0035] The qualification verification subunit is also specifically used to obtain the current item evaluation value of the item to be evaluated, update the current item evaluation value based on the newly added item evaluation value, and obtain the target item evaluation value of the item to be evaluated;

[0036] The qualification verification subunit is further specifically used to determine the qualification verification result of the target expansion event as a qualification verification pass result when the target item evaluation value is greater than the item evaluation value threshold;

[0037] The qualification verification subunit is further specifically used to determine the qualification verification result of the target extension event as a qualification verification failure result when the target item evaluation value is less than the item evaluation value threshold.

[0038] In one embodiment, the information adding module may include:

[0039] A collection acquisition unit, used to acquire a collection of credential issuance objects having modification rights of a target trusted digital credential through adding a function to the metadata in the smart contract;

[0040] A collection traversal unit, used to traverse the collection of credential issuance objects;

[0041] An address acquisition unit, used to acquire the home address of the target trusted digital certificate when a business object exists in the certificate issuance object set;

[0042] The information adding unit is used to add the target attribute description information to the attribute description information set of the target trusted digital certificate based on the belonging address of the target trusted digital certificate; the business object refers to the object corresponding to the business device.

[0043] In one embodiment, the information adding unit may include:

[0044] The account address acquisition subunit is used to obtain the account address of the business object in the blockchain;

[0045] The information adding subunit is used to add the target attribute description information to the attribute description information set of the target trusted digital certificate if the home address is the same as the account address.

[0046] An embodiment of the present application provides a computer device, including: a processor and a memory;

[0047] The memory stores a computer program, and when the computer program is executed by the processor, the processor executes the method in the embodiment of the present application.

[0048] On the one hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. The computer program includes program instructions. When the program instructions are executed by a processor, the method in the embodiment of the present application is executed.

[0049] In one aspect of the present application, a computer program product is provided, the computer program product comprising a computer program, the computer program being stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the method provided in one aspect of the embodiments of the present application.

[0050] In an embodiment of the present application, a scheme for dynamically modifying the attribute description information of a trusted digital certificate is provided. Whenever an extension event (such as a target extension event) associated with a target object is generated in a business scenario, it is necessary to update the target trusted digital certificate corresponding to the target object based on the target extension event. In the present application, the business device corresponding to the business scenario can directly generate a credential extension request for the target trusted digital certificate based on the target extension event, and send the credential extension request to the blockchain node; the blockchain node can call a smart contract based on the credential extension request, and through the metadata addition function in the smart contract, the target attribute description information can be added to the attribute description information set of the target trusted digital certificate, thereby achieving the extension of the target trusted digital certificate, without the need to regenerate a new trusted digital certificate, and the target trusted digital certificate can be accurately updated based on the target extension event. It should be understood that the present application provides a metadata adding function, and the business scenario can dynamically extend the trusted digital certificate through the metadata adding function. Whenever there is a new extension event for the target object, the trusted digital certificate can be updated without generating a new trusted digital certificate, which can well reduce the credential update cost of the trusted digital certificate and improve the credential update efficiency of the trusted digital certificate. The business scenario can also update and display the object display effect of the target object based on the updated trusted digital certificate. In summary, the present application can dynamically extend the original trusted digital certificate, thereby reducing the credential update cost of the trusted digital certificate and improving the credential update efficiency of the trusted digital certificate. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0052] Figure 1 This is a network architecture diagram provided by an embodiment of the present application;

[0053] Figure 2 is a method flow chart of a data processing method provided by an embodiment of the present application;

[0054] Figure 3 It is a schematic diagram of a process for extending attribute description information of a trusted digital credential provided in an embodiment of the present application;

[0055] Figure 4 It is a schematic diagram of a scenario for dynamically extending a trusted digital credential provided in an embodiment of the present application;

[0056] Figure 5 It is a flowchart of a system process provided by an embodiment of the present application;

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

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

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

[0060] The method provided in the embodiment of the present application involves blockchain and other related technologies. For ease of understanding, the following will give priority to blockchain and its related technologies:

[0061] 1. Blockchain: In a narrow sense, blockchain is a chain data structure with blocks as the basic unit. The digital summary is used in the block to verify the transaction history previously obtained, which is suitable for the needs of tamper-proof and scalability in the distributed accounting scenario; in a broad sense, blockchain also refers to the distributed accounting technology implemented by the blockchain structure, including distributed consensus, privacy and security protection, peer-to-peer communication technology, network protocols, smart contracts, etc. The goal of the blockchain is to realize a distributed data record book, which only allows additions but not deletions. The basic structure of the underlying ledger is a linear linked list. The linked list is composed of "blocks" connected in series, and the hash value of the previous block is recorded in the subsequent block. Whether each block (and the transactions in the block) is legal can be quickly verified by calculating the hash value. If a node in the network proposes to add a new block, it must reach a consensus on the block through the consensus mechanism.

[0062] 2. Blockchain nodes: The blockchain network divides nodes into consensus nodes (also called core nodes), data nodes or light nodes. Among them, the consensus node is responsible for the consensus business of the entire blockchain network; the data node or light node is responsible for synchronizing the ledger information of the consensus node, that is, synchronizing the latest block data. Whether it is a consensus node or a data node (or light node), its internal structure includes network communication components, because the blockchain network is essentially a peer-to-peer (P2P) network, and it needs to communicate with other nodes in the blockchain network through P2P components. The resources and services in the blockchain network are scattered on each node, and the transmission of information and the implementation of services are directly carried out between nodes, without the intervention of intermediate links or centralized servers (third parties).

[0063] 3. Public key and private key: Public key and private key are a key pair (i.e., a public key and a private key) obtained through an algorithm. The public key is the public part of the key pair, and the private key is the non-public part. The public key is usually used to encrypt data, verify digital signatures, etc. This algorithm can ensure that the key pair obtained is unique. When using this key pair, if one of the keys is used to encrypt a piece of data, the other key must be used to decrypt it. For example, if the data is encrypted with the public key, it must be decrypted with the private key. If it is encrypted with the private key, it must also be decrypted with the public key, otherwise the decryption will not be successful.

[0064] 4. Hash value: Also known as information characteristic value or characteristic value, hash value is generated by converting input data of any length into a password and performing fixed output through a hash algorithm. The original input data cannot be retrieved by decrypting the hash value. It is a one-way encryption function. In the blockchain, each block (except the initial block) contains the hash value of the previous block, which is called the parent block of the current block. Hash value is the potential core foundation and the most important aspect of blockchain technology. It preserves the authenticity of recorded and viewed data, as well as the integrity of the blockchain as a whole.

[0065] 5. Smart Contract: It is a computer protocol designed to disseminate, verify or execute contracts in an information-based manner. In the blockchain system, a smart contract (referred to as a contract) is a code that can be understood and executed by each node of the blockchain, which can execute any logic and obtain results. In practical applications, smart contracts are managed and tried through transactions on the blockchain. Each transaction is equivalent to a remote procedure call (RPC) request to the blockchain system. If a smart contract is equivalent to an executable program, the blockchain is equivalent to an operating system that provides an operating environment. The blockchain can contain multiple contracts, which are distinguished by contract accounts (Identity, ID), identification numbers or names. For example, a smart contract can include a governance consensus committee contract, which is mainly used to manage consensus nodes, and can include recording the node status of consensus nodes, dynamically adding consensus nodes, and removing abnormal consensus nodes.

[0066] See also Figure 1 , Figure 1 This is a network architecture diagram provided by an embodiment of the present application. Figure 1 As shown, the network architecture may include a terminal device cluster 10 and a blockchain network, and the blockchain network may include a core node (consensus node) cluster 1000 and a data node or light node cluster 100. The core node cluster 1000 may include at least two core nodes, and the data node cluster 100 may include at least two data nodes. Figure 1 As shown, the core node cluster 1000 may include core node 1000a, core node 1000b, ..., core node 1000n, the data node cluster 100 may specifically include data node 100a, data node 100b, ..., data node 100n, and the terminal device cluster 10 may specifically include terminal device 10a, terminal device 10b, ..., terminal device 10n.

[0067] like Figure 1As shown, terminal device 10a, terminal device 10b, ..., terminal device 10n can respectively establish network connection with data node 100a, data node 100b, ..., data node 100n, so that the terminal device can exchange data with the data node through the network connection; data node 100a, data node 100b, ..., data node 100n can respectively establish network connection with core node 1000a, core node 1000b, ..., core node 1000n, so that the data node can exchange data with the core node through the network connection; data node 100a, data node 100b, ..., data node 100n are connected to each other, so that data nodes can exchange data with each other, and core node 1000a, core node 1000b, ..., core node 1000n are connected to each other, so that core nodes can exchange data with each other.

[0068] Taking the terminal device 10a, the data node 100a and the core node 1000a as an example, the data node 100a can receive a transaction service request sent by the terminal device 10a (the transaction service request carries the ID or name of the smart contract), and then the data node 100a can send the transaction service request to the core node 1000a through the data node cluster 100; the core node 1000a can run the smart contract and execute the transaction service through the smart contract. After obtaining the execution result, the execution result can be stored in the memory pool (such as the transaction pool), and a new block can be generated according to the execution result; then, the core node 1000a can send the newly generated blocks to other core nodes in the blockchain network where it is located according to the node identifiers of other core nodes (i.e., consensus nodes) in the blockchain network, and other core nodes will verify the newly generated blocks (i.e., reach consensus), and add the newly generated blocks to the blockchain stored thereafter (that is, the execution results are stored in the blockchain after the consensus is passed). Among them, each core node in the blockchain network has a corresponding node identifier, and each core node in the blockchain network can store the node identifiers of other core nodes in the blockchain network, so that the generated blocks can be broadcast to other core nodes in the blockchain network according to the node identifiers of other core nodes, so that the data stored on all core nodes in the blockchain network are consistent.

[0069] Among them, Figure 1The terminal device shown can be a desktop terminal or mobile terminal used by the business party that generates transaction information, and can be a smart terminal with data processing functions such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart TV, a smart speaker, a desktop computer, a smart watch, a smart car terminal, etc., but is not limited to this. The transaction information (transaction data) generated by the terminal device can be transmitted to the consensus node via a data node or a light node after user authorization, and the consensus node can record the transaction information (transaction data) generated by the terminal device on the blockchain. Any data node in the data node cluster 100 can be implemented with an independent server or a server cluster composed of multiple servers, and any core node in the core node cluster 1000 can be implemented with an independent server or a server cluster composed of multiple servers.

[0070] Taking the terminal device 10a, the data node 100a and the core node 1000a as an example, the data node 100a can receive a transaction service request sent by the terminal device 10a (the transaction service request carries the ID or name of the smart contract), and then the data node 100a can send the transaction service request to the core node 1000a through the data node cluster 100; the core node 1000a can run the smart contract and execute the transaction service through the smart contract. After obtaining the execution result, the execution result can be stored in the memory pool (such as the transaction pool), and a new block can be generated according to the execution result; then, the core node 1000a can send the newly generated blocks to other core nodes in the blockchain network where it is located according to the node identifiers of other core nodes (i.e., consensus nodes) in the blockchain network, and other core nodes will verify the newly generated blocks (i.e., reach consensus), and add the newly generated blocks to the blockchain stored thereafter (that is, the execution results are stored in the blockchain after the consensus is passed). Among them, each core node in the blockchain network has a corresponding node identifier, and each core node in the blockchain network can store the node identifiers of other core nodes in the blockchain network, so that the generated blocks can be broadcast to other core nodes in the blockchain network according to the node identifiers of other core nodes, so that the data stored on all core nodes in the blockchain network are consistent.

[0071] It is understandable that the transaction business of the terminal device can be understood as transaction data. The main form of storing transaction data in the blockchain is to store the transaction data in the block of the blockchain. In other words, the blockchain is mainly used to verify, store and update transaction data. It should be understood that based on the above, the blockchain has the characteristics of decentralization and tamper-proof. Based on the characteristics of the blockchain, the application scenarios of the blockchain are constantly expanding. With the widespread application of the blockchain, the application of trusted digital certificates in the blockchain is also increasing. Among them, the trusted digital certificate refers to a data object that can record and process multi-dimensional and complex attributes in the blockchain. It can be generated based on the blockchain. Each trusted digital certificate is unique and non-replicable, and it can be anchored to an item in the real world. In other words, the trusted digital certificate can be understood as a virtual resource issued on the blockchain. This virtual resource can be a game prop, a virtual artwork, a virtual ticket, a game coin, an identifier (string), a painting, etc. A trusted digital certificate can be used to represent an item in the real world or a three-dimensional virtual scene. The transaction of the item can be converted into a transaction of a trusted digital certificate.

[0072] It should be understood that each trusted digital certificate will have corresponding metadata to describe the attributes of the trusted digital certificate. In other words, each trusted digital certificate will have different attribute description information to better understand the trusted digital certificate, and the attribute description information of each trusted digital certificate can be determined based on the characteristics of the anchored object, that is, the attribute description information of the trusted digital certificate can actually be used to record the characteristics of the anchored object (such as the color of the object, the level of the object, the value of the object, the attack power of the object, the appearance of the object, etc.). Then, whenever the object has certain events, so that the characteristics of the object are updated, the attribute description information of the corresponding trusted digital certificate should also be updated, so that the object can be accurately anchored. For example, taking the object as a building, if there is a maintenance event in the building, the appearance of the building will be updated, and the attribute description information used to describe the appearance of the building in the trusted digital certificate corresponding to the building should also be added. In other words, whenever there is a new or updated related event in the anchored object, the attribute description information of the corresponding trusted digital certificate should also be updated.

[0073] In order to reduce the credential update cost of the trusted digital certificate, the present application proposes a solution for dynamically expanding the original trusted digital certificate. When there is a need to update or add attribute description information of the trusted digital certificate, there is no need to destroy the original trusted digital certificate and regenerate a new trusted digital certificate. It is only necessary to call the metadata addition function to add the corresponding attribute description information to the original trusted digital certificate. This can greatly reduce the cost of destroying the trusted digital certificate and regenerating the trusted digital certificate, and improve the credential update efficiency of the trusted digital certificate.

[0074] Specifically, for an object in a business scenario (which may be referred to as a target object), if the object has an associated extension event in the business scenario (an event occurs, which will cause an update to the characteristics of the target object, which may be referred to as a target extension event), then the business device used to serve the business scenario may obtain the trusted digital certificate of the target object (which may be referred to as a target trusted digital certificate), and generate target attribute description information for the target trusted digital certificate based on the target extension event, and generate a credential extension request containing the target attribute description information; the business device may call a metadata addition function to send a credential extension request for the target trusted digital certificate to the blockchain node, and the blockchain node may call a smart contract in the blockchain based on the credential extension request, and through the metadata addition function in the smart contract, the target attribute description information may be directly added to the attribute description information set of the target trusted digital certificate, thereby completing the dynamic extension of the target trusted digital certificate, and the storage of the newly added target extension event may be completed without re-targeting the trusted digital certificate of the target object.

[0075] Further, after completing the update of the target attribute description information, the business device can return the information extension success prompt information to the business device, and after receiving the information extension success prompt information, the business device can confirm that the target attribute description information has been extended to the target trusted digital certificate of the blockchain, then at this time, the business device can update the object display effect of the target object. For example, taking the target object as a virtual character in the game business scene as an example, assuming that the user has matched the clothing of the virtual character, that is, the clothing of the virtual character has been updated, then the event can be used as an extended event for the virtual character, and the game business scene can generate the attribute description information of the trusted digital certificate of the virtual character based on the extended event, and generate the certificate extension request for the trusted digital certificate based on the attribute description information; then, the business device can call the metadata addition function to send the certificate extension request to the blockchain node, and the blockchain node can dynamically expand the trusted digital certificate of the virtual character based on the attribute description information, and then, the business device of the game business scene can update the clothing of the virtual character to the clothing matched by the user (that is, update the display effect of the virtual character).

[0076] It is understandable that the business device here may refer to a terminal device with data processing function, and the terminal device here may include a smart phone, a tablet computer, a laptop computer, a desktop computer and other intelligent terminals with data processing function. The terminal device may be installed with a target application (i.e., an application client). When the application client runs in the terminal device, it can be used with the above-mentioned Figure 1 Data is exchanged between other blockchain nodes in the blockchain network shown. Among them, the application client may include social clients, multimedia clients (for example, video clients), entertainment clients (for example, game clients), education clients, live broadcast clients and other application clients. Among them, the application client can be an independent client, or it can be an embedded sub-client integrated in a client (for example, a social client, an education client, and a multimedia client, etc.), which is not limited here. Business equipment can also refer to a server, and the server can exchange data with the terminal device through the application in the terminal device. The server here can be an independent physical server, or it can be a server cluster or distributed system composed of multiple physical servers, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.

[0077] It is understandable that the method provided in the embodiment of the present invention can be executed by a computer device, including but not limited to a terminal device or a server (such as a business server). The blockchain node in the embodiment of the present invention can be a computer device.

[0078] It should be noted that in the specific implementation of this application, user information, user data (such as transaction data, target extension events, etc.) and other related data need to be obtained with the authorization of the user. In other words, when the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of relevant countries and regions.

[0079] For further information, see Figure 2 , Figure 2 It is a method flow chart of a data processing method provided in an embodiment of the present application. Figure 2 is a method flow chart of a data processing method provided in an embodiment of the present application. The process can be executed by a computer device, which can be Figure 1 Any blockchain node (such as a core node) in the blockchain network shown. Figure 2 As shown, the process may include at least the following steps S101 to S103:

[0080] Step S101, receiving a credential extension request for a target trusted digital credential sent by a business device; the target trusted digital credential refers to a trusted digital credential used to characterize a target object in a business scenario; the credential extension request includes target attribute description information for the target trusted digital credential; the target attribute description information is generated based on a target extension event associated with the target object in the business scenario.

[0081] In this application, a business device may refer to a device (such as a terminal device) used to serve a business scenario. For example, when the business scenario is a game business scenario, a game application may exist in the game business scenario, and the business device may be a device for deploying the game application. A target object may refer to an object in a business scenario. For ease of understanding, taking the business scenario as a game business scenario as an example, the target object may refer to a virtual character in the game scenario. For another example, taking the business scenario as a building sale business scenario as an example, the target object may refer to a building in the building sale scenario. For another example, taking the business scenario as an item value assessment business scenario as an example, the target object may refer to an item to be assessed (such as a vase, a bracelet, a painting, etc.). In other words, the target object varies with different business scenarios.

[0082] It should be understood that each object in different business scenarios can be represented by a trusted digital certificate, so the relevant operations on the object can be transformed into the relevant operations on the trusted digital certificate. Among them, the trusted digital certificate here can refer to a data object that can record and process multi-dimensional and complex attributes in the blockchain and can be generated based on the blockchain. The trusted digital certificate is generated based on the blockchain and can be any form of data. In essence, the trusted digital certificate can be understood as a virtual resource issued on the blockchain. This virtual resource can be a virtual item (such as game props, virtual artworks, virtual tickets, game coins, a painting, etc.). This virtual resource can also refer to a digital identifier (such as a unique, non-copyable string), etc. A trusted digital certificate can be used to uniquely represent an item in the real world or the virtual world, and the transaction of items can be converted into a transaction of a trusted digital certificate.

[0083] In the present application, for an object in a business scenario (referred to as a target object), if the object generates an associated extended event in the business scenario (an event is generated that will cause an update to the characteristics of the target object, which can be referred to as a target extended event), then the business device used to serve the business scenario can obtain the trusted digital certificate of the target object (referred to as a target trusted digital certificate), and generate target attribute description information for the target trusted digital certificate based on the target extended event, and generate a credential extension request containing the target attribute description information, for requesting to extend the target trusted digital certificate based on the target attribute description information.

[0084] Among them, it can be understood that, based on the above, the target extended event refers to an event generated based on the target object, and the event can have an impact on the characteristics of the target object. For example, taking the business scenario as a game business scenario as an example, the target object can refer to a virtual character in the game business scenario. Assuming that a user who manipulates the virtual character manipulates the virtual character to participate in an activity in the game, so that the level of the virtual character is improved, then the event can be used as an extended event of the virtual character (that is, the virtual character is upgraded through xx activity). It should be understood that when the level of the virtual character is improved, the certificate value of the trusted digital certificate corresponding to the virtual character will also be improved. At this time, it is necessary to write the extended event into the metadata of the trusted digital certificate corresponding to the virtual character (metadata can refer to data used to describe the trusted digital certificate, and metadata can be used to describe the attributes of the trusted digital certificate. Generally, it can be called attribute description information).

[0085] In the present application, a target extension event may refer to any extension event of a target object, and an extension event of a target object may refer to an event generated based on the target object, which is generated based on the target object and may change a certain feature (such as appearance features, attribute features, etc.) of the target object.

[0086] It should be understood that after the target object generates a target extension event, the business device can perform event qualification verification on the target extension event to verify whether the target extension event can be written into the metadata of the trusted digital certificate. After the verification is passed, the target attribute description information for the target trusted digital certificate is generated based on the target extension event, and a credential extension request containing the target attribute description information is sent to the blockchain node.

[0087] Step S102, based on the credential extension request, the smart contract in the blockchain is called, and the target attribute description information is added to the attribute description information set of the target trusted digital credential through the metadata addition function in the smart contract.

[0088] In this application, after receiving a credential extension request for a target trusted digital credential sent by a business device, a blockchain node can add the target attribute description information to the attribute description information set of the target trusted digital credential through the metadata addition function in the smart contract.

[0089] It should be noted that in order to improve the security during data transmission, the business device can sign the credential extension request based on the private key of the business device before sending the credential extension request to the blockchain node, thereby obtaining a digital signature. Subsequently, the blockchain node can verify the digital signature based on the public key of the business device. The identity of the business device can be verified through the signature verification. When the verification result is a passed result, it can be determined that the identity of the business device is a legal identity. At this time, the smart contract in the blockchain can be called based on the credential extension request, and the metadata addition function in the smart contract can be used to add the target attribute description information to the attribute description information set of the target trusted digital certificate. That is to say, the credential extension request can carry digital signature information, and the digital signature information is obtained by the business device signing the credential extension request based on the private key of the business device. Therefore, before executing the step of calling the smart contract in the blockchain based on the credential extension request and adding the target attribute description information to the attribute description information set of the target trusted digital certificate through the metadata addition function in the smart contract, you can first obtain the public key of the business device, and verify the digital signature information based on the public key of the business device to obtain the verification result; when the verification result is a passed result, the step of calling the smart contract in the blockchain based on the credential extension request is executed.

[0090] Optionally, it can be understood that, based on the above, after the target object generates a target extension event, the business device can perform event qualification verification on the target extension event to verify whether the target extension event can be written into the metadata of the trusted digital certificate. After the verification is passed, the target attribute description information for the target trusted digital certificate is generated based on the target extension event, and a certificate extension request containing the target attribute description information is sent to the blockchain node. In a feasible embodiment, after the target object generates a target extension event, the business device may not first perform event qualification verification on the target extension event, but directly generate target attribute description information for the target trusted digital certificate based on the target extension event, and generate a certificate extension request containing the target attribute description information, and then send the certificate extension request to the blockchain node, and the blockchain node performs event qualification verification on the target extension event. In other words, after receiving the certificate extension request, the blockchain node can first perform event qualification verification on the target extension event based on the event qualification verification rules of the business scenario, and after the verification is passed, execute the step of calling the smart contract in the blockchain, and adding the target attribute description information to the attribute description information set of the target trusted digital certificate through the metadata addition function in the smart contract. For the specific implementation method of blockchain nodes to verify the event qualifications of target extension events based on event qualification verification rules, please refer to the subsequent Figure 3 The description in the corresponding embodiment will not be repeated here.

[0091] In addition, it is understandable that in order to improve the accuracy of data addition, the blockchain node can also verify the association relationship between the target trusted digital certificate and the business object corresponding to the business device (which can be understood as the object that initiates the certificate extension request through the business device), verify whether the business object corresponding to the business device is the issuing object of the target trusted digital certificate, verify whether the business object has the modification authority of the target trusted digital certificate, etc. When it is verified that there is indeed an association relationship between the target trusted digital certificate and the business object, the blockchain node can add the target attribute description information to the attribute description information set of the target trusted digital certificate through the metadata addition function in the smart contract (that is, after the verification is passed, it can be determined that the business object is indeed the object that issues the target trusted digital certificate, and the business object does have the modification authority of the target trusted digital certificate. At this time, based on the certificate extension request of the business object, the target attribute description information can be added to the attribute description information set of the target trusted digital certificate).

[0092] That is to say, the specific implementation method of adding the target attribute description information to the attribute description information set of the target trusted digital certificate through the metadata adding function in the smart contract can be: the metadata adding function in the smart contract can be used to obtain a set of certificate issuance objects with modification permissions of the target trusted digital certificate; then, the certificate issuance object set can be traversed; when there is a business object in the certificate issuance object set, the attribution address of the target trusted digital certificate can be obtained, and based on the attribution address of the target trusted digital certificate, the target attribute description information can be added to the attribute description information set of the target trusted digital certificate; wherein, the business object refers to the object corresponding to the business device.

[0093] Among them, for the attribution address based on the target trusted digital certificate, the specific implementation method of adding the target attribute description information to the attribute description information set of the target trusted digital certificate can be: the account address of the business object in the blockchain can be obtained; if the attribution address is the same as the account address, the target attribute description information can be added to the attribute description information set of the target trusted digital certificate.

[0094] It should be understood that the trusted digital certificate of an object in a certain business scenario can be issued in the blockchain by the provider of the business scenario (which can be called the business provider, such as the game provider). Then, for the trusted digital certificate, only the issuing object has the right to modify it. Then, for the target trusted digital certificate, the set of certificate issuing objects with the right to modify the target trusted digital certificate can be obtained. If the business object exists in the set of certificate issuing objects, it can be determined that the business object is an issuer of the target trusted digital certificate, and the business object has the right to modify the target trusted digital certificate. In addition, it can also be verified whether the target trusted digital certificate belongs to the account address of the business object. If the verification is successful, it can be determined that the target trusted digital certificate is indeed issued by the business object and is issued for the target object. At this time, the target attribute description information can be added to the attribute description information set of the target trusted digital certificate through the metadata addition function.

[0095] Step S103, returning information indicating successful extension to the business device, so that the business device updates the object display effect of the target object based on the successful extension prompt information; the updated object display effect is determined by the attribute description information set after adding the target attribute description information.

[0096] In the present application, after successfully adding the target attribute description information to the attribute description information set of the target trusted digital certificate, the blockchain node can generate a successful information extension prompt message, and return the successful information extension prompt message to the business device to prompt that the target attribute description information of the business object has been successfully added. It should be understood that after receiving the successful information extension prompt message, the business device can update the front-end display corresponding to the attribute description information of the target trusted digital certificate. For example, the business device can update the object display effect of the target object, and the user can view the updated object display effect in the front-end display interface of the business device.

[0097] In an embodiment of the present application, a scheme for dynamically modifying the attribute description information of a trusted digital certificate is provided. Whenever an extension event (such as a target extension event) associated with a target object is generated in a business scenario, it is necessary to update the target trusted digital certificate corresponding to the target object based on the target extension event. In the present application, the business device corresponding to the business scenario can directly generate a credential extension request for the target trusted digital certificate based on the target extension event, and send the credential extension request to the blockchain node; the blockchain node can call a smart contract based on the credential extension request, and through the metadata addition function in the smart contract, the target attribute description information can be added to the attribute description information set of the target trusted digital certificate, thereby achieving the extension of the target trusted digital certificate, without the need to regenerate a new trusted digital certificate, and the target trusted digital certificate can be accurately updated based on the target extension event. It should be understood that the present application provides a metadata adding function, and the business scenario can dynamically extend the trusted digital certificate through the metadata adding function. Whenever there is a new extension event for the target object, the trusted digital certificate can be updated without generating a new trusted digital certificate, which can well reduce the credential update cost of the trusted digital certificate and improve the credential update efficiency of the trusted digital certificate. The business scenario can also update and display the object display effect of the target object based on the updated trusted digital certificate. In summary, the present application can dynamically extend the original trusted digital certificate, thereby reducing the credential update cost of the trusted digital certificate and improving the credential update efficiency of the trusted digital certificate.

[0098] For further information, see Figure 3 , Figure 3 : is a schematic diagram of a process for extending the attribute description information of a trusted digital certificate provided by an embodiment of the present application. Figure 2 In the corresponding embodiment, for calling a smart contract in the blockchain based on a credential extension request, the target attribute description information is added to the attribute description information set of the target trusted digital credential through the metadata addition function in the smart contract. Figure 3As shown, the process may include at least the following steps S301 to S303:

[0099] Step S301, based on the credential extension request, obtain the event qualification verification rules corresponding to the business scenario; the event qualification verification rules are used to verify the extended events in the business scenario.

[0100] Specifically, the event qualification verification rules here can be determined by the business objects. The event qualification verification rules determined by different business objects can be stored in the blockchain, and the blockchain nodes can be obtained from the blockchain.

[0101] Step S302: verify the event qualification of the target extended event according to the event qualification verification rule to obtain the qualification verification result of the target extended event.

[0102] Specifically, the event qualification verification rules for different business scenarios are different, and in the same business scenario, the verification rules for different extended events of different objects will also be different. Therefore, when verifying the event qualification of the target extended event, verification can be performed based on specific verification rules. To facilitate understanding, the following example illustrates a method for verifying the event qualifications of a target extended event based on an event qualification verification rule. Taking a business scenario as a game business scenario, a target object as a target virtual object in the game business, and a target extended event as an example, the event in which the configuration attribute parameters of the target virtual object are updated, the specific implementation method for verifying the event qualifications of the target extended event according to the event qualification verification rule to obtain the qualification verification result of the target extended event may be as follows: a threshold mapping table in the event qualification verification rule may be obtained; wherein the threshold mapping table includes a mapping relationship between a credential value threshold set and a virtual object set in the game business; and a credential value threshold in the credential value threshold set has a mapping relationship with the virtual object set; the virtual object set contains the target virtual object; subsequently, the updated configuration attribute parameters of the target virtual object in the target extended event may be obtained, and the target credential value of the target trusted digital credential may be determined based on the updated configuration attribute parameters of the target virtual object; based on the target credential value and the threshold mapping table, the event qualifications of the target extended event may be verified to obtain the qualification verification result of the target extended event.

[0103] Among them, for verifying the event qualifications of the target extended event based on the target credential value and the threshold mapping table, the specific implementation method for obtaining the qualification verification result of the target extended event can be: the credential value threshold that has a mapping relationship with the target virtual object in the credential value threshold set contained in the threshold mapping table can be determined as the credential value threshold to be compared; if the credential value threshold to be compared is greater than the target credential value of the target trusted digital certificate, then the qualification verification result of the target extended event can be determined as a qualification verification failure result; and if the credential value threshold to be compared is less than the target credential value of the target trusted digital certificate, then the qualification verification result of the target extended event can be determined as a qualification verification pass result.

[0104] It should be understood that in the game business scenario, the configuration attribute parameters of the target virtual object can determine the object value of the target virtual object, so the configuration attribute parameters of the target virtual object can also determine the voucher value of the target trusted digital certificate corresponding to the target virtual object. Based on this, after the configuration attribute parameters of the target virtual object are updated, the blockchain node can determine the voucher value of the target trusted digital certificate (for the convenience of distinction, it can be called the target voucher value) based on the updated configuration attribute parameters of the target virtual object (i.e., the updated configuration attribute parameters). In the game business scenario, for the event qualification verification rule of the target virtual object, it can be referred to that the target voucher value of the target trusted digital certificate needs to be greater than the voucher value threshold configured for the target virtual object. At this time, the voucher value threshold with a mapping relationship with the target virtual object can be obtained. If the target voucher value is greater than the voucher value threshold, the qualification verification result of the target extension event can be determined to be the qualification verification pass result; and if the target voucher value is less than the voucher value threshold, the qualification verification result of the target extension event can be determined to be the qualification verification failure result.

[0105] For another example, taking the business scenario of virtual resource evaluation for items as an example, the target object may be the item to be evaluated in the virtual resource evaluation business for items, and the target extended event may refer to the maintenance event of the item to be evaluated. At this time, the specific implementation method of verifying the event qualification of the target extended event according to the event qualification verification rule and obtaining the qualification verification result of the target extended event may be: according to the event qualification verification rule, the target maintenance component in the target extended event and the maintenance component status of the target maintenance component may be obtained; then, the historical component status of the target maintenance component may be obtained, and based on the maintenance component status and the historical component status, the event qualification of the target extended event may be verified to obtain the qualification verification result of the target extended event.

[0106] Among them, for verifying the event qualification of the target extended event based on the maintenance component status and the historical component status, the specific implementation method of obtaining the qualification verification result of the target extended event can be: the difference component status between the maintenance component status and the historical component status can be determined, and the new item valuation value of the item to be evaluated can be determined based on the difference component status; then, the current item valuation value of the item to be evaluated can be obtained, and the current item valuation value can be updated based on the new item valuation value, thereby obtaining the target item valuation value of the item to be evaluated; when the target item valuation value is greater than the item valuation value threshold, the qualification verification result of the target extended event can be determined as a qualification verification pass result; and when the target item valuation value is less than the item valuation value threshold, the qualification verification result of the target extended event can be determined as a qualification verification failure result.

[0107] It should be understood that in the virtual resource evaluation business scenario for items, if a maintenance event occurs for an item to be evaluated, the item value of the item to be evaluated will also be changed. Then, the newly added item evaluation value of the item to be evaluated can be determined based on the state of the item to be evaluated after maintenance, and then the event qualification of the event can be verified based on the newly added item evaluation value. Specifically, it should be understood that the item to be evaluated can be composed of different components, and the maintenance of the item to be evaluated can refer to the maintenance of the components of the item to be evaluated, so the repaired components (which can be called target maintenance components) can be included in the target extension event. Based on the historical component status (component status before this maintenance) and the maintenance component status (component status after this maintenance) of the target maintenance component, the differential component status of the target maintenance component can be determined, and the specific maintenance situation of the target maintenance component can be determined through the differential component status, thereby determining the newly added item evaluation value of the item to be evaluated based on the differential component status.

[0108] Furthermore, based on the valuation value of the newly added item and the current valuation value of the item to be evaluated (which can be understood as the item valuation value before maintenance), the valuation value of the item to be evaluated after maintenance can be determined (which can be referred to as the target item valuation value. For example, the valuation value of the newly added item and the current item valuation value can be added, and the resulting addition result can be used as the target item valuation value). If the target item valuation value is greater than the item valuation value threshold, the qualification verification result of the target expansion event can be determined as a qualification verification pass result; and if the target item valuation value is less than the item valuation value threshold, the qualification verification result of the target expansion event can be determined as a qualification verification failure result.

[0109] Step S303, when the qualification verification result is a qualified qualification verification result, the smart contract in the blockchain is called, and the target attribute description information is added to the attribute description information set of the target trusted digital certificate through the metadata addition function in the smart contract.

[0110] Specifically, when the qualification verification result of the above event is a qualified qualification verification result, the blockchain node can call the smart contract in the blockchain, and add the target attribute description information to the attribute description information set of the target trusted digital certificate through the metadata addition function in the smart contract.

[0111] It should be noted that the embodiments of the present application take the business scenarios of game business scenarios and virtual resource evaluation business scenarios for items as examples, and illustrate the method of verifying the event qualifications of the target extension event according to the event qualification verification rules and obtaining the qualification verification results of the target extension event. These verification methods are examples made to facilitate understanding of the target extension event and verify the target extension event based on the event qualification verification rules, and they do not have practical reference significance. In actual scenarios, the event qualification verification rules can be determined based on the needs of specific business scenarios, or the event qualifications of the target extension event can be verified based on the specific event qualification verification rules of the business scenario. The embodiments of the present application do not specifically limit this.

[0112] In an embodiment of the present application, a scheme for dynamically modifying the attribute description information of a trusted digital certificate is provided. Whenever an extension event (such as a target extension event) associated with a target object is generated in a business scenario, it is necessary to update the target trusted digital certificate corresponding to the target object based on the target extension event. In the present application, the business device corresponding to the business scenario can directly generate a credential extension request for the target trusted digital certificate based on the target extension event, and send the credential extension request to the blockchain node; the blockchain node can call a smart contract based on the credential extension request, and through the metadata addition function in the smart contract, the target attribute description information can be added to the attribute description information set of the target trusted digital certificate, thereby achieving the extension of the target trusted digital certificate, without the need to regenerate a new trusted digital certificate, and the target trusted digital certificate can be accurately updated based on the target extension event. It should be understood that the present application provides a metadata adding function, and the business scenario can dynamically extend the trusted digital certificate through the metadata adding function. Whenever there is a new extension event for the target object, the trusted digital certificate can be updated without generating a new trusted digital certificate, which can well reduce the credential update cost of the trusted digital certificate and improve the credential update efficiency of the trusted digital certificate. The business scenario can also update and display the object display effect of the target object based on the updated trusted digital certificate. In summary, the present application can dynamically extend the original trusted digital certificate, thereby reducing the credential update cost of the trusted digital certificate and improving the credential update efficiency of the trusted digital certificate.

[0113] For further information, see Figure 4 , Figure 4 It is a schematic diagram of a scenario for dynamically expanding a trusted digital credential provided in an embodiment of the present application.

[0114] like Figure 4 As shown, taking the business scenario as a game business scenario as an example, the target object may refer to a virtual character in the game business scenario. Assuming that a user who manipulates the virtual character manipulates the virtual character to participate in an activity in the game, so that the level of the virtual character is improved, then the event can be used as an extended event of the virtual character (that is, the virtual character is upgraded through xx activity). It should be understood that when the level of the virtual character is upgraded, the certificate value of the trusted digital certificate corresponding to the virtual character will also be improved. At this time, the extended event needs to be written into the metadata of the trusted digital certificate corresponding to the virtual character (metadata may refer to data used to describe a trusted digital certificate. Metadata may be used to describe the attributes of a trusted digital certificate. Generally, it may be referred to as attribute description information).

[0115] At this time, the business device can generate attribute description information for the trusted digital certificate based on the extended event (assuming that the generated attribute description information is attribute description information 4), and call the metadata addition function (such as calling the addDynamicNFTMetadata function) to send a credential extension request containing the attribute description information 4 to the blockchain node. Exemplarily, taking the trusted digital certificate of the virtual character as the trusted digital certificate G as an example, the business device can generate a credential extension request for the trusted digital certificate G to request that the attribute description information 4 be extended to the metadata of the trusted digital certificate G (metadata is data describing the attributes of the trusted digital certificate, which can be called attribute description information).

[0116] like Figure 4 As shown, after receiving the credential extension request, the blockchain node can call the metadata addition function (such as the addDynamicNFTMetadata function) to add the attribute description information 4 to the attribute description information set of the trusted digital credential G. Figure 4 As shown, before adding attribute description information 4, the attribute description information of the trusted digital certificate G includes attribute description information 1, attribute description information 2, and attribute description information 3, and after adding attribute description information 4, the attribute description information of the trusted digital certificate G includes attribute description information 1, attribute description information 2, attribute description information 3, and attribute description information 4. The trusted digital certificate G can be dynamically extended without regenerating the trusted digital certificate G.

[0117] For further information, see Figure 5 , Figure 5 This is a flow chart of a system flow provided by an embodiment of the present application. The flow may include at least the following steps S51 to S61:

[0118] Step S51: A user participates in an activity in a business scenario to generate an extended event.

[0119] Specifically, in a business scenario, a user can participate in an activity provided by the business scenario, and through this activity, an object in the business scenario can be affected, and the event that the object is affected can be understood as an extended event. For example, taking the business scenario as a game business scenario, a user can manipulate a virtual character in the business scenario to participate in the activity of cleaning a virtual kitchen. Through this activity, the level of the virtual character is improved, and the event of the level being improved can be regarded as an extended event of the virtual character. The business device can collect the extended events generated by each object in the business scenario.

[0120] Step S52: The business device performs event qualification verification on the extended event.

[0121] Specifically, the business device can perform qualification verification on the extended event based on the event qualification verification rules in the business scenario. For the specific verification method, please refer to the above Figure 3 The description of the event qualification verification of the target extended event by the blockchain based on the event qualification verification rules in the corresponding embodiment will not be repeated here.

[0122] Step S53: After verification, the business device sends a certificate extension request for the trusted digital certificate to the digital resource service device.

[0123] Specifically, the digital resource service device here may refer to a device for managing and serving trusted digital credentials. After passing the verification in the above step S52, and after the verification is passed, the business device can obtain the object that generates the extended event in the business scenario, and the trusted digital credential of the object. The business device can generate an attribute description information for the trusted digital credential based on the extended event, and generate a credential extension request containing the attribute description information. In a feasible embodiment, the business device can forward the credential extension request to the blockchain (a blockchain node in the blockchain) through the digital resource service device. In a feasible embodiment, the business device can also directly send the credential extension request to the blockchain.

[0124] It should be noted that when a business device sends a credential extension request, it can send the credential extension request to the digital resource service device by calling a metadata addition function. In this application, based on the relevant standards of trusted digital credentials in the blockchain, a universal standard interface can be designed to define the relevant standards of unified dynamically extensible trusted digital credentials, so that business devices can dynamically extend trusted digital credentials through these interfaces.

[0125] Exemplarily, the function of adding metadata of a new trusted digital certificate can be implemented through a metadata adding function interface, and the metadata adding function interface can be specifically as follows:

[0126] function addDynamicNFTMetadata(uint256_tokenId,string memory uri1)external returns(bool_success){

[0127] / / tokenId does not exist, return error

[0128] if (idUris.length) == 0 {

[0129] return false;

[0130] }

[0131] idUris.push(uri1);

[0132] return true;

[0133] } / / Metadata adding function interface

[0134] Among them, the specific newly added content is different in different business scenarios; in addition, the metadata data items of the trusted digital certificate can only be added but not deleted.

[0135] Step S54: the digital resource service device may authenticate the service device.

[0136] Specifically, the business device can sign the credential extension request based on the private key to obtain a digital signature, and the digital resource service device can verify the digital signature based on the public key of the business device to determine whether the identity of the business device is legal (i.e., authenticate the business device).

[0137] Step S55: The digital resource service device forwards the credential extension request to the blockchain.

[0138] Specifically, after authentication is passed, the digital resource service device can forward the credential extension request to the blockchain to request the addition of attribute description information of the trusted digital credential.

[0139] In step S56, the blockchain node verifies the information of the trusted digital certificate that needs to be expanded through the smart contract.

[0140] Specifically, the information verification of the trusted digital certificate here may refer to the verification of the association between the trusted digital certificate and the business object corresponding to the business device (which can be understood as the object that initiates the credential extension request through the business device), verifying whether the business object corresponding to the business device is the issuing object of the target trusted digital certificate, verifying whether the business object has the modification authority of the target trusted digital certificate, etc.

[0141] Step S57, adding attribute description information to the trusted digital certificate.

[0142] Specifically, after the information verification is passed, the blockchain node can add attribute description information to the trusted digital certificate through the metadata adding function.

[0143] Step S58, the blockchain returns the execution result to the digital resource service device.

[0144] Step S59: the digital resource service device changes the metadata of the trusted digital certificate in the database.

[0145] Specifically, after receiving the execution result, the digital asset service can update the metadata information of the trusted digital certificate in the local database.

[0146] Step S60: The user queries the trusted digital certificate through the business device.

[0147] Specifically, users can use the blockchain application in their business devices to query the trusted digital certificate of ownership on the blockchain.

[0148] Step S61, the blockchain application returns the query result.

[0149] Specifically, the blockchain can return all trusted digital certificates that the user owns on the blockchain, and simultaneously display the metadata information of each trusted digital certificate.

[0150] It should be noted that this application can implement dynamic expansion of trusted digital credentials by adding a new data structure idUris. Specifically, this data structure can be implemented by expanding the data structure of the original standard protocol of the trusted digital credential (originally, each trusted digital credential's tokenId only corresponds to one uri, and currently each tokenId corresponds to an array of uris, so that multiple data items can be added). The newly added data structure can be specifically shown as follows:

[0151] mapping(uint256=>string[])idUris; / / Newly added data structure

[0152] In an embodiment of the present application, a scheme for dynamically modifying the attribute description information of a trusted digital certificate is provided. Whenever an extension event (such as a target extension event) associated with a target object is generated in a business scenario, it is necessary to update the target trusted digital certificate corresponding to the target object based on the target extension event. In the present application, the business device corresponding to the business scenario can directly generate a credential extension request for the target trusted digital certificate based on the target extension event, and send the credential extension request to the blockchain node; the blockchain node can call a smart contract based on the credential extension request, and through the metadata addition function in the smart contract, the target attribute description information can be added to the attribute description information set of the target trusted digital certificate, thereby achieving the extension of the target trusted digital certificate, without the need to regenerate a new trusted digital certificate, and the target trusted digital certificate can be accurately updated based on the target extension event. It should be understood that the present application provides a metadata adding function, and the business scenario can dynamically extend the trusted digital certificate through the metadata adding function. Whenever there is a new extension event for the target object, the trusted digital certificate can be updated without generating a new trusted digital certificate, which can well reduce the credential update cost of the trusted digital certificate and improve the credential update efficiency of the trusted digital certificate. The business scenario can also update and display the object display effect of the target object based on the updated trusted digital certificate. In summary, the present application can dynamically extend the original trusted digital certificate, thereby reducing the credential update cost of the trusted digital certificate and improving the credential update efficiency of the trusted digital certificate.

[0153] For further information, see Figure 6 , Figure 6 1 is a schematic diagram of the structure of a data processing device provided in an embodiment of the present application. The data processing device may be a computer program (including program code) running in a computer device, for example, the data processing device is an application software; the data processing device may be used to execute Figure 3 As shown in the method. Figure 6 As shown, the data processing device 1 may include: a request receiving module 11 , an information adding module 12 and an information returning module 13 .

[0154] The request receiving module 11 is used to receive a credential extension request for a target trusted digital credential sent by a business device; the target trusted digital credential refers to a trusted digital credential used to characterize a target object in a business scenario; the credential extension request includes target attribute description information for the target trusted digital credential; the target attribute description information is generated based on a target extension event associated with the target object in the business scenario;

[0155] An information adding module 12 is used to call a smart contract in the blockchain based on a credential extension request, and add the target attribute description information to the attribute description information set of the target trusted digital credential through a metadata adding function in the smart contract;

[0156] The information return module 13 is used to return information about successful information extension to the business device, so that the business device updates the object display effect of the target object based on the successful information extension prompt; the updated object display effect is determined by the attribute description information set after adding the target attribute description information.

[0157] The specific implementation of the request receiving module 11, the information adding module 12 and the information returning module 13 can be found in the above Figure 2 The description of step S101 to step S103 in the corresponding embodiment will not be repeated here.

[0158] In one embodiment, a credential extension request is generated by a business device after receiving a target extension event of an ownership object to a target object, performing event qualification verification on the target extension event based on event qualification verification rules corresponding to the business scenario, and after the verification passes; the ownership object refers to an object that has ownership of the target trusted digital credential.

[0159] In one embodiment, the credential extension request carries digital signature information; the digital signature information is obtained by the service device signing the credential extension request based on the private key of the service device;

[0160] The data processing device 1 may further include: a signature verification module 14 and a step execution module 15 .

[0161] The signature verification module 14 is used to obtain the public key of the business device, verify the digital signature information based on the public key of the business device, and obtain the signature verification result;

[0162] The step execution module 15 is used to execute the step of calling the smart contract in the blockchain based on the credential extension request when the signature verification result is a signature verification passing result.

[0163] The specific implementation of the signature verification module 14 and the step execution module 15 can be found in the above Figure 2 The description of step S102 in the corresponding embodiment will not be repeated here.

[0164] In one embodiment, the information adding module 12 may include: a rule acquiring unit 121 , a qualification verifying unit 122 and an information adding unit 123 .

[0165] A rule acquisition unit 121 is used to acquire an event qualification verification rule corresponding to a business scenario based on a credential extension request; the event qualification verification rule is used to verify an extended event in a business scenario;

[0166] The qualification verification unit 122 is used to verify the event qualification of the target extended event according to the event qualification verification rule to obtain the qualification verification result of the target extended event;

[0167] The information adding unit 123 is used to call the smart contract in the blockchain when the qualification verification result is a qualification verification pass result, and add the target attribute description information to the attribute description information set of the target trusted digital certificate through the metadata adding function in the smart contract.

[0168] The specific implementation of the rule acquisition unit 121, the qualification verification unit 122 and the information adding unit 123 can be found in the above Figure 3 The description of steps S301 to S303 in the corresponding embodiment will not be repeated here.

[0169] In one embodiment, the business scenario is a game business scenario, the target object is a target virtual object in the game business; the target extension event refers to an event in which a configuration attribute parameter of the target virtual object is updated;

[0170] The qualification verification unit 122 may include: a table acquisition subunit 1221 , a voucher value determination subunit 1222 , and a qualification verification subunit 1223 .

[0171] Table acquisition subunit 1221, used to acquire a threshold mapping table in the event qualification verification rule; the threshold mapping table includes a mapping relationship between a voucher value threshold set and a virtual object set in the game business; a voucher value threshold in the voucher value threshold set has a mapping relationship with the virtual object set; the virtual object set includes a target virtual object;

[0172] The credential value determination subunit 1222 is used to obtain the update configuration attribute parameters of the target virtual object in the target extension event, and determine the target credential value of the target trusted digital credential based on the update configuration attribute parameters of the target virtual object;

[0173] The qualification verification subunit 1223 is used to verify the event qualification of the target extended event based on the target credential value and threshold mapping table to obtain the qualification verification result of the target extended event.

[0174] The specific implementation methods of the table acquisition subunit 1221, the certificate value determination subunit 1222 and the qualification verification subunit 1223 can be found in the above Figure 3The description of step S302 in the corresponding embodiment will not be repeated here.

[0175] In one embodiment, the qualification verification subunit 1223 is further specifically used to determine the credential value threshold value that has a mapping relationship with the target virtual object in the credential value threshold value set included in the threshold mapping table as the credential value threshold value to be compared;

[0176] The qualification verification subunit 1223 is further specifically configured to determine that the qualification verification result of the target extended event is a qualification verification failure result if the credential value threshold to be compared is greater than the target credential value of the target trusted digital credential;

[0177] The qualification verification subunit 1223 is further specifically used to determine that the qualification verification result of the target extended event is a qualification verification pass result if the credential value threshold to be compared is less than the target credential value of the target trusted digital credential.

[0178] In one embodiment, the business scenario is a virtual resource evaluation business scenario for items; the target object is an item to be evaluated in the virtual resource evaluation business for items; the target extension event is a maintenance event of the item to be evaluated;

[0179] The qualification verification unit 122 may include: a component status acquisition subunit 1224 and a qualification verification subunit 1225 .

[0180] The component status acquisition subunit 1224 is used to acquire the target maintenance component in the target extended event and the maintenance component status of the target maintenance component according to the event qualification verification rule;

[0181] The qualification verification subunit 1225 is used to obtain the historical component status of the target maintenance component, and verify the event qualification of the target extended event based on the maintenance component status and the historical component status to obtain the qualification verification result of the target extended event.

[0182] The specific implementation of the component status acquisition subunit 1224 and the qualification verification subunit 1225 can be found in the above Figure 3 The description of step S302 in the corresponding embodiment will not be repeated here.

[0183] In one embodiment, the qualification verification subunit 1225 is further specifically used to determine the difference component status between the maintenance component status and the historical component status, and determine the newly added item evaluation value of the item to be evaluated based on the difference component status;

[0184] The qualification verification subunit 1225 is further specifically used to obtain the current item evaluation value of the item to be evaluated, and update the current item evaluation value based on the newly added item evaluation value to obtain the target item evaluation value of the item to be evaluated;

[0185] The qualification verification subunit 1225 is further specifically configured to determine the qualification verification result of the target extension event as a qualification verification pass result when the target item evaluation value is greater than the item evaluation value threshold;

[0186] The qualification verification subunit 1225 is further specifically configured to determine the qualification verification result of the target extended event as a qualification verification failure result when the target item evaluation value is less than the item evaluation value threshold.

[0187] In one embodiment, the information adding module 12 may include: a set acquiring unit 124 , a set traversing unit 125 , an address acquiring unit 126 and an information adding unit 127 .

[0188] A collection acquisition unit 124 is used to acquire a collection of certificate issuance objects having modification authority of a target trusted digital certificate by adding a function to metadata in a smart contract;

[0189] A collection traversal unit 125, used to traverse the collection of credential issuance objects;

[0190] An address acquisition unit 126, used to acquire the home address of the target trusted digital certificate when there is a business object in the certificate issuance object set;

[0191] The information adding unit 127 is used to add the target attribute description information to the attribute description information set of the target trusted digital certificate based on the home address of the target trusted digital certificate; the business object refers to the object corresponding to the business device.

[0192] The specific implementation of the set acquisition unit 124, the set traversal unit 125, the address acquisition unit 126 and the information adding unit 127 can be found in the above Figure 2 The description of step S102 in the corresponding embodiment will not be repeated here.

[0193] In one embodiment, the information adding unit 127 may include: an account address obtaining subunit 1271 and an information adding subunit 1272 .

[0194] An account address acquisition subunit 1271 is used to acquire the account address of the business object in the blockchain;

[0195] The information adding subunit 1272 is used to add the target attribute description information to the attribute description information set of the target trusted digital certificate if the home address is the same as the account address.

[0196] The specific implementation of the account address acquisition subunit 1271 and the information adding subunit 1272 can be found in the above Figure 2The description of step S102 in the corresponding embodiment will not be repeated here.

[0197] In an embodiment of the present application, a scheme for dynamically modifying the attribute description information of a trusted digital certificate is provided. Whenever an extension event (such as a target extension event) associated with a target object is generated in a business scenario, it is necessary to update the target trusted digital certificate corresponding to the target object based on the target extension event. In the present application, the business device corresponding to the business scenario can directly generate a credential extension request for the target trusted digital certificate based on the target extension event, and send the credential extension request to the blockchain node; the blockchain node can call a smart contract based on the credential extension request, and through the metadata addition function in the smart contract, the target attribute description information can be added to the attribute description information set of the target trusted digital certificate, thereby achieving the extension of the target trusted digital certificate, without the need to regenerate a new trusted digital certificate, and the target trusted digital certificate can be accurately updated based on the target extension event. It should be understood that the present application provides a metadata adding function, and the business scenario can dynamically extend the trusted digital certificate through the metadata adding function. Whenever there is a new extension event for the target object, the trusted digital certificate can be updated without generating a new trusted digital certificate, which can well reduce the credential update cost of the trusted digital certificate and improve the credential update efficiency of the trusted digital certificate. The business scenario can also update and display the object display effect of the target object based on the updated trusted digital certificate. In summary, the present application can dynamically extend the original trusted digital certificate, thereby reducing the credential update cost of the trusted digital certificate and improving the credential update efficiency of the trusted digital certificate.

[0198] For further information, see Figure 7 , Figure 7 Schematic diagram of the structure of a computer device provided in an embodiment of the present application. Figure 7 As shown above Figure 6The data processing device 1 in the corresponding embodiment can be applied to the above-mentioned computer device 8000, and the above-mentioned computer device 8000 may include: a processor 8001, a network interface 8004 and a memory 8005. In addition, the above-mentioned computer device 8000 also includes: a user interface 8003, and at least one communication bus 8002. Among them, the communication bus 8002 is used to realize the connection and communication between these components. Among them, the user interface 8003 may include a display screen (Display), a keyboard (Keyboard), and the user interface 8003 may optionally include a standard wired interface and a wireless interface. The network interface 8004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 8005 may be a high-speed RAM memory, or it may be a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 8005 may optionally also be at least one storage device located away from the aforementioned processor 8001. Figure 7 As shown, the memory 8005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a device control application.

[0199] exist Figure 7 In the computer device 8000 shown, the network interface 8004 can provide a network communication function; the user interface 8003 is mainly used to provide an input interface for the user; and the processor 8001 can be used to call the device control application stored in the memory 8005 to achieve:

[0200] Receiving a credential extension request for a target trusted digital credential sent by a business device; the target trusted digital credential refers to a trusted digital credential used to represent a target object in a business scenario; the credential extension request includes target attribute description information for the target trusted digital credential; the target attribute description information is generated based on a target extension event associated with the target object in the business scenario;

[0201] Based on the credential extension request, the smart contract in the blockchain is called, and the target attribute description information is added to the attribute description information set of the target trusted digital credential through the metadata addition function in the smart contract;

[0202] Return information indicating successful extension to the business device, so that the business device updates the object display effect of the target object based on the successful extension prompt information; the updated object display effect is determined by the attribute description information set after adding the target attribute description information.

[0203] It should be understood that the computer device 8000 described in the embodiment of the present application can execute the above Figure 2 to Figure 3The description of the data processing method in the corresponding embodiment can also be performed as described above. Figure 6 The description of the data processing device 1 in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here either.

[0204] In addition, it should be pointed out here that: the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program executed by the data processing computer device 8000 mentioned above, and the computer program includes program instructions. When the processor executes the program instructions, the computer program can execute the above-mentioned data processing computer device 8000. Figure 2 to Figure 3 The description of the above data processing method in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the computer-readable storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application.

[0205] The computer-readable storage medium may be the data processing device provided in any of the aforementioned embodiments or the internal storage unit of the computer device, such as the hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the computer device. Further, the computer-readable storage medium may also include both the internal storage unit of the computer device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0206] In one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in one aspect of the embodiments of the present application.

[0207] The terms "first", "second", etc. in the description, claims, and drawings of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, device, product, or equipment that includes a series of steps or units is not limited to the listed steps or modules, but optionally includes steps or modules that are not listed, or optionally includes other step units inherent to these processes, methods, devices, products, or equipment.

[0208] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0209] The method and related apparatus provided by the embodiment of the present application are described with reference to the method flow chart and / or structural diagram provided by the embodiment of the present application. Specifically, each process and / or box in the method flow chart and / or structural diagram, as well as the combination of the processes and / or boxes in the flow chart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the process. Figure 1 A process or multiple processes and / or structures Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or structures Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A flow or multiple flows and / or structures illustrate the steps of the functions specified in one block or multiple blocks.

[0210] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A data processing method, characterized in that: include: Receive a credential extension request for a target trusted digital credential sent by a business device; the target trusted digital credential refers to a trusted digital credential used to characterize a target object in a business scenario; the credential extension request includes target attribute description information for the target trusted digital credential; the target attribute description information is generated based on a target extension event associated with the target object in the business scenario; Calling a smart contract in the blockchain based on the credential extension request, and adding the target attribute description information to the attribute description information set of the target trusted digital credential through a metadata adding function in the smart contract; Returning information about successful extension to the business device, so that the business device updates the object display effect of the target object based on the successful extension prompt information; The updated object display effect is determined by the attribute description information set after adding the target attribute description information.

2. The method according to claim 1, characterized in that The credential extension request is generated by the business device after receiving the target extension event of the target object from the ownership object, performing event qualification verification on the target extension event based on the event qualification verification rules corresponding to the business scenario, and after the verification passes; the ownership object refers to the object that has ownership of the target trusted digital certificate.

3. The method according to claim 1, characterized in that The credential extension request carries the digital signature information; the digital signature information is obtained by the service device signing the credential extension request based on the private key of the service device; The method further comprises: Obtaining the public key of the business device, and verifying the digital signature information based on the public key of the business device to obtain a verification result; When the signature verification result is a signature verification passing result, the step of calling the smart contract in the blockchain based on the credential extension request is executed.

4. The method according to claim 1, characterized in that: The calling of the smart contract in the blockchain based on the credential extension request, and adding the target attribute description information to the attribute description information set of the target trusted digital credential through the metadata adding function in the smart contract, includes: Based on the credential extension request, obtaining an event qualification verification rule corresponding to the business scenario; the event qualification verification rule is used to verify the extended event in the business scenario; According to the event qualification verification rule, verify the event qualification of the target extended event to obtain the qualification verification result of the target extended event; When the qualification verification result is a qualified qualification verification result, the smart contract in the blockchain is called, and the target attribute description information is added to the attribute description information set of the target trusted digital certificate through the metadata adding function in the smart contract.

5. The method according to claim 4, characterized in that The business scenario is a game business scenario, and the target object is a target virtual object in the game business; the target extension event refers to an event in which a configuration attribute parameter of the target virtual object is updated; The step of verifying the event qualification of the target extended event according to the event qualification verification rule to obtain the qualification verification result of the target extended event includes: Obtaining a threshold mapping table in the event qualification verification rule; the threshold mapping table includes a mapping relationship between a voucher value threshold set and a virtual object set in the game business; a voucher value threshold in the voucher value threshold set has a mapping relationship with the virtual object set; the virtual object set includes the target virtual object; Acquire the update configuration attribute parameters of the target virtual object in the target extension event, and determine the target credential value of the target trusted digital credential based on the update configuration attribute parameters of the target virtual object; Based on the target credential value and the threshold mapping table, the event qualification of the target extension event is verified to obtain a qualification verification result of the target extension event.

6. The method according to claim 5, characterized in that The step of verifying the event qualification of the target extension event based on the target credential value and the threshold mapping table to obtain the qualification verification result of the target extension event includes: Determine the voucher value threshold value that has a mapping relationship with the target virtual object in the voucher value threshold value set included in the threshold value mapping table as the voucher value threshold value to be compared; If the credential value threshold to be compared is greater than the target credential value of the target trusted digital credential, determining that the qualification verification result of the target extended event is a qualification verification failure result; If the to-be-compared credential value threshold is less than the target credential value of the target trusted digital credential, the qualification verification result of the target extended event is determined to be a qualification verification pass result.

7. The method according to claim 4, characterized in that The business scenario is a virtual resource evaluation business scenario for items; the target object is an item to be evaluated in the virtual resource evaluation business for items; the target extension event is a maintenance event of the item to be evaluated; The step of verifying the event qualification of the target extended event according to the event qualification verification rule to obtain the qualification verification result of the target extended event includes: According to the event qualification verification rule, obtaining a target maintenance component in the target extended event and a maintenance component status of the target maintenance component; The historical component status of the target maintenance component is acquired, and based on the maintenance component status and the historical component status, the event qualification of the target extended event is verified to obtain a qualification verification result of the target extended event.

8. The method according to claim 7, characterized in that The verifying the event qualification of the target extended event based on the maintenance component status and the historical component status to obtain the qualification verification result of the target extended event includes: Determine a difference component state between the maintenance component state and the historical component state, and determine a newly added item evaluation value of the item to be evaluated based on the difference component state; Acquire the current item evaluation value of the item to be evaluated, and update the current item evaluation value based on the newly added item evaluation value to obtain the target item evaluation value of the item to be evaluated; When the target item evaluation value is greater than the item evaluation value threshold, determining the qualification verification result of the target expansion event as a qualification verification pass result; When the target item evaluation value is less than the item evaluation value threshold, the qualification verification result of the target extension event is determined as a qualification verification failure result.

9. The method according to claim 1, characterized in that: The adding of the target attribute description information to the attribute description information set of the target trusted digital certificate through the metadata adding function in the smart contract includes: Obtaining a set of credential issuance objects having modification authority for the target trusted digital credential through a metadata adding function in the smart contract; Traversing the credential issuance object set; When there is a business object in the certificate issuance object set, the belonging address of the target trusted digital certificate is obtained, and based on the belonging address of the target trusted digital certificate, the target attribute description information is added to the attribute description information set of the target trusted digital certificate; the business object refers to the object corresponding to the business device.

10. The method according to claim 8, characterized in that The adding the target attribute description information to the attribute description information set of the target trusted digital credential based on the home address of the target trusted digital credential includes: Obtaining the account address of the business object in the blockchain; If the home address is the same as the account address, the target attribute description information is added to the attribute description information set of the target trusted digital certificate.

11. A data processing device, characterized in that: include: A request receiving module, used for receiving a credential extension request for a target trusted digital credential sent by a business device; The target trusted digital credential refers to a trusted digital credential used to characterize a target object in a business scenario; the credential extension request includes target attribute description information for the target trusted digital credential; the target attribute description information is generated based on a target extension event associated with the target object in the business scenario; An information adding module, used to call a smart contract in the blockchain based on the credential extension request, and add the target attribute description information to the attribute description information set of the target trusted digital credential through a metadata adding function in the smart contract; An information return module, used for returning information extension success prompt information to the business device, so that the business device updates the object display effect of the target object based on the extension success prompt information; The updated object display effect is determined by the attribute description information set after adding the target attribute description information.

12. A computer device, characterized in that: include: Processor, memory, and network interface; The processor is connected to the memory and the network interface, wherein the network interface is used to provide a network communication function, the memory is used to store a computer program, and the processor is used to call the computer program so that the computer device executes the method described in any one of claims 1-10.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the method according to any one of claims 1 to 10.

14. A computer program product, characterized in that The computer program product comprises a computer program, which is stored in a computer-readable storage medium. The computer program is suitable for being read and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 10.

Citation Information

Cited By

  • Decentralization service method and device and computer readable storage medium

    CN121217774A