Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present invention, it should also be noted that relational terms such as first and second, and the like, may be used solely herein to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic diagram of a block chain according to an embodiment of the invention.
The project affiliate credit evaluation method based on the block chain is applied to the block chain.
The blockchain includes more than two nodes, where the hardware structure for each node may include a processor 1001 (e.g., CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface); the memory 1005 may be a high-speed RAM memory, or may be a non-volatile memory (e.g., a magnetic disk memory), and optionally, the memory 1005 may be a storage device independent of the processor 1001.
Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 does not constitute a limitation of the block chain, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
The network communication module is mainly used for connecting the block chain system and carrying out data communication with the block chain; the memory 1005 may include an operating system and a blockchain-based item affiliate credit evaluation program, and the processor 1001 may be configured to invoke the blockchain-based item affiliate credit evaluation program stored in the memory 1005 and perform the following operations:
and receiving a credit evaluation request for the tie person of the item to be evaluated.
And acquiring the credit event of the item relationship to be evaluated and the credit rating corresponding to the credit event from the block chain.
And generating a credit evaluation result of the item relationship person to be evaluated according to the multiple credit events of the item relationship person to be evaluated and the credit rating corresponding to the credit event.
Further, the processor 1001 may call the blockchain-based item affiliate credit evaluation program stored in the memory 1005, and further perform the following operations:
and extracting the hash value of the unique identification information of the project system person to be evaluated.
And retrieving information stored under the hash value index of the unique identification information according to the hash value of the unique identification information.
And extracting the credit event of the project affiliate to be evaluated and the credit rating corresponding to the credit event according to the retrieved information.
Further, the processor 1001 may call the blockchain-based item affiliate credit evaluation program stored in the memory 1005, and further perform the following operations:
and acquiring the credit event of the tie person of the item to be evaluated.
And extracting the hash value of the unique identification information of the project system person to be evaluated.
And storing the credit event of the item to be evaluated tie person on a block chain node with the hash value of the unique identifier of the item to be evaluated tie person as an index.
Further, the processor 1001 may call the blockchain-based item affiliate credit evaluation program stored in the memory 1005, and further perform the following operations:
desensitizing the credit event.
And pushing the credit events after desensitization treatment to different blockchain nodes.
And receiving the credit rating of the different block chain nodes to the item affiliate to be evaluated according to the credit event.
And storing the credit event and the credit rating of the different block chain nodes to the item affiliate to be evaluated according to the credit event on the block chain nodes with the hash value of the unique identifier of the item affiliate to be evaluated as an index.
And calculating a credit evaluation result of the item to be evaluated, which is based on a preset algorithm, according to the credit rating of the item to be evaluated, which is based on the plurality of block link points.
Further, the processor 1001 may call the blockchain-based item affiliate credit evaluation program stored in the memory 1005, and further perform the following operations:
and responding to the query request of the user, and pushing the credit evaluation result of the tie person of the item to be evaluated to the user.
And when receiving a query request, judging whether the credit event of the tie person of the item to be evaluated is updated.
And when the credit event of the item affiliate to be evaluated is not updated, pushing the credit evaluation result of the item affiliate to be evaluated, which is pushed last time.
The network interface is mainly used for connecting the background server and carrying out data communication with the background server; the user interface is mainly used for connecting a client (user side) and carrying out data communication with the client; the memory may include an operating system and a blockchain-based item affiliate credit evaluation program, and the processor may be configured to invoke the blockchain-based item affiliate credit evaluation program stored in the memory and perform the following:
acquiring user identity information input by a user;
and comparing the acquired user identity information with the registered user identity information, and pushing the final credit rating of the corresponding project affiliate to the user terminal when the user identity information acquired by the user terminal is matched with the registered user identity information.
Based on the hardware structure, the invention provides various embodiments of the project affiliate credit evaluation method based on the block chain.
First embodiment
Referring to fig. 2, the embodiment provides a block chain-based item affiliate credit evaluation method. The method includes steps S10 to S40.
Step S10: and receiving a credit evaluation request for the tie person of the item to be evaluated.
The user sends a credit evaluation request for the tie person of the item to be evaluated through a user terminal, wherein the user terminal can be a handheld mobile terminal such as a smart phone, a tablet personal computer or other intelligent terminals, and the user terminal can also be a computer or a microcomputer.
The credit evaluation request for the item to be evaluated and the system contact person comprises unique identification information of the item to be evaluated and the unique identification information is information which can uniquely represent the item to be evaluated and the unique identification information is in one-to-one correspondence with the item to be evaluated and the system contact person. In this embodiment, the unique identification information may be an identification number or other same or similar information.
Step S20: and acquiring the credit event of the item relationship to be evaluated and the credit rating corresponding to the credit event from the block chain.
And retrieving and acquiring the credit time of the item affiliate to be evaluated and the credit rating corresponding to the credit time at each storage contact point of the block chain according to the acquired unique identification information of the item affiliate to be evaluated.
In this embodiment, the step of obtaining the credit event of the affiliate of the item to be evaluated and the credit rating corresponding to the credit event from the blockchain includes the following substeps, please refer to fig. 3, and the step S20 includes substeps S201 to step S203.
Step S201: and extracting the hash value of the unique identification information of the project system person to be evaluated.
Step S202: and retrieving information stored under the hash value index of the unique identification information according to the hash value of the unique identification information.
It should be noted that the search may also be performed according to other characteristic values of the unique identification information, depending on which storage method is used. In this embodiment, the hash value of the unique identification information is used as an index to store the information of the contact person of the item to be evaluated, so that the retrieval is performed through the hash value.
Step S203: and extracting the credit event of the project affiliate to be evaluated and the credit rating corresponding to the credit event according to the retrieved information.
Step S30: and generating a credit evaluation result of the item relationship person to be evaluated according to the multiple credit events of the item relationship person to be evaluated and the credit rating corresponding to the credit event.
For example, the credit rating corresponding to the credit event is a credit rating, and the credit rating is calculated according to a preset algorithm for a plurality of credit ratings to obtain a credit rating result of the tie person of the item to be rated.
In this embodiment, the generating a credit evaluation result of the item affiliate to be evaluated according to the multiple credit events of the item affiliate to be evaluated and the credit rating corresponding to the credit event includes substeps S301 to S305, please refer to fig. 4.
Step S301: desensitizing the credit event.
And desensitizing the credit event, namely processing information related to personal privacy or business secrets and the like in the credit event to prevent the personal privacy or the business secrets from being leaked.
Step S302: and pushing the credit events after desensitization treatment to different blockchain nodes.
And pushing the credit event after desensitization processing to different block chain nodes, wherein the block chain nodes can be servers, personal terminals or other devices. And after the block link point receives the credit event, the rating processing is carried out on the item affiliate to be evaluated according to the credit event according to a preset rating model, and the credit rating of the item affiliate to be evaluated according to the credit event is returned to the block link server.
Step S303: and receiving the credit rating of the different block chain nodes to the item affiliate to be evaluated according to the credit event.
Step S304: and storing the credit event and the credit rating of the different block chain nodes to the item affiliate to be evaluated according to the credit event on the block chain nodes with the hash value of the unique identifier of the item affiliate to be evaluated as an index.
Step S305: and calculating a credit evaluation result of the item to be evaluated, which is based on a preset algorithm, according to the credit rating of the item to be evaluated, which is based on the plurality of block link points.
For example, the credit ratings of the item affiliate to be evaluated by the plurality of block link points may be averaged, or a credit evaluation result of the item affiliate to be evaluated may be generated according to a preset weighting model.
Step S40: and responding to the query request of the user, and pushing the credit evaluation result of the tie person of the item to be evaluated to the user.
In this embodiment, the method further includes the step of storing the credit events and credit ratings of the affiliates of the items to be evaluated in the blockchain node. Please refer to fig. 5. The method further comprises steps S501 to S503.
Step S501: and acquiring the credit event of the tie person of the item to be evaluated.
Step S502: and extracting the hash value of the unique identification information of the project system person to be evaluated.
Step S503: and storing the credit event of the item to be evaluated tie person on a block chain node with the hash value of the unique identifier of the item to be evaluated tie person as an index.
In this embodiment, before step S40, referring to fig. 6, the method further includes steps S401 to S402:
step S401: and when receiving a query request, judging whether the credit event of the tie person of the item to be evaluated is updated.
Step S402: and when the credit event of the item affiliate to be evaluated is not updated, pushing the credit evaluation result of the item affiliate to be evaluated, which is pushed last time.
And if the credit event of the item affiliate to be evaluated is not updated, the credit rating of the item affiliate to be evaluated is also not updated, so that the credit rating of the item affiliate to be evaluated generated by the last query is only required to be called and pushed.
In this embodiment, before pushing information to the user, the identity information of the user needs to be determined. Referring to fig. 7, the method further includes steps S601 to S602.
Step S601: acquiring user identity information input by a user;
step S602: and comparing the acquired user identity information with the registered user identity information, and pushing a credit evaluation result of the project affiliate to be evaluated when the acquired user identity information is matched with the registered user identity information.
And if the user identity information input by the user is not matched with the registered user identity information, not pushing a credit evaluation result to the user.
Second embodiment
In addition, the present invention also provides a block chain, which includes: a memory, a processor and a blockchain based item affiliate credit evaluation program stored on the memory and executable on the processor, the blockchain based item affiliate credit evaluation program when executed by the processor implementing the steps of the blockchain based item affiliate credit evaluation method as described in the first embodiment.
The specific embodiment of the program for evaluating credit of an item affiliate based on a block chain stored in the block chain according to the present invention is executed by the processor is basically the same as the embodiment of the method for evaluating credit of an item affiliate based on a block chain, and is not described herein again.
Third embodiment
The embodiment of the invention also provides a storage medium.
The storage medium provided by the invention stores a block chain-based credit evaluation program, the storage medium stores a block chain-based project affiliate credit evaluation program, and the block chain-based project affiliate credit evaluation program is executed by a processor to realize the steps of the block chain-based project affiliate credit evaluation method according to the first embodiment.
The specific embodiment of the program for evaluating credit of an item affiliate based on a block chain stored in a storage medium provided by the present invention is executed by a processor is basically the same as the embodiments of the method for evaluating credit of an item affiliate based on a block chain, and is not described herein again.
In summary, the present invention provides a block chain-based item affiliate credit evaluation method, a block chain and a storage medium, wherein the method includes: receiving a credit evaluation request for the tie person of the item to be evaluated; acquiring a credit event of the item affiliate to be evaluated and a credit rating corresponding to the credit event from a block chain; and generating a credit evaluation result of the item relationship person to be evaluated according to the multiple credit events of the item relationship person to be evaluated and the credit rating corresponding to the credit event. By utilizing the convenient and fast performance of the block chain technology, the characteristic that information cannot be tampered and the high transparency characteristic, the authenticity, timeliness and universality of the item affiliate credit evaluation are improved, when an inquiry request is received, the credit evaluation result of the item affiliate corresponding to the inquiry request can be pushed, information is provided for enterprises or items, and the best item affiliate can be conveniently and fast selected.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.