WO2020037579A1 - 基于区块链系统的人机识别方法、装置和存储介质 - Google Patents

基于区块链系统的人机识别方法、装置和存储介质 Download PDF

Info

Publication number
WO2020037579A1
WO2020037579A1 PCT/CN2018/101828 CN2018101828W WO2020037579A1 WO 2020037579 A1 WO2020037579 A1 WO 2020037579A1 CN 2018101828 W CN2018101828 W CN 2018101828W WO 2020037579 A1 WO2020037579 A1 WO 2020037579A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
voting
test
blockchain
users
Prior art date
Application number
PCT/CN2018/101828
Other languages
English (en)
French (fr)
Inventor
袁振南
刘鹏
Original Assignee
区链通网络有限公司
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 区链通网络有限公司 filed Critical 区链通网络有限公司
Priority to CN201880002204.5A priority Critical patent/CN109791670B/zh
Priority to PCT/CN2018/101828 priority patent/WO2020037579A1/zh
Publication of WO2020037579A1 publication Critical patent/WO2020037579A1/zh

Links

Images

Classifications

    • 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
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C13/00Voting apparatus

Definitions

  • the present application relates to the field of computer technology, and in particular, the present application relates to a human-machine identification method, device, and storage medium based on a blockchain system.
  • CAPTCHA is the abbreviation of Completely, Automated, Public, Turing, Test, Computers, and HumansApart (Automatically distinguishing between computer and human Turing test). It is a computing program that distinguishes between computers and humans. Tests that pass easily but the computer fails.
  • the CAPTCHA method has been widely used to identify robot users, but this method is post-positioned, that is, it will be identified after evil, which will cause the server resources to be consumed by the robot.
  • the CAPTCHA method and the anti-CAPTCHA method have been in a state of constant competition, so CAPTCHA also has a greater risk of being cracked. Detecting robots through technical means is a feasible way, but it takes a lot of machine and human resources to perform this work, and the cost is very large.
  • the present application addresses the problem of malicious consumption of server resources by robot users in the blockchain system, and proposes the following man-machine recognition method, device and storage medium based on the blockchain system.
  • a human-machine identification method based on a blockchain system includes a blockchain technology platform and a blockchain application;
  • the blockchain technology platform includes several blockchain nodes for providing basic functions to the blockchain application;
  • the blockchain application is developed based on the basic functions provided by the blockchain technology platform; the blockchain application uses the blockchain resources of the blockchain technology platform when it is running;
  • the method includes:
  • the issuing of rewards to the voting users includes:
  • the method further includes:
  • the voting user is prohibited from voting within a preset period of time or within a preset number of voting test videos.
  • the reward answer includes an answer question based on the voting test video scene, and / or an emotion-based answer question.
  • the method further includes:
  • the account corresponding to the test user determined as the robot is frozen, and the test user is transferred to the robot list.
  • the method further includes:
  • An appealing user who has submitted an appeal request in the robot list is acquired, and the appealing user is added to the user random video library.
  • adding the appealing user to the user random video library further includes:
  • the appealing user is a robot according to the voting result of the appealing user, permanently closing the account corresponding to the appealing user;
  • the account corresponding to the appealing user is thawed.
  • the method further includes:
  • a voting is initiated to the voting user whether the test user is a robot.
  • voting test video is established by an instant messaging tool developed based on the blockchain technology platform.
  • the online users include users who initiate online transactions within a preset period before the current time point.
  • This application also proposes a human-machine identification device based on a blockchain system, which includes a blockchain technology platform and a blockchain application;
  • the blockchain technology platform includes several blockchain nodes for providing basic functions to the blockchain application;
  • the blockchain application is developed based on the basic functions provided by the blockchain technology platform; the blockchain application uses the blockchain resources of the blockchain technology platform when it is running;
  • the device includes:
  • a random video library module configured to obtain an online user of the blockchain application, and establish a user random video library according to the online user;
  • a test video module configured to determine a test user and several voting users in the user random video library, and establish a voting test video between the test user and the voting user;
  • a voting module configured to obtain a voting result of the voting user for the test user, and determine whether the test user is a robot according to the voting result;
  • a reward issuing module is configured to confirm that the voting of the voting user is consistent with the voting result, and issue a reward to the voting user.
  • the present application also proposes a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the human-machine identification method based on any of the foregoing blockchain systems.
  • a random video library of users is established to realize mutual identification between users, which reduces the difficulty and resource consumption of identifying robot users through technical means, and the accuracy of the identification result is high.
  • the award of voting users who match the results can improve the enthusiasm of voting users to participate in voting, and help to avoid the inaccurate voting results caused by voting users' random voting, which provides the ability of artificially distinguishing robots for blockchain systems.
  • This application can also use the reward answering link and issue corresponding answering rewards based on the user's answering results, so that users can seriously participate in voting and answering questions in order to obtain as many answering rewards as possible; moreover, there are Reduce the probability of users voting and answering via robots.
  • FIG. 1 is a schematic structural diagram of an embodiment of a hardware operating environment of the present application
  • FIG. 2 is a schematic flowchart of a first embodiment of a human-machine identification method based on a blockchain system of the present application
  • FIG. 3 is a schematic flowchart of another embodiment of a human-machine identification method based on a blockchain system of the present application
  • FIG. 4 is a schematic flowchart of another embodiment of a human-machine identification method based on a blockchain system of the present application
  • FIG. 5 is a schematic diagram of a module structure of an embodiment of a human-machine identification device based on a blockchain system.
  • blockchain nodes described in this application include, but are not limited to, a computer, a network host, a single network server, multiple network server sets, or multiple servers; among which multiple network servers or multiple servers A super virtual computer composed of a group of loosely coupled computers.
  • the human-machine identification method based on the blockchain system described in this application can be applied to the embodiment of the hardware environment as shown in FIG. 1. For convenience of explanation, only the parts related to the embodiment of this application are shown.
  • the blockchain system in this application includes a blockchain technology platform 101 composed of several blockchain nodes 1011, and a user 102 connected to the blockchain technology platform 101 via a network.
  • the blockchain node 1011 may store the same blockchain data in chronological order.
  • any one of the blockchain nodes 1011 deposits data or generates a contract
  • other blockchain nodes 1011 in the blockchain technology platform 101 can also obtain the stored data or the generated contract according to the consensus algorithm, and The same data is also stored in the node's block or the contract is stored in the contract list, so that the data stored on each blockchain node 1011 remains consistent.
  • the users 102 include both users who access the blockchain technology platform 101 using a wireless portable terminal device, and users who access the blockchain technology platform 101 using a wired terminal.
  • the blockchain technology platform 101 includes a number of blockchain nodes 1011.
  • the blockchain technology platform 101 is used to provide basic functions for the blockchain application, and to provide development environments and development resources for various blockchain applications developed based on the blockchain technology platform 101, as well as for the various areas.
  • the use of blockchain applications provides technical support.
  • a blockchain application is an application platform developed based on the basic functions provided by the blockchain platform 101, and may include multiple basic applications and several program interfaces. The several program interfaces may be used to provide resource connection channels for multiple programs developed based on the blockchain application, so as to call development resources of the blockchain application through the program interface.
  • the resources of the blockchain technology platform 101 can be called to implement functions such as identity verification, permission verification, and transaction.
  • the purpose of this application is to provide a non-strong technical detection method to solve the problem of robot identification in a blockchain system.
  • the blockchain system includes a blockchain technology platform 101 and a blockchain application;
  • the blockchain technology platform 101 includes a number of blockchain nodes 1011, which are used to provide basic functions for the blockchain application;
  • the blockchain application is developed based on the basic functions provided by the blockchain technology platform 101; when the blockchain application is running, the blockchain resources of the blockchain technology platform 101 are used;
  • the human-machine identification method based on the blockchain system includes the following steps:
  • Step S10 Obtain an online user of the blockchain application, and establish a random video library of the user according to the online user;
  • Step S20 determining a test user and several voting users in the user random video library, and establishing a voting test video between the test user and the voting user;
  • Step S30 Obtain a voting result of the voting user for the test user, and determine whether the test user is a robot according to the voting result;
  • Step S40 confirm that the voting of the voting user is consistent with the voting result, and issue a reward to the voting user.
  • Step S10 Obtain an online user of the blockchain application, and establish a user random video library according to the online user.
  • the users included in the blockchain application include offline users and online users.
  • the target user is a video-capable user, so that users who cannot participate in the video, such as offline users, are avoided as target users, and they are misjudged as robots.
  • a pre-acquired online user is added to the user random video library to ensure that the users in the user random video library are online, so as to facilitate subsequent determination of target users who can video in the user random video library.
  • the online users include users who currently have operating behaviors in the blockchain application, such as performing transaction operations or verification operations. Transaction operations are the more important operations in the blockchain, so this application can target users who have transaction behaviors within a preset time period before the current time point as the target users of the test; more specifically, because some accounts are receiving blocks
  • the chain certificate may also be offline, so this application further proposes the following embodiments:
  • the online users include users who initiate online transactions within a preset time period before the current point in time.
  • the preset period may be a short period of time to increase the probability that the user is online when the voting test video is established; for example, users who are online within 1 minute of initiating an online transaction are regarded as online users; if the number of online users is large, or When the voting test video is established, the offline probability of the user is high, and the 1 minute can be shortened to 30 seconds or other seconds; of course, the preset period can be combined with the user, the blockchain application or all
  • the situation such as voting test video is determined as a specific value, and it can also be set as a variable time interval according to the specific situation, so as to increase the probability of establishing the voting test video successfully.
  • the current time point may be determined according to specific conditions.
  • the current time point may be used as the current time point for establishing the voting test video, and the current time point is 20 points per day.
  • the current time point may be randomly determined according to the specific situation; for example, one or several tests are initiated each day, and the current time point of each test is different.
  • the establishing a user random video library according to the online users may first obtain all users who initiate online transactions within a preset time period before the current time point, and then randomly determine a number of users among all the users to establish the User random video library; all users may also be added to the user random video library. If one or some users cannot successfully establish the voting test video, then continue to determine a corresponding number of users in the user random video library as substitute users, so as to ensure the successful establishment of the voting test video.
  • Step S20 Determine a test user and several voting users in the user random video library, and establish a voting test video between the test user and the voting user.
  • the test user is the target user of the test that needs to be identified, and the test user will establish the voting test video with each of the voting users in turn, or establish a video with a preset number of voting users at the same time Or establish videos with all the voting users at the same time, so that each of the voting users can vote on the test users.
  • the number of users in the user random video library may be a preset value, and may also be dynamically determined according to the number of online users, such as a value based on a percentage of the number of online users.
  • the number of voting users may also be a fixed value, or determined according to the number of online users, and a value may be set as the lowest value to avoid the extreme situation of only one voting user.
  • the number of users in the user random video library should be greater than or equal to the minimum value.
  • the user random video library may be re-determined or the conditions for determining the user random video library may be adjusted; for example, if The number of users in the user random video library is 10% of all current online users, and currently all online users are only 20, and then there will be only 2 people in the user random video library.
  • the voting test video When the voting test video is performed, where 1 person will be the test user, and the other person can only be the voting user; this situation may increase the probability of human-computer recognition errors, so the conditions for determining the random video library of the user can be adjusted, for example, the current number of all online users 30% of the users are the number of users in the user random video library, then there will be 6 online users in the user random video library; one of them will be the test user and the other 5 will be the voting users.
  • This implementation For example, by increasing the number of voting users, the human-machine recognition accuracy rate of the present application is improved.
  • the voting test video may adopt various existing video methods, and may also use a blockchain instant messaging tool BCM (Blockchain Message) to establish a video.
  • BCM is an instant messaging tool developed based on the blockchain platform. Communication data between users can be encrypted using an asymmetric encryption algorithm, so it can provide a safe and difficult to crack video environment for test users and voting users. Therefore, this application also The following examples are proposed:
  • the voting test video is established by an instant messaging tool developed based on the blockchain technology platform 101.
  • the video data in the voting test video established by using this embodiment will not be stored in a centralized server or a group of central servers, avoiding the possibility of a third party obtaining the video data through cracking the central server, and improving the privacy of the voting test video. It prevents the privacy of the test user and the voting user from being violated; moreover, it also avoids the possibility of a third party cheating through a central server.
  • Step S30 Obtain a voting result of the voting user for the test user, and determine whether the test user is a robot according to the voting result.
  • this application may determine a test user and multiple voting users in a voting test video; when the obtained votes of each of the voting users is that the test user is not a robot , The voting result is that the test user is not a robot; if the voting of some or all of the voting users is that the test user is a robot, the blockchain system confirms that the test user is a robot.
  • the number of the partial voting users may be determined according to requirements. For example, when two voting users vote for a test user as a robot, it is confirmed that the test user is a robot.
  • the application can set the voting results to be robots and not robots.
  • the voting options of each voting user can also be robots and not robots. Voting users' voting options determine the final voting result.
  • the final voting result may be determined according to the number of votes of the robot and the non-robot, for example, a voting option with a large number of votes is used as the voting result.
  • the voting result may be determined after obtaining votes from all voting users, or may be determined after obtaining votes from some voting users. For example, in a voting test video, there are 6 voting users and 1 test user; 4 people have voted, 2 of whom voted as the test user as a robot, and you can directly determine this without waiting for the remaining 2 people to vote.
  • the test user is a robot. Specific conditions for determining whether the test user is a robot may be determined according to specific conditions, and is not limited to the conditions described in this embodiment.
  • Step S40 confirm that the voting of the voting user is consistent with the voting result, and issue a reward to the voting user.
  • this application may issue certain rewards to users who participate in voting; in order to make participating users take voting activities seriously, this embodiment further issues rewards to voting users who are consistent with the final voting results to reduce Probability that users will vote at will. For example, in a voting test video, if there are 6 voting users and 1 test user, and the voting option of 2 of the voting users is that the test user is a robot, the system confirms that the test user is a robot; and Rewards are awarded to the two voting users; if the remaining four voting users vote not to be robots, no reward is issued.
  • the reward may be an honorary title reward, a virtual resource reward such as a blockchain token, or a physical product reward.
  • the reward is preferably a blockchain token.
  • a random video library of users is established to realize mutual identification between users, reducing the difficulty and resource consumption of identifying robot users through technical means, and through mutual identification between users, robots that can deal with different behavior characteristics and Robots with different purposes have high accuracy of identification results and a wide range of identification.
  • this embodiment can improve the enthusiasm of voting users to participate in the voting by issuing rewards to the voting users who are consistent with the voting results, and help to avoid the situation where the voting results are inaccurate by voting users.
  • the ability to manually distinguish robots is provided for the blockchain system through the benefit distribution method between the user link and the technology development link.
  • This application also proposes another embodiment. As shown in FIG. 3, confirming that the voting of the voting user is consistent with the voting result, and issuing a reward to the voting user includes the following steps:
  • Step S41 confirm that the voting of the voting user is consistent with the voting result, and initiate a reward answer to the voting user;
  • Step S42 obtaining the answer result of the voting user on the reward answer
  • Step S43 If the answer result meets the preset conditions, a corresponding answer reward is issued.
  • an answering link is also set up, and corresponding answering rewards are issued based on the results of the user's answers, so that the users can obtain as many answers as possible. Reward and earnestly participate in voting and answering questions.
  • the preset condition may be the correct number or ratio of answers, so as to avoid a probability that a user obtains a reward by answering a robot answer.
  • this application also proposes another embodiment, as shown in FIG. 3: After obtaining the voting user ’s answers to the rewarded answers, the method further includes:
  • Step S44 If the answer result does not meet the preset conditions, the voting user is prohibited from voting within a preset period of time or within a preset number of voting test videos.
  • this embodiment can set a corresponding punishment mechanism for users with low answer accuracy, such as excluding users with low answer accuracy from subsequent voting test videos, or forbidding the voting users to vote
  • a corresponding punishment mechanism for users with low answer accuracy such as excluding users with low answer accuracy from subsequent voting test videos, or forbidding the voting users to vote
  • the preset condition is that the number of rewarded answers is less than 2; if the user's number of incorrect answers is 1 and meets the preset condition, a number of blockchain tokens are issued; if the user ’s If the number of wrong answers is 0, then B blockchain tokens will be issued, and B> A.
  • the punishment mechanism may be that the user cannot participate in the voting test within the next 3 days
  • the user may be excluded from the user random video library when the user random video library is established.
  • users can further increase the importance of the voting test video and improve the accuracy of human-machine recognition, thereby providing the ability of artificially distinguishing robots for the blockchain system.
  • the reward answer includes an answer question based on the voting test video scene, and / or an emotion-based answer question.
  • this embodiment can set answering questions based on the voting test video scene, or set answering questions based on the user's emotions, so that the answering questions are very simple and intuitive for real users.
  • the answer question can be set to: Please select the gender of the user who just related to your video, or a similar question.
  • the method further includes:
  • Step S46 The account corresponding to the test user determined as the robot is frozen, and the test user is transferred to the robot list.
  • the account corresponding to the test user determined as the robot is frozen to prevent the robot user from wasting server resources.
  • the test user is transferred to the robot list for further processing.
  • this application also proposes another embodiment, as shown in FIG. 4:
  • the method further includes:
  • Step S47 Obtain the appealing user who has submitted an appeal request in the robot list, and add the appealing user to the user random video library.
  • a user added to the robot list may be a suspected robot user. If any of the users submits an appeal request, and the application request includes a request for re-identification of the man-machine, this embodiment may appeal the appeal request. The user again joins the subsequent random video library of the user, so that he has the opportunity to enter the next voting test video for re-authentication.
  • the appealing user can be added to the user's instant video library in order to vote for the test video again as a test user; If it is not selected to participate in the voting test video or as the test user, it will continue to be added to the user ’s video library at any time during the next voting test video, as long as it is the test user, Get a chance to be voted again.
  • adding the appealing user to the user random video library further includes:
  • Step S48 obtaining the voting result of the voting user against the appealing user in the next voting test video
  • Step S49 If it is determined that the appealing user is a robot according to the voting result of the appealing user, the account corresponding to the appealing user is permanently closed; if it is determined that the appealing user is not a robot according to the voting result of the appealing user, then Unfreezing the account corresponding to the appealing user.
  • the account When the appealing user re-authenticates in the next voting test video, if the voting result is still a robot, the account may be permanently closed; if the voting result is not a robot, but a real user, the account may be Was thawed.
  • This embodiment provides a re-authentication opportunity for a test user who is identified as a robot for the first time, reduces the probability that the test user is misjudged as a robot, and provides an effective appeal channel for real users.
  • the method further includes:
  • a voting is initiated to the voting user whether the test user is a robot.
  • the voting time of the voting user may be during the voting test video, or after the voting test video ends.
  • this embodiment sets the voting time after the voting test video ends, in order to prevent the user from voting in the video process but subsequently finds that the voting option is wrong, resulting in an incorrect voting result, and modifying the voting option band.
  • the preset duration in this embodiment may be a short time, such as 5 seconds, to avoid cheating by users or losing voting results due to network abnormalities.
  • Step S101 The poll test video event is triggered periodically at 8 pm every day, and 100 online users are randomly selected from the blockchain system to enter the user random video library; among them, between 7:59 and 8:00 Users who have initiated transactions are considered online users;
  • Step S201 The selected test user from the user random video library performs random voting test videos with 10 strangers (ie, voting users), and the duration of each voting test video is 10 seconds;
  • Step S301 There is 5 seconds after the voting test video ends, and the voting user is allowed to vote to indicate whether the opponent (that is, the test user) is a robot; if a test user is voted 2 or more times Is a robot, and the blockchain system considers that the test user is a robot;
  • Step S401 freezing the account corresponding to the test user, and transferring the test user to the robot list;
  • Step S402 after the voting result is output, a reward answer is sent to the voting user whose voting matches the voting result;
  • Step S403 Obtain the answer result of the voting user, and get a corresponding token reward for each correct answer; voting users who answer 2 or more questions are punished, and the penalty is that they cannot participate in subsequent voting within 3 days Test video activity;
  • Step S404 if the user who entered the robot list submits an appeal request, he / she will have the opportunity to enter the next random video library of the user for re-authentication; if the next voting result is still a robot, the user who submitted the appeal request The account corresponding to the user is permanently closed; if the next voting result is not a robot, the account corresponding to the user who submitted the appeal request is unfrozen.
  • This embodiment adopts a combination of incentive and punishment measures to encourage blockchain users to take the voting test video activity seriously, thereby providing the blockchain system with the ability to manually distinguish robots in order to eliminate robots in the blockchain system. Avoid wasting server resources.
  • This application also proposes a human-machine identification device based on a blockchain system, which includes a blockchain technology platform and a blockchain application;
  • the blockchain technology platform includes several blockchain nodes for providing basic functions to the blockchain application;
  • the blockchain application is developed based on the basic functions provided by the blockchain technology platform; the blockchain application uses the blockchain resources of the blockchain technology platform when it is running;
  • the human-machine identification device based on the blockchain system includes:
  • a random video library module configured to obtain an online user of the blockchain application, and establish a user random video library according to the online user;
  • a test video module configured to determine a test user and several voting users in the user random video library, and establish a voting test video between the test user and the voting user;
  • a voting module configured to obtain a voting result of the voting user for the test user, and determine whether the test user is a robot according to the voting result;
  • a reward issuing module is configured to confirm that the voting of the voting user is consistent with the voting result, and issue a reward to the voting user.
  • the present application also proposes a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the human-machine identification method based on any of the foregoing blockchain systems.
  • the storage medium includes, but is not limited to, any type of disk (including a floppy disk, a hard disk, an optical disk, a CD-ROM, and a magneto-optical disk), a ROM (Read-Only Memory, read-only memory), and a RAM (Random Access Memory). Memory), EPROM (Erasable Programmable Read-Only Memory, Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasabl Programmable Read-Only Memory), flash memory, magnetic card or optical card. That is, the storage medium includes any medium that stores or transfers information in a readable form by a device (for example, a computer). It can be read-only memory, magnetic disk or optical disk, etc.
  • steps in the flowchart of the drawings are sequentially displayed in accordance with the directions of the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited, and they can be performed in other orders. Moreover, at least a part of the steps in the flowchart of the drawing may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily performed at the same time, but may be performed at different times. The execution order is also It is not necessarily performed sequentially, but may be performed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Technology Law (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

一种基于区块链系统的人机识别方法、装置和存储介质,所述方法包括:获取所述区块链应用的在线用户,根据所述在线用户建立用户随机视频库(S10);在所述用户随机视频库内确定一个测试用户与若干个投票用户,建立所述测试用户与所述投票用户之间的投票测试视频(S20);获取所述投票用户对所述测试用户的投票结果,根据所述投票结果确定所述测试用户是否为机器人(S30);确认所述投票用户的投票与所述投票结果相符,向所述投票用户发放奖励(S40)。本方法为区块链系统提供了人工分辨机器人的能力。

Description

基于区块链系统的人机识别方法、装置和存储介质 技术领域
本申请涉及计算机技术领域,具体而言,本申请涉及一种基于区块链系统的人机识别方法、装置和存储介质。
背景技术
在区块链系统中,节点服务器提供了系统所需要的算力、存储和RAM等资源,是支撑整个区块链及上层应用存在的基础。作为区块链资源的使用者,区块链上层应用经常会面临机器人用户的问题,这些机器人的行为会恶意消耗服务器资源,扰乱系统秩序。CAPTCHA是Completely Automated Public Turing Test to Tell Computers and Humans Apart(全自动区分计算机和人类的图灵测试)的简称,是一种区分计算机和人类的计算程序,这种计算程序可以生成并评价人类能很容易通过但计算机却不能通过的测试。在互联网领域,已经广泛采用CAPTCHA的方式去识别机器人用户,但这种方式是后置的,即作恶之后才会被识别,这就导致还是会有服务器的资源被机器人消耗掉。另外,CAPTCHA方法和反CAPTCHA方法一直处于不停竞争的状态,故CAPTCHA也存在较大的被破解风险。通过技术手段侦测机器人是一种可行的方式,但是需要花费大量的机器资源和人力资源去执行这项工作,成本非常大。
发明内容
本申请针对区块链系统中存在机器人用户恶意消耗服务器资源的问题,提出如下基于区块链系统的人机识别方法、装置和存储介质。
一种基于区块链系统的人机识别方法,所述区块链系统包括区块链技术平台以及区块链应用;
所述区块链技术平台包括若干区块链节点,用于给所述区块链应用提供基础功能;
所述区块链应用基于所述区块链技术平台提供的基础功能开发;所述区块链应用运行时使用所述区块链技术平台的区块链资源;
所述方法包括:
获取所述区块链应用的在线用户,根据所述在线用户建立用户随机视频库;
在所述用户随机视频库内确定一个测试用户与若干个投票用户,建立所述测试用户与所述投票用户之间的投票测试视频;
获取所述投票用户对所述测试用户的投票结果,根据所述投票结果确定所述测试用户是否为机器人;
确认所述投票用户的投票与所述投票结果相符,向所述投票用户发放奖励。
进一步地,所述向所述投票用户发放奖励,包括:
向所述投票用户发起奖励答题;
获取所述投票用户对所述奖励答题的答题结果;
若所述答题结果符合预设条件,发放对应的答题奖励。
进一步地,所述获取所述投票用户对所述奖励答题的答题结果之后,还包括:
若所述答题结果不符合预设条件,在预设的时段之内,或在预设的投票测试视频次数之内,禁止所述投票用户投票。
进一步地,所述奖励答题包括基于所述投票测试视频场景的答题题目,和/或基于情绪的答题题目。
进一步地,所述获取所述投票用户对所述投票测试视频的投票结果,根据所述投票结果确定所述测试用户是否为机器人之后,还包括:
将确定为机器人的所述测试用户对应的账户冻结,并将所述测试用户转移至机器人名单。
进一步地,所述将确定为机器人的所述测试用户对应的账户冻结,并将所述测试用户转移至机器人名单之后,还包括:
获取所述机器人名单中提出申诉请求的申诉用户,将所述申诉用户加入所述用户随机视频库。
进一步地,所述获取所述机器人名单中提出申诉请求的申诉用户,将所述申诉用户加入所述用户随机视频库之后,还包括:
获取下一次投票测试视频中,投票用户对所述申诉用户的投票结果;
若根据所述申诉用户的投票结果确定所述申诉用户为机器人,则永久封停所述申诉用户对应的账户;
若根据所述申诉用户的投票结果确定所述申诉用户不是机器人,则将所述申诉用户对应的账户解冻。
进一步地,所述在所述用户随机视频库内确定一个测试用户与若干个投票用户,建立所述测试用户与所述投票用户之间的投票测试视频之后,所述获取所述投票用户对所述投票测试视频的投票结果,根据所述投票结果确定所述测试用户是否为机器人之前,还包括:
在所述投票测试视频结束后的预设时长内,向所述投票用户发起所述测试用户是否为机器人的投票。
进一步地,所述投票测试视频由基于所述区块链技术平台开发的即时通讯工具建立。
进一步地,所述在线用户包括在当前时间点之前预设时段之内发起在线交易的用户。
本申请还提出一种基于区块链系统的人机识别装置,所述区块链系统包括区块链技术平台以及区块链应用;
所述区块链技术平台包括若干区块链节点,用于给所述区块链应用提供基础功能;
所述区块链应用基于所述区块链技术平台提供的基础功能开发;所述区块链应用运行时使用所述区块链技术平台的区块链资源;
所述装置包括:
随机视频库模块,用于获取所述区块链应用的在线用户,根据所述在线用户建立用户随机视频库;
测试视频模块,用于在所述用户随机视频库内确定一个测试用户与若干个投票用户,建立所述测试用户与所述投票用户之间的投票测试视频;
投票模块,用于获取所述投票用户对所述测试用户的投票结果,根据所述投票结果确定所述测试用户是否为机器人;
奖励发放模块,用于确认所述投票用户的投票与所述投票结果相符,向所述投票用户发放奖励。
本申请还提出一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现前述任意一项所述的基于区块链系统的人机识别方法的步骤。
本申请的有益效果如下:
1、本实施例通过建立用户随机视频库,以实现用户之间的互相鉴别,降低了通过技术手段识别机器人用户的难度和资源消耗,鉴别结果准确度高;同时,本实施例通过向与投票结果相符的投票用户发放奖励,可提高投票用户参与投票的积极 性,并有助于避免投票用户随意投票而造成投票结果不准确的情况,为区块链系统提供了人工分辨机器人的能力。
2、本申请还可通过奖励答题环节,并根据用户的答题结果发放对应的答题奖励,以使用户为了获取尽可能多的答题奖励而认真参与投票与答题;而且,所述奖励答题环节亦有降低用户通过机器人进行投票和答题的概率。
本申请附加的方面和优点将在下面的描述中部分给出,这些将从下面的描述中变得明显,或通过本申请的实践了解到。
附图说明
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1为本申请一种硬件运行环境实施例的结构示意图;
图2为本申请基于区块链系统的人机识别方法第一实施例的流程示意图;
图3为本申请基于区块链系统的人机识别方法另一实施例的流程示意图;
图4为本申请基于区块链系统的人机识别方法另一个实施例的流程示意图;
图5为本申请基于区块链系统的人机识别装置一个实施例的模块结构示意图。
具体实施方式
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本申请,而不能解释为对本申请的限制。
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本申请的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该进一步理解的是,这里使用的“第一”、“第二”和“第三”仅用于区别同一技术特征,并不对该技术特征的数量和顺序等进行限定。
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本申请所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现 有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。
本技术领域技术人员可以理解,本申请中所述的区块链节点包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器;其中多个网络服务器或多个服务器是由一群松散耦合的计算机集组成的一个超级虚拟计算机。
本申请所述的基于区块链系统的人机识别方法可应用于如图1所示的硬件环境实施例中,为了便于说明,仅示出了与本申请实施例相关的部分。本申请中的区块链系统包括由若干个区块链节点1011组成的区块链技术平台101,以及与所述区块链技术平台101网络连接的用户102。
所述区块链节点1011可按照时间顺序存储同一个区块链数据。当任意一个区块链节点1011中存入数据或生成合约时,该区块链技术平台101中的其它区块链节点1011亦可根据共识算法获取存入的数据或生成的合约,并在当前节点的区块中也存入同样的数据或在合约列表中存入所述合约,从而使得各区块链节点1011上存储的数据保持一致。所述用户102既包括采用无线便携式终端设备接入所述区块链技术平台101的用户,也包括采用有线终端接入所述区块链技术平台101的用户。
区块链技术平台101包括若干区块链节点1011。区块链技术平台101用于给所述区块链应用提供基础功能,并为基于区块链技术平台101开发的各种区块链应用提供开发环境和开发资源,以及为所述各种区块链应用的使用提供技术支撑。区块链应用为基于所述区块链平台101提供的基础功能进行开发的应用平台,可包括多个基础应用及若干程序接口。所述若干程序接口可用于给基于所述区块链应用开发的多个程序提供资源连接通道,以通过该程序接口调取区块链应用的开发资源。当用户102通过终端接入所述区块链应用时,可调用所述区块链技术平台101的资源,以实现身份验证、权限验证、交易等功能。
本申请的目的在于提供一种非强技术侦测的手段解决区块链系统中的机器人鉴别问题。如图2所述的基于区块链系统的人机识别方法的实施例,所述区块链系统包括区块链技术平台101以及区块链应用;
所述区块链技术平台101包括若干区块链节点1011,用于给所述区块链应用提供基础功能;
所述区块链应用基于所述区块链技术平台101提供的基础功能开发;所述区块链应用运行时使用所述区块链技术平台101的区块链资源;
所述基于区块链系统的人机识别方法包括如下步骤:
步骤S10:获取所述区块链应用的在线用户,根据所述在线用户建立用户随机视频库;
步骤S20:在所述用户随机视频库内确定一个测试用户与若干个投票用户,建立所述测试用户与所述投票用户之间的投票测试视频;
步骤S30:获取所述投票用户对所述测试用户的投票结果,根据所述投票结果确定所述测试用户是否为机器人;
步骤S40:确认所述投票用户的投票与所述投票结果相符,向所述投票用户发放奖励。
其中每个步骤具体如下:
步骤S10:获取所述区块链应用的在线用户,根据所述在线用户建立用户随机视频库。
所述区块链应用中包括的用户包括离线用户和在线用户,为确保建立所述投票测试视频时,测试的目标用户处于可视频的状态,故在建立所述投票测试测试时,应先确定所述目标用户为可视频的用户,从而避免将离线用户等无法参加视频的用户作为目标用户,并将其误判为机器人。
本步骤通过将预先获取的在线用户加入用户随机视频库中,以确保所述用户随机视频库中的用户均为在线状态,以便于后续在所述用户随机视频库中确定可视频的目标用户。所述在线用户包括当前在所述区块链应用中具有操作行为的用户,例如进行交易操作或验证操作。交易操作为区块链中较为重要的操作,故本申请可将在当前时间点之前的预设时段之内具有交易行为用户作为测试的目标用户;更具体地,由于部分账户在收到区块链凭证时亦有可能处于离线状态,故本申请进一步提出如下实施例:
所述在线用户包括在当前时间点之前预设时段之内发起在线交易的用户。
所述预设时段可以为较短时间,以提高建立所述投票测试视频时用户在线的概率;例如:将发起在线交易1分钟之内的用户作为在线用户;若在线用户的人数较多,或建立所述投票测试视频时,用户的离线概率较高,亦可将所述1分钟缩短为30秒或其它秒数;当然,所述预设时段可结合用户、所述区块链应用或所述投票测试视频等情况确定为一个具体数值,亦可根据具体情况设置为一个变动的时段区间,以提高建立所述投票测试视频成功的概率。所述当前时间点可根据具体情况确定,例如,可将每日20点作为建立所述投票测试视频的当前时间点,则所述当前时间 点为每日20点。为避免用户在固定的视频测试时间之内有意逃避测试,故所述当前时间点可根据具体情况随机确定;例如,每天发起一次或若干次测试,每次测试的所述当前时间点不同。
所述根据所述在线用户建立用户随机视频库,可先获取所述在当前时间点之前预设时段之内发起在线交易的所有用户,再于所述所有用户中随机确定若干名用户建立所述用户随机视频库;亦可将所述所有用户均加入所述用户随机视频库中。若其中某个或某些用户无法成功建立所述投票测试视频,则继续于所述用户随机视频库中确定对应数量的用户以作为替补用户,从而确保所述投票测试视频的成功建立。
在部分情况下,若部分用户在建立所述投票测试视频时失败,可能是该用户刚刚下线或用户的网络状况异常等,亦有可能是机器人用户有意避开所述投票测试视频,故可将该用户列入下次优先视频的用户库中,以提高所述投票测试视频识别机器人用户的准确率,避免漏检和有效防止用户有意逃避所述投票测试视频。
步骤S20:在所述用户随机视频库内确定一个测试用户与若干个投票用户,建立所述测试用户与所述投票用户之间的投票测试视频。
所述测试用户即为需要进行识别的所述测试的目标用户,所述测试用户将依次与每个所述投票用户建立所述投票测试视频,或同时与预设数量的所述投票用户建立视频,或同时与所有所述投票用户建立视频,以使每一个所述投票用户均可对所述测试用户进行投票。
所述用户随机视频库内的用户数量可为预设数值,亦可根据所述在线用户的数量动态确定,例如根据在线用户的数量百分比取值。所述投票用户的数量亦可为固定值,或根据所述在线用户的数量确定,亦可设置一个数值作为最低数值,避免只有一个投票用户的极端情况。所述用户随机视频库内的用户数量应大于或等于所述最低数值,若不满足该条件,可重新确定所述用户随机视频库,或调整确定所述用户随机视频库的条件;例如,若所述用户随机视频库内的用户数量为当前所有在线用户的10%,当前所有在线用户仅为20人,则所述用户随机视频库内将只有2人,进行所述投票测试视频时,其中1个人将作为测试用户,另1个人则只能作为投票用户;此种情况可能增加人机识别的错误概率,故可调整确定所述用户随机视频库的条件,例如,将当前所有在线用户数量中的30%作为所述用户随机视频库中的用户数量,则所述用户随机视频库中将有6位在线用户;可将其中1人将作为测试用户,另外5个人作为投票用户,本实施例通过增加所述投票用户的数量,提高了本申请的人机识别准确率。
所述投票测试视频可采用已有的多种视频方式,也可采用区块链即时通讯工具BCM(Blockchain Message)建立视频。BCM为基于区块链平台开发的即时通讯工具,用户之间的通讯数据可采用非对称加密算法进行加密,故可为测试用户和投票用户提供安全、难以破解的视频环境;故,本申请还提出如下实施例:
所述投票测试视频由基于所述区块链技术平台101开发的即时通讯工具建立。
采用本实施例建立的投票测试视频中的视频数据不会集中存储于某一个或一组中心服务器内,避免了第三方通过破解中心服务器获取视频数据的可能,提高了所述投票测试视频的隐私性,防止了所述测试用户和所述投票用户的隐私被侵犯;而且,亦避免了第三方通过中心服务器进行作弊的可能。
步骤S30:获取所述投票用户对所述测试用户的投票结果,根据所述投票结果确定所述测试用户是否为机器人。
建立所述投票测试视频后,用户之间通过视频画面或互动聊天即可确定对方是否为机器人。为确保测试结果的准确性和一致性,本申请可在一次投票测试视频中确定一个测试用户和多个投票用户;当获取到的每个所述投票用户的投票为所述测试用户不是机器人时,则所述投票结果为所述测试用户不是机器人;若其中部分投票用户或全部投票用户的投票为所述测试用户是机器人时,则区块链系统确认所述测试用户为机器人。所述部分投票用户的数量可根据需求确定,例如,当有2个投票用户对一个测试用户的投票为机器人时,则确认该测试用户为机器人。
为避免投票结果出现不确定的答案,本申请可将投票结果设为是机器人和不是机器人两种;对应的,每个投票用户的投票选项亦可为是机器人和不是机器人两个,以根据所有投票用户的投票选项确定最终投票结果。所述最终投票结果可根据是机器人和不是机器人的票数确定,例如将票数多的投票选项作为投票结果。
所述投票结果可在得到所有投票用户的投票之后确定,亦可在得到部分投票用户的投票后即可确定。例如,在一次投票测试视频中,有6个投票用户和1个测试用户;已有4人投票,其中2个投票为该测试用户为机器人,则无需等待剩余2人的投票即可直接确定该测试用户为机器人。确定所述测试用户是否为机器人的具体条件可根据具体情况确定,而并不限于本实施例中所述的条件。
步骤S40:确认所述投票用户的投票与所述投票结果相符,向所述投票用户发放奖励。
为提高用户参与投票的积极性,本申请可向参与投票的用户发放一定的奖励;为使参与的用户认真对待投票活动,本实施例进一步向与最终的投票结果相符的投 票用户发放奖励,以减少用户随意投票的概率。例如,在一次投票测试视频中,若有6个投票用户和1个测试用户,其中2个所述投票用户的投票选项为所述测试用户是机器人,则系统确认所述测试用户是机器人;并对所述2个投票用户发放奖励;其余4个投票用户若投票为不是机器人,则不发放奖励。
所述奖励可以为荣誉称号奖励,亦可为区块链代币等虚拟资源奖励,或为实体产品等奖励。为提高用户在区块链系统的活跃度,提高用户参与区块链交易的积极性,所述奖励优选为区块链代币。
本实施例通过建立用户随机视频库,以实现用户之间的互相鉴别,降低了通过技术手段识别机器人用户的难度和资源消耗,而且通过用户之间的互相指认,可应对不同行为特征的机器人以及具有不同目的的机器人,鉴别结果准确度高,鉴别范围广泛。同时,本实施例通过向与投票结果相符的投票用户发放奖励,可提高投票用户参与投票的积极性,并有助于避免投票用户随意投票而造成投票结果不准确的情况。本实施例通过用户环节和技术开发环节间的利益分配方式,为区块链系统提供了人工分辨机器人的能力。
本申请还提出另一实施例,如图3所示,所述确认所述投票用户的投票与所述投票结果相符,向所述投票用户发放奖励,包括如下步骤:
步骤S41:确认所述投票用户的投票与所述投票结果相符,向所述投票用户发起奖励答题;
步骤S42:获取所述投票用户对所述奖励答题的答题结果;
步骤S43:若所述答题结果符合预设条件,发放对应的答题奖励。
为进一步调动用户参与所述投票测试视频的积极性,并防止用户机械化投票,在本实施例中还设置答题环节,通过用户的答题结果发放对应的答题奖励,以使用户为了获取尽可能多的答题奖励而认真参与投票与答题。所述预设条件可以为答题正确的数量或比率,以避免用户通过答题机器人答题获取奖励的概率。
为进一步降低通过机器人答题获取奖励,或避免用户随意答题,本申请还提出另一实施例,结合图3所示:所述获取所述投票用户对所述奖励答题的答题结果之后,还包括:
步骤S44:若所述答题结果不符合预设条件,在预设的时段之内,或在预设的投票测试视频次数之内,禁止所述投票用户投票。
通过设置所述预设条件,本实施例可针对答题准确率低的用户设置对应的惩罚机制,例如将答题准确率低的用户排除在后续的投票测试视频之外,或禁止所述投 票用户投票,以使用户失去得到答题奖励的机会,起到一定的惩罚作用。例如,所述预设条件为奖励答题的答错数量低于2题;若用户的答错数量为1题,符合所述预设条件,则发放A数量的区块链代币;若用户的答错数量为0,则发放B数量的区块链代币,且B>A。若用户的答错数量为3,则不符合所述预设条件,不发放奖励,并同时适用于惩罚机制;所述惩罚机制可以为该用户在后续的3天之内不能参加所述投票测试视频,可在建立所述用户随机视频库时,将该用户排除在所述用户随机视频库之外。本实施例通过在投票测试视频之后设置对应的答题奖励和惩罚机制,可进一步提高用户对投票测试视频的重视,提高人机识别的准确率,从而为区块链系统提供人工分辨机器人的能力。
在本申请的又一实施例中,所述奖励答题包括基于所述投票测试视频场景的答题题目,和/或基于情绪的答题题目。
为避免机器人答题,或用户通过作弊的方式获取答题奖励,本实施例可基于所述投票测试视频场景设置答题题目,或基于用户的情绪设置答题题目,以使答题题目对于真实用户非常简单直观,但对于机器人用户却难以确定答案,从而提供用户亲自参与答题的概率。例如,所述答题题目可设置为:请选择刚才与您视频的用户的性别,或者与之类似的题目。
对于所述投票用户来说,其参与所述投票测试视频后,可能获得奖励或惩罚;对于所述测试用户来说,其有可能被判定为机器人,亦有可能被判定为不是机器人。对判定为机器人的测试用户来说,其为本申请需要剔除的用户,故本申请将对其实施一定的惩罚;故本申请还提出如下实施例,如图4所示:
所述获取所述投票用户对所述投票测试视频的投票结果,根据所述投票结果确定所述测试用户是否为机器人之后,还包括:
步骤S46:将确定为机器人的所述测试用户对应的账户冻结,并将所述测试用户转移至机器人名单。
本实施例将确定为机器人的测试用户对应的账户冻结,以避免该机器人用户浪费服务器资源;同时将该测试用户转移至机器人名单,以便后续进一步处理。
在部分情况下,例如用户刚好在交易之后离开电脑终端,或在视频过程中出现视频故障,以至于投票用户误将测试用户认定为机器人。为避免投票用户误判或系统误判,本申请还提出另一实施例,结合图4所示:
所述将确定为机器人的所述测试用户对应的账户冻结,并将所述测试用户转移至机器人名单之后,还包括:
步骤S47:获取所述机器人名单中提出申诉请求的申诉用户,将所述申诉用户加入所述用户随机视频库。
本申请可将加入所述机器人名单中的用户作为疑似机器人用户,若其中有用户提出申诉请求,所述申请请求中包括重新进行人机识别的请求,则本实施例可将提出申诉请求的申诉用户再次加入后续的所述用户随机视频库中,使其有机会进入下一次的投票测试视频进行重新认证。例如,申诉用户在提出申诉请求之后的第2天,系统建立所述用户随时视频库时,可将该申诉用户加入该用户随时视频库中,以便将其作为测试用户再次进行投票测试视频;若其未被选定参加所述投票测试视频,或未被作为所述测试用户,则在下一次投票测试视频时,继续将其加入所述用户随时视频库中,只至其作为所述测试用户,获得再次被投票的机会。
进一步地,本申请还提出另一实施例,结合图4所示:所述获取所述机器人名单中提出申诉请求的申诉用户,将所述申诉用户加入所述用户随机视频库之后,还包括:
步骤S48:获取下一次投票测试视频中,投票用户对所述申诉用户的投票结果;
步骤S49:若根据所述申诉用户的投票结果确定所述申诉用户为机器人,则永久封停所述申诉用户对应的账户;若根据所述申诉用户的投票结果确定所述申诉用户不是机器人,则将所述申诉用户对应的账户解冻。
当所述申诉用户在下一次投票测试视频中重新认证时,若所述投票结果仍然为机器人,则可该账户永久封停;如果所述投票结果不是机器人,而是真正的用户,则该账户可被解冻。本实施例为第一次被识别为机器人的测试用户提供了一次重新认证的机会,减少了所述测试用户被误判为机器人的概率,为真正的用户提供了有效的申诉途径。
在另一个实施例中,所述在所述用户随机视频库内确定一个测试用户与若干个投票用户,建立所述测试用户与所述投票用户之间的投票测试视频之后,所述获取所述投票用户对所述投票测试视频的投票结果,根据所述投票结果确定所述测试用户是否为机器人之前,还包括:
在所述投票测试视频结束后的预设时长内,向所述投票用户发起所述测试用户是否为机器人的投票。
所述投票用户的投票时间可以在进行所述投票测试视频过程中,也可以在结束所述投票测试视频之后。为提高用户投票的准确率,本实施例将投票时间设在所述投票测试视频结束之后,以避免用户在视频过程中投票但后续发现投票选项错误而 造成错误的投票结果,以及修改投票选项带来的麻烦;而且本实施例中的预设时长可为较短的时间,例如5秒,以避免用户作弊或因网络异常而使投票结果丢失。
在本申请的另一具体实施例中,可包括如下步骤;
步骤S101:每日晚8点,定时触发所述投票测试视频活动,从区块链系统随机选择100个在线用户进入所述用户随机视频库;其中在7点59分~8点0分之间有发起过交易的用户,被认为是在线用户;
步骤S201:从所述用户随机视频库被选中的测试用户分别与10个陌生人(即投票用户)进行随机的投票测试视频,每次投票测试视频的时长为10秒钟;
步骤S301:所述投票测试视频结束后有5秒的时间,让所述投票用户进行投票,指出对方(即所述测试用户)是否为机器人;如果某个测试用户2次或者2次以上被投票为机器人,区块链系统则认为该测试用户为机器人;
步骤S401:冻结所述测试用户对应的账户,将所述测试用户转移至机器人名单;
步骤S402:在投票结果出来之后,对投票用户的投票与所述投票结果相符的投票用户发送奖励答题;
步骤S403:获取所述投票用户的答题结果,每答对1题获得对应的代币奖励;答错2题或者2题以上的投票用户则受到惩罚,所述惩罚为3天内不能再参加后续的投票测试视频活动;
步骤S404:进入所述机器人名单的用户,若提出申诉请求,则有机会进入下一次的用户随机视频库进行重新认证;如果所述下一次的投票结果仍然为机器人,则提出所述申诉请求的用户对应的账户被永久封停;如果所述下一次的投票结果不为机器人,则提出所述申诉请求的用户对应的账户被解冻。
本实施例采用激励和惩罚并用的措施,促使区块链用户认真对待所述投票测试视频活动,从而为区块链系统提供了人工分辨机器人的能力,以便于剔除区块链系统中的机器人,避免服务器资源的浪费。
本申请还提出一种基于区块链系统的人机识别装置,所述区块链系统包括区块链技术平台以及区块链应用;
所述区块链技术平台包括若干区块链节点,用于给所述区块链应用提供基础功能;
所述区块链应用基于所述区块链技术平台提供的基础功能开发;所述区块链应用运行时使用所述区块链技术平台的区块链资源;
如图5所示,所述基于区块链系统的人机识别装置包括:
随机视频库模块,用于获取所述区块链应用的在线用户,根据所述在线用户建立用户随机视频库;
测试视频模块,用于在所述用户随机视频库内确定一个测试用户与若干个投票用户,建立所述测试用户与所述投票用户之间的投票测试视频;
投票模块,用于获取所述投票用户对所述测试用户的投票结果,根据所述投票结果确定所述测试用户是否为机器人;
奖励发放模块,用于确认所述投票用户的投票与所述投票结果相符,向所述投票用户发放奖励。
本申请还提出一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现前述任意一项所述的基于区块链系统的人机识别方法的步骤。其中,所述存储介质包括但不限于任何类型的盘(包括软盘、硬盘、光盘、CD-ROM、和磁光盘)、ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随即存储器)、EPROM(Erasable Programmable Read-Only Memory,可擦写可编程只读存储器)、EEPROM(Electrically Erasabl Programmable Read-Only Memory,电可擦可编程只读存储器)、闪存、磁性卡片或光线卡片。也就是,存储介质包括由设备(例如,计算机)以能够读的形式存储或传输信息的任何介质。可以是只读存储器,磁盘或光盘等。
应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
应该理解的是,在本申请各实施例中的各功能单元可集成在一个处理模块中,也可以各个单元单独物理存在,也可以两个或两个以上单元集成于一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
以上所述仅是本申请的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。

