CN111934881B - Data right determining method and device, storage medium and electronic device - Google Patents
Data right determining method and device, storage medium and electronic device Download PDFInfo
- Publication number
- CN111934881B CN111934881B CN202010676186.8A CN202010676186A CN111934881B CN 111934881 B CN111934881 B CN 111934881B CN 202010676186 A CN202010676186 A CN 202010676186A CN 111934881 B CN111934881 B CN 111934881B
- Authority
- CN
- China
- Prior art keywords
- data
- determining
- confirming
- determined
- rights
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3263—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/018—Certifying business or products
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0823—Network architectures or network communication protocols for network security for authentication of entities using certificates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2209/00—Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
- H04L2209/60—Digital content management, e.g. content distribution
- H04L2209/603—Digital right managament [DRM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2463/00—Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
- H04L2463/101—Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00 applying security measures for digital rights management
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Finance (AREA)
- Theoretical Computer Science (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Development Economics (AREA)
- Accounting & Taxation (AREA)
- Entrepreneurship & Innovation (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Storage Device Security (AREA)
Abstract
The application relates to a data right determining method and device, a storage medium and an electronic device, wherein the method comprises the following steps: receiving a first right-confirming request initiated by a client, wherein the first right-confirming request is used for requesting right-confirming of data to be confirmed; responding to the first right-confirming request, and acquiring a plurality of reference right-confirming results of a plurality of right-confirming parties, wherein each reference object in the plurality of right-confirming parties is used for confirming the right data to be confirmed, and the plurality of right-confirming parties are in one-to-one correspondence with the plurality of reference right-confirming results; and sending target indication information to the client, wherein the target indication information is used for indicating the right confirmation result of the to-be-confirmed data, which is determined according to the multiple reference right confirmation results. The embodiment of the application solves the problem that the scheme applicability is poor due to the fact that the data right confirming mode in the related technology is only suitable for the scene of right confirmation by the centralization mechanism.
Description
Technical Field
The present application relates to the field of the internet, and in particular, to a data authorization method and apparatus, a storage medium, and an electronic apparatus.
Background
Currently, there are some data/digital assets. Data/digital assets are non-monetary assets that are owned or controlled by asset owners (e.g., internet users, internet platforms, etc.), exist in electronic data form, are held in daily activities for sale or are in the process of production.
For data/digital assets, rights validation is a vital act, and rights validation is not followed until the rights are validated. Currently, data/digital assets are typically validated in a manner that is validated by a regulatory agency. For example, for digital asset A, the authority for digital asset A is authority B, and the validation for digital asset A may be performed by authority B. The manner of validation of digital certificates, etc. is similar to the manner of validation of data/digital assets.
However, the above-described data authentication method is only suitable for a scenario where authentication is performed by a centralized organization (for example, authentication is performed on data/digital assets, digital certificates, etc.), and has problems that applicability is poor and authentication errors are likely to occur, for example, authentication cannot be performed on data/digital assets, digital certificates, etc. that are not approved by the centralized organization.
Therefore, the data right-determining method in the related art has a problem of poor applicability of the scheme due to being applied only to a scene where right determination is performed by the centralizing organization.
Disclosure of Invention
The application provides a data right-confirming method and device, a storage medium and an electronic device, which at least solve the problem that a scheme is poor in applicability caused by the fact that the method is only suitable for a scene of right-confirming by a centralized mechanism in a data right-confirming mode in the related technology.
According to an aspect of the embodiments of the present application, there is provided a data right determining method, including: receiving a first right confirmation request initiated by a client, wherein the first right confirmation request is used for requesting right confirmation of data to be confirmed; responding to the first right-confirming request, and obtaining a plurality of reference right-confirming results of a plurality of right-confirming parties, wherein each reference object in the plurality of right-confirming parties is used for confirming the right-to-be-confirmed data, and the plurality of right-confirming parties are in one-to-one correspondence with the plurality of reference right-confirming results; and sending target indication information to the client, wherein the target indication information is used for indicating the right confirmation result of the to-be-confirmed data, which is determined according to the multiple reference right confirmation results.
Optionally, before the obtaining the multiple reference right-determining results of the multiple right-determining parties, the method further includes: extracting a target data name of the to-be-determined right data and a target data identifier of the to-be-determined right data from the first right request; and determining the plurality of rights-determining parties according to the target data name and the target data identifier.
Optionally, the determining the plurality of rights sides according to the target data name and the target data identifier includes: and matching the plurality of rights-determining parties from a target relation library by using the target data name and the target data identifier, wherein the target relation library stores the corresponding relation among the data name, the data identifier and the rights-determining parties.
Optionally, the acquiring the multiple reference right-determining results of the multiple right-determining parties includes: respectively sending a second right confirming request to each right confirming party in the plurality of right confirming parties, wherein the second right confirming request is used for requesting to confirm the right of the data to be confirmed; and respectively receiving the reference right-confirming results returned by each right-confirming party in the plurality of right-confirming parties.
Optionally, before the sending the target indication information to the client, the method further includes: determining the right determining result of the data to be determined according to the multiple reference right determining results; and generating the target indication information according to the right determining result of the right data.
Optionally, in the case that the first right request is used for requesting to determine the rights object of the to-be-determined data, determining the right result of the to-be-determined data according to the multiple reference right results includes at least one of the following: determining a first right-determining result of the to-be-determined data under the condition that the right objects of the to-be-determined data represented by the multiple reference right-determining results are all first objects, wherein the first right-determining result is used for representing that the right object of the to-be-determined data is the first object; determining a second right-determining result of the to-be-determined data under the condition that the rights objects of the to-be-determined data represented by the multiple reference right-determining results are not the same object, wherein the second right-determining result is used for representing that the right of the to-be-determined data fails to be determined; calculating the right probability corresponding to each reference object in the plurality of reference objects according to the weight corresponding to each right-determining party in the plurality of right-determining parties under the condition that the right object of the data to be determined represented by the plurality of reference right-determining results is the plurality of reference objects, wherein the right probability corresponding to each reference object is the probability that the right object of the data to be determined is the each reference object; selecting a second object from the plurality of reference objects, wherein the second object is the reference object corresponding to the maximum right-determining probability; and determining a third right-confirming result of the to-be-confirmed data, wherein the third right-confirming result is used for indicating that the right object of the to-be-confirmed data is the second object.
Optionally, in the case that the first right request is used for requesting to determine whether the to-be-determined data has a right relationship with a third object, the determining, according to the multiple reference right determining results, the right determining result of the to-be-determined data includes at least one of the following: determining a fourth right-determining result of the to-be-determined data under the condition that the multiple reference right-determining results all indicate that the to-be-determined data has a right relationship with the third object, wherein the fourth right-determining result is used for indicating that the to-be-determined data is successfully determined; determining a fifth right-determining result of the to-be-determined data under the condition that at least one reference right-determining result in the plurality of reference right-determining results indicates that the to-be-determined data has a right relationship with the third object, wherein the fifth right-determining result is used for indicating that the to-be-determined data is successfully determined; determining a sixth right result of the to-be-determined data, wherein the sixth right result is used for indicating that the to-be-determined data fails to be-determined right, if at least one reference right result in the plurality of reference right results indicates that the to-be-determined data does not have a right relationship with the third object; determining a reference probability that the data to be determined has a right relationship with the third object according to a weight corresponding to each of the plurality of right-determining parties when at least one reference right-determining result of the plurality of reference right-determining results indicates that the data to be determined does not have a right relationship with the third object; determining a seventh right-determining result of the to-be-determined data under the condition that the reference probability is greater than or equal to a target probability threshold, wherein the seventh right-determining result is used for indicating that the to-be-determined data is successfully determined; and determining an eighth right-confirming result of the to-be-confirmed data under the condition that the reference probability is smaller than a target probability threshold, wherein the eighth right-confirming result is used for indicating that the right-confirming of the to-be-confirmed data fails.
According to another aspect of the embodiments of the present application, there is provided a data right determining apparatus, including: the receiving unit is used for receiving a first right confirming request initiated by the client, wherein the first right confirming request is used for requesting right confirming of the data to be confirmed; the acquisition unit is used for responding to the first right-confirming request and acquiring a plurality of reference right-confirming results of a plurality of right-confirming parties, wherein each reference object in the plurality of right-confirming parties is used for confirming the right to-be-confirmed data, and the plurality of right-confirming parties are in one-to-one correspondence with the plurality of reference right-confirming results; the sending unit is used for sending target indication information to the client, wherein the target indication information is used for indicating the right confirmation result of the to-be-confirmed data, which is determined according to the multiple reference right confirmation results.
According to a further aspect of the embodiments of the present application, there is also provided a computer readable storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further aspect of embodiments of the present application, there is also provided an electronic device comprising a memory in which a computer program is stored and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In the embodiment of the application, a multiparty joint right-confirming mode is adopted, and a first right-confirming request initiated by a client is received, wherein the first right-confirming request is used for requesting right-confirming of data to be confirmed; responding to the first right-confirming request, and acquiring a plurality of reference right-confirming results of a plurality of right-confirming parties, wherein each reference object in the plurality of right-confirming parties is used for confirming the right data to be confirmed, and the plurality of right-confirming parties are in one-to-one correspondence with the plurality of reference right-confirming results; and sending target indication information to the client, wherein the target indication information is used for indicating the right-confirming result of the data to be confirmed, which is confirmed according to a plurality of reference right-confirming results, and because a plurality of right-confirming parties jointly confirm the right-confirming data (such as data/digital assets, digital certificates and the like), the method can be suitable for a scene of confirming by a non-centralized mechanism, thereby realizing the technical effects of improving the applicability of a data right-confirming scheme and ensuring the right-confirming success rate, and further solving the problem that the scheme applicability is poor due to the fact that the method is only suitable for the scene of confirming by the centralized mechanism in the data right-confirming mode in the related technology.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a hardware environment of a data validation method according to an embodiment of the present application;
FIG. 2 is a flow chart of an alternative data validation method according to an embodiment of the present application;
FIG. 3 is a flow chart of an alternative unilateral authorization method according to an embodiment of the present application;
FIG. 4 is a flow chart of another alternative data validation method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an alternative data validation apparatus according to an embodiment of the present application;
fig. 6 is a block diagram of an alternative electronic device according to an embodiment of the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, partial terms or terminology appearing in describing embodiments of the present application are applicable to the following explanation:
1. and (3) a supervision party: data/digital assets, digital certificates, and the like.
2. The right-confirming party: an asset equity determination capability organization/company or other entity and natural person.
3. Alliance: a business community consisting of several members, the members of the federation participate together as participants in the construction of the network.
4. Joint acknowledgement: multiparty joint validation may include, but is not limited to, one of the following scenarios:
1) When the rights of data/digital assets, digital certificates and the like belong to a plurality of parties, the scenario that all parties combine to determine the rights is needed;
2) When the rights and the owners of data/digital assets, digital certificates and the like are unilateral, a scenario that the rights and the owners of the third parties are combined and confirmed is needed;
3) When the rights of data/digital assets, digital certificates and the like are made into multiple parties, the rights are needed to be determined by the parties of the rights and the third party. Third parties here include, but are not limited to, regulators, authorities, system operators, and the like. The joint acknowledgement may design an acknowledgement party level mechanism.
5. Right of acknowledgement Fang Quanchong: the weights of a plurality of right-determining parties are defined, and the weights of different right-determining parties can be the same or different.
According to one aspect of the embodiments of the present application, a data validation method is provided. Alternatively, in the present embodiment, the above-described data authentication method may be applied to a hardware environment constituted by the terminal 101 and the server 103 as shown in fig. 1. As shown in fig. 1, the server 103 is connected to the terminal 101 through a network, which may be used to provide services (such as game services, application services, etc.) to the terminal or clients installed on the terminal, and a database may be provided on the server or independent of the server, for providing data storage services to the server 103, where the network includes, but is not limited to: the terminal 101 is not limited to a PC, a mobile phone, a tablet computer, or the like. The data authorization method in the embodiment of the present application may be executed by the server 103, may be executed by the terminal 101, or may be executed by both the server 103 and the terminal 101. The terminal 101 may perform the data authorization method according to the embodiment of the present application by a client installed thereon.
FIG. 2 is a flow chart of an alternative data validation method according to an embodiment of the present application, as shown in FIG. 2, which may include the steps of:
step S202, a first right confirming request initiated by a client is received, wherein the first right confirming request is used for requesting right confirming of data to be confirmed;
step S204, responding to the first right-confirming request, obtaining a plurality of reference right-confirming results of a plurality of right-confirming parties, wherein each reference object in the plurality of right-confirming parties is used for confirming the right data to be confirmed, and the plurality of right-confirming parties are in one-to-one correspondence with the plurality of reference right-confirming results;
step S206, sending target indication information to the client, wherein the target indication information is used for indicating the right confirmation result of the to-be-confirmed data, which is determined according to the multiple reference right confirmation results.
Through the steps S202 to S206, a first request for determining the right of the data to be determined is received, wherein the request is initiated by the client; responding to the first right-confirming request, and acquiring a plurality of reference right-confirming results of a plurality of right-confirming parties, wherein each reference object in the plurality of right-confirming parties is used for confirming the right data to be confirmed, and the plurality of right-confirming parties are in one-to-one correspondence with the plurality of reference right-confirming results; and sending target indication information to the client, wherein the target indication information is used for indicating the right-confirming result of the data to be confirmed, which is confirmed according to a plurality of reference right-confirming results, so that the problem that the scheme applicability is poor due to the fact that the data right-confirming mode in the related technology is only suitable for a scene of confirming the right by a centralization mechanism is solved, the applicability of a data right-confirming scheme is improved, and the right-confirming success rate is ensured.
In the technical solution provided in step S202, a first request for confirming the right of the data to be confirmed is received, where the first request for confirming the right is initiated by the client.
In the related art, the data right can be confirmed in a unilateral right confirmation mode. Taking the resource to be determined as a digital asset as an example, as shown in fig. 3, the unilateral right determining method comprises the following steps:
step S302, an acknowledgement request is initiated.
A client or other device may initiate an authorization request for a digital asset requesting a determination of whether object a has authorization for the digital asset.
In step S304, the rights system/supervisor/administrative/other third party of the digital asset receives the request for rights.
The rights system person, supervisor, authority, or other third party (e.g., system operator) of the digital asset may receive the request for rights as a rights-determining party.
Step S306, judging whether the right exists.
The party to be determined can determine whether the object a has rights to the digital asset, if so, step S308 is performed, otherwise step S310 is performed.
Step S308, the right confirmation is successful.
The rights-determining party determines that the object A has rights to the digital asset, and returns a rights-determining success indication to the client.
Step S310, reject.
The rights-determining party determines that the object A has no rights to the digital asset, fails to determine rights, rejects the rights-determining request and returns a rights-determining failure indication to the client.
The data right confirming method in the embodiment can be applied to the scenario of multi-party joint right confirming on digital resources (data/digital assets, digital certificates and digital certificates). For example, the joint right confirming mechanism/scheme can be configured on the basis of the unilateral right confirming mechanism/scheme in the digital asset right confirming scene so as to meet the application scene of joint right confirming.
The data to be authenticated may be data/digital assets, digital certificates, etc., or other types of digital resources. For example, the pending rights data may be: identity cards, travel cards, deposit certificates, prescriptions, graduation cards, academic cards, real estate cards, network transaction records and the like.
The user may use the client to authenticate the data to be authenticated. On the interface of the client, the user can input the related information of the data to be determined so as to determine the right of the data to be determined. The related information can be input through an input box or can be obtained by identifying an uploaded image of the data to be determined. The entered relevant information may include, but is not limited to, at least one of: target data identification of the right to be determined data, target data name of the right to be determined data, generation date (for example, rights generation date) of the right to be determined data, and the like.
After acquiring the related information of the input data to be authenticated, the client may generate a first authentication request, where the first authentication request is used to request to authenticate the data to be authenticated, and send the first authentication request to the server or other control device for performing authentication control. In this embodiment, a server is taken as an example for explanation, and the data right determining method in this embodiment is also applicable to other similar devices.
In the technical solution provided in step S204, in response to the first request for determining rights, a plurality of reference determining rights results of a plurality of determining rights sides are obtained, where each reference object in the plurality of determining rights sides is used to determine rights of data to be determined, and the plurality of determining rights sides are in one-to-one correspondence with the plurality of reference determining rights results.
After receiving the first acknowledgement request, the server may obtain a plurality of reference acknowledgement results for a plurality of acknowledgement parties. Each of the plurality of claimants is configured to claiming the data to be claiming, that is, a plurality of joint claimants, the claimants including, but not limited to, at least one of: the rights of the data to be verified belong to a human, a supervisor, a management mechanism, a system operator and the like.
The multiparty joint acknowledgement scenario may be varied and may include, but is not limited to, one of the following:
1) When the rights of data/digital assets, digital certificates and the like are multi-party, the rights of all parties of the rights are needed to be combined and confirmed;
2) When the rights and ties of the data/digital asset, digital certificate, etc. are unilateral, a scene of combined rights confirmation of the rights-bearing family and the third party;
3) When the rights of data/digital assets, digital certificates and the like are multi-party, the rights of all parties of the rights are required to be jointly confirmed by the rights of all parties of the rights and the third party.
The third party may be single or multiple and may include, but is not limited to, at least one of the following: a supervisor, a management entity, a system operator, etc. Different digital resources (e.g., data/digital assets, digital certificates, etc.), their corresponding third parties may be the same or different. The multiple rights-determining parties in the joint rights-determining scenario may be configured as needed, which is not limited in this embodiment.
The multiple rights-determining parties are in one-to-one correspondence with the multiple reference rights-determining results, i.e. each rights-determining party returns a reference rights-determining result. The reference validation result of each validation party may be the validation result of the validation party to the validation data. Different certainty scenarios may differ in their corresponding certainty results.
For example, a first validation request may be used to request a determination of a rights object for the data to be validated, with the corresponding validation result being used to represent the rights object for the data to be validated.
For another example, the first rights request may be used to request a determination of whether the rights data to be determined has a rights relation with the specific object, and the corresponding rights result is used to indicate that the rights pass (have a rights relation), or that the rights are successful; or, it is used to indicate that the right is not passed (has no ownership), or that the right fails.
For another example, the first request for rights may be used to determine whether the resource information of the data to be weighed is correct (e.g., whether the resource information is correct, whether the rights relationship in the resource information is correct, etc.). The corresponding right-determining result is used for indicating that the right-determining is successful (the resource information is correct); or to indicate that the validation fails (the resource information is incorrect).
It should be noted that, the above-mentioned sending and receiving of the request for rights to be determined, and each party for rights to be determined may be a node in the distributed identity system, for example, a member node on a federation chain of the same federation, a member node on a federation chain in a group of the same group, or a member node on an open federation chain, and the architecture of the distributed identity system may be configured according to needs, which is not limited in this embodiment.
In the technical solution provided in step S206, target indication information is sent to the client, where the target indication information is used to indicate the right result of the to-be-determined data determined according to the multiple reference right determination results.
The validation result of the data to be validated may be determined based on the multiple reference validation results. That is, multiple rights-determining parties treat the joint rights result of the rights-determining data. Different certainty scenarios may differ in their corresponding joint certainty results.
For example, a first request for rights may be used to request a determination of a rights object for the data to be determined, and the federated rights result is used to represent the rights object for the data to be determined.
For another example, the first validation request may be used to request a determination of whether the data to be validated has a equity relationship with the particular object, the federated validation result being used to indicate that the validation was successful (has an equity relationship); or to indicate that the rights failed (have no equity).
For another example, the first request for rights may be used to determine whether the resource information of the data to be weighed is correct (e.g., whether the resource information is correct, whether the rights relationship in the resource information is correct, etc.). The joint right result is used for indicating that the right is successful (the resource information is correct) or for indicating that the right is failed (the resource information is incorrect).
The server may generate target indication information based on the joint acknowledgement result, where the target indication information is used to indicate the joint acknowledgement result, and return the target indication information to the client, so as to display the target indication information through the client.
Optionally, in this embodiment, after receiving the first right confirmation request initiated by the client, the validity of the data to be confirmed may be checked, and a result of checking the data to be confirmed may be checked; and sending indication information to the client under the condition that the verification result is used for indicating that the to-be-verified data is not verified, wherein the indication information is used for indicating that the to-be-verified data is not verified.
After receiving the first request for validation, the server may first perform validation check on the data to be validated, determine whether the first request for validation is legal, for example, whether the first request for validation accords with a data rule of a data type of the data to be validated, whether an object applying for validation is an object allowing the data to be validated to initiate the request for validation, and the like, and obtain a check result of the validation data.
If the check result is used for indicating that the to-be-determined data check is not passed, the to-be-determined data is not legal, and the server can send indication information to the client, wherein the indication information is used for indicating that the to-be-determined data check is not passed. After receiving the indication information, the client can display prompt information on a display interface so as to prompt that the data to be determined is not checked.
If the verification result is used for indicating that the data to be verified passes, a plurality of reference verification results of a plurality of verification parties can be further obtained. In addition, the data to be authenticated may be directly sent to a plurality of rights-authenticating parties to perform rights-authenticating determination, and validity check and the like may be determined by each rights-authenticating party.
It should be noted that, a data identifier and an acknowledgement party may be a pair of multiple relationships (each data identifier corresponds to a specific multiple acknowledgement party), and a process of determining a corresponding acknowledgement party may be considered as a process of verifying validity; or a many-to-many relationship (multiple data identifications corresponding to multiple rights-determining parties) may be subjected to a validity check prior to determining the corresponding rights-determining party.
As an alternative embodiment, before obtaining the multiple reference rights-determining results of the multiple rights-determining parties, the method further includes:
s11 (it should be noted that step reference numerals S11 herein, and S12, S21, S31, S32, S41, S42, S51, S52, S53, S54, S55, S61, S62, S63, S64, S65, and S66 appearing hereinafter are not shown in the drawings of the specification), the target data name of the right-to-be-validated data and the target data identification of the right-to-be-validated data are extracted from the first right-to-be-validated request;
S12, determining a plurality of right determining parties according to the target data name and the target data identification.
The first right request may carry a target data name of the right data to be determined and a target data identifier of the right data to be determined, and may also carry a generation date, an authorization date, an issuing date, etc. of the right data to be determined, and different information may be written into different fields of the first right request.
The server may extract a target data name and a target data identifier in the first rights request, and determine a plurality of rights-determining parties of the data to be determined according to the target data name and the target data identifier.
For example, the to-be-determined data may be a number of degrees of skill issued by a plurality of schools in a combined culture, and the first determination request may carry an identifier of the number of degrees of skill (for identifying that the request for determining the right is a number of degrees of skill). According to the identification of the academic or vocational study and the number of the academic or vocational study, a plurality of rights-determining parties of the academic or vocational study can be determined, and the plurality of rights-determining parties can comprise: a plurality of schools, a academic center, etc.
According to the embodiment, the plurality of right-determining parties are determined based on the data names and the data identifiers, so that the accuracy of determining the right-determining parties can be ensured, and the efficiency of determining the right-determining parties is improved.
As an alternative embodiment, determining the plurality of rights-determining parties based on the destination data name and the destination data identification comprises:
s21, matching a plurality of rights-determining parties from a target relation library by using the target data name and the target data identifier, wherein the target relation library stores the corresponding relation among the data name, the data identifier and the rights-determining parties.
In order to improve the efficiency of determining the rights-determining party, a target relation library can be preconfigured, and the target relation library can store the data names, the data identifications and the corresponding relation among the rights-determining parties of different resources. The target relation library can store a plurality of target relation tables, each target relation table corresponds to a resource type and is used for storing the corresponding relation between the data identification of the resource type and the right-confirming party.
For example, for the academic or real estate certificate, different target relationship tables may be used to respectively store the correspondence between the academic or real estate certificate number and the right-confirming party, and the correspondence between the real estate certificate number and the right-confirming party.
The server may use the target data name and target data identification to match a plurality of rights-determining parties from a target relational library. The target relational database may be a database local to the server or may be a database communicatively connected to the server via a network.
The server may first determine a target relationship table in a target relationship library that matches the target data name using the target data name; the plurality of rights-determining parties are then matched from the target relationship table using the target data identification.
According to the embodiment, the efficiency of determining the right-determining party can be improved by matching the right-determining party of the data to be determined from the target relation library.
As an alternative embodiment, obtaining the plurality of reference validation results for the plurality of validation parties includes:
s31, respectively sending a second right-confirming request to each right-confirming party in the plurality of right-confirming parties, wherein the second right-confirming request is used for requesting to confirm the data to be confirmed;
s32, respectively receiving reference right-confirming results returned by each right-confirming party in the plurality of right-confirming parties.
Each of the rights-determining parties may correspond to a rights-determining node, which may be a network node, e.g., a server, a terminal device, or other device, etc. After receiving the first acknowledgement request, the server may send a second acknowledgement request to each of the plurality of acknowledgement parties, e.g., to the acknowledgement node with each of the acknowledgements Fang Duiying.
The second request for confirming the right of the data to be confirmed is a forwarded first request for confirming the right, or a request for confirming the right regenerated according to the information carried in the first request for confirming the right. The generation manner of the second request for right determination may be set as needed, and this is not limited in this embodiment.
For one rights-determining party, after receiving the second rights-determining request, the rights-determining party may determine the right of the data to be determined, for example, determine the right of the data to be determined according to the target data identifier carried in the second rights-determining request, so as to obtain the reference rights-determining result. After obtaining the reference validation request, the validation party may return the reference validation result to the server. The server may receive the reference right-confirming results returned by the right-confirming parties respectively.
According to the embodiment, a plurality of right Fang Deque right results are obtained by sending right-confirming requests to all right-confirming parties, so that the method and the device can be applied to a distributed network architecture, data right confirmation under scenes such as cross-platform and the like is realized, and meanwhile, the accuracy of the right-confirming results can be ensured.
As an optional embodiment, before sending the target indication information to the client, the method further includes:
s41, determining a right determining result of the data to be determined according to the multiple reference right determining results;
s42, generating target indication information according to the right confirming result of the right waiting data.
To obtain the target indication information, a joint acknowledgement result of a plurality of acknowledgement parties may be first determined. If there are multiple rights-determining parties, the server may obtain a reference rights-determining result of each rights-determining party, determine the rights-determining result of the data to be determined according to the multiple reference rights-determining results, e.g. integrate the multiple reference rights-determining results to obtain a joint rights-determining result.
The joint acknowledgement result may be obtained by integrating a plurality of reference acknowledgement results based on a consensus or rules agreed in advance. From the joint right result, indication information of the joint right result, that is, target indication information, may be generated.
According to the embodiment, the combined right-confirming result is obtained by fusing a plurality of right-confirming Fang Deque right results, and the indication information of the combined right-confirming result is generated, so that the method and the device are applicable to various right-confirming scenes, and the accuracy of combined right-confirming is improved.
Optionally, in this embodiment, the first rights request may be used to request determination of a rights object of the data to be determined, that is, request determination of which object the data to be determined belongs to, and correspondingly, each reference rights result is used to indicate the rights object of the data to be determined by each rights party.
As an alternative embodiment, determining the validation result of the to-be-validated data based on the plurality of reference validation results includes:
s51, determining a first right-confirming result of the data to be confirmed under the condition that the right objects of the data to be confirmed, which are represented by the multiple reference right-confirming results, are all first objects, wherein the first right-confirming result is used for representing that the right objects of the data to be confirmed are the first objects.
If the rights objects of the to-be-determined data represented by the reference rights results are the same and are all the first objects, it can be determined that the to-be-determined data and the first objects have a rights relationship. The server may determine a first right result of the to-be-determined data, where the first right result is used to indicate that a rights object of the to-be-determined data is a first object.
For example, there are a plurality of rights-determining parties for the rights data to be determined: the rights object of the data to be determined is the rights object if the rights Fang Deque rights result is the same rights object.
As another alternative embodiment, determining the validation result of the to-be-validated data based on the plurality of reference validation results includes:
and S52, determining a second right-confirming result of the data to be confirmed under the condition that the rights objects of the data to be confirmed, represented by the multiple reference right-confirming results, are not the same object, wherein the second right-confirming result is used for representing that the right of the data to be confirmed fails.
The joint validation rule may be: each party must be authorized to pass the authorization. If the rights objects of the data to be determined, which are represented by the reference rights determining results, are not the same object, it can be determined that the rights relationship of the data to be determined is abnormal, the rights of the data to be determined fail, and a second rights determining result of the data to be determined, which is used for representing that the rights of the data to be determined fail.
The scenario in which the rights object of the to-be-determined data represented by the multiple reference rights-determining results is not the same object may be various, for example, each reference rights-determining result is used to indicate that the rights object of the to-be-determined data is a certain object, but the rights object represented by the multiple reference rights-determining results is not the same object, for example, a part of the reference rights-determining results is used to represent that the rights object of the to-be-determined data is a certain object, another part of the reference rights-determining results is used to represent that the to-be-determined data cannot be determined, that is, the rights object of the to-be-determined data cannot be determined, or other similar scenarios are also possible.
For example, there are a plurality of rights-determining parties for the rights data to be determined: the rights and the system operation party of the data to be authenticated are as follows: the right result of the authority is that: the other right belongs to the person. The joint validation result is used to indicate that validation of the data to be validated fails.
As yet another alternative embodiment, determining the validation result of the to-be-validated data based on the plurality of reference validation results includes:
s53, under the condition that the rights object of the data to be determined represented by the multiple reference rights results is the multiple reference objects, calculating the right probability corresponding to each reference object in the multiple reference objects according to the weight corresponding to each right determining party in the multiple right determining parties, wherein the right probability corresponding to each reference object is the probability that the rights object of the data to be determined is each reference object;
S54, selecting a second object from the plurality of reference objects, wherein the second object is the reference object corresponding to the maximum right-determining probability;
s55, determining a third right confirming result of the right to be confirmed data, wherein the third right confirming result is used for indicating that the right object of the right to be confirmed data is a second object.
The joint validation rule may be: and determining whether the right is successful according to the weight. If the rights object of the data to be determined, which is represented by the multiple reference rights determining results, is not the same object, that is, the multiple reference objects, the server may calculate the rights probability of each reference object according to the weight corresponding to each rights determining party, where the rights probability is the probability that the rights object of the data to be determined is each reference object.
The probabilities corresponding to different certainty weights can be the same (for example, the same weight as a share, 1 person 1 ticket, and each ticket weight is the same), or can be different (for example, the weights are different from one share, and the number of tickets is calculated according to the weight size). In obtaining the reference right-determining results of the right-determining parties, voting can be carried out on the reference objects indicated by the reference right-determining results, and the vote number (right-determining probability) of each reference object is calculated according to the weight size. The number of votes may be normalized or non-normalized, and the method of calculating the right probability according to the weight of the right party may be set as needed, which is not limited in this embodiment.
After the right probability of each reference object is obtained, a reference object (second object) with the maximum right probability is selected from the plurality of reference objects as a right object of the data to be determined, and a third right determination result is generated, wherein the third right determination result is used for indicating that the right object of the data to be determined is the second object.
For example, there are a plurality of rights-determining parties for the rights data to be determined: the rights and the owners of the data to be determined (weight 0.1), the supervision party (weight 0.4), the management mechanism (weight 0.4), the system operation party (weight 0.1), and the results of the rights and the owners of the data to be determined, the supervision party and the management mechanism are as follows: the first authority is the person, and the result of the authority determination of the system operator is: the second authority is the person. And the right probability of the first right person is 0.9 and the right probability of the second right person is 0.1 through calculation, and then the right object used for representing the data to be determined by the combined right result is the first right person.
According to the embodiment, the rights object of the data to be determined is determined by configuring different right determining rules, so that the applicability and flexibility of a data right determining mode can be improved.
Optionally, in this embodiment, the first rights request is used to request to determine whether the to-be-determined data has a rights relationship with the third object, that is, request to determine whether the third object is a rights object of the to-be-determined data, and correspondingly, each reference rights determining result is used to indicate whether the to-be-determined data has a rights relationship with the third object, which is determined by each rights determining party.
As an alternative embodiment, determining the validation result of the to-be-validated data based on the plurality of reference validation results includes:
and S61, determining a fourth right-determining result of the to-be-determined data under the condition that the multiple reference right-determining results all indicate that the to-be-determined data has a right relationship with the third object, wherein the fourth right-determining result is used for indicating that the to-be-determined data is successfully determined.
If the plurality of reference validation results each indicate that the to-be-validated data has a equity relationship with the third object, then it may be determined that the to-be-validated data has an equity relationship with the third object. The server may determine a fourth right-determining result of the to-be-determined data, where the fourth right-determining result is used to indicate that the to-be-determined data has a right relationship with the third object.
For example, a first rights request is used to request a determination of whether rights to be determined data has a rights relationship with a target rights holder. The right-determining party of the right-to-be-determined data has a plurality of: the rights to be granted data are the rights system person, the supervisor, the management mechanism and the system operation party, if each right Fang Deque results are: and if the right is successfully confirmed, the combined right confirming result is used for indicating that the right is successfully confirmed, and the right to be confirmed and the target right owner have a right relationship.
As another alternative embodiment, determining the validation result of the to-be-validated data based on the plurality of reference validation results includes:
s62, determining a fifth right-determining result of the to-be-determined data under the condition that at least one reference right-determining result in the plurality of reference right-determining results indicates that the to-be-determined data has a right relationship with the third object, wherein the fifth right-determining result is used for indicating that the to-be-determined data is successfully determined.
The joint validation rule may be: any 1 party may be authenticated as a pass or any multiple party (less than the total number of parties) may be authenticated as a pass. If at least one of the plurality of reference validation results indicates that the to-be-validated data has a equity relationship with the third object, validation pass (validation success) may be determined. The server may determine a fifth right result of the data to be determined, where the fifth right result is used to indicate that the data to be determined is successfully determined.
For example, a first rights request is used to request a determination of whether rights to be determined data has a rights relationship with a target rights holder. The right-determining party of the right-to-be-determined data has a plurality of: the rights to be granted data are the owners, supervisory party, management mechanism and system operation party, if at least one right is granted Fang Deque, the result is: and if the right is confirmed, the combined right confirming result is used for indicating that the right is confirmed successfully, and the right to be confirmed and the target right owner have a right relationship.
As yet another alternative embodiment, determining the validation result of the to-be-validated data based on the plurality of reference validation results includes:
s63, determining a sixth right-determining result of the to-be-determined data under the condition that at least one reference right-determining result in the plurality of reference right-determining results indicates that the to-be-determined data does not have a right relationship with the third object, wherein the sixth right-determining result is used for indicating that the to-be-determined data fails to be determined.
The joint validation rule may be: must each party determine the right to pass. If at least one of the plurality of reference validation results indicates that the to-be-validated data does not have a ownership relationship with the third object, it may be determined that the validation fails (validation failure). The server may determine a sixth right result of the to-be-determined data, the sixth right result being used to indicate that the to-be-determined data fails to be determined.
For example, a first rights request is used to request a determination of whether rights to be determined data has a rights relationship with a target rights holder. The right-determining party of the right-to-be-determined data has a plurality of: the rights to be granted data are the owners, supervisory party, management mechanism and system operation party, if at least one right is granted Fang Deque, the result is: and if the right is not confirmed, the combined right confirming result is used for indicating that the right is not confirmed, and the right to be confirmed and the target right owner have no right relationship.
As yet another alternative embodiment, determining the validation result of the to-be-validated data based on the plurality of reference validation results includes:
s64, under the condition that at least one reference right-determining result in the plurality of reference right-determining results indicates that the data to be determined and the third object have no right relation, determining the reference probability that the data to be determined and the third object have right relation according to the weight corresponding to each right-determining party in the plurality of right-determining parties;
s65, determining a seventh right-confirming result of the data to be confirmed under the condition that the reference probability is larger than or equal to the target probability threshold, wherein the seventh right-confirming result is used for indicating that the right of the data to be confirmed is confirmed successfully;
and S66, determining an eighth right-confirming result of the data to be confirmed under the condition that the reference probability is smaller than the target probability threshold, wherein the eighth right-confirming result is used for indicating that the right-confirming of the data to be confirmed fails.
The joint validation rule may be: and determining whether the right is successful according to the weight. If at least one of the plurality of reference right results indicates that the to-be-determined data does not have a right relationship with the third object, the server may calculate a reference probability that the to-be-determined data has a right relationship with the third object, which is a probability that the to-be-determined data has a right relationship with the third object, according to the weight corresponding to each of the right-determining parties.
The probabilities corresponding to different certainty weights can be the same (for example, the same weight as a share, 1 person 1 ticket, and each ticket weight is the same), or can be different (for example, the weights are different from one share, and the number of tickets is calculated according to the weight size). In obtaining the reference right-determining results of each right-determining party, voting can be carried out on the right-determining results indicated by the reference right-determining results, and the number of votes (reference probability) with the right relationship between the right-to-be-determined data and the third object is calculated according to the weight size. The reference probability may be normalized probability or non-normalized probability, and the reference probability may be calculated according to the weight of the determining party, which is not limited in this embodiment.
After deriving the reference probability, the reference probability and the target probability threshold may be compared. If the reference probability is greater than or equal to the target probability threshold, it may be determined that the pending weight data has a ownership relationship with the third object. The server may determine a seventh right-determining result of the to-be-determined data, where the seventh right-determining result is used to indicate that the to-be-determined data is successfully determined. If the reference probability is less than the target probability threshold, it may be determined that there is no ownership between the to-be-determined data and the third object. The server may determine an eighth right-determining result of the to-be-determined data, where the eighth right-determining result is used to indicate that the to-be-determined data fails to be determined.
For example, a first rights request is used to request a determination of whether rights to be determined data has a rights relationship with a target rights holder. The right-determining party of the right-to-be-determined data has a plurality of: the rights and the owners of the data to be determined (weight 0.1), the supervision party (weight 0.4), the management mechanism (weight 0.4), the system operation party (weight 0.1), and the results of the rights and the owners of the data to be determined, the supervision party and the management mechanism are as follows: the right passing is confirmed, and the right confirming result of the system operation party is: the validation fails. The reference probability of passing the right through calculation is 0.9 and is larger than the probability threshold value 0.8 (the target probability threshold value can be configured according to the requirement), and then the joint right-determining result is used for indicating that the right determination of the data to be determined is successful.
According to the embodiment, whether the right data to be determined and the specific object have the right relationship or not is determined by configuring different right determining rules, so that the applicability and flexibility of a data right determining mode can be improved.
In this embodiment, in order to ensure the security and efficiency of information transmission, the information carried in the rights request may be encrypted, or the rights request may carry a characteristic value of the digital resource, etc. The type of the data to be determined and the right determining scene are all selectable examples, and the data right determining scheme in the embodiment is applicable to other types of resources, right determining scenes and the like.
The data right determining method in the embodiment of the present application is explained below with reference to an alternative example. The data validation scenario in this example applies to a digital asset validation scenario where the data to be validated is a digital asset (digital certificate, and the like), the validation request is for requesting a determination of whether a target rights issuer has a rights relationship with the digital asset, the validation issuer comprising: the rights-line person of the digital asset (rights-line person 1 of the digital asset, rights-line person 2, … of the digital asset, rights-line person N of the digital asset), the third party (supervisor, management structure, system operator), wherein the rights-line person refers to the person, organization, etc. having a line with the digital asset. The equity person may be an equity person of the digital asset, or may be other types of equity persons, for example, the digital voucher may be a transaction voucher, and the equity person may be both parties to the transaction.
As shown in fig. 4, the flow of the data right determining method in this example includes the following steps:
step S402, an acknowledgement request is initiated.
A client or other device may initiate an authorization request for a digital asset requesting a determination of whether object B has authorization for the digital asset.
In step S404, the plurality of rights-determining parties respectively receive the rights-determining request.
After receiving the validation request, the server may determine a plurality of validation parties for the digital asset, including: the rights system comprises a rights system person 1 of the digital asset, rights system persons 2 and … of the digital asset, rights system person N of the digital asset, a third party 1 (supervisor), a third party 2 (management structure), a third party 3 (system operator) and forwards the rights request to each rights-determining party.
Step S406, judge whether to have right.
Each of the rights-determining parties can determine whether the object B is entitled to the digital asset, and if each of the rights-determining parties determines that it is entitled, step S408 is performed, otherwise step S410 is performed.
Step S408, the right confirmation is successful.
Each rights-determining party determines that the object B has rights for the digital asset, and returns a rights-determining success indication to the client.
Step S410, reject.
If any one of the rights-confirming parties determines that the object B has no rights to the digital asset, the rights-confirming fails, the rights-confirming request is rejected, and a rights-confirming failure indication is returned to the client.
It should be noted that, based on the agreed-upon agreement in advance, the optional certainty rules may include, but are not limited to, the following:
1) Same share and weight (1 person 1 ticket, same weight of each ticket);
2) Different weights (counting the number of votes according to the weight size) of the same strand;
3) Each party must determine the right to pass;
4) Any 1 party confirms the right to pass;
5) Any number of parties (fewer than the total number of parties) is authorized to pass.
By means of the method, a joint right-confirming mechanism/scheme is created on the basis of the single right-confirming mechanism/scheme, so that the application scene of joint right-confirming can be met, the method can be applied to various joint right-confirming scenes, the applicability of the data right-confirming scheme is improved, and the accuracy of a right-confirming result is guaranteed.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present application.
According to another aspect of the embodiments of the present application, there is also provided a data authorization device for implementing the data authorization method. Fig. 5 is a schematic diagram of an alternative data validation apparatus according to an embodiment of the application, as shown in fig. 5, the apparatus may include:
(1) A receiving unit 52, configured to receive a first acknowledgement request initiated by the client, where the first acknowledgement request is used to request to acknowledge the data to be authenticated;
(2) The obtaining unit 54 is connected to the receiving unit 52, and is configured to respond to the first request for determining rights, and obtain a plurality of reference determining rights results of a plurality of determining rights parties, where each reference object in the plurality of determining rights parties is used for determining rights of the data to be determined, and the plurality of determining rights parties are in one-to-one correspondence with the plurality of reference determining rights results;
(3) And a sending unit 56, connected to the obtaining unit 54, configured to send target indication information to the client, where the target indication information is used to indicate the right determining result of the to-be-determined data determined according to the multiple reference right determining results.
It should be noted that, the receiving unit 52 in this embodiment may be used to perform the above-mentioned step S202, the obtaining unit 54 in this embodiment may be used to perform the above-mentioned step S204, and the transmitting unit 56 in this embodiment may be used to perform the above-mentioned step S206.
Through the module, a first right confirming request initiated by the client is received, wherein the first right confirming request is used for requesting to confirm the right of the data to be confirmed; responding to the first right-confirming request, and acquiring a plurality of reference right-confirming results of a plurality of right-confirming parties, wherein each reference object in the plurality of right-confirming parties is used for confirming the right data to be confirmed, and the plurality of right-confirming parties are in one-to-one correspondence with the plurality of reference right-confirming results; and sending target indication information to the client, wherein the target indication information is used for indicating the right-confirming result of the data to be confirmed, which is confirmed according to a plurality of reference right-confirming results, so that the problem that the scheme applicability is poor due to the fact that the data right-confirming mode in the related technology is only suitable for a scene of confirming the right by a centralization mechanism is solved, the applicability of a data right-confirming scheme is improved, and the right-confirming success rate is ensured.
As an alternative embodiment, the above device further comprises:
the extracting unit is used for extracting a target data name of the data to be confirmed and a target data identifier of the data to be confirmed from the first right confirmation request before a plurality of reference right confirmation results of a plurality of right confirmation parties are acquired;
and the first determining unit is used for determining a plurality of right determining parties according to the target data name and the target data identifier.
As an alternative embodiment, the first determining unit comprises:
and the matching module is used for matching a plurality of rights-determining parties from a target relation library by using the target data name and the target data identifier, wherein the target relation library stores the corresponding relation among the data name, the data identifier and the rights-determining parties.
As an alternative embodiment, the acquisition unit comprises:
the sending module is used for respectively sending a second right-confirming request to each right-confirming party in the plurality of right-confirming parties, wherein the second right-confirming request is used for requesting to confirm the right of the data to be confirmed;
and the receiving module is used for respectively receiving the reference right-confirming results returned by each right-confirming party in the plurality of right-confirming parties.
As an alternative embodiment, the above device further comprises:
the second determining unit is used for determining the right determining result of the data to be determined according to the multiple reference right determining results before the target indication information is sent to the client;
and the generating unit is used for generating target indication information according to the right determining result of the right data.
Optionally, in this embodiment, the first rights request is used to request a rights object for determining the rights data to be determined.
As an alternative embodiment, the second determining unit comprises:
The first determining module is configured to determine a first right determining result of the to-be-determined data, where the first right determining result is used to indicate that the right object of the to-be-determined data is the first object, where the right object of the to-be-determined data is indicated by the plurality of reference right determining results.
As another alternative embodiment, the second determining unit includes:
and the second determining module is used for determining a second right-confirming result of the to-be-confirmed data under the condition that the rights objects of the to-be-confirmed data represented by the multiple reference right-confirming results are not the same object, wherein the second right-confirming result is used for representing that the right of the to-be-confirmed data fails to be confirmed.
As a further alternative embodiment, the second determining unit comprises:
the computing module is used for computing the right probability corresponding to each reference object in the plurality of reference objects according to the weight corresponding to each right-determining party in the plurality of right-determining parties under the condition that the right object of the data to be determined represented by the plurality of reference right-determining results is the plurality of reference objects, wherein the right probability corresponding to each reference object is the probability that the right object of the data to be determined is each reference object;
The selecting module is used for selecting a second object from the plurality of reference objects, wherein the second object is the reference object corresponding to the maximum right-determining probability;
and the third determining module is used for determining a third right determining result of the to-be-determined data, wherein the third right determining result is used for indicating that the right object of the to-be-determined data is the second object.
Optionally, in this embodiment, the first right determining request is used to request to determine whether the right to be determined data has a right relationship with the third object.
As an alternative embodiment, the second determining unit comprises:
and the fourth determining module is used for determining a fourth right-determining result of the right-to-be-determined data under the condition that the multiple reference right-determining results all indicate that the right-to-be-determined data has a right relationship with the third object, wherein the fourth right-determining result is used for indicating that the right of the right-to-be-determined data is successfully determined.
As another alternative embodiment, the second determining unit includes:
a fifth determining module, configured to determine a fifth right determining result of the to-be-determined data, where the fifth right determining result is used to indicate that the to-be-determined data is successfully determined, when at least one reference right determining result of the plurality of reference right determining results indicates that the to-be-determined data has a right relationship with the third object;
As a further alternative embodiment, the second determining unit comprises:
and a sixth determining module, configured to determine a sixth right result of the to-be-determined data, where the sixth right result is used to indicate that the to-be-determined data fails to be-determined, if at least one reference right result in the plurality of reference right results indicates that the to-be-determined data does not have a right relationship with the third object.
As a further alternative embodiment, the second determining unit comprises:
a seventh determining module, configured to determine, when at least one reference right result of the multiple reference right results indicates that the to-be-determined right data does not have a right relationship with the third object, a reference probability that the to-be-determined right data has a right relationship with the third object according to a weight corresponding to each of the multiple right determining parties;
an eighth determining module, configured to determine a seventh right determining result of the to-be-determined data, where the seventh right determining result is used to indicate that the to-be-determined data is successfully determined, if the reference probability is greater than or equal to the target probability threshold;
and the ninth determining module is used for determining an eighth right-confirming result of the to-be-confirmed data under the condition that the reference probability is smaller than the target probability threshold value, wherein the eighth right-confirming result is used for indicating that the right-confirming of the to-be-confirmed data fails.
It should be noted that the above modules are the same as examples and application scenarios implemented by the corresponding steps, but are not limited to what is disclosed in the above embodiments. It should be noted that the above modules may be implemented in software or in hardware as part of the apparatus shown in fig. 1, where the hardware environment includes a network environment.
According to still another aspect of the embodiments of the present application, there is further provided an electronic device for implementing the above-mentioned data authorization method, where the electronic device may be a server, a terminal, or a combination thereof.
Fig. 6 is a block diagram of an alternative electronic device according to an embodiment of the present application, as shown in fig. 6, comprising a memory 602 and a processor 604, the memory 602 having stored therein a computer program, the processor 604 being arranged to perform the steps of any of the method embodiments described above by means of the computer program.
Alternatively, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of the computer network.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
S1, receiving a first right confirmation request initiated by a client, wherein the first right confirmation request is used for requesting right confirmation of data to be confirmed;
s2, responding to the first right-confirming request, and acquiring a plurality of reference right-confirming results of a plurality of right-confirming parties, wherein each reference object in the plurality of right-confirming parties is used for confirming the data to be confirmed, and the plurality of right-confirming parties are in one-to-one correspondence with the plurality of reference right-confirming results;
and S3, sending target indication information to the client, wherein the target indication information is used for indicating the right confirmation result of the to-be-confirmed data, which is determined according to the multiple reference right confirmation results.
Alternatively, it will be understood by those skilled in the art that the structure shown in fig. 6 is only schematic, and the electronic device may also be a terminal device such as a smart device (e.g. an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palm computer, a MID (Mobile Internet Devices, a mobile internet device), a PAD, etc. Fig. 6 is not limited to the structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 6, or have a different configuration than that shown in FIG. 6.
The memory 602 may be used to store software programs and modules, such as program instructions/modules corresponding to the data right determining method and apparatus in the embodiments of the present application, and the processor 604 executes the software programs and modules stored in the memory 602 to perform various functional applications and data processing, that is, implement the data right determining method described above. The memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 602 may further include memory located remotely from processor 604, which may be connected to the terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Wherein the memory 602 may be, but is not limited to, for storing data change log information for one or more objects in particular.
As an example, as shown in fig. 6, the memory 602 may include, but is not limited to, the receiving unit 52, the acquiring unit 54, and the transmitting unit 56 in the data right determining apparatus. In addition, other module units in the data authorization device may be included, but are not limited to, and are not described in detail in this example.
Optionally, the transmission device 606 is used to receive or transmit data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission device 606 includes a NIC (Network Interface Controller, network adapter) that may be connected to other network devices and routers via a network cable to communicate with the internet or a local area network. In one example, the transmission device 606 is an RF (Radio Frequency) module that is configured to communicate wirelessly with the internet.
In addition, the electronic device may further include: a connection bus 608 for connecting the respective module components in the above-described electronic device.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments, and this embodiment is not described herein.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing a terminal device to execute in association with hardware, the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, ROM (Read-Only Memory), RAM (Random Access Memory ), magnetic or optical disk, and the like.
According to yet another aspect of embodiments of the present application, there is also provided a storage medium. Alternatively, in the present embodiment, the above-described storage medium may be used for executing the program code of the data right determining method.
Alternatively, in this embodiment, the storage medium may be located on at least one network device of the plurality of network devices in the network shown in the above embodiment.
Alternatively, in the present embodiment, the storage medium is configured to store program code for performing the steps of:
s1, receiving a first right confirmation request initiated by a client, wherein the first right confirmation request is used for requesting right confirmation of data to be confirmed;
s2, responding to the first right-confirming request, and acquiring a plurality of reference right-confirming results of a plurality of right-confirming parties, wherein each reference object in the plurality of right-confirming parties is used for confirming the data to be confirmed, and the plurality of right-confirming parties are in one-to-one correspondence with the plurality of reference right-confirming results;
And S3, sending target indication information to the client, wherein the target indication information is used for indicating the right confirmation result of the to-be-confirmed data, which is determined according to the multiple reference right confirmation results.
Alternatively, specific examples in the present embodiment may refer to examples described in the above embodiments, which are not described in detail in the present embodiment.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a U disk, ROM, RAM, a mobile hard disk, a magnetic disk or an optical disk.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution provided in the present embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.
Claims (10)
1. A method of data validation, comprising:
receiving a first right confirmation request initiated by a client, wherein the first right confirmation request is used for requesting right confirmation of data to be confirmed;
responding to the first right-confirming request, obtaining a plurality of reference right-confirming results of a plurality of right-confirming parties, wherein each reference object in the plurality of right-confirming parties is used for confirming the data to be confirmed, the plurality of right-confirming parties are in one-to-one correspondence with the plurality of reference right-confirming results, and the reference objects are rights objects represented by the reference right-confirming results of the right-confirming parties;
And sending target indication information to the client, wherein the target indication information is used for indicating the right confirmation result of the to-be-confirmed data, which is determined according to the multiple reference right confirmation results.
2. The method of claim 1, wherein prior to the obtaining the plurality of reference validation results for the plurality of validation parties, the method further comprises:
extracting a target data name of the to-be-determined right data and a target data identifier of the to-be-determined right data from the first right request;
and determining the plurality of rights-determining parties according to the target data name and the target data identifier.
3. The method of claim 2, wherein said determining the plurality of rights sides based on the destination data name and the destination data identification comprises:
and matching the plurality of rights-determining parties from a target relation library by using the target data name and the target data identifier, wherein the target relation library stores the corresponding relation among the data name, the data identifier and the rights-determining parties.
4. The method of claim 1, wherein the obtaining the plurality of reference validation results for the plurality of validation parties comprises:
Respectively sending a second right confirming request to each right confirming party in the plurality of right confirming parties, wherein the second right confirming request is used for requesting to confirm the right of the data to be confirmed;
and respectively receiving the reference right-confirming results returned by each right-confirming party in the plurality of right-confirming parties.
5. The method according to any one of claims 1 to 4, wherein before said sending the target indication information to the client, the method further comprises:
determining the right determining result of the data to be determined according to the multiple reference right determining results;
and generating the target indication information according to the right determining result of the right data.
6. The method of claim 5, wherein, in the case where the first validation request is for requesting a determination of a rights object for the to-be-validated data, determining the validation result for the to-be-validated data based on the plurality of reference validation results comprises at least one of:
determining a first right-determining result of the to-be-determined data under the condition that the right objects of the to-be-determined data represented by the multiple reference right-determining results are all first objects, wherein the first right-determining result is used for representing that the right object of the to-be-determined data is the first object;
Determining a second right-determining result of the to-be-determined data under the condition that the rights objects of the to-be-determined data represented by the multiple reference right-determining results are not the same object, wherein the second right-determining result is used for representing that the right of the to-be-determined data fails to be determined;
calculating the right probability corresponding to each reference object in the plurality of reference objects according to the weight corresponding to each right-determining party in the plurality of right-determining parties under the condition that the right object of the data to be determined represented by the plurality of reference right-determining results is the plurality of reference objects, wherein the right probability corresponding to each reference object is the probability that the right object of the data to be determined is the each reference object; selecting a second object from the plurality of reference objects, wherein the second object is the reference object corresponding to the maximum right-determining probability; and determining a third right-confirming result of the to-be-confirmed data, wherein the third right-confirming result is used for indicating that the right object of the to-be-confirmed data is the second object.
7. The method of claim 5, wherein, in the case where the first request for rights is for requesting a determination of whether the to-be-determined data has a rights relationship with a third object, the determining the result of the rights to-be-determined data based on the plurality of reference results of rights determination comprises at least one of:
Determining a fourth right-determining result of the to-be-determined data under the condition that the multiple reference right-determining results all indicate that the to-be-determined data has a right relationship with the third object, wherein the fourth right-determining result is used for indicating that the to-be-determined data is successfully determined;
determining a fifth right-determining result of the to-be-determined data under the condition that at least one reference right-determining result in the plurality of reference right-determining results indicates that the to-be-determined data has a right relationship with the third object, wherein the fifth right-determining result is used for indicating that the to-be-determined data is successfully determined;
determining a sixth right result of the to-be-determined data, wherein the sixth right result is used for indicating that the to-be-determined data fails to be-determined right, if at least one reference right result in the plurality of reference right results indicates that the to-be-determined data does not have a right relationship with the third object;
determining a reference probability that the data to be determined has a right relationship with the third object according to a weight corresponding to each of the plurality of right-determining parties when at least one reference right-determining result of the plurality of reference right-determining results indicates that the data to be determined does not have a right relationship with the third object; determining a seventh right-determining result of the to-be-determined data under the condition that the reference probability is greater than or equal to a target probability threshold, wherein the seventh right-determining result is used for indicating that the to-be-determined data is successfully determined; and determining an eighth right-confirming result of the to-be-confirmed data under the condition that the reference probability is smaller than a target probability threshold, wherein the eighth right-confirming result is used for indicating that the right-confirming of the to-be-confirmed data fails.
8. A data validation apparatus comprising:
the receiving unit is used for receiving a first right confirming request initiated by the client, wherein the first right confirming request is used for requesting right confirming of the data to be confirmed;
the obtaining unit is used for responding to the first right confirming request and obtaining a plurality of reference right confirming results of a plurality of right confirming parties, wherein each reference object in the plurality of right confirming parties is used for confirming the right data to be confirmed, the plurality of right confirming parties are in one-to-one correspondence with the plurality of reference right confirming results, and the reference objects are right objects represented by the reference right confirming results of the right confirming parties;
the sending unit is used for sending target indication information to the client, wherein the target indication information is used for indicating the right confirmation result of the to-be-confirmed data, which is determined according to the multiple reference right confirmation results.
9. A computer-readable storage medium, characterized in that the storage medium has stored therein a computer program, wherein the computer program is arranged to perform the method of any of claims 1 to 7 when run.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of claims 1 to 7 by means of the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010676186.8A CN111934881B (en) | 2020-07-14 | 2020-07-14 | Data right determining method and device, storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010676186.8A CN111934881B (en) | 2020-07-14 | 2020-07-14 | Data right determining method and device, storage medium and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111934881A CN111934881A (en) | 2020-11-13 |
CN111934881B true CN111934881B (en) | 2023-07-07 |
Family
ID=73312948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010676186.8A Active CN111934881B (en) | 2020-07-14 | 2020-07-14 | Data right determining method and device, storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111934881B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112700327B (en) * | 2021-01-08 | 2024-06-25 | 北京金山云网络技术有限公司 | User confirmation method, device and system in financial scene |
CN112799830B (en) * | 2021-01-12 | 2024-09-13 | 北京金山云网络技术有限公司 | Routing method and device for trusted computing request |
CN115242383A (en) * | 2022-07-14 | 2022-10-25 | 中国船舶科学研究中心 | Block chain-based data right multiparty sharing management method |
CN117808472B (en) * | 2024-02-29 | 2024-05-10 | 中国科学院信息工程研究所 | Data ownership element abstraction and right-confirming method, data transaction method and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106559385A (en) * | 2015-09-25 | 2017-04-05 | 阿里巴巴集团控股有限公司 | A kind of data authentication method and apparatus |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB0402774D0 (en) * | 2004-02-09 | 2004-03-10 | Nokia Corp | Multimedia message transfer |
CN107566116B (en) * | 2017-06-15 | 2021-07-02 | 中国银联股份有限公司 | Method and apparatus for digital asset weight registration |
CN107580022B (en) * | 2017-08-02 | 2020-11-06 | 国家计算机网络与信息安全管理中心 | Data sharing system and method |
CN109120679B (en) * | 2018-07-27 | 2021-09-28 | 平安科技(深圳)有限公司 | Task allocation method and device |
-
2020
- 2020-07-14 CN CN202010676186.8A patent/CN111934881B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106559385A (en) * | 2015-09-25 | 2017-04-05 | 阿里巴巴集团控股有限公司 | A kind of data authentication method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN111934881A (en) | 2020-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111934881B (en) | Data right determining method and device, storage medium and electronic device | |
EP4178155A1 (en) | Blockchain-based certification audit data sharing and integrity verification system, device, and method thereof | |
CN107944887A (en) | A kind of personalized lending Risk Pre-control method based on block chain | |
CN110602217B (en) | Block chain-based alliance management method, device, equipment and storage medium | |
CN112632629B (en) | Voting management method, device, medium and electronic equipment based on block chain | |
CN109509287A (en) | Electronic voting system and control method | |
CN111369730B (en) | Voting processing method and device based on block chain | |
CN109255619A (en) | A kind of identity identifying method and equipment based on block chain | |
Abbade et al. | Blockchain applied to vehicular odometers | |
CN112733178B (en) | Cross-chain trust method, device, equipment and medium based on digital certificate authentication | |
CN108769230A (en) | Transaction data storage method, device, server and storage medium | |
CN104468553A (en) | Method, device and system for login of public account | |
CN111897879B (en) | Transaction record sharing method and device based on blockchain network and electronic equipment | |
CN109831310A (en) | A kind of auth method, system and relevant apparatus | |
CN110838067A (en) | Real estate transaction data processing method, device, server and storage medium | |
CN110321730A (en) | A kind of method, block chain node and the storage medium of operation data processing | |
CN114693241A (en) | Block chain-based electronic resume system and implementation method thereof | |
US10867326B2 (en) | Reputation system and method | |
CN111931230A (en) | Data authorization method and device, storage medium and electronic device | |
CN117764591A (en) | Identity authentication method and system based on blockchain | |
CN112927414A (en) | Service public identification system and method based on alliance block chain | |
KR20210083457A (en) | Electronic vote record management system based on blockchain | |
KR102498336B1 (en) | Method and system for managing user reputation based on blockchain | |
CN106034023A (en) | User equipment, authentication server, identity authentication method and identity authentication system | |
CN112036884A (en) | Signature method and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |