A method, device and medium for answering questions in a question-and-answer activity based on blockchain

By adopting blockchain-based Q&A activity answering method in online Q&A activities, the problem of low number and activity in the initial stage is solved, and the effect of improving fun and competitiveness is achieved, and the user experience is enhanced.

CN111325448BActive Publication Date: 2025-04-25INSPUR YUNZHOU (SHANDONG) IND INTERNET CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010073536.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-01-22
Publication Date
2025-04-25
Estimated Expiration
2040-01-22

AI Technical Summary

Technical Problem

In the initial stage of online Q&A activities, there are fewer users and low user activity, resulting in poor fun and competitive experiences and inability to provide a good user experience.

Method used

The blockchain-based Q&A activity answering method is adopted, and by building a blockchain network, deploying smart contracts, giving users a level, and presetting the level of the answering robot, allowing users and answering robots to match the answering questions, and settle and optimize according to the answering results.

Benefits of technology

By matching the appropriate answering robot to guess and answer questions with users, the number and activity of users will be increased, the fun and competitive nature of the question-and-answer activities will be improved, and the user experience will be enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111325448B_ABST
    Figure CN111325448B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device and storage medium for answering questions in a question-and-answer activity based on blockchain. The method includes building a blockchain network based on a blockchain framework, wherein the nodes of the blockchain network include a question-answering platform, a question-answering robot and a user; deploying a preset smart contract to the blockchain network; assigning a level to the user according to the smart contract, and presetting a level for the question-answering robot; enabling the question-answering robot to start answering questions with the user and generate a result of the answering; and settling accounts with the user and optimizing the question-answering robot according to the result of the answering. In the initial stage of the question-and-answer activity, the question-answering platform matches a suitable robot to guess and answer questions with the user according to the user's level, realizes the question-and-answer activity between the user and the question-answering robot, increases the number of users and user activity, improves the fun and competitiveness of the question-and-answer activity, and enhances the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of question-and-answer activities, and in particular to a method, device, and medium for answering questions in a question-and-answer activity based on blockchain. Background Art

[0002] Nowadays, knowledge quiz activities are very popular. In such question activities, people can not only entertain themselves but also learn knowledge, so they are becoming more and more popular. Correspondingly, online quiz activities are more popular because they are both interesting and competitive, such as online English competitions, interesting knowledge quizzes, etc. However, in the initial stage of online quiz activities, the number of users is small, the user activity is low, the fun and competitive experience is poor, and it cannot bring a good experience to users. Summary of the invention

[0003] The embodiments of the present application provide a method, device, and medium for answering questions in a blockchain-based question-and-answer activity, which are used to solve the following technical problems in the prior art: in the initial stage of an online question-and-answer activity, the number of users is small, the user activity is low, the fun and competitive experience is poor, and a good experience cannot be provided to users.

[0004] The present application embodiment adopts the following technical solutions:

[0005] According to the first aspect, the present application provides a method for answering questions in a question-and-answer activity based on blockchain, comprising:

[0006] Building a blockchain network based on a blockchain framework, wherein the nodes of the blockchain network include a question answering platform, a question answering robot, and users;

[0007] Deploy the preset smart contract to the blockchain network;

[0008] Assigning a level to the user according to the smart contract and presetting a level for the answering robot;

[0009] Enable the answering robot and the user to start answering questions and generate answering results;

[0010] The user is settled and the answering robot is optimized according to the answering results.

[0011] Furthermore, the smart contract includes at least one of the following: matching rules, answering rules and upgrading rules.

[0012] Furthermore, the matching rule is: assigning the user level according to the identity information uploaded by the user node, and randomly matching the question type according to the user level.

[0013] Furthermore, the question types are divided into at least entertainment, sports, literature, science, and encyclopedia.

[0014] Furthermore, the answering rule is: determining the preset level of the answering robot according to the answering time and the answering accuracy rate;

