CN109011581A - Quiz control method and device based on block chain - Google Patents

Quiz control method and device based on block chain Download PDF

Info

Publication number
CN109011581A
CN109011581A CN201810980284.3A CN201810980284A CN109011581A CN 109011581 A CN109011581 A CN 109011581A CN 201810980284 A CN201810980284 A CN 201810980284A CN 109011581 A CN109011581 A CN 109011581A
Authority
CN
China
Prior art keywords
competition
competition side
quiz
elements
information
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.)
Granted
Application number
CN201810980284.3A
Other languages
Chinese (zh)
Other versions
CN109011581B (en
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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810980284.3A priority Critical patent/CN109011581B/en
Publication of CN109011581A publication Critical patent/CN109011581A/en
Application granted granted Critical
Publication of CN109011581B publication Critical patent/CN109011581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/32Coin-freed apparatus for hiring articles; Coin-freed facilities or services for games, toys, sports, or amusements
    • G07F17/326Game play aspects of gaming systems
    • G07F17/3272Games involving multiple players
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/71Game security or game management aspects using secure communication between game devices and game servers, e.g. by encrypting game data or authenticating players
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • 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/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6272Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database by registering files or documents with a third party

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the present invention proposes a kind of quiz control method and device based on block chain.This method comprises: receiving the competition information of each competition side terminal from quiz, the competition information includes the identity information and stake number of elements of each competition side;It is verified according to the identity information of each competition side and stake number of elements;If verification passes through, by the competition information preservation of each competition side into block chain;After saving successfully, the message for allowing to take the field is returned to each competition side terminal of the quiz.By the way that competition information in block chain, can be prevented to be tampered, so that heat is open and clear, it can guarantee the safety of number of elements in the account of competition side, it improves each competition side and participates in the enthusiasm of quiz, to improve match participation and DAU, bring quality product to experience for user.

Description

Quiz control method and device based on block chain
Technical field
The present invention relates to Internet technical field more particularly to a kind of quiz control methods and dress based on block chain It sets.
Background technique
In the game application (APP, application) of the quizs class such as mental PK, each round answer can be exported Multiple problems, after each side user (can referred to as the side of the competition) answer for participating in match terminates, according to the accuracy of answer, speed Degree etc. can be determined that victory or defeat.The side to win the game can be rewarded, and account balance increases.A defeated side then account balance It reduces.
In the process, participate in match user account may the person of being managed or illegal invasion person modification, it is difficult to guarantee Account safety influences the competition enthusiasm of user.
Summary of the invention
The embodiment of the present invention provides a kind of quiz control method and device based on block chain, to solve the prior art In one or more technical problems.
In a first aspect, the embodiment of the invention provides a kind of quiz control methods based on block chain, comprising:
The competition information of each competition side terminal from quiz is received, the competition information includes the body of each competition side Part information and stake number of elements;
It is verified according to the identity information of each competition side and stake number of elements;
If verification passes through, by the competition information preservation of each competition side into block chain;
After saving successfully, the message for allowing to take the field is returned to each competition side terminal of the quiz.
With reference to first aspect, the embodiment of the present invention is in the first implementation of first aspect, according to each competition side Identity information and stake number of elements are verified, comprising:
Obtain the available element remaining sum in the corresponding account of identity information of each competition side;
If the stake number of elements of each competition side is less than the available element remaining sum in itself account, verification passes through.
With reference to first aspect, the embodiment of the present invention is in second of implementation of first aspect, and the competition information is also Including Competition Service number of elements, verified according to the identity information of each competition side and stake number of elements, further includes:
Obtain available element remaining sum in the corresponding account of identity information of each competition side;
If the summation of the stake number of elements of each competition side and Competition Service number of elements less than in itself account can With element remaining sum, then verification passes through.
With reference to first aspect, the embodiment of the present invention is in the third implementation of first aspect, further includes:
Whether detection current time has arrived preset game time;
If not arriving game time, the prompting for not arriving fixture is sent to each competition side's terminal.
With reference to first aspect or its any one implementation, the embodiment of the present invention is in the 4th kind of realization side of first aspect In formula, after the quiz starts, the method also includes:
Each problem of the quiz is sent to each competition side's terminal in sequence;
Each competition side is counted to the answer situation of each problem, obtains the answer achievement of each competition side;
According to the answer achievement of each competition side, element clearing are carried out to each competition side.
The 4th kind of implementation with reference to first aspect, five kind implementation of the embodiment of the present invention in first aspect In, further includes: checkout result is saved in block chain.
The 4th kind of implementation with reference to first aspect, six kind implementation of the embodiment of the present invention in first aspect In, further includes: during the answer of the quiz, operation is left, operation is exited, terminates match operation if detected At least one of with settlement operations, then the prompting of improper end is sent to each competition side's terminal, the improper end It include the number of elements for needing to deduct in prompting.
The 5th kind of implementation with reference to first aspect, seven kind implementation of the embodiment of the present invention in first aspect In, further includes: according to the competition information and/or checkout result of each competition side saved in block chain, each competition side is swashed It encourages.
Second aspect, the embodiment of the invention provides a kind of quiz control devices based on block chain, comprising:
Receiving module, for receiving the competition information of each competition side terminal from quiz, the competition packet Include the identity information and stake number of elements of each competition side;
Correction verification module, for being verified according to the identity information and stake number of elements of each competition side;
First preserving module, if passed through for verifying, by the competition information preservation of each competition side into block chain;
Match control module, for allowing out after saving successfully to the return of each competition side terminal of the quiz Begin the message competed.
In conjunction with second aspect, the embodiment of the present invention is in the first implementation of second aspect, and the correction verification module is also The available element remaining sum in the corresponding account of identity information for obtaining each competition side;If the stake member prime number of each competition side Amount is less than the available element remaining sum in itself account, then verification passes through.
In conjunction with second aspect, the embodiment of the present invention is in second of implementation of second aspect, and the competition information is also Including Competition Service number of elements, the correction verification module is also used to obtain can use in the corresponding account of identity information of each competition side Element remaining sum;If the summation of the stake number of elements of each competition side and Competition Service number of elements less than in itself account can With element remaining sum, then verification passes through.
In conjunction with second aspect or its any one implementation, the embodiment of the present invention is in the third realization side of second aspect In formula, further includes:
Problem sending module, for after the quiz starts, send in sequence to each competition side's terminal described in Each problem of quiz;
Answer statistical module, for counting each competition side to the answer situation of each problem, obtain the answer of each competition side at Achievement;
Settlement module carries out element clearing to each competition side for the answer achievement according to each competition side.
In conjunction with the third implementation of second aspect, four kind implementation of the embodiment of the present invention in second aspect In, further includes: the second preserving module, for checkout result to be saved in block chain.
In conjunction with the 4th kind of implementation of second aspect, five kind implementation of the embodiment of the present invention in second aspect In, further includes:
Excitation module, for the competition information and/or checkout result according to each competition side saved in block chain, to each ginseng It is motivated match side.
The third aspect, the embodiment of the invention provides a kind of quiz control device based on block chain, described devices Function corresponding software realization can also be executed by hardware by hardware realization.The hardware or software include one A or multiple modules corresponding with above-mentioned function.
It include processor and memory in the structure of described device in a possible design, the memory is used for Storage supports described device to execute the program of the above method, the processor is configured to storing in the memory for executing Program.Described device can also include communication interface, be used for and other equipment or communication.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are based on block chain for storing Quiz control device used in computer software instructions comprising for executing program involved in the above method.
A technical solution in above-mentioned technical proposal has the following advantages that or the utility model has the advantages that during quiz, Information that the key message of match is for example taken in competition and/or checkout result storage into block chain, can prevent competition information and/or Checkout result is tampered, so that heat is open and clear, it is ensured that the safety of number of elements in the account of the side of competition mentions High each competition side participates in the enthusiasm of quiz, to improve compete participation and DAU, (Daily Active User, day live Jump number of users), bring quality product to experience for user.
Another technical solution in above-mentioned technical proposal has the following advantages that or the utility model has the advantages that allows to bet element and knot Rewards and punishments are carried out to each competition side by element when calculation, the side for winning quiz is enabled to obtain reasonable element income, Further increase the enthusiasm that each competition side participates in quiz.
Another technical solution in above-mentioned technical proposal have the following advantages that or the utility model has the advantages that based on competition information and/ Or checkout result motivates each competition side, further increases the enthusiasm that each competition side participates in quiz.
Above-mentioned general introduction is merely to illustrate that the purpose of book, it is not intended to be limited in any way.Except foregoing description Schematical aspect, except embodiment and feature, by reference to attached drawing and the following detailed description, the present invention is further Aspect, embodiment and feature, which will be, to be readily apparent that.
Detailed description of the invention
In the accompanying drawings, unless specified otherwise herein, otherwise indicate the same or similar through the identical appended drawing reference of multiple attached drawings Component or element.What these attached drawings were not necessarily to scale.It should be understood that these attached drawings depict only according to the present invention Disclosed some embodiments, and should not serve to limit the scope of the present invention.
Fig. 1 shows the flow chart of the quiz control method according to an embodiment of the present invention based on block chain.
Fig. 2 shows the examples that the page is bet in the quiz control method according to an embodiment of the present invention based on block chain Figure.
Fig. 3 shows the example that excess is reminded in the quiz control method according to an embodiment of the present invention based on block chain Figure.
Fig. 4 shows the flow chart of the quiz control method according to an embodiment of the present invention based on block chain.
Fig. 5 shows the example that time-out is reminded in the quiz control method according to an embodiment of the present invention based on block chain Figure.
Fig. 6 shows the example that the page is staked in the quiz control method according to an embodiment of the present invention based on block chain Figure.
Fig. 7 shows the example that the page is settled accounts in the quiz control method according to an embodiment of the present invention based on block chain Figure.
Fig. 8 shows in the quiz control method according to an embodiment of the present invention based on block chain and drops by the wayside prompting Exemplary diagram.
Fig. 9 shows the flow chart of the quiz control method according to an embodiment of the present invention based on block chain.
Figure 10 shows the structural block diagram of the quiz control device according to an embodiment of the present invention based on block chain.
Figure 11 shows the structural block diagram of the quiz control device according to an embodiment of the present invention based on block chain.
Figure 12 shows the structural block diagram of the quiz control device according to an embodiment of the present invention based on block chain.
Specific embodiment
Hereinafter, certain exemplary embodiments are simply just described.As one skilled in the art will recognize that Like that, without departing from the spirit or scope of the present invention, described embodiment can be modified by various different modes. Therefore, attached drawing and description are considered essentially illustrative rather than restrictive.
Fig. 1 shows the flow chart of the quiz control method according to an embodiment of the present invention based on block chain.Such as Fig. 1 institute Show, this method may comprise steps of:
Step S10, the competition information of each competition side terminal from quiz is received, the competition information includes each ginseng The identity information and stake number of elements of match side.
Step S11, it is verified according to the identity information of each competition side and stake number of elements.
If step S12, verification passes through, by the competition information preservation of each competition side into block chain.
Step S13, after saving successfully, disappear to what the return of each competition side terminal of the quiz allowed to take the field Breath.
In the problem data library of quiz, a plurality of types of topics can be stored in advance, such as multiple-choice question, letter are answered Topic, gap-filling questions, picture topic etc..Furthermore, it is possible to preset some rules of quiz, these rules can be shown in front end To user's viewing of competition side.Such as when fixture, mode of lottery, each round (and/or each field) answer number, answer Limit, rewards and punishments mode etc..Wherein, mode of lottery may include that the nil-norm bet every time, the greatest member quantity that can be bet are Account balance etc..Rewards and punishments mode may include the number of elements etc. of deduction of standing down in advance.
In a kind of example, quiz process can be divided into multiple stages: the match incipient stage, the heat stage and Match decision stage.
In the match incipient stage, each competition side of quiz can log in competition side's terminal (can abbreviation front end) and select It takes part in game, and selects the stake number of elements of this competition in the stake page as shown in Figure 2.It front end can be to server end (can abbreviation rear end) sends identity information, mode of lottery of each competition side etc. and takes in competition information, by rear end according to preset question and answer The rule of match verifies competition information.After verification passes through, one or more opponents can also be matched for competition side.? After successful match, when returning to the message for allowing to take the field to the terminal of the competition side, the information of opponent can also be returned.
In one implementation, step S11 includes:
Obtain the available element remaining sum in the corresponding account of identity information of each competition side;
If the stake number of elements of each competition side is less than the available element remaining sum in itself account, verification passes through.
For example, rear end can first forward end return the account balance of each competition side, as competition side in front end selection stake The reference of number of elements.
In one implementation, the competition information further includes Competition Service number of elements, step S11 further include:
Obtain available element remaining sum in the corresponding account of identity information of each competition side;
If the summation of the stake number of elements of each competition side and Competition Service number of elements less than in itself account can With element remaining sum, then verification passes through.
In the present embodiment, Competition Service number of elements can be preset.For example, Competition Service number of elements is absence from work without reason Take.Stake every time need to reduce miner and take 0.1ET.This stake number of elements of certain competition side cannot surpass plus the summation of miner's expense Cross the available element remaining sum in the account of the competition side.If more than, it can remind that " element is super using the pop-up of such as Fig. 3 Remaining sum value is crossed, please be re-enter ".
In one implementation, as shown in figure 4, this method further include:
Step S21, whether detection current time has arrived preset game time;
If step S22, not arriving game time, the prompting for not arriving fixture is sent to each competition side's terminal.
For example, server end can detecte the playtime that current point in time is preset quiz.If it is not, The prompting for not arriving fixture is then sent to competition side's terminal.After competition side's terminal receives prompting, it can use as shown in Figure 5 Pop-up reminds user that " game does not have started, and come on again for point late!".In addition it is also possible to be detected whether by competition side's terminal to pre- If game time, be automatically reminded to if being less than.
In the present embodiment, it is unlimited determine detection time and verify number of elements the step of execute sequence, can be according to need Seek flexible setting.Can when detecting between all pass through with the step of verification number of elements after, then execute step S12 and step S13, Quiz is allowed to start.
After various verifications pass through, the competition information cochain of this quiz can be believed the identity of competition side Breath, fixture, established wager amount, absence from work without reason expense etc. are saved in block chain.For example, being saved in block chain: 0001 question and answer ratio Match, competition side A bet 5ET, and absence from work without reason takes 0.1ET, account balance 80ET;Competition side B, bets 3ET, and absence from work without reason takes 0.1ET, account Remaining sum 80ET.
As shown in fig. 6, rear end can be returned with forward end stakes on the page.Staking on the page may include cochain state, stake member Plain number, participation state stake on state, the information such as remaining sum in field.Wherein, stake on state can indicate the cochain of this match at Function or cochain failure;Participation state can indicate match in make war at any time, prepare for war, fight terminates, participates in the states such as unsuccessfully. For example, the state that participates in is to make war at any time if staking on state as cochain success;If staking on state is to participate in cochain State is in preparing for war;If staking on state as cochain failure, state is participated in participate in unsuccessfully etc..Wherein, it clicks and " opens at any time War " can also be with pop-up prompting element use state.For example, clicking " making war at any time " if remaining sum is 0 in field, then " field is reminded in pop-up Do not have element inside, needing to stake on again can just keep the field!"
In addition, control of keeping the field can also be shown staking on the page, for example, " not having element, go to stake on " button.If It clicks the button, the page that can jump to Fig. 2 reselects stake number of elements, and executes clearing.May be used also staking on the page Control, such as " not playing, settle accounts now " button are settled accounts with display.If clicked the button, can jump to shown in Fig. 7 " my military success " page, and execute clearing.
In one implementation, as shown in figure 8, after the quiz starts, the method also includes:
Step S31, each problem of the quiz is sent to each competition side's terminal in sequence;
Step S32, each competition side is counted to the answer situation of each problem, obtains the answer achievement of each competition side;
Step S33, according to the answer achievement of each competition side, element clearing are carried out to each competition side.
After quiz starts, into the heat stage.What rear end can return each competition side with forward end uses account The identity informations such as picture, the pet name, and the problem of return topic and the contents such as answer.
Each competition side can be counted to the answer situation of each problem in front end.For example, judging correcting errors for answer, answer is calculated Time etc., the score after can having been answered with the every topic of real-time display.It can be leapt to after detecting all answers of each competition side next Topic.Further, it is also possible to maximum duration such as 10 seconds of answer be arranged, if both sides (or a side) do not have answer in 10 seconds, directly It connects and jumps next topic.
In match decision stage, according to the answer situation of each competition side and preset score strategy, available each ginseng The answer achievement of match side.For example, it is assumed that score strategy includes: 5 problems of (1) every wheel, and preceding four topics proper integral, last topic integral It is double.(2) the normal scoring algorithm of each topic are as follows: (10- practical used time)/10 × 20, score integer are shown.Each competition side is every The Reaction time and correctness of one topic bring these score strategies, available final answer achievement into.
In clearing, each competition side can be integrated in the answer achievement of this competition each round, determine the defeated of this competition It wins, to calculate this income.It is of course also possible to uniformly be tied a specific time for example daily 24:00 is arranged It calculates.The page of checkout result is referring to Fig. 7.
In one implementation, as shown in figure 8, this method further include:
Step S34, checkout result is saved in block chain.
The variation that element settles accounts number of elements in available each competition side's account is carried out every time, checkout result can be protected It is stored in block chain.For example, if settling accounts primary, the competition side that will include in the checkout result of every game to every game This income be saved in block chain.Such as: 0001 quiz, competition side A win 3ET, account balance 83ET;Competition The square defeated 3ET of B, account balance 76.9ET.
In the present embodiment, match can be both sides, be also possible to multi-party.Every time again bet can cochain again, often Minor element settles accounts cochain.
In one implementation, as shown in figure 8, this method further include:
Step S35, during the answer of the quiz, operation is left, operation is exited, terminates ratio if detected At least one of match operation and settlement operations, then send the prompting of improper end to each competition side's terminal, described improper It include the number of elements for needing to deduct in the prompting of end.
For example, with reference to Fig. 9, during answer, if competition side clicks return push-button in front end, rear end is able to detect To the operation of improper end.Rear end can return to the prompting of improper end with forward end, show improper end in front end It reminds.For example, pop-up prompts: " dropping by the wayside can lose the match and element ".Control of keeping the field can also be shown in the page Part for example " returns to competition field " button and abandon match control such as " not poor money, I will walk " button.In addition it is also possible to be existed by front end It is automatically reminded to when detecting the operation of improper end.
In one implementation, as shown in figure 8, this method further include:
Step S36, according to the competition information and/or checkout result of each competition side saved in block chain, to each competition side It is motivated.
Read the competition information and/or checkout result of each competition side from block chain, count each competition side competition number, Victory or defeat ratio wins number of elements etc., and reference statistical result motivates each competition side.For example, every participation bout, swashs Encourage certain element or integral (element can be exchanged).For another example, 10 elements are often won, certain element is motivated.In this way, can be with Further increase competition enthusiasm.
During quiz, information that the key message of match is for example taken in competition and/or checkout result are stored to block In chain, competition information and/or checkout result can be prevented to be tampered, so that heat is open and clear, it is ensured that competition The safety of number of elements in the account of side improves the enthusiasm that each competition side participates in quiz, to improve match participation And DAU, bring quality product to experience for user.
Rewards and punishments are carried out to each competition side by element when allowing to bet element and settling accounts, so that winning a side of quiz Reasonable element income can be obtained, the enthusiasm that each competition side participates in quiz is further increased.
Further, based on competition information and/or checkout result each competition side is motivated, for active user, Answer horizontal high user etc. can give additional reward, further increase the enthusiasm that each competition side participates in quiz.
Figure 10 shows the structural block diagram of the quiz control device according to an embodiment of the present invention based on block chain.The dress It sets and may include:
Receiving module 60, for receiving the competition information of each competition side terminal from quiz, the competition information Identity information and stake number of elements including each competition side;
Correction verification module 61, for being verified according to the identity information and stake number of elements of each competition side;
First preserving module 62, if passed through for verifying, by the competition information preservation of each competition side into block chain;
Match control module 63, for after saving successfully, returning to each competition side terminal of the quiz to allow The message to take the field.
In one implementation, the corresponding account of identity information that the correction verification module 61 is also used to obtain each competition side In available element remaining sum;If the stake number of elements of each competition side is less than the available element remaining sum in itself account, school It tests and passes through.
In one implementation, the competition information further includes Competition Service number of elements, and the correction verification module 61 is also Available element remaining sum in the corresponding account of identity information for obtaining each competition side;If the stake number of elements of each competition side It is less than the available element remaining sum in itself account with the summation of Competition Service number of elements, then verification passes through.
In one implementation, as shown in figure 11, the device further include:
Time detection module 71, for detecting whether current time has arrived preset game time;
Time alarm module 72, if not arriving match to the transmission of each competition side's terminal for not arriving game time The prompting of time.
In one implementation, as shown in figure 11, the device further include:
Problem sending module 73, for sending institute to each competition side's terminal in sequence after the quiz starts State each problem of quiz;
Answer statistical module 74 obtains the answer of each competition side for counting each competition side to the answer situation of each problem Achievement;
Settlement module 75 carries out element clearing to each competition side for the answer achievement according to each competition side.
In one implementation, as shown in figure 11, the device further include:
Second preserving module 76, for checkout result to be saved in block chain.
In one implementation, as shown in figure 11, the device further include:
Terminate reminding module 77, for operation being left if detected, being exited during the answer of the quiz Operation terminates compete at least one of operation and settlement operations, then the prompting of improper end is sent to each competition side's terminal, It include the number of elements for needing to deduct in the prompting of the improper end.
In one implementation, as shown in figure 11, the device further include:
Excitation module 78, for the competition information and/or checkout result according to each competition side saved in block chain, to each It is motivated competition side.
The function of each module in each device of the embodiment of the present invention may refer to the corresponding description in the above method, herein not It repeats again.
Figure 12 shows the structural block diagram of the quiz control device according to an embodiment of the present invention based on block chain.Such as figure Shown in 12, which includes: memory 910 and processor 920, and being stored in memory 910 can run on processor 920 Computer program.The processor 920 realizes the asking based on block chain in above-described embodiment when executing the computer program Answer match control method.The quantity of the memory 910 and processor 920 can be one or more.
The device further include:
Communication interface 930 carries out data interaction for being communicated with external device.
Memory 910 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non- Volatile memory), a for example, at least magnetic disk storage.
If memory 910, processor 920 and the independent realization of communication interface 930, memory 910,920 and of processor Communication interface 930 can be connected with each other by bus and complete mutual communication.The bus can be Industry Standard Architecture Structure (ISA, Industry Standard Architecture) bus, external equipment interconnection (PCI, Peripheral Component) bus or extended industry-standard architecture (EISA, Extended Industry Standard Component) bus etc..The bus can be divided into address bus, data/address bus, control bus etc..For convenient for expression, Figure 12 In only indicated with a thick line, it is not intended that an only bus or a type of bus.
Optionally, in specific implementation, if memory 910, processor 920 and communication interface 930 are integrated in one piece of core On piece, then memory 910, processor 920 and communication interface 930 can complete mutual communication by internal interface.
The embodiment of the invention provides a kind of computer readable storage mediums, are stored with computer program, the program quilt Processor realizes any method in above-described embodiment when executing.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.Moreover, particular features, structures, materials, or characteristics described It may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this The technical staff in field can be by the spy of different embodiments or examples described in this specification and different embodiments or examples Sign is combined.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic." first " is defined as a result, the feature of " second " can be expressed or hidden It include at least one this feature containing ground.In the description of the present invention, the meaning of " plurality " is two or more, unless otherwise Clear specific restriction.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable read-only memory (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other suitable Jie Matter, because can then be edited, be interpreted or when necessary with other for example by carrying out optical scanner to paper or other media Suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In readable storage medium storing program for executing.The storage medium can be read-only memory, disk or CD etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in its various change or replacement, These should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with the guarantor of the claim It protects subject to range.

Claims (16)

1. a kind of quiz control method based on block chain characterized by comprising
The competition information of each competition side terminal from quiz is received, the competition information includes the identity letter of each competition side Breath and stake number of elements;
It is verified according to the identity information of each competition side and stake number of elements;
If verification passes through, by the competition information preservation of each competition side into block chain;
After saving successfully, the message for allowing to take the field is returned to each competition side terminal of the quiz.
2. the method according to claim 1, wherein according to the identity information of each competition side and stake number of elements It is verified, comprising:
Obtain the available element remaining sum in the corresponding account of identity information of each competition side;
If the stake number of elements of each competition side is less than the available element remaining sum in itself account, verification passes through.
3. the method according to claim 1, wherein the competition information further includes Competition Service number of elements, It is verified according to the identity information of each competition side and stake number of elements, further includes:
Obtain available element remaining sum in the corresponding account of identity information of each competition side;
If the stake number of elements of each competition side and the summation of Competition Service number of elements are less than the available member in itself account Plain remaining sum, then verification passes through.
4. the method according to claim 1, wherein further include:
Whether detection current time has arrived preset game time;
If not arriving game time, the prompting for not arriving fixture is sent to each competition side's terminal.
5. method according to claim 1 to 4, which is characterized in that described after the quiz starts Method further include:
Each problem of the quiz is sent to each competition side's terminal in sequence;
Each competition side is counted to the answer situation of each problem, obtains the answer achievement of each competition side;
According to the answer achievement of each competition side, element clearing are carried out to each competition side.
6. according to the method described in claim 5, it is characterized by further comprising:
Checkout result is saved in block chain.
7. according to the method described in claim 5, it is characterized by further comprising:
During the answer of the quiz, operation is left, operation is exited, terminates match operation and clearing if detected At least one of operation, then send the prompting of improper end to each competition side's terminal, in the prompting of the improper end Including the number of elements for needing to deduct.
8. according to the method described in claim 6, it is characterized by further comprising:
According to the competition information and/or checkout result of each competition side saved in block chain, each competition side is motivated.
9. a kind of quiz control device based on block chain characterized by comprising
Receiving module, for receiving the competition information of each competition side terminal from quiz, the competition information includes each The identity information and stake number of elements of competition side;
Correction verification module, for being verified according to the identity information and stake number of elements of each competition side;
First preserving module, if passed through for verifying, by the competition information preservation of each competition side into block chain;
Match control module, for allowing to start to compare to the return of each competition side terminal of the quiz after saving successfully The message of match.
10. device according to claim 9, which is characterized in that the correction verification module is also used to obtain the body of each competition side Available element remaining sum in the corresponding account of part information;If the stake number of elements of each competition side less than in itself account can With element remaining sum, then verification passes through.
11. device according to claim 9, which is characterized in that the competition information further includes Competition Service number of elements, The correction verification module is also used to obtain available element remaining sum in the corresponding account of identity information of each competition side;If each competition side Stake number of elements and the summation of Competition Service number of elements be less than the available element remaining sum in itself account, then verification is logical It crosses.
12. the device according to any one of claim 9 to 11, which is characterized in that further include:
Problem sending module, for sending the question and answer to each competition side's terminal in sequence after the quiz starts Each problem of match;
Answer statistical module obtains the answer achievement of each competition side for counting each competition side to the answer situation of each problem;
Settlement module carries out element clearing to each competition side for the answer achievement according to each competition side.
13. device according to claim 12, which is characterized in that further include:
Second preserving module, for checkout result to be saved in block chain.
14. device according to claim 13, which is characterized in that further include:
Excitation module, for the competition information and/or checkout result according to each competition side saved in block chain, to each competition side It is motivated.
15. a kind of quiz control device based on block chain characterized by comprising
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors Realize such as method described in any item of the claim 1 to 8.
16. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the program is held by processor Such as method described in any item of the claim 1 to 8 is realized when row.
CN201810980284.3A 2018-08-27 2018-08-27 Block chain-based question-answer game control method and device Active CN109011581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810980284.3A CN109011581B (en) 2018-08-27 2018-08-27 Block chain-based question-answer game control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810980284.3A CN109011581B (en) 2018-08-27 2018-08-27 Block chain-based question-answer game control method and device

Publications (2)

Publication Number Publication Date
CN109011581A true CN109011581A (en) 2018-12-18
CN109011581B CN109011581B (en) 2021-10-08

Family

ID=64625110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810980284.3A Active CN109011581B (en) 2018-08-27 2018-08-27 Block chain-based question-answer game control method and device

Country Status (1)

Country Link
CN (1) CN109011581B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427476A (en) * 2019-08-07 2019-11-08 北京艾摩瑞策科技有限公司 It is related to the knowledge question associated data processing method and its device of block chain
CN111240544A (en) * 2020-01-06 2020-06-05 腾讯科技(深圳)有限公司 Data processing method, device and equipment for virtual scene and storage medium
CN111325448A (en) * 2020-01-22 2020-06-23 山东爱城市网信息技术有限公司 Method, equipment and medium for answering question and answer activity based on block chain

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1373444A (en) * 2001-02-28 2002-10-09 陈德怀 Remotely controlled recognizable interactive education system
CN101901404A (en) * 2009-05-27 2010-12-01 北京正辰科技发展有限责任公司 Network competition platform
CN102375927A (en) * 2011-07-22 2012-03-14 深圳市财富万方信息技术有限公司 Network online knowledge and skill competition system and realization method thereof
CN106504174A (en) * 2016-09-27 2017-03-15 布比(北京)网络技术有限公司 Lottery industry publishing system and device based on block chain
US20170214675A1 (en) * 2016-01-26 2017-07-27 Bank Of America Corporation System for tracking and validation of an entity in a process data network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1373444A (en) * 2001-02-28 2002-10-09 陈德怀 Remotely controlled recognizable interactive education system
CN101901404A (en) * 2009-05-27 2010-12-01 北京正辰科技发展有限责任公司 Network competition platform
CN102375927A (en) * 2011-07-22 2012-03-14 深圳市财富万方信息技术有限公司 Network online knowledge and skill competition system and realization method thereof
US20170214675A1 (en) * 2016-01-26 2017-07-27 Bank Of America Corporation System for tracking and validation of an entity in a process data network
CN106504174A (en) * 2016-09-27 2017-03-15 布比(北京)网络技术有限公司 Lottery industry publishing system and device based on block chain

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427476A (en) * 2019-08-07 2019-11-08 北京艾摩瑞策科技有限公司 It is related to the knowledge question associated data processing method and its device of block chain
CN111240544A (en) * 2020-01-06 2020-06-05 腾讯科技(深圳)有限公司 Data processing method, device and equipment for virtual scene and storage medium
CN111240544B (en) * 2020-01-06 2020-11-24 腾讯科技(深圳)有限公司 Data processing method, device and equipment for virtual scene and storage medium
CN111325448A (en) * 2020-01-22 2020-06-23 山东爱城市网信息技术有限公司 Method, equipment and medium for answering question and answer activity based on block chain

Also Published As

Publication number Publication date
CN109011581B (en) 2021-10-08

Similar Documents

Publication Publication Date Title
US11551515B2 (en) Peer-to-peer wagering platform
US8257165B2 (en) Amusement devices and games including means for processing electronic data where ultimate outcome of the game is dependent on relative odds of a card combination and/or where chance is a factor
US9251644B2 (en) Amusement devices and games including means for processing electronic data where users can change selections
US8469785B2 (en) Amusement devices and games including means for processing electronic data where ultimate outcome of the game is dependent on relative odds of a card combination and/or where chance is a factor: wagering on hands of cards
CN109011581A (en) Quiz control method and device based on block chain
US20140128149A1 (en) Method for Providing a Fantasy Sports-based Competition Website
JP6679031B2 (en) Gambling dependence verification method, gambling dependence verification server, user terminal, information processing device, gambling dependence verification program, and gambling dependence verification system
US20120064957A1 (en) Game method
US20210264740A1 (en) Bingo game method and system having outcomes determined by independent game events
US20140038684A1 (en) Gaming system and method
WO2004063848A2 (en) Game and method for interactive television
US5026072A (en) Method of playing a pick-a-card game
Teeselink From Mice to Men: Field Studies in Behavioral Economics
US20080108403A1 (en) Liar's Poker online
WO2022221544A1 (en) System and method for integrating human-only readable media into game play
KR20230155251A (en) Method of card game
US8317583B2 (en) Card game
McKinnon et al. Performance Normativity
RU2250793C2 (en) Gaming method, mainly using questions and answers for remote users
Kan Year this Degree Granted: 2007
Marketti BLACKJACK'd
WO1998023341A1 (en) Board game
WO2004060511A1 (en) Game and method for electronic interactive media

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
GR01 Patent grant
GR01 Patent grant