[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112035570A - Merchant evaluation method and system - Google Patents

Merchant evaluation method and system Download PDF

Info

Publication number
CN112035570A
CN112035570A CN202010821026.8A CN202010821026A CN112035570A CN 112035570 A CN112035570 A CN 112035570A CN 202010821026 A CN202010821026 A CN 202010821026A CN 112035570 A CN112035570 A CN 112035570A
Authority
CN
China
Prior art keywords
score
scores
merchant
current
malicious
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010821026.8A
Other languages
Chinese (zh)
Inventor
张璨
祝烈煌
徐畅
李贲
吴锋海
刘胜
史可新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Union Mobile Pay Co Ltd
Original Assignee
Joint Digital Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Joint Digital Technology Beijing Co Ltd filed Critical Joint Digital Technology Beijing Co Ltd
Priority to CN202010821026.8A priority Critical patent/CN112035570A/en
Publication of CN112035570A publication Critical patent/CN112035570A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0282Rating or review of business operators or products

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides a merchant evaluation method and a merchant evaluation system, wherein the evaluation method comprises the following steps: acquiring a grading set of a merchant in a preset time period; calling an intelligent contract to perform cleaning operation on the malicious scores in the score set to obtain the cleaned residual scores; and obtaining the current score of the merchant based on the residual score, and calculating to obtain the current comprehensive score of the merchant based on the historical score of the merchant obtained in advance through a block chain platform and the current score, wherein the historical score is the comprehensive score of the merchant before the starting time of the preset time period. The embodiment of the invention ensures the reliability and credibility of the score calculation result and realizes the public and transparent score calculation.

Description

Merchant evaluation method and system
Technical Field
The invention relates to the technical field of block chains, in particular to a method and a system for evaluating merchants.
Background
In a rating system based on a rating (hereinafter, referred to as a rating system), a user sends a rating of an evaluated person to the rating system, and the rating system gives a composite rating of the evaluated person according to the rating of the user. Taking a certain evaluation system as an example, a merchant provides related services for a user, and the user marks a score of 0-5 for the merchant after the service is finished and submits the score to the evaluation system. The evaluation system takes the average score of all the users evaluating the commercial tenant as the comprehensive score of the commercial tenant. The scoring has important reference value for users and merchants as quantification of the service quality of the merchants. The user can select the commercial tenant with higher service quality according to the comprehensive score of the commercial tenant, and the commercial tenant can evaluate the service quality of the commercial tenant through the comprehensive score of the commercial tenant.
However, existing evaluation systems are mainly based on a centralized architecture, i.e. the owner of the evaluation system owns all the evaluation data. This results in that once the server storing the evaluation data is hacked or encounters an unexpected situation such as a server crash, the evaluation data may be lost. Meanwhile, once the owner of the evaluation system colludes with a malicious merchant, the score of the user can be modified in the background, and the cheating effect is achieved.
In order to solve the above problems of the centralized scoring system, a decentralized scoring system has been proposed. However, although the decentralized scoring system ensures the reliability and the non-tamper-ability of the scoring data, the problem of malicious scoring cleaning is not solved. The malicious scores comprise user malicious poor scores and the like and scores with large difference of real scores, and the scores can influence objective fair evaluation on merchants and cause huge loss to both the users and the merchants.
In summary, when a decentralized scoring system is adopted in the prior art, there are problems that objectivity and fairness of scoring are affected due to extreme malicious scoring, and the calculation process is not public and the calculation result is not reliable.
Disclosure of Invention
The embodiment of the invention provides a merchant evaluation method and system, which aim to solve the problem of inaccurate scoring caused by malicious scoring.
The embodiment of the invention provides a merchant evaluation method, which comprises the following steps:
acquiring a grading set of a merchant in a preset time period;
calling an intelligent contract to perform cleaning operation on the malicious scores in the score set to obtain the cleaned residual scores;
and obtaining the current score of the merchant based on the residual score, and calculating to obtain the current comprehensive score of the merchant based on the historical score of the merchant obtained in advance through a block chain platform and the current score, wherein the historical score is the comprehensive score of the merchant before the starting time of the preset time period.
The embodiment of the invention provides an evaluation system of a merchant, which comprises:
the score collection module is used for acquiring a score set of the commercial tenant in a preset time period;
the score cleaning module is used for calling an intelligent contract to perform cleaning operation on the malicious scores in the score set to obtain the cleaned residual scores;
and the score calculating module is used for obtaining the current score of the commercial tenant based on the residual score and calculating the current comprehensive score of the commercial tenant based on the historical score of the commercial tenant and the current score which are obtained in advance through a block chain platform, wherein the historical score is the comprehensive score of the commercial tenant before the starting time of the preset time period.
The embodiment of the invention provides electronic equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the steps of the merchant evaluation method when executing the computer program.
An embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the merchant evaluation method.
According to the merchant evaluation method and system provided by the embodiment of the invention, malicious scores in the score set are cleaned by calling the intelligent contract, and because the code of the intelligent contract is public and transparent and can automatically execute the contract, the cleaned residual scores have credibility; in addition, any person can audit the code of the intelligent contract and check the calling process and the result of the contract, so that the public transparency of the grading and cleaning process and the trueness and credibility of the cleaning result are ensured; in addition, because the execution of the intelligent contract is decentralized, a single malicious node cannot influence the execution of the contract, and the credibility of the evaluation is further increased.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flow chart illustrating steps of a merchant evaluation method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a smart contract-based decentralized system according to an embodiment of the present invention;
FIG. 3 is a block diagram of a merchant evaluation system in an embodiment of the invention;
fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Specifically, the existing evaluation system supporting malicious score filtering filters malicious scores based on a statistical method to obtain filtered scores, and calculates a final comprehensive score based on the filtered scores. However, this system is mainly based on a centralized evaluation system, and therefore, reliability and tamper-proof property of the score cannot be guaranteed. Meanwhile, the filtering and calculation of the scores are also carried out in a centralized server, and the openness of the calculation process and the reliability of the calculation result cannot be ensured. The objectivity and fairness of the score, the openness of the score calculation process and the accuracy of the calculation result are important reasons for influencing the credibility of the evaluation system. Therefore, to realize a reliable evaluation system, it is necessary to ensure that the evaluation system can clean the malicious scores and also ensure the credibility of the score calculation.
To this end, the invention provides the following examples:
as shown in fig. 1, which is a flowchart illustrating steps of a merchant evaluation method according to an embodiment of the present invention, the method includes the following steps:
step 101: and acquiring a grading set of the merchant in a preset time period.
Specifically, when a certain merchant needs to be evaluated, a scoring set of the merchant in a preset time period may be obtained first.
Specifically, each user corresponds to one client, and the client can provide an intuitive interaction platform for the user, that is, the user can issue scores through the client and also can query the score information of a certain business. The client processes the scoring request of the user, and sends the score of the user to the score collection module in the embodiment, so that the score collection module can obtain the score set of the merchant in the preset time period. In addition, the client can also respond to a request for inquiring the score of the merchant by the user, call an intelligent contract to obtain the score of the merchant from the block chain platform, and return the result to the user.
In addition, specifically, when the scoring set of the merchants within the preset time period is obtained, the scoring information sent from each client may be collected by the scoring collection module, and the scores collected within a time period are grouped and collected by taking different merchants as units, so as to obtain a scoring set of each merchant within the preset time period, where the scoring set includes all the scores received by a certain merchant within the preset time period.
Step 102: and calling an intelligent contract to perform cleaning operation on the malicious scores in the score set to obtain the cleaned residual scores.
In this step, specifically, an intelligent contract may be invoked to perform a cleaning operation on the malicious scores in the score set, so as to obtain the remaining scores after cleaning.
It should be noted that, the intelligent contract is a computer program capable of automatically executing contract terms, and a blockchain is considered as a subversive technology, mainly because the blockchain can implement the intelligent contract; the intelligent contract is not defined by codes, is also enforced by the codes, and is completely automatic and cannot intervene; in addition, smart contracts are decentralized and do not rely on a single centralized server, but rather are distributed, stored on a blockchain, and automatically run through network nodes. In addition, the intelligent contract can be a score cleaning intelligent contract written by a virtual machine (such as an EVM virtual machine) in a blockchain node (server) running a Solidiy or other intelligent contract languages.
Therefore, the malicious scores in the score set are cleaned by calling the intelligent contract, and the cleaned residual scores have credibility as the codes of the intelligent contract are public and transparent and can automatically execute the contract; in addition, any person can audit the code of the intelligent contract and check the calling process and the result of the contract, so that the public transparency of the grading and cleaning process and the trueness and credibility of the cleaning result are ensured; in addition, because the execution of the intelligent contract is decentralized, a single malicious node cannot influence the execution of the contract, and the credibility of the evaluation is further increased.
Step 103: and obtaining the current score of the commercial tenant based on the residual score, and calculating to obtain the current comprehensive score of the commercial tenant based on the historical score of the commercial tenant obtained through a block chain platform in advance and the current score.
Specifically, the history score is a comprehensive score of the merchant before the start time of the preset time period.
In this step, the current rating of the merchant may be obtained based on the remaining ratings in the cleaned rating set, and then the current comprehensive rating of the merchant may be obtained by calculation based on the current rating and the historical rating of the merchant obtained through the block chain platform in advance. Therefore, the malicious scores can not participate in the score calculation, and the repeated calculation of the historical scores can not occur, so that the calculation mode of the current comprehensive scores is more reasonable and efficient, and the calculation result is more accurate.
In this way, the cleaning operation is performed on the malicious scores in the score set by calling the intelligent contract to obtain the cleaned residual scores, then the current scores of the merchants are obtained based on the residual scores, and the current comprehensive scores of the merchants are calculated and obtained based on the current scores and the historical scores of the merchants obtained through the blockchain platform in advance.
Furthermore, in this embodiment, when the current comprehensive score of the merchant is obtained through calculation based on the historical score and the current score of the merchant obtained through the blockchain platform in advance, a first weight value of the historical score and a second weight value of the current score may be obtained, where a sum of the first weight value and the second weight value is 1; then, a first product of the calendar score and the first weight value and a second product of the current score and the second weight value are calculated, and the sum of the first product and the second product is determined as the current composite score.
In addition, it should be further noted that, in this embodiment, the score set and the current composite score may also be stored in the blockchain platform. Specifically, the block chain platform is a decentralized network and is used for storing all evaluation data and providing a bottom layer platform for intelligent contracts of user evaluation and comprehensive evaluation query; in addition, because the blockchain has the characteristics of decentralization and non-tampering, the scoring data stored in the blockchain cannot be lost due to the crash of a certain node, and the data cannot be unreliable due to the tampering of the data by the certain node, so that the reliability of the data is ensured.
In addition, further, in this embodiment, when an intelligent contract is invoked to perform a cleaning operation on malicious scores in a score set, and obtain remaining scores after cleaning, any one of the following items may be included:
one is as follows: and calling a first intelligent contract, and performing iterative cleaning on the malicious scores in the score set to obtain the remaining scores which are not cleaned after the iteration is finished.
In particular, the first intelligent contract is an intelligent contract based on a truth discovery algorithm.
In this way, when the first intelligent contract is scheduled, the malicious scores in the score set can be iteratively cleaned, and after the iteration is finished, the remaining scores in the score set which are not cleaned are regarded as legal scores.
Specifically, the cleaning operation can be performed based on the scores in the score set, and the implementation process is simple.
When the first intelligent contract is called, the malicious scores in the score set are subjected to iterative cleaning, and the remaining scores which are not cleaned after the iteration is finished are obtained, the method comprises the following steps:
step A1, calling a first intelligent contract, and acquiring the weight value of each score in the score set in the current iterative cleaning process;
step A2, acquiring malicious scores with weight values smaller than a preset weight value based on the weight value of each score, and removing the malicious scores from a score set to obtain residual scores which are not cleaned after the iterative cleaning;
and step A3, obtaining the current score of the merchant based on the remaining scores which are not cleaned after the iterative cleaning, and continuing the iterative cleaning when the current score of the merchant is judged to be not converged until the current score of the merchant is converged.
It should be noted that the value range of the preset weight value is greater than 0 and less than 1. In addition, in each iteration, the steps a1 to A3 are required to be performed until the current scores of the merchants converge, that is, until there is no malicious score with a weight value smaller than a preset weight value in the remaining scores in the score set.
Specifically, when obtaining the weight value of each score in the score set, the weight value of each score may be calculated by the following formula:
Figure BDA0002634413080000071
Figure BDA0002634413080000072
wherein, wiWeight value representing the ith score, X representing the set of scores, XiRepresenting the ith score, y, in the set of scores*Representing the current score and an initial value being the historical score; d (x)i,y*) Representing a distance function, stdmA standard deviation representing the set of scores;
further, when the current score of the merchant is obtained based on the remaining scores that are not washed after the iterative washing, the current score of the merchant may be calculated by the following formula:
Figure BDA0002634413080000073
wherein x isjRepresents the jth score, w, of the remaining scoresjRepresenting the weight value of the jth score.
Therefore, in the method, the first intelligent contract is based on a truth finding algorithm, in each iteration, a corresponding weight value is given to each user score, the score with the weight value lower than the preset weight value is regarded as a malicious score, the malicious score is cleaned before the next iteration, and after the iteration is finished, the remaining scores which are not cleaned are regarded as legal scores, so that the iterative cleaning process of malicious scores in the score set is realized, and the influence of the malicious scores on the comprehensive scores of the commercial tenants is reduced.
It should be noted that, when the current score of the merchant is obtained based on the remaining scores, the current score at the time of convergence may be directly determined as the final current score of the merchant. Because the current score in convergence is obtained based on the residual scores in the score set after the iteration is finished, the credibility of the finally obtained current score of the merchant is ensured.
At this time, the current composite score y of the merchant is α · yh+β·y*Where α is a first weight value, β is a second weight value, yhIs a history score.
The second step is as follows: and calling a second intelligent contract, and cleaning the malicious scores in the score set, which are lower than a preset probability threshold value, to obtain the cleaned residual scores.
Specifically, in this manner, the second intelligent contract performs statistical analysis on the score data to obtain statistical information such as distribution information of the data. Because the score information is approximately normally distributed, a preset probability threshold value p can be given based on the idea of probability distribution, the scores with the probability lower than p in the score set are regarded as malicious scores, and the malicious scores are cleaned, so that the remaining scores after cleaning are obtained. Namely, the method carries out the cleaning of malicious scores based on the scoring data and the scoring probability distribution (such as normal distribution) condition, so that scores which are too high or too low can be filtered.
Specifically, when a second intelligent contract is called, and malicious scores lower than a preset probability threshold in the score set are cleaned to obtain remaining cleaned scores, the method may include the following steps:
b1, scheduling a second intelligent contract, calculating to obtain the mean value and the variance of scores in the score set, and fitting to obtain a probability distribution function of the scores based on the mean value and the variance;
step B2, calculating a probability value of each score based on a probability distribution function;
step B3, acquiring malicious scores with probability values lower than a preset probability threshold, and removing the malicious scores from the score set to obtain residual scores which are not cleaned after the cleaning;
step B4, when it is detected that the score set does not converge, repeating the above steps based on the remaining scores that are not washed after the second washing until the score set converges.
Specifically, in step B4, repeating the above steps refers to repeating steps B1-B3, that is, cleaning the malicious scores in the score set for many times until the score set converges, so as to clean the malicious scores that are too high or too low.
It should be noted that the mean, variance and probability value of each score in the score set can be calculated by the following formulas:
mean of scores in a set of scores
Figure BDA0002634413080000081
Variance (variance)
Figure BDA0002634413080000082
Probability value of each score i
Figure BDA0002634413080000083
It should be further noted that, in this manner, when the current score of the merchant is obtained based on the remaining scores, a mean value of the remaining scores in the score set when the score set converges may be obtained, and the mean value of the remaining scores may be determined as the current score of the merchant.
At this time, the current composite score y of the merchant is α · yh+β·u。
And thirdly: and calling a third intelligent contract, detecting abnormal evaluation behaviors in a preset time period, and cleaning malicious scores corresponding to the abnormal evaluation behaviors in the score set to obtain the cleaned residual scores.
Specifically, in the method, the third intelligent contract analyzes the score data and the evaluation behaviors thereof, if the abnormal evaluation behaviors are detected, the scores corresponding to the abnormal evaluation behaviors are regarded as malicious scores and are cleaned to obtain the cleaned residual scores, and the cleaning operation of malicious scoring from the aspect of system operation is realized.
Specifically, when a third intelligent contract is called, abnormal evaluation behaviors within a preset time period are detected, malicious scores corresponding to the abnormal evaluation behaviors in the score set are cleaned, and the remaining cleaned scores are obtained, the method specifically includes the following steps:
scheduling a third intelligent contract, and detecting abnormal evaluation behaviors in a preset time period; when abnormal evaluation behaviors are detected in a preset time period, malicious scores corresponding to the abnormal evaluation behaviors are obtained; the malicious scores are then removed from the score set, resulting in the remaining scores in the score set.
It should be noted that if a large number of abnormal scores appear in a short time without reason, it may be considered as an abnormal evaluation behavior, for example, when a merchant is in a normal working state (i.e., no promotion and price reduction activity or gift giving activity is performed), a large number of high scores or low scores for the merchant are detected in a short time, and certainly, when a merchant performs a promotion activity, a large number of scores appear in a short time and do not belong to an abnormal evaluation behavior; in addition, if all the scores collected for the merchants within the preset time period for collecting the scores are high scores, it can also be considered as abnormal evaluation behaviors, for example, all the scores in the score set for the merchants are full scores.
Therefore, the abnormal scoring is cleaned in the mode, and the problem of malicious scoring caused by abnormal scoring behaviors such as bill brushing and the like is solved.
It should be noted that, when the current rating of the merchant is obtained based on the remaining rating at this time, an average value of the remaining ratings may be obtained, and the average value of the remaining ratings may be determined as the current rating of the merchant.
In particular, the average of the remaining scores
Figure BDA0002634413080000091
At this point, the current composite score of the merchant
Figure BDA0002634413080000092
Fourthly, the method comprises the following steps: and calling a fourth intelligent contract, carrying out identity detection on the user corresponding to the score in the score set, and cleaning the malicious score corresponding to the abnormal user to obtain the cleaned residual score.
Specifically, the fourth intelligent contract identifies the users participating in the scoring, and if a plurality of scores belong to the same user, the user may be a user who swipes a bill, and the scores of the user cannot be used as a reference; if the user is a blacklisted user, the rating is also not trustworthy. The mode can prevent the same user from swiping scores for many times or prevent the user in the blacklist from interfering scoring based on the identity of the user, and scoring cleaning operation from multiple angles such as a data angle, a system angle and a user angle is achieved.
Based on this, when the fourth intelligent contract is called, the identity detection is performed on the user corresponding to the score in the score set, the malicious score corresponding to the abnormal user is cleaned, and the cleaned remaining score is obtained, the method may include the following steps:
scheduling a fourth intelligent contract, and judging whether at least two scores belonging to the same user exist in the score set based on the score identification information of each score in the score set; then when detecting that at least two scores belonging to the same user exist in a preset time range, determining the at least two scores as malicious scores, or when detecting that a user corresponding to one score exists in a preset blacklist, determining the score as the malicious score; and finally, removing the malicious scores from the score set to obtain the residual scores in the score set.
The scoring identification information includes a block chain address corresponding to the score or user identity information corresponding to the score. Specifically, the user may submit a score on the blockchain platform using the own blockchain address, at this time, the score identification information may be the blockchain address corresponding to the score, and certainly, the score may be accompanied with identity information such as the user name of the user. In addition, the user identity information may be a user name or a mobile phone number of the user, and the like, which is not specifically limited herein.
In addition, when the user evaluates the merchant, a situation that the user frequently swipes the order may exist, and at this time, if a plurality of scores belonging to the same user are detected to exist within a certain time range, the plurality of scores can be determined as malicious scores and cleaned, so that the situation that the malicious scores when the user frequently swipes the order are adopted as the legal scores of the merchant is avoided. Of course, if the same user scores at different time periods, the scores of the user at different time periods will not be regarded as malicious scores.
Therefore, the method realizes the cleaning of the scores of the abnormal users and solves the problem of malicious scores caused by malicious users.
It should be noted that, when the current rating of the merchant is obtained based on the remaining rating at this time, an average value of the remaining ratings may be obtained, and the average value of the remaining ratings may be determined as the current rating of the merchant.
In particular, the average of the remaining scores
Figure BDA0002634413080000111
At this point, the current composite score of the merchant
Figure BDA0002634413080000112
Therefore, in the embodiment, through the several ways, the multidimensional malicious score cleaning based on truth value discovery, probability distribution, abnormal behavior detection and identity identification is realized, too high score, too low score or score of abnormal behavior and the like are used as malicious scores to be cleaned, the current comprehensive score of the merchant is calculated based on the remaining scores after cleaning, compared with the prior art, the influence of the malicious scores on the comprehensive score of the merchant is reduced, and the service of the merchant can be more accurately evaluated by a client. In addition, the intelligent contract is utilized to carry out merchant scoring calculation and malicious scoring cleaning operation, so that the whole scoring process is not influenced by an administrator and a malicious merchant, all users can see the complete merchant scoring calculation and malicious scoring cleaning process, and the whole merchant scoring process is guaranteed to be public, transparent and credible.
The present embodiment will be specifically described with reference to the system.
Fig. 2 is a schematic diagram of a smart contract-based decentralized system according to an embodiment of the present invention. Referring to fig. 2, in which,
the client provides an intuitive interaction platform for the users, and each user corresponds to one client. The user can issue the score through the client, and can also inquire the score information of a certain business. The client processes the scoring request of the user and sends the scoring of the user to the scoring collection module. Meanwhile, the client responds to a request for inquiring the grade of the commercial tenant of the user, calls an intelligent contract, obtains the grade of the commercial tenant from the block chain platform, and returns the result to the user.
The score collecting module collects score information sent from each client, and according to different merchants, scores received within a period of time are grouped and collected, and each group contains all the evaluations received by a certain merchant within the period of time.
In addition, the intelligent contract layer is composed of a series of intelligent contracts including a score cleaning module, a score calculating module, a score inquiring module and the like so as to ensure the openness of the calculating process and the reliability of the calculating result. In the invention, the score cleaning module uses a score cleaning algorithm to clean the malicious scores in each group of scores, and the scores obtained after cleaning operation are regarded as legal scores. Assume that the input to the scoring cleaning module is the historical score y of the merchanthThe scores X ═ X for n users1,…,xnA weight α for historical scoring, and a weight β for current scoring (α + β ═ 1). Scoring in X by a scoring cleaning moduleAnd cleaning, and sending the cleaning result to the scoring calculation module. And after the grading and cleaning operation, the grading calculation module calculates the current comprehensive grade of the commercial tenant based on the historical grade of the commercial tenant and the cleaned legal grade. Namely, the scoring calculation module calculates the current comprehensive score y of the merchant based on the cleaning result of the scoring cleaning module, wherein yhThe historical comprehensive score information of the commercial tenant on the block chain can be inquired, and X is a result returned by the score collection module.
It should be noted that the score cleaning module and the score calculating module can be regarded as a whole.
The block chain platform is a decentralized network and is used for storing all scoring data and providing a bottom layer platform for intelligent contracts of user scoring and comprehensive score inquiry. Because the blockchain has the characteristics of decentralization and non-tampering, the scoring data stored in the blockchain cannot be lost due to the crash of a certain node, and the data cannot be unreliable due to the tampering of the data by the certain node; in addition, the whole network is maintained together, the algorithm and the calculation process are public, and the calculation is carried out on the chain storage chain, so that the data credibility and the calculation credibility are realized.
Therefore, through the process, the public transparency of the scoring calculation process and the trueness and credibility of the calculation result are ensured, and the credibility of the evaluation system is further increased.
In addition, as shown in fig. 3, a schematic block diagram of an evaluation system of a merchant in an embodiment of the present invention is shown, where the evaluation system includes:
the score collection module 301 is configured to obtain a score set of a merchant in a preset time period;
the score cleaning module 302 is configured to invoke an intelligent contract to perform cleaning operation on malicious scores in the score set to obtain remaining cleaned scores;
the score calculating module 303 obtains a current score of the merchant based on the remaining scores, and calculates and obtains a current comprehensive score of the merchant based on a historical score of the merchant obtained in advance through a blockchain platform and the current score, wherein the historical score is a comprehensive score of the merchant before the start time of the preset time period.
It should be noted that, the system can implement all the method steps of the above method embodiments, and can achieve the same technical effect, which is not described herein again.
In addition, as shown in fig. 4, an entity structure schematic diagram of the electronic device provided in the embodiment of the present invention is shown, where the electronic device may include: a processor (processor)410, a communication Interface 420, a memory (memory)430 and a communication bus 440, wherein the processor 410, the communication Interface 420 and the memory 430 are communicated with each other via the communication bus 440. The processor 410 may invoke a computer program stored on the memory 430 and executable on the processor 410 to perform the following steps:
acquiring a grading set of a merchant in a preset time period;
calling an intelligent contract to perform cleaning operation on the malicious scores in the score set to obtain the cleaned residual scores;
and obtaining the current score of the merchant based on the residual score, and calculating to obtain the current comprehensive score of the merchant based on the historical score of the merchant obtained in advance through a block chain platform and the current score, wherein the historical score is the comprehensive score of the merchant before the starting time of the preset time period.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. 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.
The embodiments of the present invention further provide a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method provided in the foregoing embodiments is implemented and can achieve the same technical effect, which is not described herein again.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed 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 modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A merchant evaluation method is characterized by comprising the following steps:
acquiring a grading set of a merchant in a preset time period;
calling an intelligent contract to perform cleaning operation on the malicious scores in the score set to obtain the cleaned residual scores;
and obtaining the current score of the merchant based on the residual score, and calculating to obtain the current comprehensive score of the merchant based on the historical score of the merchant obtained in advance through a block chain platform and the current score, wherein the historical score is the comprehensive score of the merchant before the starting time of the preset time period.
2. The merchant evaluation method according to claim 1, wherein the invoking of the intelligent contract performs a cleaning operation on the malicious scores in the score set to obtain remaining cleaned scores, and the method includes any one of:
calling a first intelligent contract, and carrying out iterative cleaning on the malicious scores in the score set to obtain residual scores which are not cleaned after the iteration is finished;
calling a second intelligent contract, and cleaning the malicious scores in the score set, which are lower than a preset probability threshold value, to obtain the cleaned residual scores;
calling a third intelligent contract, detecting abnormal evaluation behaviors in the preset time period, and cleaning malicious scores corresponding to the abnormal evaluation behaviors in the score set to obtain cleaned residual scores;
and calling a fourth intelligent contract, carrying out identity detection on the user corresponding to the score in the score set, and cleaning the malicious score corresponding to the abnormal user to obtain the cleaned residual score.
3. The merchant evaluation method according to claim 2, wherein the invoking of the first intelligent contract to iteratively clean the malicious scores in the score set to obtain remaining scores that are not cleaned after the iteration is completed includes:
calling the first intelligent contract, and acquiring the weight value of each score in the score set in the current iterative cleaning process;
based on the weight value of each score, acquiring a malicious score of which the weight value is smaller than a preset weight value, and removing the malicious score from the score set to obtain a residual score which is not cleaned after the iterative cleaning;
obtaining the current score of the commercial tenant based on the residual scores which are not cleaned after the iterative cleaning, and continuing the iterative cleaning when the current score of the commercial tenant is judged to be not converged until the current score of the commercial tenant is converged;
the obtaining the current rating of the merchant based on the remaining rating comprises:
and determining the current score at the convergence as the final current score of the merchant.
4. The merchant evaluation method according to claim 3,
the obtaining a weight value of each score in the score set includes:
calculating the weight value of each score by the following formula:
Figure FDA0002634413070000021
Figure FDA0002634413070000022
wherein, wiWeight value representing the ith score, X representing the set of scores, XiRepresenting the ith score, y, in the set of scores*Represents the current score and has an initial value ofThe historical score; d (x)i,y*) Representing a distance function, stdmA standard deviation representing the set of scores;
obtaining the current score of the merchant based on the remaining scores that are not cleaned after the current iterative cleaning, including:
based on the remaining scores which are not cleaned after the current iterative cleaning, calculating the current score of the merchant according to the following formula:
Figure FDA0002634413070000023
wherein x isjRepresents the jth score, w, of the remaining scoresjRepresenting the weight value of the jth score.
5. The merchant evaluation method according to claim 2, wherein the invoking a second intelligent contract to clean the malicious scores in the score set that are lower than a preset probability threshold to obtain remaining cleaned scores comprises:
scheduling the second intelligent contract, calculating to obtain a mean value and a variance of scores in the score set, and fitting to obtain a probability distribution function of the scores based on the mean value and the variance;
calculating a probability value of each score based on the probability distribution function;
acquiring a malicious score with a probability value lower than a preset probability threshold, and removing the malicious score from the score set to obtain a residual score which is not cleaned after the cleaning;
when the score set is detected to be not converged, repeating the steps on the basis of the remaining scores which are not washed after the current washing until the score set is converged;
the obtaining the current rating of the merchant based on the remaining rating comprises:
and acquiring the average value of the residual scores in the score set when the score set converges, and determining the average value of the residual scores as the current score of the merchant.
6. The merchant evaluation method according to claim 2, wherein the calling a third intelligent contract to detect abnormal evaluation behaviors in the preset time period and to clean malicious scores corresponding to the abnormal evaluation behaviors in the score set to obtain remaining scores after cleaning includes:
scheduling the third intelligent contract and detecting abnormal evaluation behaviors in the preset time period;
when abnormal evaluation behaviors are detected in the preset time period, malicious scores corresponding to the abnormal evaluation behaviors are obtained;
removing the malicious scores from the score set to obtain the rest scores in the score set;
the obtaining the current rating of the merchant based on the remaining rating comprises:
and acquiring the average value of the residual scores, and determining the average value of the residual scores as the current score of the merchant.
7. The merchant evaluation method according to claim 2, wherein the invoking of the fourth intelligent contract to perform identity detection on the user corresponding to the score in the score set and to clean the malicious score corresponding to the abnormal user to obtain the remaining cleaned score includes:
scheduling the fourth intelligent contract, and judging whether at least two scores belonging to the same user exist in the score set based on the score identification information of each score in the score set, wherein the score identification information comprises the block chain address corresponding to the score or the user identity information corresponding to the score;
when detecting that at least two scores belonging to the same user exist in a preset time range, determining the at least two scores as malicious scores, or when detecting that a user corresponding to one score exists in a preset blacklist, determining the score as malicious score;
removing the malicious scores from the score set to obtain the rest scores in the score set;
the obtaining the current rating of the merchant based on the remaining rating comprises:
and acquiring the average value of the residual scores, and determining the average value of the residual scores as the current score of the merchant.
8. The merchant evaluation method according to claim 1, wherein the calculating a current composite score of the merchant based on the historical score and the current score of the merchant obtained through a blockchain platform in advance comprises:
acquiring a first weight value of the historical score and a second weight value of the current score, wherein the sum of the first weight value and the second weight value is 1;
and calculating a first product of the calendar score and the first weight value and a second product of the current score and the second weight value, and determining the sum of the first product and the second product as the current comprehensive score.
9. The merchant evaluation method according to claim 1, further comprising:
storing the set of scores and the current composite score in the blockchain platform.
10. A merchant evaluation system, comprising:
the score collection module is used for acquiring a score set of the commercial tenant in a preset time period;
the score cleaning module is used for calling an intelligent contract to perform cleaning operation on the malicious scores in the score set to obtain the cleaned residual scores;
and the score calculating module is used for obtaining the current score of the commercial tenant based on the residual score and calculating the current comprehensive score of the commercial tenant based on the historical score of the commercial tenant and the current score which are obtained in advance through a block chain platform, wherein the historical score is the comprehensive score of the commercial tenant before the starting time of the preset time period.
CN202010821026.8A 2020-08-14 2020-08-14 Merchant evaluation method and system Pending CN112035570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010821026.8A CN112035570A (en) 2020-08-14 2020-08-14 Merchant evaluation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010821026.8A CN112035570A (en) 2020-08-14 2020-08-14 Merchant evaluation method and system