Claims (12)

  1. 一种基于区块链系统的人机识别方法,其特征在于,所述区块链系统包括区块链技术平台以及区块链应用;
    所述区块链技术平台包括若干区块链节点,用于给所述区块链应用提供基础功能;
    所述区块链应用基于所述区块链技术平台提供的基础功能开发;所述区块链应用运行时使用所述区块链技术平台的区块链资源;
    所述方法包括:
    获取所述区块链应用的在线用户,根据所述在线用户建立用户随机视频库;
    在所述用户随机视频库内确定一个测试用户与若干个投票用户,建立所述测试用户与所述投票用户之间的投票测试视频;
    获取所述投票用户对所述测试用户的投票结果,根据所述投票结果确定所述测试用户是否为机器人;
    确认所述投票用户的投票与所述投票结果相符,向所述投票用户发放奖励。
  2. 根据权利要求1所述的方法,其特征在于,所述向所述投票用户发放奖励,包括:
    向所述投票用户发起奖励答题;
    获取所述投票用户对所述奖励答题的答题结果;
    若所述答题结果符合预设条件,发放对应的答题奖励。
  3. 根据权利要求2所述的方法,其特征在于,所述获取所述投票用户对所述奖励答题的答题结果之后,还包括:
    若所述答题结果不符合预设条件,在预设的时段之内,或在预设的投票测试视频次数之内,禁止所述投票用户投票。
  4. 根据权利要求2或3所述的方法,其特征在于,所述奖励答题包括基于所述投票测试视频场景的答题题目,和/或基于情绪的答题题目。
  5. 根据权利要求1所述的方法,其特征在于,所述获取所述投票用户对所述投票测试视频的投票结果,根据所述投票结果确定所述测试用户是否为机器人之后,还包括:
    将确定为机器人的所述测试用户对应的账户冻结,并将所述测试用户转移至机器人名单。
  6. 根据权利要求5所述的方法,其特征在于,所述将确定为机器人的所述测 试用户对应的账户冻结,并将所述测试用户转移至机器人名单之后,还包括:
    获取所述机器人名单中提出申诉请求的申诉用户,将所述申诉用户加入所述用户随机视频库。
  7. 根据权利要求6所述的方法,其特征在于,所述获取所述机器人名单中提出申诉请求的申诉用户,将所述申诉用户加入所述用户随机视频库之后,还包括:
    获取下一次投票测试视频中,投票用户对所述申诉用户的投票结果;
    若根据所述申诉用户的投票结果确定所述申诉用户为机器人,则永久封停所述申诉用户对应的账户;
    若根据所述申诉用户的投票结果确定所述申诉用户不是机器人,则将所述申诉用户对应的账户解冻。
  8. 根据权利要求1所述的方法,其特征在于,所述在所述用户随机视频库内确定一个测试用户与若干个投票用户,建立所述测试用户与所述投票用户之间的投票测试视频之后,所述获取所述投票用户对所述投票测试视频的投票结果,根据所述投票结果确定所述测试用户是否为机器人之前,还包括:
    在所述投票测试视频结束后的预设时长内,向所述投票用户发起所述测试用户是否为机器人的投票。
  9. 根据权利要求1所述的方法,其特征在于,所述投票测试视频由基于所述区块链技术平台开发的即时通讯工具建立。
  10. 根据权利要求1所述的方法,其特征在于,所述在线用户包括在当前时间点之前预设时段之内发起在线交易的用户。
  11. 一种基于区块链系统的人机识别装置,其特征在于,所述区块链系统包括区块链技术平台以及区块链应用;
    所述区块链技术平台包括若干区块链节点,用于给所述区块链应用提供基础功能;
    所述区块链应用基于所述区块链技术平台提供的基础功能开发;所述区块链应用运行时使用所述区块链技术平台的区块链资源;
    所述装置包括:
    随机视频库模块,用于获取所述区块链应用的在线用户,根据所述在线用户建立用户随机视频库;
    测试视频模块,用于在所述用户随机视频库内确定一个测试用户与若干个投票用户,建立所述测试用户与所述投票用户之间的投票测试视频;
    投票模块,用于获取所述投票用户对所述测试用户的投票结果,根据所述投票结果确定所述测试用户是否为机器人;
    奖励发放模块,用于确认所述投票用户的投票与所述投票结果相符,向所述投票用户发放奖励。
  12. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1至10中任意一项所述的基于区块链系统的人机识别方法的步骤。