[0015] The answering time includes the maximum answering time of the answering robot, the ability value of the answering robot for questions of this type, and the correct answer rate of the user for questions of this type.

[0016] The correct answer rate includes the ability value of the question type and the correct answer rate of the user for the question type.

[0017] Furthermore, the settlement of users and optimization of answering robots according to answering results includes generating a capability graph for the user according to the matching rules and upgrading rules, and generating the latest level of the user based on this capability graph as data.

[0018] Furthermore, the settlement of users and optimization of the answering robot according to the answering results also includes generating a capability graph for the answering robot according to the answering rules and the upgrading rules, and using this as data to optimize and upgrade the answering robot.

[0019] Furthermore, it also includes: matching the user's latest level with the optimized and upgraded answering robot to answer questions.

[0020] According to a second aspect, the present application provides a device for answering questions in a blockchain-based question-and-answer activity, comprising: at least one processor; and

[0021] a memory communicatively connected to the at least one processor; wherein,

[0022] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any of the above-mentioned methods for answering questions in a blockchain-based question-and-answer activity.

[0023] According to the third aspect, the present application provides a non-volatile computer storage medium for answering questions in a blockchain-based question-and-answer activity, which stores computer-executable instructions. When the computer-executable instructions are executed, any of the above-mentioned methods for answering questions in a blockchain-based question-and-answer activity can be implemented.

[0024] At least one of the above-mentioned technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects: in the initial stage of the online question-and-answer activity, the question-answering platform matches a suitable robot according to the user's level to compete with the robot in guessing and answering questions, thereby realizing question-and-answer activities between users and answering robots, increasing the number of users and user activity, improving the fun and competitiveness of question-and-answer activities, and enhancing user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0026] Figure 1 A flowchart of a method for answering questions in a blockchain-based question-and-answer activity provided in an embodiment of the present application;

[0027] Figure 2 The embodiment of the present application provides the corresponding Figure 1 A structural diagram of a device for answering questions in a blockchain-based question-and-answer activity. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0029] Blockchain is essentially a decentralized database, a series of related data blocks generated using cryptographic methods. Each data block contains transaction information of the entire network within a period of time, which is used to verify the validity of its information and the next block. Blockchain is a technical solution to maintain a reliable database in a decentralized and trustless way. Therefore, blockchain can become a technology for universal accounting, or it can be understood as a distributed ledger technology.

[0030] Smart contracts are computer programs that can automatically execute contract terms. The reason why blockchain is considered a disruptive technology is mainly because smart contracts can be implemented on blockchain. Smart contracts are not only defined by code, but also enforced by code, and cannot be intervened at all. Smart contracts are decentralized and do not rely on a single centralized server, but are distributed. They are stored on the blockchain and run automatically through network nodes.

[0031] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0032] Reference Figure 1 As shown, the present application provides a method for answering questions in a question-and-answer activity based on blockchain, including:

[0033] S11. Build a blockchain network based on the blockchain framework. The nodes of the blockchain network include the answering platform, answering robots and users.

[0034] Based on blockchain technology, the answering platform, answering robots and users are set as nodes of the blockchain network, and the data information of each node is recorded in time to achieve distributed storage of data information of each node to prevent loss or tampering.

[0035] S12. Deploy the preset smart contract to the blockchain network.

[0036] Smart contracts include at least one of the following: matching rules, answering rules, and upgrade rules. Matching rules are used to match users with answering robots, answering rules are used for answering robots’ answering strategies, and upgrade rules are used to reward and punish users and optimize and upgrade answering robots.

[0037] S13. Assign levels to users according to the smart contract and preset levels for the answering robots.

[0038] The matching rule of the smart contract is to assign a user level based on the identity information uploaded by the user node. When a user logs in to the quiz platform for the first time, the quiz platform provides a registration window for the user and assigns the user an initial level. The registration window requires the user to provide registration information including the user's mobile phone number, WeChat account / Alipay account, identity information, etc., to determine the user's identity and prepare for subsequent rewards to the user.