Publications (1)

Publication Number Publication Date
CN112035570A true CN112035570A (en) 2020-12-04

Family

ID=73577364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010821026.8A Pending CN112035570A (en) 2020-08-14 2020-08-14 Merchant evaluation method and system

Country Status (1)

Country Link
CN (1) CN112035570A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114612152A (en) * 2022-03-15 2022-06-10 上海万向区块链股份公司 Method and system for evaluating peer-to-peer merchant reputation based on MPC operation of intelligent contract
CN115170151A (en) * 2022-05-31 2022-10-11 广州利他科技发展有限公司 Online merchant authentication and management system
CN116611614A (en) * 2023-05-17 2023-08-18 南京邮电大学 Commercial tenant meal-outlet management method and system based on big data platform

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005896A (en) * 2014-04-18 2015-10-28 腾讯科技(深圳)有限公司 Data processing method and apparatus
CN107358500A (en) * 2017-06-30 2017-11-17 中山大学 Evaluation sort method based on block chain
CN108648038A (en) * 2018-04-13 2018-10-12 上海电机学院 A kind of credit propagation and maliciously evaluation recognition methods excavated based on subgraph
CN110276547A (en) * 2019-06-20 2019-09-24 福州数据技术研究院有限公司 A kind of more people's evaluation methods based on block chain and history evaluation information
CN110532461A (en) * 2019-07-05 2019-12-03 中国平安财产保险股份有限公司 Information platform method for pushing, device, computer equipment and storage medium
CN110599165A (en) * 2019-09-04 2019-12-20 杭州时戳信息科技有限公司 Credit system construction method based on block chaining currency sky destruction

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005896A (en) * 2014-04-18 2015-10-28 腾讯科技(深圳)有限公司 Data processing method and apparatus
CN107358500A (en) * 2017-06-30 2017-11-17 中山大学 Evaluation sort method based on block chain
CN108648038A (en) * 2018-04-13 2018-10-12 上海电机学院 A kind of credit propagation and maliciously evaluation recognition methods excavated based on subgraph
CN110276547A (en) * 2019-06-20 2019-09-24 福州数据技术研究院有限公司 A kind of more people's evaluation methods based on block chain and history evaluation information
CN110532461A (en) * 2019-07-05 2019-12-03 中国平安财产保险股份有限公司 Information platform method for pushing, device, computer equipment and storage medium
CN110599165A (en) * 2019-09-04 2019-12-20 杭州时戳信息科技有限公司 Credit system construction method based on block chaining currency sky destruction

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
江沁: "基于区块链的数据处理方案研究", 《中国优秀硕士学位论文全文数据库》, 15 January 2019 (2019-01-15), pages 24 - 29 *
江沁: "基于区块链的数据处理方案研究", 《中国优秀硕士学位论文全文数据库》, pages 24 - 29 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114612152A (en) * 2022-03-15 2022-06-10 上海万向区块链股份公司 Method and system for evaluating peer-to-peer merchant reputation based on MPC operation of intelligent contract
CN115170151A (en) * 2022-05-31 2022-10-11 广州利他科技发展有限公司 Online merchant authentication and management system
CN115170151B (en) * 2022-05-31 2023-11-14 重庆奉天选电子商务有限公司 Online merchant authentication and management system
CN116611614A (en) * 2023-05-17 2023-08-18 南京邮电大学 Commercial tenant meal-outlet management method and system based on big data platform
CN116611614B (en) * 2023-05-17 2023-10-13 南京邮电大学 A merchant meal management method and system based on a big data platform