PCT/CN2018/101828 2018-08-22 2018-08-22 基于区块链系统的人机识别方法、装置和存储介质 WO2020037579A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880002204.5A CN109791670B (zh) 2018-08-22 2018-08-22 基于区块链系统的人机识别方法、装置和存储介质
PCT/CN2018/101828 WO2020037579A1 (zh) 2018-08-22 2018-08-22 基于区块链系统的人机识别方法、装置和存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/101828 WO2020037579A1 (zh) 2018-08-22 2018-08-22 基于区块链系统的人机识别方法、装置和存储介质

Publications (1)

Publication Number Publication Date
WO2020037579A1 true WO2020037579A1 (zh) 2020-02-27

Family

ID=66499480

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/101828 WO2020037579A1 (zh) 2018-08-22 2018-08-22 基于区块链系统的人机识别方法、装置和存储介质

Country Status (2)

Country Link
CN (1) CN109791670B (zh)
WO (1) WO2020037579A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602248B (zh) * 2019-09-27 2020-08-11 腾讯科技(深圳)有限公司 异常行为信息的识别方法、系统、装置、设备及介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592098A (zh) * 2016-01-16 2016-05-18 杭州复杂美科技有限公司 区块链上的投票及ca证书的管理方法
CN105719185A (zh) * 2016-01-22 2016-06-29 杭州复杂美科技有限公司 区块链的数据对比及共识方法
CN106789089A (zh) * 2017-02-23 2017-05-31 腾讯科技(深圳)有限公司 一种管理证书的方法和系统
US20170230375A1 (en) * 2016-02-10 2017-08-10 Bank Of America Corporation System for centralized control of secure access to process data network
CN107301522A (zh) * 2017-06-26 2017-10-27 深圳前海华深安信物联技术有限公司 一种基于区块链的仓单系统及使用方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI436232B (zh) * 2010-11-30 2014-05-01 F2Ware Inc 基於全自動區分計算機和人類的測試資料之資料處理方法與系統及其電腦程式產品
CN102546550A (zh) * 2010-12-21 2012-07-04 F2威尔股份有限公司 全自动区分计算机和人类的测试数据管理方法及管理系统
CN102571485B (zh) * 2011-12-14 2014-08-27 上海交通大学 一种在微博平台上识别机器人用户的方法
CN103685195A (zh) * 2012-09-21 2014-03-26 华为技术有限公司 用户验证处理方法、用户设备和服务器
CN106919821A (zh) * 2015-12-25 2017-07-04 阿里巴巴集团控股有限公司 用户验证方法和装置
CN106921621A (zh) * 2015-12-25 2017-07-04 阿里巴巴集团控股有限公司 用户验证方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592098A (zh) * 2016-01-16 2016-05-18 杭州复杂美科技有限公司 区块链上的投票及ca证书的管理方法
CN105719185A (zh) * 2016-01-22 2016-06-29 杭州复杂美科技有限公司 区块链的数据对比及共识方法
US20170230375A1 (en) * 2016-02-10 2017-08-10 Bank Of America Corporation System for centralized control of secure access to process data network
CN106789089A (zh) * 2017-02-23 2017-05-31 腾讯科技(深圳)有限公司 一种管理证书的方法和系统
CN107301522A (zh) * 2017-06-26 2017-10-27 深圳前海华深安信物联技术有限公司 一种基于区块链的仓单系统及使用方法