[0039] The identity information includes the user's hobbies, specialties, knowledge level, etc. The answering platform preliminarily depicts the user's ability value based on the identity information uploaded by the user. The answering robot is matched according to the user's initial level and the user's ability value, and the question type is randomly matched. Here, the answering robot is preset to the primary level. After the user participates in answering questions for a period of time, the user and the answering robot are upgraded to the corresponding level based on the answering result data.

[0040] The question types are at least divided into entertainment, sports, literature, science, encyclopedia, etc. The corresponding question types are assigned to users according to their ability values. Different difficulty levels are set for questions of the same type, such as elementary difficulty, intermediate difficulty, and advanced difficulty. For example, when the user's hobby is literature, the user is randomly assigned to questions of literature of intermediate difficulty and questions of entertainment, sports, science, or encyclopedia of elementary difficulty.

[0041] S14: Enable the answering robot to start answering questions with the user and generate answering results.

[0042] After the user is matched with the answering robot, they answer the questions. The system platform records the answering process and generates the answering results. During the answering process, the robot's answering rules are as follows: the preset level of the answering robot is determined according to the answering time and the answering accuracy. The answering time includes the maximum answering time of the answering robot, the ability value of the answering robot for this type of question, and the user's answering accuracy for this type of question.

[0043] Here, the maximum answering time of the answering robot is set to 10 seconds. When the user logs in to the answering platform for the first time, the ability value of the answering robot for this type of question is set to 10 (range 1 to 100), and the user's correct answer rate for this type of question is 50 (range 1 to 100). Specifically, the answering time for this type of question = 10 (maximum answering time) - the ability value of the robot for this type of question + (10 - 10 * the correct answer rate of the user for this question) / 2.

[0044] After the user has participated in answering questions for a period of time, the answering platform will adjust the values ​​for the user and the answering robot based on the actual answering result data. The answering robot's answering accuracy includes the ability value of the type of question and the user's answering accuracy of the type of question. The user's ability value includes the user's accuracy rate for the type of question and the user's average answering time for the type of question. Specifically, the answering robot's answering accuracy = (ability value for the type of question + 10 * user's answering accuracy rate for the type of question) / 2; the user's ability value = (10 * user's accuracy rate for the type of question + 10 - user's average answering time for the type of question) / 2.

[0045] S15. Settle the accounts for the users and optimize the answering robots according to the answering results.

[0046] When settling accounts with users and optimizing answering robots based on answering results, a capability graph is generated for the user based on the matching rules and upgrade rules, and the latest level of the user is generated based on this data. Settling accounts with users includes rewarding points to users and re-grading users, and optimizing answering robots includes redefining the answering time and answering accuracy of answering robots, thereby optimizing and upgrading answering robots.

[0047] The user is settled and the answering robot is optimized according to the answering results, and the ability graph is generated for the answering robot according to the answering rules and the upgrading rules, and the answering robot is optimized and upgraded based on the ability graph. The user's latest level is matched with the optimized and upgraded answering robot to answer questions.

[0048] In the initial stage of online question-and-answer PK activities, the number of users is not high and the activity is low. According to the current level points of the user, when matching opponents, the appropriate robot is matched to compete with the opponent to answer questions. After the answering is completed, the final results are recorded in multiple ways to settle the corresponding points rewards of the user and the statistical optimization and AI upgrade of the robot. In addition, the matching situation is affected according to the latest result value, and the robot in the corresponding level is matched with the user's point level. The question-and-answer activities between users and answering robots are realized, the number of users and user activity are increased, the fun and competitiveness of question-and-answer activities are improved, and the user experience is enhanced.

[0049] Figure 2 The embodiment of the present application provides the corresponding Figure 1 A schematic diagram of a structure of a device for answering questions in a blockchain-based question-and-answer activity, wherein the blockchain device comprises:

[0050] at least one processor; and,

[0051] a memory communicatively connected to the at least one processor; wherein,

[0052] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:

[0053] Building a blockchain network based on a blockchain framework, wherein the nodes of the blockchain network include a question answering platform, a question answering robot, and users;

[0054] Deploy the preset smart contract to the blockchain network;

[0055] Assigning a level to the user according to the smart contract and presetting a level for the answering robot;

[0056] Enable the answering robot and the user to start answering questions and generate answering results;

[0057] The user is settled and the answering robot is optimized according to the answering results.

[0058] Some embodiments of the present application provide corresponding Figure 1 A non-volatile computer storage medium for answering questions in a blockchain-based question-and-answer activity, storing computer executable instructions, wherein the computer executable instructions are set to:

[0059] Building a blockchain network based on a blockchain framework, wherein the nodes of the blockchain network include a question answering platform, a question answering robot, and users;

[0060] Deploy the preset smart contract to the blockchain network;

[0061] Assigning a level to the user according to the smart contract and presetting a level for the answering robot;

[0062] Enable the answering robot and the user to start answering questions and generate answering results;

[0063] The user is settled and the answering robot is optimized according to the answering results.

[0064] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0065] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