Similar Documents

Publication Publication Date Title
CN106384273B (en) Malicious bill-swiping detection system and method
CN107563757B (en) Data risk identification method and device
CN112035570A (en) Merchant evaluation method and system
CN110991474A (en) A machine learning modeling platform
CN109741183A (en) Information acquisition method and device
CN107689956A (en) The intimidation estimating method and device of a kind of anomalous event
CN113327111A (en) Method and system for evaluating network financial transaction risk
CN114463011A (en) Abnormal transaction detection method, device, equipment and storage medium based on block chain
CN118055188A (en) User identity recognition method and device, electronic equipment and storage medium
CN105991574A (en) Risk behavior monitoring method and apparatus thereof
CN112035569A (en) A merchant scoring method and system
CN115470867A (en) Agent matching method, device, equipment and storage medium based on knowledge graph
CN110070392B (en) User loss early warning method and device
CN113723522B (en) Abnormal user identification method and device, electronic equipment and storage medium
CN110324418A (en) Method and apparatus based on customer relationship transmission service
CN112907009B (en) Standardized model construction method and device, storage medium and equipment
CN105988998A (en) Relationship network establishment method and device
CN110222297B (en) Identification method of tag user and related equipment
CN118282838A (en) Quality evaluation method and device for service system
CN117131460A (en) Telecom fraud account identification model training method, device, equipment and medium
CN117668375A (en) Construction method of user group prediction model and user group prediction method
CN106815772A (en) Electric power data report method and device
CN110163083A (en) Matching process, device and the terminal device of user information
CN116257803A (en) User state detection method and device, electronic equipment and storage medium
CN110458707B (en) Behavior evaluation method and device based on classification model and terminal 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220118

Address after: 100082 7th floor, block a, Jingshi science and technology building, 12 Xueyuan South Road, Haidian District, Beijing

Applicant after: UNION MOBILE PAY Co.,Ltd.

Address before: No. 501, 5 / F, block B, No. 28, Xinjiekou Wai Street, Xicheng District, Beijing 100088

Applicant before: Joint digital technology (Beijing) Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201204