Also Published As

Publication number Publication date
CN109791670A (zh) 2019-05-21
CN109791670B (zh) 2023-08-18

Similar Documents

Publication Publication Date Title
WO2021036014A1 (zh) 联邦学习信用管理方法、装置、设备及可读存储介质
US8528054B2 (en) Multi-step challenge-response test
EP2404233B1 (en) Using social information for authenticating a user session
CN107103473A (zh) 一种基于区块链的智能合约实现方法
CN109753269B (zh) 区块链的随机数生成方法、装置、设备和存储介质
Araujo et al. A maximum independent set approach for collusion detection in voting pools
US11907344B2 (en) Systems and methods for establishing connections in a network for matched parties
US20220036253A1 (en) Evaluation of a registration process
WO2020037579A1 (zh) 基于区块链系统的人机识别方法、装置和存储介质
EP4189516A1 (en) Systems and methods for state-based risk analysis and mitigation for exam registration and delivery processes
JPWO2017029786A1 (ja) オンラインアカウントの信憑性を評価するための方法及び装置
CN112910982B (zh) 一种联盟链的节点准入方法、装置、电子设备及存储介质
CN108200450A (zh) 一种关注合法性的确定方法、装置、电子设备及介质
US10063549B1 (en) Techniques for sharing authentication data among authentication servers
US20100242090A1 (en) User authentication method and system
CN112487487A (zh) 区块链节点成员的权限管理方法、装置、设备及存储介质
Rashidi et al. A game-theoretic model for defending against malicious users in recdroid
US20220036489A1 (en) Recommendation engine for testing conditions based on evaluation of test entity scores
US10356163B2 (en) Method and communication system for unlocking user data
Ouyang et al. FedCrowdSensing: Incentive Mechanism for Crowdsensing Based on Reputation and Federated Learning
US11875242B2 (en) Systems and methods for risk analysis and mitigation with nested machine learning models for exam registration and delivery processes
Hammer et al. A user-centric study of reputation metrics in online communities
US20240089404A1 (en) Systems and methods for real-time online user interaction with athletes
US20160321439A1 (en) Connection Prediction As Identity Verification
WO2024093797A1 (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: 18930565

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18930565

Country of ref document: EP

Kind code of ref document: A1