WO2020147426A1 - 基于区块链的信息授权方法、装置、介质及电子设备 - Google Patents
基于区块链的信息授权方法、装置、介质及电子设备 Download PDFInfo
- Publication number
- WO2020147426A1 WO2020147426A1 PCT/CN2019/120519 CN2019120519W WO2020147426A1 WO 2020147426 A1 WO2020147426 A1 WO 2020147426A1 CN 2019120519 W CN2019120519 W CN 2019120519W WO 2020147426 A1 WO2020147426 A1 WO 2020147426A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- risk
- demander
- transaction
- category
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Definitions
- the present disclosure relates to the technical field of blockchain applications, and in particular to a method, device, medium and electronic equipment for information authorization based on blockchain.
- Information authorization means that the information owner authorizes all kinds of information he owns to other users who need relevant information in accordance with a certain mutual agreement.
- the purpose of the present disclosure is to provide a blockchain-based information authorization scheme, and to achieve safe and reliable authorization of information at least to a certain extent while ensuring the legal compliance of information authorization.
- a blockchain-based information authorization method which includes:
- the information acquisition request including at least the information demander's identification, the information demander's digital certificate, the information demand type, the information acquisition contract, and the information demander's signature;
- the public key of the information demander is queried according to the information demander ID, and the signature of the information demander is verified by using the information demander's public key to obtain a verification result, the verification result includes one of pass and fail;
- the transaction risk category includes risk, compromise risk, and no risk In one
- the transaction risk category is no risk
- the information of the information demand type, the information acquisition contract, and the transaction record information are encrypted with the public key of the information demander, and after setting the validity period for viewing, proceed on the blockchain Broadcast to complete authorization.
- a block chain-based information authorization device including:
- the acquisition module is used to receive an information acquisition request from an information demand terminal located on a blockchain node.
- the information acquisition request includes at least the information demander's identification, the information demander's digital certificate, the information demand type, the information acquisition contract, and the information demand Signature
- the verification module is used to inquire the public key of the information demander according to the information demander identification, and use the public key of the information demander to verify the signature of the information demander to obtain a verification result.
- the verification result includes pass and fail.
- the judging module is used for judging the risk category of the information of the information demand type trading with the information demander when the verification result is passed to obtain the transaction risk category.
- the transaction risk category includes risk, discount One of medium risk and no risk;
- the authorization module is used to encrypt the information of the information demand type, the information acquisition contract, and the transaction record information with the public key of the information demander when the transaction risk category is risk-free, and after setting the viewing validity period, Broadcast on the blockchain to complete authorization.
- a computer-readable storage medium on which a blockchain-based information authorization program is stored, and when the blockchain-based information authorization program is executed by a processor, any of the above The method described.
- the computer-readable storage medium may be a non-volatile computer-readable storage medium.
- an electronic device including:
- the memory is configured to store a blockchain-based information authorization program of the processor; wherein the processor is configured to execute the method described in any one of the above by executing the blockchain-based information authorization program.
- the present disclosure is a method and device for information authorization based on blockchain.
- an information acquisition request from an information demand terminal located on a blockchain node is received; an information providing terminal on a node of the blockchain acquires the information demand terminal broadcast Information acquisition request to check whether you have the type of information you need. When you have the information, follow up steps, which can effectively reduce the time wasted in the steps of inquiry before information authorization and improve work efficiency.
- the information requester’s public key is queried according to the information requester ID, and the information requester’s public key is used to verify the information requester’s signature to obtain the verification result; the information requester’s signature is added using the information requester’s private key, and at the same time Only the public key of the information demander can be used for verification.
- the verification shows that this operation is the real operation of the information demander, effectively ensuring security.
- the risk category of the information of the information demand type of the transaction with the information demander is judged, and the transaction risk category is obtained.
- the transaction risk category includes risk, compromise risk, and no risk In one.
- the transaction risk category is no risk
- the information of the information demand type, the information acquisition contract, and the transaction record information are encrypted with the public key of the information demander, and after setting the validity period for viewing, proceed on the blockchain Broadcast to complete the authorization;
- the transaction is evaluated as risk-free, the information is encrypted with the public key of the information demander to achieve private transmission, and only the private key of the information demander can decrypt it; finally, to a certain extent, the legality of the information authorization is guaranteed In the case of compliance, realize the safe and reliable authorization of information.
- Fig. 1 schematically shows a flowchart of a method for information authorization based on blockchain.
- Figure 2 schematically shows an example diagram of an application scenario of a blockchain-based information authorization method.
- FIG. 3 schematically shows a flow chart of a method for judging the risk category of the information demander obtaining this type of information.
- Fig. 4 schematically shows a block diagram of a block chain-based information authorization device.
- Fig. 5 schematically shows an example block diagram of an electronic device for implementing the above-mentioned blockchain-based information authorization method.
- Fig. 6 schematically shows a computer-readable storage medium for implementing the above-mentioned blockchain-based information authorization method.
- the blockchain-based information authorization method can run on a server, a server cluster or a cloud server, etc.
- the method of running this application (the present disclosure) on other platforms according to requirements is not specifically limited in this exemplary embodiment.
- the blockchain-based information authorization method may include the following steps:
- Step S110 Receive an information acquisition request from an information demand terminal located on a blockchain node, where the information acquisition request at least includes an information demander's identification, an information demander's digital certificate, an information demand type, an information acquisition contract, and an information demander's signature .
- Step S120 The public key of the information demander is queried according to the information demander identification, and the information demander’s public key is used to verify the signature of the information demander to obtain a verification result.
- the verification result includes one of pass and fail. kind.
- Step S130 When the verification result is passed, judge the risk category of the information of the information demand type in the transaction with the information demander to obtain the transaction risk category, and the transaction risk category includes risk and compromise risk , One of no risk.
- Step S140 When the transaction risk category is risk-free, encrypt the information of the information demand type, the information acquisition contract, and the transaction record information with the public key of the information demander, and set the viewing validity period in the block Broadcast on the chain to complete authorization.
- an information acquisition request from an information demand terminal located on a blockchain node is received.
- the information acquisition request includes at least the information demander’s identification, the information demander’s digital certificate, and the information demand Type, information acquisition contract and signature of the information demander;
- the information providing terminal on a node of the blockchain acquires the information acquisition request broadcast by the information demand terminal to check whether it has the required type of information, and when there is such information Carrying out the subsequent steps can effectively reduce the time wasted in the inquiry steps before information authorization and improve work efficiency.
- the public key of the information demander is queried according to the information demander ID, and the signature of the information demander is verified by using the information demander public key to obtain a verification result, the verification result includes one of pass and fail; information;
- the signature of the demander is added by using the private key of the information demander, and only the public key of the information demander can be used for verification.
- the verification indicates that this operation is the real operation of the information demander, effectively ensuring security.
- the risk category of the information of the information demand type of the transaction with the information demander is judged, and the transaction risk category is obtained.
- the transaction risk category includes risk, compromise risk, and no risk In one.
- the transaction risk category is no risk
- the information of the information demand type, the information acquisition contract, and the transaction record information are encrypted with the public key of the information demander, and after setting the validity period for viewing, proceed on the blockchain Broadcast to complete the authorization;
- the transaction is evaluated as risk-free, the information is encrypted with the public key of the information demander to achieve private transmission, and only the private key of the information demander can decrypt it; finally, to a certain extent, the legality of the information authorization is guaranteed In the case of compliance, realize the safe and reliable authorization of information.
- step S110 an information acquisition request from an information demand terminal located on a blockchain node is received.
- the information acquisition request includes at least an information demander's identification, an information demander's digital certificate, an information demand type, an information acquisition contract, and an information demand ⁇ ’s signature.
- the information demand terminal 202 located on a node of the blockchain when a kind of information is needed, sends the information to other nodes in the blockchain with the information
- the information providing terminal 201 broadcasts an information acquisition request to obtain the information; where the information acquisition request includes at least the information requester's identification, the information requester's digital certificate, the information request type, the information acquisition contract, and the information requester's signature;
- the digital certificate of the information demander is used to obtain the information of the information demander, and the information demand type is used to accurately locate the type of information required.
- the information acquisition contract refers to the contract between the two parties for this information acquisition, and the information demand
- the user signature is added with the private key of the information requester, and the public key can be used to verify the signature, indicating that the information requester is actually operating.
- step S120 the information requester's public key is queried according to the information requester ID, and the information requester's public key is used to verify the information requester's signature to obtain a verification result, the verification result including pass and fail Kind of.
- the ID of the information requester is associated with the public key of the information requester, and the public key is stored on the node of the blockchain; the information requester's public key information requester can be queried according to the information requester ID
- the signature is a signature that is added with the private key of the information requester and can only be verified with the public key of the information requester. Only when the information requester adds the signature with the private key, can it show that this operation is the true will of the information requester; through the information request The signature is verified by the public key of the user, and the verification result fails to indicate that this transaction is the real operation of the information requester, and the next transaction can be carried out.
- step S130 When the verification result is passed, the risk category of the information of the information demand type of the transaction with the information demander is judged to obtain the transaction risk category, and the transaction risk category includes risk, discount One of medium risk and no risk.
- the risk category of the information transaction of the information demand type with the information demander is judged to obtain the transaction risk Category, the transaction risk category includes one of risk, compromise risk, and no risk, including step S310, step S320, and step S330:
- Step S310 Use the digital certificate of the information demander to obtain the industry category of the demander pointed to by the digital certificate of the information demander;
- Step S320 Obtain the information transaction frequency of this type in the blockchain transaction record according to the information demand type
- Step S330 Input the industry category, information transaction frequency, and information demand type of the demander as input data into the pre-trained machine learning model, and obtain the risk category prediction result of the information demander of the industry category trading this type of information.
- the prediction result includes one of risk, compromise risk, and no risk,
- the training method of the machine learning model is:
- the sample for training the machine learning model is selected in advance to calibrate the demanders of the risk category of trading one type of information with the information demanders of one industry category, the industry category, the frequency of information transactions, the sample group of information demand types, and the information demanders of different industry categories
- the demand for one type of information is different.
- the transaction frequency of this type of information can reflect the degree of public demand for that type of information.
- an information authorization risk judgment terminal is set on a node of the blockchain, and the information authorization risk judgment terminal comes from a historical information authorization monitoring agency,
- the transaction risk category includes risk, compromise risk, and no risk.
- the digital certificate of the information demander, the information demand type and the information transaction record are signed, and then encrypted with the public key of the information authorization risk judgment terminal , Broadcast to the information authorization risk judgment terminal;
- the information authorization risk judgment terminal By setting the information authorization risk judgment terminal on the node of the blockchain, it is used to judge the risk category of the information demander who is the source of the information demand terminal to obtain this type of information.
- the information provision terminal needs to judge the information demand of the information demand terminal source When obtaining the risk category of this type of information, only need to broadcast the relevant information to the information authorization risk judgment terminal, so that the transaction risk judgment can be carried out by a special third-party terminal information authorization risk judgment terminal, effectively reducing the processing of the information providing terminal Load, further the evaluation of the information demand terminal is more objective.
- the method for the information authorization risk judgment terminal to judge the transaction risk category is:
- the information demander's digital certificate and the information demand type are used to determine the transaction risk category of the information demanding type of information traded with the information demander.
- the information authorization risk judgment terminal After the information authorization risk judgment terminal obtains the information requester's digital certificate, the information request type, and the information transaction record signature, it verifies the information transaction record signature by using the information associated with the content corresponding to the broadcast to provide the final public key, Then we can know whether this operation is the real operation of the information demander; and then judge the authenticity of this transaction record, which can ensure that risk judgments are made in the case of real transactions, and the privacy of each user is guaranteed; After a transaction exists, judging the transaction risk category of the information of the information demand type that the information demander trades, can ensure the privacy and security of the information demander.
- the information provider’s public key is used to verify the signature of the information transaction record, and after the verification is passed, the authenticity of the information transaction record is judged, and the judgment result is obtained.
- the judgment result includes true One of and untrue, including:
- the information demand terminal source Only when the transaction record is true can the information demand terminal source the information demander obtain the risk category of this type of information, which can ensure fairness to the information demander, prevent malicious acquisition evaluation by other nodes, and guarantee Information is not abused, and redundant information is avoided on the nodes of the blockchain; by verifying the authenticity of the transaction record to the information demander, risk judgments can be made with the consent of the information demander, and the information demander can be further guaranteed At the same time, when the information demander does not verify the authenticity of the transaction record, it can indicate that the transaction is risky.
- the historical information authorized monitoring agency stores the credit category evaluated according to the historical transaction evaluation of the information demander according to the information demander tag pointed to by each information demander’s digital certificate, where The reputation category includes one of good, compromise and bad.
- using the digital certificate of the information demander and the information demand type to determine the transaction risk category of the information of the information demand type trading with the information demander includes:
- the historical information authorized monitoring agency keeps the information transaction records of all users on the blockchain and the transaction reputation category of the information demanders. Through the unique label of each user, that is, the information demander label, it can accurately crawl to the information demander’s Transaction information records, and then determine the risk category based on the transaction reputation category in the information transaction record. In this way, the risk of this transaction can be accurately determined based on the user's historical record.
- the judging the risk category according to the transaction reputation category includes:
- the transaction risk category is risky.
- the transaction risk category of the transaction with the information demander can be directly determined, for example, the transaction credit category of the information demander When it is good, it means that the information security after the transaction can be effectively ensured when the transaction is conducted with the information demander, and the opposite is true when the transaction reputation category of the information demander is good.
- the information demander’s digital certificate and the information demand type are used to determine the exchange with the information demander of the information demand terminal source
- the risk categories of information describing the types of information needs including:
- the information authorization risk judgment terminal obtains the information demander tag pointed to by the information demander digital certificate according to the information demander digital certificate;
- the information requester tag crawling the record of the information requester transaction of the information request type information recorded in the historical information authorized monitoring agency and the transaction record of the information request type information in the blockchain;
- the information demander s transaction record of the information demand type information and the transaction record of the information demand type information in the blockchain, determine the information demand transaction with the information demander of the information demand terminal source Type of risk category of information.
- the user According to the record of the information demander’s transaction of the information of the information demand type, the user’s actual demand for this type of information can be judged, and the type can be judged according to the transaction record of the information demand type of information in the blockchain.
- the degree of demand of all users of the information of this type can be combined with the two degree of demand to accurately determine the risk category of the type of information that needs to be traded with the information demander from the information demand terminal. For example, when the user is trading this type of information There are very few records, and there are very few transaction records in the entire blockchain. This shows that this transaction has a high risk, and certain practical considerations need to be made to determine the transaction time to effectively ensure the transaction in the blockchain. Low risk of information.
- the transaction record judgment of the information demand type based on the information demander's transaction of the information demand type information and the transaction record judgment in the blockchain is consistent with the information demand terminal
- the risk category of the information demander of the source who trades the information of the information demand type includes:
- the first transaction frequency and the second frequency are used to determine the risk category of the information demander who is the source of the information demand terminal to obtain this type of information.
- the first transaction of the type of information at the current moment can be calculated by obtaining the record of the information trader’s historical transaction of the information. Frequency, you can determine whether the main transaction information type of the information demander is this type of information; through the transaction records of the type of information in the entire blockchain, the calculation includes the type of information for the predetermined time period before the current point in time
- the second transaction frequency can be used to know whether this type of information is needed by most companies in the most recent time period; by obtaining the information of the information demand type in the record of the information demand of the information demand type
- the first transaction frequency for example, the first transaction frequency is 0, indicating that the information demander has extremely low demand for this type of information; this information demand is obtained in the transaction record in the blockchain by obtaining the information of the information demand type
- the type of information includes the second transaction frequency of the predetermined time period before the current time point, for example, 0.01%, indicating that all users have low demand for this information, reflecting
- using the first transaction frequency and the second frequency to determine the risk category of the information demander from the source of the information demand terminal to obtain this type of information includes:
- the first frequency exceeds the first predetermined threshold and the second frequency exceeds the second predetermined threshold, it is determined that the risk category is no risk; when the first frequency does not exceed the first predetermined threshold and the second frequency does not exceed The second predetermined threshold is used to determine that the risk category is risky; when the first frequency exceeds the first predetermined threshold and the second frequency does not exceed the second predetermined threshold, or the first frequency does not exceed the first predetermined threshold, and at the same time
- the second frequency exceeds a second predetermined threshold, and it is determined that the risk category is a compromise risk.
- the risk category is judged to be risky, indicating that there is an abnormal situation in the information requester obtaining this type of information, in order to ensure low information authorization
- the risk is legal compliance, etc., which requires further investigation or direct denial of authorization; when the first frequency exceeds the first predetermined threshold by 10%, while the second frequency does not exceed the second predetermined threshold by 5%, or the first frequency does not exceed
- the first predetermined threshold is 10%, and the second frequency exceeds the second predetermined threshold by 5%, indicating that the information demander’s access to the information is between risky and non-risk. It is judged that the risk category is a compromise risk. Decide whether to authorize after further communication and coordination.
- step S140 In response to the transaction risk category being no risk, the information providing terminal encrypts the information of the information demand type, the information acquisition contract, and the transaction record information with the public key of the information demander, and sets the viewing validity period Then, broadcast to the information demand terminal to complete the authorization.
- the information providing terminal when it is judged that the transaction risk category is risk-free, it means that the transaction can be safe, the information providing terminal will need the information of the type of information demand, the information acquisition contract, and the transaction record information using the information of the information demander.
- the public key is encrypted and the viewing validity period is set, it is broadcasted to the information demand terminal to complete the authorization. Only the private key of the information demander can be decrypted and viewed. At the same time, setting the viewing validity period can further ensure the safe transmission of the information.
- the block chain-based information authorization device may include an acquisition module 410, a verification module 420, a judgment module 430, and an authorization module 440. among them:
- the acquisition module 410 may be used to receive an information acquisition request from an information demand terminal located on a blockchain node.
- the information acquisition request includes at least an information demander's identification, an information demander's digital certificate, an information demand type, an information acquisition contract, and information. Signature of the requester;
- the verification module 420 may be used to inquire the information requester's public key according to the information requester ID, and use the information requester's public key to verify the information requester's signature to obtain a verification result, the verification result including pass and fail
- a verification result including pass and fail
- the judging module 430 may be used to judge the risk category of the information of the information demand type in the transaction with the information demander when the verification result is passed, to obtain the transaction risk category, and the transaction risk category includes risk.
- the authorization module 440 may be used to encrypt the information of the information demand type, the information acquisition contract, and the current transaction record information with the public key of the information demander when the transaction risk category is risk-free, and after setting the viewing validity period, Broadcast on the blockchain to complete authorization.
- the example embodiments described here can be implemented by software, or can be implemented by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) execute the method according to the embodiments of the present disclosure.
- a computing device which may be a personal computer, a server, a mobile terminal, or a network device, etc.
- an electronic device capable of implementing the above method.
- the electronic device 500 according to this embodiment of the present application will be described below with reference to FIG. 5.
- the electronic device 500 shown in FIG. 5 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present application.
- the electronic device 500 is represented in the form of a general-purpose computing device.
- the components of the electronic device 500 may include, but are not limited to: the aforementioned at least one processing unit 510, the aforementioned at least one storage unit 520, and a bus 530 connecting different system components (including the storage unit 520 and the processing unit 510).
- the storage unit stores program code, and the program code can be executed by the processing unit 510, so that the processing unit 510 executes the various exemplary methods described in the “Exemplary Method” section of this specification. Implementation steps.
- the processing unit 510 may perform step S110 as shown in FIG.
- step S140 when the transaction risk category is no risk, obtain the information of the information demand type and the information
- the contract and the transaction record information are encrypted using the public key of the information requester, and after the viewing validity period is set, it is broadcast on the blockchain to complete the authorization.
- the storage unit 520 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 5201 and/or a cache storage unit 5202, and may further include a read-only storage unit (ROM) 5203.
- RAM random access storage unit
- ROM read-only storage unit
- the storage unit 520 may also include a program/utility tool 5204 having a set (at least one) program module 5205.
- program module 5205 includes but is not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples or some combination may include the implementation of a network environment.
- the bus 530 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any bus structure among multiple bus structures. bus.
- the electronic device 500 can also communicate with one or more external devices 700 (such as keyboards, pointing devices, Bluetooth devices, etc.), and can also communicate with one or more devices that enable customers to interact with the electronic device 500, and/or communicate with Any device (such as a router, modem, etc.) that enables the electronic device 500 to communicate with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 550.
- the electronic device 500 may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 560. As shown in the figure, the network adapter 560 communicates with other modules of the electronic device 500 through the bus 530.
- the example embodiments described here can be implemented by software, or can be implemented by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiment of the present disclosure.
- a computing device which may be a personal computer, a server, a terminal device, or a network device, etc.
- a computer-readable storage medium on which is stored a program product capable of implementing the above method of this specification.
- various aspects of the present application may also be implemented in the form of a program product, which includes program code.
- the program product runs on a terminal device, the program code is used to make the The terminal device executes the steps according to various exemplary implementations of the present application described in the above "Exemplary Method" section of this specification.
- a program product 600 for implementing the above-mentioned method according to an embodiment of the present application is described. It can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be installed in a terminal device, For example, running on a personal computer.
- the program product of the present application is not limited to this.
- the readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.
- the program product may employ any combination of one or more readable media.
- the readable medium may be a readable signal medium or a readable storage medium.
- the readable storage medium may be, for example but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Type programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- the computer-readable signal medium may include a data signal that is transmitted in baseband or as part of a carrier wave, in which readable program code is carried.
- This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- the readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device.
- the program code contained on the readable medium may be transmitted on any appropriate medium, including but not limited to wireless, wired, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
- the program code for performing the operations of the present application can be written in any combination of one or more programming languages, which includes object-oriented programming languages such as Java, C++, etc., and also includes the conventional procedural formula Programming language-such as "C" language or similar programming language.
- the program code can be executed entirely on the client computing device, partly executed on the client device, executed as an independent software package, partly executed on the client computing device and partly executed on the remote computing device, or entirely on the remote computing device or server Executed on.
- the remote computing device can be connected to a client computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (for example, using Internet service providers). Business to connect via the Internet).
- LAN local area network
- WAN wide area network
- Internet service providers for example, using Internet service providers
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Finance (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本公开是关于一种基于区块链的信息授权方法、装置、介质及电子设备,属于区块链应用技术领域,该方法包括:接收位于区块链节点上的信息需求终端的信息获取请求;根据信息获取请求中的信息需求者标识查询到的信息需求者公钥验证信息需求者签名,得到验证结果;当验证结果为通过,对信息需求者获取该类型的信息的风险类别进行判断;当交易风险类别为无风险,信息提供终端将信息需求类型的信息、信息获取合约以及该次交易记录信息利用信息需求者公钥加密,设置查看有效期后,向信息需求终端进行广播,完成授权。本公开在利用区块链实现信息安全层面的安全授权基础上,通过交易风险的提前评估,有效保证了基于区块链授权信息的合法层面的安全授权。
Description
本申请要求于2019年01月18日提交中国专利局、申请号为201910048692.X、申请名称为“基于区块链的信息授权方法、装置、介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本公开涉及区块链应用技术领域,具体而言,涉及一种基于区块链的信息授权方法、装置、介质及电子设备。
信息授权就是信息拥有者按照一定的相互协议将拥有的各种信息授权给需要相关信息的其他用户使用。
基于区块链进行信息授权时就是在区块链上的节点上的各设备之间将信息通过加密的形式进行授权分享,只有被授权的一方才可以通过自己独有的私钥解密,以区块链技术来提供相关信息的授权,被授权信息都是密文上链,信息授权时可以有效保证信息授权的安全性,即信息在信息安全层面的安全授权。但是,各种具有隐私性和机密性的信息在授权时,不仅要保证信息的安全,同时要保证信息授权时的在法律法规层面的安全性、可靠性,利用区块链进行授权时信息需求者不透明等原因会导致进行信息交易时具有潜在的风险,目前,没有一种在区块链信息授权时进行合法层面安全性评估授权的方法,带来潜在授权风险。
需要说明的是,在上述背景技术部分公开的信息仅用于加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。
发明内容
本公开的目的在于提供一种基于区块链的信息授权方案,进而至少在一定程度上在保证信息授权的合法合规的情况下,实现信息的安全、可靠授权。
根据本公开的一个方面,提供一种基于区块链的信息授权方法,其包括:
接收位于区块链节点上的信息需求终端的信息获取请求,所述信息获取请求中至少包括信息需求者标识、信息需求者数字证书、信息需求类型、信息获取合约和信息需求者签名;
根据所述信息需求者标识查询到信息需求者公钥,利用所述信息需求者公钥验证所述信息需求者签名,得到验证结果,所述验证结果包括通过和不通过中的一种;
当所述验证结果为通过时,对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断,得到交易风险类别,所述交易风险类别包括有风险,折中风险、无风险中一种;
当所述交易风险类别为无风险时,将所述信息需求类型的信息、信息获取合约以及本次交易记录信息利用所述信息需求者公钥加密,设置查看有效期后,在区块链上进行广播,以完成授权。
根据本公开的一个方面,提供一种基于区块链的信息授权装置,包括:
获取模块,用于接收位于区块链节点上的信息需求终端的信息获取请求,所述信息获取请求中至少包括信息需求者标识、信息需求者数字证书、信息需求类型、信息获取合约和信息需求者签名;
验证模块,用于根据所述信息需求者标识查询到信息需求者公钥,利用所述信息需求者公钥验证所述信息需求者签名,得到验证结果,所述验证结果包括通过和不通过中的一种;
判断模块,用于当所述验证结果为通过时,对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断,得到交易风险类别,所述交易风险类别包括有风险,折中风险、无风险中一种;
授权模块,用于当所述交易风险类别为无风险时,将所述信息需求类型的信息、信息获取合约以及本次交易记录信息利用所述信息需求者公钥加密,设置查看有效期后,在区块链上进行广播,以完成授权。
根据本公开的一个方面,提供一种计算机可读存储介质,其上存储有基于区块链的信息授权程序,所述基于区块链的信息授权程序被处理器执行时实现上述任一项所述的方法。可选的,该计算机可读存储介质可以为计算机非易失性可读存储介质。
根据本公开的一个方面,提供一种电子设备,包括:
处理器;以及
存储器,用于存储所述处理器的基于区块链的信息授权程序;其中,所述处理器配置为经由执行所述基于区块链的信息授权程序来执行上述任一项所述的方法。
本公开一种基于区块链的信息授权方法及装置,首先,接收位于区块链节点上的信息需求终端的信息获取请求;区块链一个节点上的信息提供终端获取到信息需求终端广播的信息获取请求,以查看自己是否拥有所需求的类型的信息,当有该信息的时候进行后续的步骤,可以有效减少信息授权之前问询的步骤浪费的时间,提高工作效率。根据所述信息需求者标识查询到信息需求者公钥,利用所述信息需求者公钥验证所述信息需求者签名,得到验证结果;信息需求者签名是利用信息需求者的私钥添加,同时只有利用信息需求者公钥才可以验证,通过验证说明本次操作为信息需求者的真实操作,有效保证安全性。当所述验证结果为通过时,对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断,得到交易风险类别,所述交易风险类别包括有风险,折中风险、无风险中一种。在确保本次操作为需求者的真实操作后,与信息需求者交易该类型的信息是否合法具有很大的潜在风险,通过交易风险评估可以有效保证该次交易的合法性保障。当所述交易风险类别为无风险时,将所述信息需求类型的信息、信息获取合约以及本次交易记录信息利用所述信息需求者公钥加密,设置查看有效期后,在区块链上进行广播,以完成授权;当本次交易评估后为无风险时,将信息用信息需求者公钥加密实现私密传输,只有信息需求者私钥可以解密;最后在一定程度上在保证信息授权的合法合规的情况下,实现信息的安全、可靠授权。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示意性示出一种基于区块链的信息授权方法的流程图。
图2示意性示出一种基于区块链的信息授权方法的应用场景示例图。
图3示意性示出一种信息需求者获取该类型的信息的风险类别进行判断方法流程图。
图4示意性示出一种基于区块链的信息授权装置的方框图。
图5示意性示出一种用于实现上述基于区块链的信息授权方法的电子设备示例框图。
图6示意性示出一种用于实现上述基于区块链的信息授权方法的计算机可读存储介质。
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例。
此外,附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。
本示例实施方式中首先提供了基于区块链的信息授权方法,该基于区块链的信息授权方法可以运行于服务器,也可以运行于服务器集群或云服务器等,当然,本领域技术人员也可以根据需求在其他平台运行本申请(本公开)的方法,本示例性实施例中对此不做特殊限定。参考图1所示,该基于区块链的信息授权方法可以包括以下步骤:
步骤S110.接收位于区块链节点上的信息需求终端的信息获取请求,所述信息获取请求中至少包括信息需求者标识、信息需求者数字证书、信息需求类型、信息获取合约和信息需求者签名。
步骤S120.根据所述信息需求者标识查询到信息需求者公钥,利用所述信息需求者公钥验证所述信息需求者签名,得到验证结果,所述验证结果包括通过和不通过中的一种。
步骤S130.当所述验证结果为通过时,对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断,得到交易风险类别,所述交易风险类别包括有风险,折中风险、无风险中一种。
步骤S140.当所述交易风险类别为无风险时,将所述信息需求类型的信息、信息获取合约以及本次交易记录信息利用所述信息需求者公钥加密,设置查看有效期后,在区块链上进行广播,以完成授权。
上述基于区块链的信息授权方法中,首先,接收位于区块链节点上的信息需求终端的信息获取请求,所述信息获取请求中至少包括信息需求者标识、信息需求者数字证书、信 息需求类型、信息获取合约和信息需求者签名;区块链一个节点上的信息提供终端获取到信息需求终端广播的信息获取请求,以查看自己是否拥有所需求的类型的信息,当有该信息的时候进行后续的步骤,可以有效减少信息授权之前问询的步骤浪费的时间,提高工作效率。根据所述信息需求者标识查询到信息需求者公钥,利用所述信息需求者公钥验证所述信息需求者签名,得到验证结果,所述验证结果包括通过和不通过中的一种;信息需求者签名是利用信息需求者的私钥添加,同时只有利用信息需求者公钥才可以验证,通过验证说明本次操作为信息需求者的真实操作,有效保证安全性。
当所述验证结果为通过时,对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断,得到交易风险类别,所述交易风险类别包括有风险,折中风险、无风险中一种。在确保本次操作为需求者的真实操作后,与信息需求者交易该类型的信息是否合法具有很大的潜在风险,通过交易风险评估可以有效保证该次交易的合法性保障。当所述交易风险类别为无风险时,将所述信息需求类型的信息、信息获取合约以及本次交易记录信息利用所述信息需求者公钥加密,设置查看有效期后,在区块链上进行广播,以完成授权;当本次交易评估后为无风险时,将信息用信息需求者公钥加密实现私密传输,只有信息需求者私钥可以解密;最后在一定程度上在保证信息授权的合法合规的情况下,实现信息的安全、可靠授权。
下面,将结合附图对本示例实施方式中上述基于区块链的信息授权方法中的各步骤进行详细的解释以及说明。
在步骤S110中,接收位于区块链节点上的信息需求终端的信息获取请求,所述信息获取请求中至少包括信息需求者标识、信息需求者数字证书、信息需求类型、信息获取合约和信息需求者签名。
在本示例实施方式中,参考图2所示,首先,位于区块链的一个节点上的信息需求终端202,在需要一种信息时,向区块链中其它的节点的具有所述信息的信息提供终端201广播获取该信息的信息获取请求;其中,信息获取请求中至少包括信息需求者标识、信息需求者数字证书、信息需求类型、信息获取合约和信息需求者签名;信息需求者标识用于查询信息需求者公钥,信息需求者数字证书用于获取信息需求者信息,信息需求类型用于准确定位所需要的信息的类型,信息获取合约就是指本次信息获取的双方合约,信息需求者签名是用信息需求者私钥添加,可以用公钥验证签名,表明信息需求者真实操作。
在步骤S120中.根据所述信息需求者标识查询到信息需求者公钥,利用所述信息需求者公钥验证所述信息需求者签名,得到验证结果,所述验证结果包括通过和不通过中的一种。
在本示例的实施方式中,信息需求者标识与信息需求者公钥相关联,公钥保存在区块链的节点上;可以根据所述信息需求者标识查询到信息需求者公钥信息需求者签名是用信息需求者私钥添加,只能够用信息需求者的公钥进行验证的签名,信息需求者只有用私钥添加签名,才能表明本次操作是信息需求者的真实意愿;通过信息需求者的公钥进行验证的签名,验证结果未通过说明本次交易是信息需求者的真实操作,进而可以进行接下来的交易。
在步骤S130中.当所述验证结果为通过时,对与所述信息需求者交易所述信息需求类 型的信息的风险类别进行判断,得到交易风险类别,所述交易风险类别包括有风险,折中风险、无风险中一种。
在本示例的实施方式中,区块链中进行交易时,使用区块链技术来提供相关信息的授权,被授权信息都是密文上链,授权过程安全可靠;但是信息授权具有很大的风险,例如不合法、不合规章等;利用区块链进行授权时与信息需求者不透明,进行交易时,具有潜在的风险;所以需要对交易的风险进行判断,判断信息需求终端来源的信息需求者获取该类型的信息的风险,只有保证无风险时才可以进行交易。本示例中在验证结果为通过,对信息需求终端来源的信息需求者获取该类型的信息的风险类别进行判断,得到交易风险类别,所述交易风险类别包括有风险,折中风险、无风险中一种,可以有效保证信息授权的合法合规性,在交易风险类别无风险时进行本次交易。
在本示例的一种实施方式中,参考图3所示,所述所述验证结果为通过时,对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断,得到交易风险类别,所述交易风险类别包括有风险,折中风险、无风险中一种,包括步骤S310、步骤S320及步骤S330:
步骤S310.利用所述信息需求者数字证书获取所述信息需求者数字证书指向的需求者行业类别;
步骤S320.依据所述信息需求类型在区块链交易记录中获取该类型信息交易频率;
步骤S330.将所述需求者行业类别、信息交易频率以及信息需求类型的作为输入数据输入预先训练好的机器学习模型,得到与该行业类别的信息需求者交易该类型信息的风险类别预测结果,所述预测结果包括有风险,折中风险、无风险中一种,
其中,所述机器学习模型的训练方法是:
收集需求者行业类别、信息交易频率以及信息需求类型样本组集,其中,每个样本组事先标定了与样本组中行业类别的信息需求者交易所述信息需求类型的信息的风险类别;
将每个样本组的数据分别输入机器学习模型,得到对样本组事先标定的与样本组中行业类别的信息需求者交易所述信息需求类型的信息的风险类别,所述风险类别包括有风险,折中风险、无风险中一种;
如果机器学习模型的输出与事先对样本组事先标定的不一致,则调整机器学习模型的系数,使得机器学习模型针对所有样本组的输出,与事先标定的与所述样本组中行业类别的信息需求者交易所述信息需求类型信息的风险类别一致,训练结束。
通过训练机器学习模型可以自动的通过打标签的形式进行交易风险的预测,得到信息需求终端来源的信息需求者获取该类型的信息的风险类别的预测结果。其中训练机器学习模型的样本选用事先标定了与一种行业类别的信息需求者交易一种类型信息的风险类别的需求者行业类别、信息交易频率、信息需求类型样本组,不同行业类别信息需求者对一种类型的信息的需求情况不同,同时这种类型的信息的交易频率可以反映该类型的信息的大众需求程度,这几个要素可以较为准确的指引与一种行业类别的信息需求者交易一种类型信息的风险,例如一家外资企业获取国防类型的信息时,这就具有极大的交易风险。
在本示例的一种实施方式中,在区块链的一个节点上设置了信息授权风险判断终端,所述信息授权风险判断终端来源于历史信息授权监控机构,
所述验证结果为通过时,对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断,得到交易风险类别,所述交易风险类别包括有风险,折中风险、无风险中一种,包括:
向信息授权风险判断终端广播风险判断需求;
当接收到所述信息授权风险判断终端对所述风险判断需求的响应时,将所述信息需求者数字证书、所述信息需求类型和信息交易记录签名,利用信息授权风险判断终端公钥加密后,广播至信息授权风险判断终端;
获取所述信息授权风险判断终端判断的所述交易风险类别。
通过在区块链的节点上设置信息授权风险判断终端,用于对信息需求终端来源的信息需求者获取该类型的信息的风险类别进行判断,在信息提供终端需要判断信息需求终端来源的信息需求者获取该类型的信息的风险类别时,只需要将相关信息广播至信息授权风险判断终端,就可以使得交易风险判断由专门的第三方终端信息授权风险判断终端进行,有效降低信息提供终端的处理负荷,进一步的对信息需求终端的评价更加客观。
在本示例的一种实施方式中,在所述获取所述信息授权风险判断终端判断的所述交易风险类别中,
所述信息授权风险判断终端判断所述交易风险类别的方法是:
利用所述信息授权风险判断终端的私钥解密所述广播对应的内容,得到所述信息需求者数字证书、所述信息需求类型和信息交易记录签名,利用与所述广播对应的内容相关联的信息提供终者公钥验证所述信息交易记录签名;
当利用所述信息提供终者公钥验证所述信息交易记录签名,验证通过后,判断所述信息交易记录真实性,得到判断结果,所述判断结果包括真实和不真实中的一种;
当所述判断结果为真实时,利用所述信息需求者数字证书、所述信息需求类型判断与所述信息需求者交易所述信息需求类型的信息的交易风险类别。
信息授权风险判断终端在获取到信息需求者数字证书、所述信息需求类型和信息交易记录签名后,通过利用与所述广播对应的内容相关联的信息提供终者公钥验证信息交易记录签名,就可知道本次操作是不是信息需求者的真实操作;然后判断本次交易记录的真实性,可以保证在具有真实交易的情况下在进行风险判断,保证每个用户的隐私;在判断为真实存在交易后,对信息需求者交易所述信息需求类型的信息的交易风险类别进行判断,可以保证信息需求者的隐私安全。
在本示例的一种实施方式中,当利用所述信息提供者公钥验证所述信息交易记录签名,验证通过后,判断所述信息交易记录真实性,得到判断结果,所述判断结果包括真实和不真实中的一种,包括:
向所述区块链节点上的信息需求终端广播交易记录真实性验证请求;
当接收到所述信息需求终端对所述验证请求的响应时,将所述交易记录签名且所述利用信息需求者公钥加密后,广播至信息需求终端;
获取所述信息需求终端对所述交易记录的真实性的判断结果,所述判断结果包括真实和不真实中的一种。
只有在交易记录是真实的情况下才进行所述信息需求终端来源的信息需求者获取该类 型的信息的风险类别,可以保证对信息需求者的公平性,防止其他其它节点的恶意获取评价,保证信息不被滥用,同时避免区块链的节点上产生多余的信息;通过向信息需求者验证交易记录的真实性,可以在信息需求者的同意的情况下进行风险判断,进一步的保证信息需求者的公平性;同时,当信息需求者不进行所述交易记录的真实性验证时可以说明本次交易具有风险。
在本示例的一种实施方式中,所述历史信息授权监控机构按照每个信息需求者数字证书指向的信息需求者标签对应保存了根据所述信息需求者的历史交易评价的信誉类别,其中所述信誉类别包括良好、折中和差中的一种,
当所述判断结果为真实时,利用所述信息需求者数字证书、所述信息需求类型判断与所述信息需求者交易所述信息需求类型的信息的交易风险类别,包括:
根据所述信息需求者数字证书获取所述信息需求者数字证书指向的信息需求者标签;
根据所述信息需求者标签爬取记录在历史信息授权监控机构的所述信息需求者交易信誉类别;
根据所述交易信誉类别,判断所述交易风险类别。
历史信息授权监控机构保存有区块链上所有用户的信息交易记录以及信息需求者交易信誉类别,通过每个用户唯一的标签,也就是信息需求者标签,可以准确的爬取到信息需求者的交易信息记录,进而根据信息交易记录中的交易信誉类别,判断所述风险类别。这样可以根据用户的历史记录准确的判断出本次交易的风险。
在本示例的一种实施方式中,所述根据所述交易信誉类别,判断所述风险类别,包括:
根据所述交易信誉类别为良好,判断所述交易风险类别为无风险;
根据所述交易信誉类别为折中,判断所述交易风险类别为折中风险;
根据所述交易信誉类别为差,判断所述交易风险类别为有风险。
通过根据所述信息需求者的历史交易评价的信誉类别,例如违法违纪等信誉类别,就可以直接判断出与该信息需求者的交易的交易风险类别,例如,所述信息需求者的交易信誉类别为良好时,说明与该信息需求者进行交易时,可以有效保证交易之后的信息安全,而所述信息需求者的交易信誉类别为良好时,则相反。
在本示例的一种实施方式中,所述当所述验证结果为真实时,利用所述信息需求者数字证书、所述信息需求类型,判断与所述信息需求终端来源的信息需求者交易所述信息需求类型的信息的风险类别,包括:
信息授权风险判断终端根据所述信息需求者数字证书获取所述信息需求者数字证书指向的信息需求者标签;
根据所述信息需求者标签爬取记录在历史信息授权监控机构的该信息需求者交易所述信息需求类型的信息的记录和该信息需求类型的信息在区块链中的交易记录;
根据所述信息需求者交易所述信息需求类型的信息的记录和所述信息需求类型的信息在区块链中的交易记录,判断与所述信息需求终端来源的信息需求者交易所述信息需求类型的信息的风险类别。
根据所述信息需求者交易所述信息需求类型的信息的记录可以判断出该用户对该类型的信息的实际需求度,根据信息需求类型的信息在区块链中的交易记录可以判断出该类型 的信息的所有用户的需求度,结合两个需求度就可以准确的判断出与所述信息需求终端来源的信息需求者交易该类型的信息的风险类别,例如当用户对该类型的信息在交易记录中非常的少,整个区块链中的交易记录中也非常的少,这就说明本次交易具有较高的风险,需要进行一定的实际考量决定时候进行交易,有效保证区块链中交易信息的低风险性。
本示例的一种实施方式中,所述根据所述信息需求者交易所述信息需求类型的信息的记录和所述信息需求类型的信息在区块链中的交易记录判断与所述信息需求终端来源的信息需求者交易所述信息需求类型的信息的风险类别,包括:
获取所述信息需求者交易所述信息需求类型的信息的记录中该信息需求类型的信息的第一交易频率;
获取所述信息需求类型的信息在区块链中的交易记录中该信息需求类型的信息的在包括当前时刻点之前的预定时间段的第二交易频率;
利用所述第一交易频率和第二频率判断与所述信息需求终端来源的信息需求者获取该类型的信息的风险类别。
当不能够直接根据例如交易信誉等判断出一个信息需求者的交易风险时,通过获取该信息交易者历史上交易该信息的记录,通过交易记录计算得到当前时刻点的类型的信息的第一交易频率,可以判断出该信息需求者的主要交易信息类型是否是该类型的信息;通过整个区块链中所述类型的信息的交易记录,计算包括当前时刻点之前的预定时间段的该类型信息的第二交易频率,可以知道该类型的信息是否在最近的时间段为大部分企业所需要的;通过获取所述信息需求者交易所述信息需求类型的信息的记录中该信息需求类型的信息的第一交易频率,例如第一交易频率为0,说明该信息需求者对该类型的信息需求度极低;通过获取所述信息需求类型的信息在区块链中的交易记录中该信息需求类型的信息的在包括当前时刻点之前的预定时间段的第二交易频率,例如为0.01%,说明所有用户对该信息的需求度也很低,反应出该类型的信息是比如国防、敏感言论等信息;然后,利用所述第一交易频率和第二频率判断与所述信息需求终端来源的信息需求者获取该类型的信息的风险类别;就可以根据两个交易频率准确的判断出本次交易的风险,进而在进一步的实地考量后决定是否授权该信息。
本示例的一种实施方式中,利用所述第一交易频率和第二频率判断与所述信息需求终端来源的信息需求者获取该类型的信息的风险类别,包括:
当所述第一频率超过第一预定阈值,同时第二频率超过第二预定阈值,判断所述风险类别为无风险;当所述第一频率没有超过第一预定阈值,同时第二频率没有超过第二预定阈值,判断所述风险类别为有风险;当所述第一频率超过第一预定阈值,同时第二频率没有超过第二预定阈值,或者,第一频率没有超过第一预定阈值,同时第二频率超过第二预定阈值,判断所述风险类别为折中风险。
当第一频率超过第一预定阈值,例如10%,同时第二频率超过第二预定阈值,例如5%,说明企业获取该类型的信息是非常合理的,也就是无风险;当第一频率没有超过第一预定阈值10%,同时第二频率没有超过第二预定阈值5%,判断所述风险类别为有风险,说明该信息需求者获取该类型的信息存在异常情况,为了保证信息授权的低风险即合法合规等,需要进一步调查研究或者直接拒绝授权;当所述第一频率超过第一预定阈值10%,同时第 二频率没有超过第二预定阈值5%,或者,第一频率没有超过第一预定阈值10%,同时第二频率超过第二预定阈值5%,说明该信息需求者获取所述信息的情况在有风险和无风险之间,判断所述风险类别为折中风险,需要进一步的沟通协调后决定是否授权。
在步骤S140中.响应于所述交易风险类别为无风险,信息提供终端将所述信息需求类型的信息、信息获取合约以及该次交易记录信息利用所述信息需求者公钥加密,设置查看有效期后,向信息需求终端进行广播,以完成授权。
在本示例的实施方式中,当判断到交易风险类别为无风险说明可以安全交易,信息提供终端将需要的信息需求类型的信息、信息获取合约以及该次交易记录信息利用所述信息需求者的公钥加密,并且设置查看有效期后,向信息需求终端进行广播,以完成授权,只有信息需求者的私钥才可以进行解密查看,同时设置查看有效期可以进一步保证所述信息的安全传输。
本公开还提供了一种基于区块链的信息授权装置。参考图4所示,该基于区块链的信息授权装置可以包括获取模块410、验证模块420、判断模块430以及授权模块440。其中:
获取模块410可以用于接收位于区块链节点上的信息需求终端的信息获取请求,所述信息获取请求中至少包括信息需求者标识、信息需求者数字证书、信息需求类型、信息获取合约和信息需求者签名;
验证模块420可以用于根据所述信息需求者标识查询到信息需求者公钥,利用所述信息需求者公钥验证所述信息需求者签名,得到验证结果,所述验证结果包括通过和不通过中的一种;
判断模块430可以用于当所述验证结果为通过时,对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断,得到交易风险类别,所述交易风险类别包括有风险,折中风险、无风险中一种;
授权模块440可以用于当所述交易风险类别为无风险时,将所述信息需求类型的信息、信息获取合约以及本次交易记录信息利用所述信息需求者公钥加密,设置查看有效期后,在区块链上进行广播,以完成授权。
上述基于区块链的信息授权装置中各模块的具体细节已经在对应的基于区块链的信息授权方法中进行了详细的描述,因此此处不再赘述。
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本公开的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。
此外,尽管在附图中以特定顺序描述了本公开中方法的各个步骤,但是,这并非要求或者暗示必须按照该特定顺序来执行这些步骤,或是必须执行全部所示的步骤才能实现期望的结果。附加的或备选的,可以省略某些步骤,将多个步骤合并为一个步骤执行,以及/或者将一个步骤分解为多个步骤执行等。
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性 存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、移动终端、或者网络设备等)执行根据本公开实施方式的方法。
在本公开的示例性实施例中,还提供了一种能够实现上述方法的电子设备。
所属技术领域的技术人员能够理解,本申请的各个方面可以实现为系统、方法或程序产品。因此,本申请的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。
下面参照图5来描述根据本申请的这种实施方式的电子设备500。图5显示的电子设备500仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。
如图5所示,电子设备500以通用计算设备的形式表现。电子设备500的组件可以包括但不限于:上述至少一个处理单元510、上述至少一个存储单元520、连接不同系统组件(包括存储单元520和处理单元510)的总线530。
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元510执行,使得所述处理单元510执行本说明书上述“示例性方法”部分中描述的根据本申请各种示例性实施方式的步骤。例如,所述处理单元510可以执行如图1中所示的步骤S110:接收位于区块链节点上的信息需求终端的信息获取请求,所述信息获取请求中至少包括信息需求者标识、信息需求者数字证书、信息需求类型、信息获取合约和信息需求者签名;S120:根据所述信息需求者标识查询到信息需求者公钥,利用所述信息需求者公钥验证所述信息需求者签名,得到验证结果,所述验证结果包括通过和不通过中的一种;步骤S130:当所述验证结果为通过时,对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断,得到交易风险类别,所述交易风险类别包括有风险,折中风险、无风险中一种;步骤S140:当所述交易风险类别为无风险时,将所述信息需求类型的信息、信息获取合约以及本次交易记录信息利用所述信息需求者公钥加密,设置查看有效期后,在区块链上进行广播,以完成授权。
存储单元520可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)5201和/或高速缓存存储单元5202,还可以进一步包括只读存储单元(ROM)5203。
存储单元520还可以包括具有一组(至少一个)程序模块5205的程序/实用工具5204,这样的程序模块5205包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。
总线530可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。
电子设备500也可以与一个或多个外部设备700(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得客户能与该电子设备500交互的设备通信,和/或与使得该电子设备500能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口550进行。并且,电子设备500还可以通过网络适配器560与一个或者多个网络(例如局域网(LAN),广域网(WAN) 和/或公共网络,例如因特网)通信。如图所示,网络适配器560通过总线530与电子设备500的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备500使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本公开实施方式的方法。
在本公开的示例性实施例中,还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施方式中,本申请的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行本说明书上述“示例性方法”部分中描述的根据本申请各种示例性实施方式的步骤。
参考图6所示,描述了根据本申请的实施方式的用于实现上述方法的程序产品600,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本申请的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。
可以以一种或多种程序设计语言的任意组合来编写用于执行本申请操作的程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在客户计算设备上执行、部分地在客户设备上执行、作为一个独立的软件包执行、部分在客户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域 网(WAN),连接到客户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。
此外,上述附图仅是根据本申请示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。
本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。
Claims (20)
- 一种基于区块链的信息授权方法,其特征在于,包括:接收位于区块链节点上的信息需求终端的信息获取请求,所述信息获取请求中至少包括信息需求者标识、信息需求者数字证书、信息需求类型、信息获取合约和信息需求者签名;根据所述信息需求者标识查询到信息需求者公钥,利用所述信息需求者公钥验证所述信息需求者签名,得到验证结果,所述验证结果包括通过和不通过中的一种;当所述验证结果为通过时,对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断,得到交易风险类别,所述交易风险类别包括有风险,折中风险、无风险中一种;当所述交易风险类别为无风险时,将所述信息需求类型的信息、信息获取合约以及本次交易记录信息利用所述信息需求者公钥加密,设置查看有效期后,在区块链上进行广播,以完成授权。
- 根据权利要求1所述的方法,其特征在于,所述所述验证结果为通过时,对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断,得到交易风险类别,所述交易风险类别包括有风险,折中风险、无风险中一种,包括:利用所述信息需求者数字证书获取所述信息需求者数字证书指向的需求者行业类别;依据所述信息需求类型在区块链交易记录中获取该类型信息交易频率;将所述需求者行业类别、信息交易频率以及信息需求类型的作为输入数据输入预先训练好的机器学习模型,得到与该行业类别的信息需求者交易该类型信息的风险类别预测结果,所述预测结果包括有风险,折中风险、无风险中一种,其中,所述机器学习模型的训练方法是:收集需求者行业类别、信息交易频率以及信息需求类型样本组集,其中,每个样本组事先标定了与样本组中行业类别的信息需求者交易所述信息需求类型的信息的风险类别;将每个样本组的数据分别输入机器学习模型,得到对样本组事先标定的与样本组中行业类别的信息需求者交易所述信息需求类型的信息的风险类别,所述风险类别包括有风险,折中风险、无风险中一种;如果机器学习模型的输出与事先对样本组事先标定的不一致,则调整机器学习模型的系数,使得机器学习模型针对所有样本组的输出,与事先标定的与所述样本组中行业类别的信息需求者交易所述信息需求类型信息的风险类别一致,训练结束。
- 根据权利要求1所述的方法,在区块链的一个节点上设置了信息授权风险判断终端,所述信息授权风险判断终端来源于历史信息授权监控机构,其特征在于,所述验证结果为通过时,对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断,得到交易风险类别,所述交易风险类别包括有风险,折中风险、无风险中一种,包括:向信息授权风险判断终端广播风险判断需求;当接收到所述信息授权风险判断终端对所述风险判断需求的响应时,将所述信息需求者数字证书、所述信息需求类型和信息交易记录签名,利用信息授权风险判断终端公钥加 密后,广播至信息授权风险判断终端;获取所述信息授权风险判断终端判断的所述交易风险类别。
- 根据权利要求3所述的方法,其特征在于,在所述获取所述信息授权风险判断终端判断的所述交易风险类别中,所述信息授权风险判断终端判断所述交易风险类别的方法是:利用所述信息授权风险判断终端的私钥解密所述广播对应的内容,得到所述信息需求者数字证书、所述信息需求类型和信息交易记录签名,利用与所述广播对应的内容相关联的信息提供终者公钥验证所述信息交易记录签名;当利用所述信息提供终者公钥验证所述信息交易记录签名,验证通过后,判断所述信息交易记录真实性,得到判断结果,所述判断结果包括真实和不真实中的一种;当所述判断结果为真实时,利用所述信息需求者数字证书、所述信息需求类型判断与所述信息需求者交易所述信息需求类型的信息的交易风险类别。
- 根据权利要求4所述的方法,其特征在于,当利用所述信息提供者公钥验证所述信息交易记录签名,验证通过后,判断所述信息交易记录真实性,得到判断结果,所述判断结果包括真实和不真实中的一种,包括:向所述区块链节点上的信息需求终端广播交易记录真实性验证请求;当接收到所述信息需求终端对所述验证请求的响应时,将所述交易记录签名且所述利用信息需求者公钥加密后,广播至信息需求终端;获取所述信息需求终端对所述交易记录的真实性的判断结果,所述判断结果包括真实和不真实中的一种。
- 根据权利要求4所述的方法,所述历史信息授权监控机构按照每个信息需求者数字证书指向的信息需求者标签对应保存了根据所述信息需求者的历史交易评价的信誉类别,其中所述信誉类别包括良好、折中和差中的一种,其特征在于,当所述判断结果为真实时,利用所述信息需求者数字证书、所述信息需求类型判断与所述信息需求者交易所述信息需求类型的信息的交易风险类别,包括:根据所述信息需求者数字证书获取所述信息需求者数字证书指向的信息需求者标签;根据所述信息需求者标签爬取记录在历史信息授权监控机构的所述信息需求者交易信誉类别;根据所述交易信誉类别,判断所述交易风险类别。
- 根据权利要求1所述的方法,其特征在于,所述对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断,包括:根据所述信息需求者数字证书获取所述信息需求者数字证书指向的信息需求者标签;根据所述信息需求者标签爬取记录在历史信息授权监控机构的该信息需求者交易所述信息需求类型的信息的记录和该信息需求类型的信息在区块链中的交易记录;根据所述信息需求者交易所述信息需求类型的信息的记录和所述信息需求类型的信息在区块链中的交易记录,判断与所述信息需求者交易所述信息需求类型的信息的风险类别。
- 根据权利要求7所述的方法,其特征在于,所述根据所述信息需求者交易所述信息需求类型的信息的记录和所述信息需求类型的信息在区块链中的交易记录,判断与所述信 息需求者交易所述信息需求类型的信息的风险类别,包括:获取所述信息需求者交易所述信息需求类型的信息的记录中该信息需求类型的信息的第一交易频率;获取所述信息需求类型的信息在区块链中的交易记录中该信息需求类型的信息的在包括当前时刻点之前的预定时间段的第二交易频率;利用所述第一交易频率和第二频率判断与所述信息需求者获取该类型的信息的风险类别。
- 一种基于区块链的信息授权装置,其特征在于,包括:获取模块,用于接收位于区块链节点上的信息需求终端的信息获取请求,所述信息获取请求中至少包括信息需求者标识、信息需求者数字证书、信息需求类型、信息获取合约和信息需求者签名;验证模块,用于根据所述信息需求者标识查询到信息需求者公钥,利用所述信息需求者公钥验证所述信息需求者签名,得到验证结果,所述验证结果包括通过和不通过中的一种;判断模块,用于当所述验证结果为通过时,对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断,得到交易风险类别,所述交易风险类别包括有风险,折中风险、无风险中一种;授权模块,用于当所述交易风险类别为无风险时,将所述信息需求类型的信息、信息获取合约以及本次交易记录信息利用所述信息需求者公钥加密,设置查看有效期后,在区块链上进行广播,以完成授权。
- 根据权利要求9所述的装置,其特征在于,所述判断模块具体用于:利用所述信息需求者数字证书获取所述信息需求者数字证书指向的需求者行业类别;依据所述信息需求类型在区块链交易记录中获取该类型信息交易频率;将所述需求者行业类别、信息交易频率以及信息需求类型的作为输入数据输入预先训练好的机器学习模型,得到与该行业类别的信息需求者交易该类型信息的风险类别预测结果,所述预测结果包括有风险,折中风险、无风险中一种,其中,所述机器学习模型的训练方法是:收集需求者行业类别、信息交易频率以及信息需求类型样本组集,其中,每个样本组事先标定了与样本组中行业类别的信息需求者交易所述信息需求类型的信息的风险类别;将每个样本组的数据分别输入机器学习模型,得到对样本组事先标定的与样本组中行业类别的信息需求者交易所述信息需求类型的信息的风险类别,所述风险类别包括有风险,折中风险、无风险中一种;如果机器学习模型的输出与事先对样本组事先标定的不一致,则调整机器学习模型的系数,使得机器学习模型针对所有样本组的输出,与事先标定的与所述样本组中行业类别的信息需求者交易所述信息需求类型信息的风险类别一致,训练结束。
- 根据权利要求9所述的装置,在区块链的一个节点上设置了信息授权风险判断终端,所述信息授权风险判断终端来源于历史信息授权监控机构,其特征在于,所述判断模块具体用于:向信息授权风险判断终端广播风险判断需求;当接收到所述信息授权风险判断终端对所述风险判断需求的响应时,将所述信息需求者数字证书、所述信息需求类型和信息交易记录签名,利用信息授权风险判断终端公钥加密后,广播至信息授权风险判断终端;获取所述信息授权风险判断终端判断的所述交易风险类别。
- 根据权利要求9所述的装置,其特征在于,所述判断模块具体用于:根据所述信息需求者数字证书获取所述信息需求者数字证书指向的信息需求者标签;根据所述信息需求者标签爬取记录在历史信息授权监控机构的所述信息需求者交易信誉类别;所述历史信息授权监控机构按照每个信息需求者数字证书指向的信息需求者标签对应保存了根据所述信息需求者的历史交易评价的信誉类别,其中所述信誉类别包括良好、折中和差中的一种;根据所述交易信誉类别,判断所述交易风险类别。
- 根据权利要求9所述的装置,其特征在于,所述对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断,包括:根据所述信息需求者数字证书获取所述信息需求者数字证书指向的信息需求者标签;根据所述信息需求者标签爬取记录在历史信息授权监控机构的该信息需求者交易所述信息需求类型的信息的记录和该信息需求类型的信息在区块链中的交易记录;根据所述信息需求者交易所述信息需求类型的信息的记录和所述信息需求类型的信息在区块链中的交易记录,判断与所述信息需求者交易所述信息需求类型的信息的风险类别。
- 根据权利要求13所述的装置,其特征在于,所述判断模块在根据所述信息需求者交易所述信息需求类型的信息的记录和所述信息需求类型的信息在区块链中的交易记录,判断与所述信息需求者交易所述信息需求类型的信息的风险类别时,具体用于:获取所述信息需求者交易所述信息需求类型的信息的记录中该信息需求类型的信息的第一交易频率;获取所述信息需求类型的信息在区块链中的交易记录中该信息需求类型的信息的在包括当前时刻点之前的预定时间段的第二交易频率;利用所述第一交易频率和第二频率判断与所述信息需求者获取该类型的信息的风险类别。
- 一种计算机可读存储介质,其上存储有基于区块链的信息授权程序,其特征在于,所述基于区块链的信息授权程序被处理器执行时实现权利要求1-8任一项所述的方法。
- 一种电子设备,其特征在于,包括:处理器;以及存储器,用于存储所述处理器的基于区块链的信息授权程序;其中,所述处理器配置为经由执行所述基于区块链的信息授权程序来执行以下步骤:接收位于区块链节点上的信息需求终端的信息获取请求,所述信息获取请求中至少包括信息需求者标识、信息需求者数字证书、信息需求类型、信息获取合约和信息需求者签名;根据所述信息需求者标识查询到信息需求者公钥,利用所述信息需求者公钥验证所述 信息需求者签名,得到验证结果,所述验证结果包括通过和不通过中的一种;当所述验证结果为通过时,对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断,得到交易风险类别,所述交易风险类别包括有风险,折中风险、无风险中一种;当所述交易风险类别为无风险时,将所述信息需求类型的信息、信息获取合约以及本次交易记录信息利用所述信息需求者公钥加密,设置查看有效期后,在区块链上进行广播,以完成授权。
- 根据权利要求16所述的电子设备,其特征在于,所述处理器在执行所述对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断,得到交易风险类别时,具体执行以下步骤:利用所述信息需求者数字证书获取所述信息需求者数字证书指向的需求者行业类别;依据所述信息需求类型在区块链交易记录中获取该类型信息交易频率;将所述需求者行业类别、信息交易频率以及信息需求类型的作为输入数据输入预先训练好的机器学习模型,得到与该行业类别的信息需求者交易该类型信息的风险类别预测结果,所述预测结果包括有风险,折中风险、无风险中一种,其中,所述机器学习模型的训练方法是:收集需求者行业类别、信息交易频率以及信息需求类型样本组集,其中,每个样本组事先标定了与样本组中行业类别的信息需求者交易所述信息需求类型的信息的风险类别;将每个样本组的数据分别输入机器学习模型,得到对样本组事先标定的与样本组中行业类别的信息需求者交易所述信息需求类型的信息的风险类别,所述风险类别包括有风险,折中风险、无风险中一种;如果机器学习模型的输出与事先对样本组事先标定的不一致,则调整机器学习模型的系数,使得机器学习模型针对所有样本组的输出,与事先标定的与所述样本组中行业类别的信息需求者交易所述信息需求类型信息的风险类别一致,训练结束。
- 根据权利要求16所述的电子设备,在区块链的一个节点上设置了信息授权风险判断终端,所述信息授权风险判断终端来源于历史信息授权监控机构,其特征在于,所述处理器在执行所述对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断,得到交易风险类别时,具体执行以下步骤:向信息授权风险判断终端广播风险判断需求;当接收到所述信息授权风险判断终端对所述风险判断需求的响应时,将所述信息需求者数字证书、所述信息需求类型和信息交易记录签名,利用信息授权风险判断终端公钥加密后,广播至信息授权风险判断终端;获取所述信息授权风险判断终端判断的所述交易风险类别。
- 根据权利要求16所述的电子设备,其特征在于,所述处理器在执行所述所述对与所述信息需求者交易所述信息需求类型的信息的风险类别进行判断时,具体执行以下步骤:根据所述信息需求者数字证书获取所述信息需求者数字证书指向的信息需求者标签;根据所述信息需求者标签爬取记录在历史信息授权监控机构的该信息需求者交易所述信息需求类型的信息的记录和该信息需求类型的信息在区块链中的交易记录;根据所述信息需求者交易所述信息需求类型的信息的记录和所述信息需求类型的信息在区块链中的交易记录,判断与所述信息需求者交易所述信息需求类型的信息的风险类别。
- 根据权利要求19所述的电子设备,其特征在于,所述处理器在执行所述所述根据所述信息需求者交易所述信息需求类型的信息的记录和所述信息需求类型的信息在区块链中的交易记录,判断与所述信息需求者交易所述信息需求类型的信息的风险类别时,具体执行以下步骤:获取所述信息需求者交易所述信息需求类型的信息的记录中该信息需求类型的信息的第一交易频率;获取所述信息需求类型的信息在区块链中的交易记录中该信息需求类型的信息的在包括当前时刻点之前的预定时间段的第二交易频率;利用所述第一交易频率和第二频率判断与所述信息需求者获取该类型的信息的风险类别。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910048692.X | 2019-01-18 | ||
| CN201910048692.XA CN109903042A (zh) | 2019-01-18 | 2019-01-18 | 基于区块链的信息授权方法、装置、介质及电子设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020147426A1 true WO2020147426A1 (zh) | 2020-07-23 |
Family
ID=66943819
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/120519 Ceased WO2020147426A1 (zh) | 2019-01-18 | 2019-11-25 | 基于区块链的信息授权方法、装置、介质及电子设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN109903042A (zh) |
| WO (1) | WO2020147426A1 (zh) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109903042A (zh) * | 2019-01-18 | 2019-06-18 | 深圳壹账通智能科技有限公司 | 基于区块链的信息授权方法、装置、介质及电子设备 |
| CN110535659B (zh) * | 2019-09-03 | 2020-11-03 | 北京海益同展信息科技有限公司 | 用于处理数据请求的方法、装置、电子设备和计算机可读介质 |
| CN111353780B (zh) * | 2020-02-28 | 2023-10-17 | 南方科技大学 | 授权验证方法、装置及存储介质 |
| CN111464630B (zh) * | 2020-03-31 | 2021-07-06 | 杭州复杂美科技有限公司 | 交易广播方法、设备和存储介质 |
| CN111641695B (zh) * | 2020-05-19 | 2022-10-28 | 全链通有限公司 | 基于区块链的应用程序授权使用方法、设备及存储介质 |
| CN113436016B (zh) * | 2021-06-29 | 2025-06-13 | 中国工商银行股份有限公司 | 基于区块链的作业处理方法、装置及系统 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170221022A1 (en) * | 2016-01-29 | 2017-08-03 | Mastercard International Incorporated | Information transaction infrastructure |
| CN107257340A (zh) * | 2017-06-19 | 2017-10-17 | 阿里巴巴集团控股有限公司 | 一种认证方法、基于区块链的认证数据处理方法及设备 |
| CN108717443A (zh) * | 2018-05-17 | 2018-10-30 | 北京京东金融科技控股有限公司 | 数据共享方法、区块链系统和计算机可读存储介质 |
| CN109903042A (zh) * | 2019-01-18 | 2019-06-18 | 深圳壹账通智能科技有限公司 | 基于区块链的信息授权方法、装置、介质及电子设备 |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014072733A (ja) * | 2012-09-28 | 2014-04-21 | Panasonic Corp | 通信システム、通信端末、管理装置 |
| CN103095697A (zh) * | 2013-01-09 | 2013-05-08 | 华东师范大学 | 一种多重签名生成与验证系统及其方法 |
| CN106651346A (zh) * | 2016-11-28 | 2017-05-10 | 上海凯岸信息科技有限公司 | 基于区块链的征信数据共享与交易系统 |
| CN107819586A (zh) * | 2017-11-20 | 2018-03-20 | 电子科技大学 | 一种多授权中心的门限属性基签名方法 |
| CN108900528B (zh) * | 2018-07-24 | 2021-08-31 | 中国联合网络通信集团有限公司 | 区块链实名认证方法、装置、设备及存储介质 |
| CN109150539A (zh) * | 2018-07-24 | 2019-01-04 | 深圳前海益链网络科技有限公司 | 一种基于区块链的分布式ca认证系统、方法及装置 |
| CN109003083A (zh) * | 2018-07-27 | 2018-12-14 | 山东渔翁信息技术股份有限公司 | 一种基于区块链的ca认证方法、装置及电子设备 |
| CN108960832B (zh) * | 2018-08-09 | 2021-07-30 | 全链通有限公司 | 区块链实名通信的隐私保护方法和系统 |
-
2019
- 2019-01-18 CN CN201910048692.XA patent/CN109903042A/zh active Pending
- 2019-11-25 WO PCT/CN2019/120519 patent/WO2020147426A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170221022A1 (en) * | 2016-01-29 | 2017-08-03 | Mastercard International Incorporated | Information transaction infrastructure |
| CN107257340A (zh) * | 2017-06-19 | 2017-10-17 | 阿里巴巴集团控股有限公司 | 一种认证方法、基于区块链的认证数据处理方法及设备 |
| CN108717443A (zh) * | 2018-05-17 | 2018-10-30 | 北京京东金融科技控股有限公司 | 数据共享方法、区块链系统和计算机可读存储介质 |
| CN109903042A (zh) * | 2019-01-18 | 2019-06-18 | 深圳壹账通智能科技有限公司 | 基于区块链的信息授权方法、装置、介质及电子设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109903042A (zh) | 2019-06-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12022000B2 (en) | Method for information processing in digital asset certificate inheritance transfer, and related device | |
| WO2020147426A1 (zh) | 基于区块链的信息授权方法、装置、介质及电子设备 | |
| CN109716707B (zh) | 分布式电子记录和交易历史的服务器设备和方法 | |
| US11449630B2 (en) | Embedded third-party application programming interface to prevent transmission of sensitive data | |
| US10863359B2 (en) | Third-party authorization support for interactive computing environment functions | |
| US11463450B2 (en) | Location-based detection of unauthorized use of interactive computing environment functions | |
| CN113190822B (zh) | 身份认证方法、个人安全内核节点、和电子设备 | |
| CN113315745B (zh) | 一种数据处理方法、装置、设备及介质 | |
| WO2019214311A1 (zh) | 一种基于区块链的信息监管方法及装置 | |
| CN111046078B (zh) | 基于区块链的征信查询方法、装置和电子设备 | |
| CN113706261A (zh) | 一种基于区块链的电力交易方法、装置及系统 | |
| CN114978577A (zh) | 一种身份认证方法、装置及电子设备 | |
| CN113193961A (zh) | 一种数字证书管理方法和装置 | |
| US12355788B2 (en) | Systems and methods for blockchain-based cyber threat management | |
| CN113177674A (zh) | 网络诈骗的预警方法、装置、设备及介质 | |
| CN110120952A (zh) | 一种综合管理系统单点登录方法、装置、计算机设备以及存储介质 | |
| CN115526425A (zh) | 一种基于区块链和大数据的金融数据预测系统及方法 | |
| CN118114222A (zh) | 一种数据产品的认证方法、装置、系统、设备及介质 | |
| CN111401889A (zh) | 基于区块链的信用数据处理方法、装置、设备和介质 | |
| CN114912148A (zh) | 鉴权方法及装置、系统、计算机存储介质、电子设备 | |
| CN114881773B (zh) | 一种用户信息处理系统、方法、装置、设备及介质 | |
| CN115514567B (zh) | 物联终端设备的接入方法、接入系统、计算机设备和介质 | |
| CN113542194B (zh) | 用户行为追溯方法、装置、设备及存储介质 | |
| CN119312314A (zh) | 操作验证方法、装置、存储介质及电子设备 | |
| CN110602076B (zh) | 一种基于主身份多重认证的身份使用方法、装置及系统 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19909875 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 02/11/2021) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19909875 Country of ref document: EP Kind code of ref document: A1 |