[0066] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0067] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0068] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0069] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0070] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0071] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0072] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0073] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0074] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for answering questions in a question-and-answer activity based on blockchain, characterized in that: include: Building a blockchain network based on a blockchain framework, wherein the nodes of the blockchain network include a question answering platform, a question answering robot, and users; Deploy the preset smart contract to the blockchain network; Assigning a level to the user according to the smart contract and presetting a level for the answering robot; Enable the answering robot and the user to start answering questions and generate answering results; Settling accounts with the user and optimizing the answering robot according to the answering results; The smart contract includes at least one of the following: matching rules, answering rules and upgrading rules; The matching rule is: assigning the user level according to the identity information uploaded by the user node, and randomly matching the question type according to the user level; The question types are at least divided into entertainment, sports, literature, science, and encyclopedia; The answering rule is: determining the preset level of the answering robot according to the answering time and the answering accuracy; The answering time includes the maximum answering time of the answering robot, the ability value of the answering robot for questions of this type, and the correct answer rate of the user for questions of this type. The correct answer rate includes the ability value of the question type and the correct answer rate of the user for the question type; The answering time = maximum answering time - the ability value of the robot for this type of question + (10 - 10 * the correct answer rate of the user for this question) / 2; The formula for the correct answer rate is: The answering robot's answering accuracy rate = (ability value of questions of this type + 10 * user's answering accuracy rate of questions of this type) / 2.

2. The method according to claim 1, characterized in that The settlement of users and optimization of answering robots according to answering results includes generating a capability map for the user according to the matching rules and upgrading rules, and using this as data to generate the latest level of the user.

3. The method according to claim 2, characterized in that The settling of users according to the answering results and the optimization of the answering robot also include generating a capability map for the answering robot according to the answering rules and the upgrading rules, and using this as data to optimize and upgrade the answering robot.

4. The method according to claim 3, characterized in that Also includes: Answer questions according to the latest level of the user and the optimized and upgraded answering robot.

5. A device for answering questions in a blockchain-based question-and-answer activity, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for answering questions in a blockchain-based question-and-answer activity as described in any one of claims 1-4.

6. A non-volatile computer storage medium for answering questions in a blockchain-based question-and-answer activity, storing computer executable instructions, characterized in that: When the computer executable instructions are executed, the method for answering questions in a blockchain-based question-and-answer activity as described in any one of claims 1 to 4 can be implemented.

Citation Information

Patent Citations

  • Knowledge question and answer associated data processing method and device related to blockchain

    CN110427476A

  • Online question-answering competition realization method, realization system and realization equipment

    CN110675678A