CN109597835B - Sports resource interaction method and device based on block chain - Google Patents
Sports resource interaction method and device based on block chain Download PDFInfo
- Publication number
- CN109597835B CN109597835B CN201811258131.4A CN201811258131A CN109597835B CN 109597835 B CN109597835 B CN 109597835B CN 201811258131 A CN201811258131 A CN 201811258131A CN 109597835 B CN109597835 B CN 109597835B
- Authority
- CN
- China
- Prior art keywords
- information
- sports
- sports resource
- interaction
- resource
- 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.)
- Active
Links
- 230000003993 interaction Effects 0.000 title claims abstract description 178
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000012795 verification Methods 0.000 claims abstract description 24
- 230000002452 interceptive effect Effects 0.000 claims description 93
- 230000004044 response Effects 0.000 claims description 58
- 238000004590 computer program Methods 0.000 claims description 21
- 238000012790 confirmation Methods 0.000 claims description 14
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The invention discloses a sports resource interaction method and device based on a blockchain. The sports resource interaction method based on the block chain comprises the following steps: acquiring a sports resource query instruction input by a user; inquiring on a blockchain according to the sports resource inquiry command, and obtaining target sports resource information through an inquiry result; acquiring a sports resource interaction instruction which is input by a user and related to target sports resource information; uploading interaction information to a blockchain according to the sports resource interaction instruction; and verifying the interaction information, if the verification is passed, storing the interaction information on the block chain, and broadcasting the interaction information through the block chain. The physical resource interaction method based on the block chain can improve the reliability of physical resource information and strengthen the interactivity among the physical resource information.
Description
[ field of technology ]
The invention relates to the field of blockchain application, in particular to a blockchain-based sports resource interaction method and device.
[ background Art ]
At present, the problems of information asymmetry, information opacity and information falsification exist among sports related resources such as sports teams, sports fans, sports sponsors, stadiums, sports goods sales shops and the like, in addition, people generally know and acquire sports resource information through own social circles, the relationship among the sports resource information is not tight, and the interactivity is poor. This makes it difficult for people to obtain accurate, reliable and quality sports resource information.
[ invention ]
In view of the above, the embodiment of the invention provides a sports resource interaction method and device based on a blockchain, which are used for solving the problems of unreliable information and poor interactivity of the conventional sports resource.
To achieve the above object, according to one aspect of the present invention, there is provided a blockchain-based sports resource interaction method, the method including:
acquiring a sports resource query instruction input by a user;
inquiring on a blockchain according to the sports resource inquiry command, and obtaining target sports resource information through an inquiry result;
acquiring a sports resource interaction instruction which is input by a user and related to the target sports resource information;
uploading interaction information to the blockchain according to the sports resource interaction instruction;
and verifying the interaction information, if the verification is passed, storing the interaction information on the block chain, and broadcasting the interaction information through the block chain.
Further, before the step of acquiring the sports resource query instruction input by the user, the method further comprises:
acquiring a sports resource uploading instruction input by a user;
acquiring corresponding sports resource information according to the sports resource uploading instruction;
and verifying the sports resource information, and if the sports resource information passes the verification, storing the sports resource information on the blockchain.
Further, the sports resource query instruction includes a sports resource query field, the step of querying on a blockchain according to the sports resource query instruction, and obtaining target sports resource information through a query result includes:
performing fuzzy query on the blockchain according to the sports resource query field to obtain sports resource information matched with the sports resource query field;
and obtaining the target sports resource information from the sports resource information according to a sports resource information selection instruction input by a user.
Further, after the broadcasting of the interaction information through the blockchain, the method further includes:
acquiring an interaction information inquiry instruction input by a user, and inquiring on the blockchain according to the interaction information inquiry instruction to obtain target interaction information;
and acquiring a response interaction instruction which is input by a user and related to the target interaction information, and storing response information related to the target interaction information on the blockchain according to the response interaction instruction, wherein the response interaction instruction is an instruction for responding to the target interaction information, and the response information is information for responding to the target interaction information.
Further, after the storing of the response information on the blockchain according to the response interaction instruction, the method further comprises:
and if the blockchain does not receive all the confirmation information of the user related to the response information within the preset time, storing the default record of the user without uploading the confirmation information on the blockchain.
To achieve the above object, according to one aspect of the present invention, there is provided a sports resource interaction device based on a blockchain, the device including:
the sports resource inquiry instruction acquisition module is used for acquiring sports resource inquiry instructions input by a user;
the target sports resource information acquisition module is used for inquiring on the blockchain according to the sports resource inquiry command, and obtaining target sports resource information through an inquiry result;
the sports resource interaction instruction acquisition module is used for acquiring sports resource interaction instructions related to the target sports resource information input by a user;
the interactive information uploading module is used for uploading interactive information to the block chain according to the sports resource interactive instruction;
and the interactive information broadcasting module is used for verifying the interactive information, storing the interactive information on the block chain if the verification is passed, and broadcasting the interactive information through the block chain.
Further, the apparatus further comprises:
the sports resource uploading instruction acquisition unit is used for acquiring sports resource uploading instructions input by a user;
a sports resource information acquisition unit for acquiring corresponding sports resource information according to the sports resource uploading instruction;
and the sports resource information verification unit is used for verifying the sports resource information, and if the sports resource information passes the verification, the sports resource information is stored on the block chain.
Further, the target sports resource information acquisition module includes:
the sports resource information acquisition unit is used for carrying out fuzzy query on the blockchain according to the sports resource query field to obtain sports resource information matched with the sports resource query field;
the target sports resource information acquisition unit is used for acquiring the target sports resource information from the sports resource information according to a sports resource information selection instruction input by a user.
To achieve the above object, according to one aspect of the present invention, there is provided a computer readable storage medium including a stored computer program, wherein the computer readable storage medium is controlled to execute the above-mentioned blockchain-based sports resource interaction method by a device in which the computer program is located when the computer program is run.
To achieve the above object, according to one aspect of the present invention, there is provided a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the above-mentioned blockchain-based sports resource interaction method when the computer program is executed.
In the embodiment of the invention, firstly, the sports resource inquiry instruction input by the user is acquired on the sports resource interaction platform, the platform is used for inquiring on the block chain, and the target sports resource information is obtained according to the inquiry result, so that the accuracy and the reliability of the target sports resource information can be ensured by utilizing the characteristic that the data of the block chain is not tamperable, and the information acquired by the user is real and effective. And then the sports resource interaction platform acquires sports resource interaction instructions which are input by a user and related to the target sports resource information, and uploads the interaction information to the blockchain according to the sports resource interaction instructions, so that the user can make corresponding interaction according to the acquired target sports resource information, and the interaction is realized in a form of uploading the interaction information so as to add the interaction information related to the target sports resource information on the blockchain. Finally, the uploaded interactive information is verified, if the verification is passed, the interactive information is stored on the blockchain, and the interactive information is broadcasted through the blockchain, so that the interactive information can be verified by utilizing the characteristic that the data of the blockchain is not tamperable, the accuracy of the uploaded interactive information is ensured, the uploaded interactive information is ensured to be real and effective, and the verified interactive information can be broadcasted by utilizing the characteristic that the data of the blockchain is disclosed, so that a user can make more interactions related to sports resource information according to the interactive information.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for blockchain-based sports resource interaction in accordance with an embodiment of the present invention;
FIG. 2 is a schematic diagram of a sports resource interaction device based on a blockchain in an embodiment of the invention.
[ detailed description ] of the invention
For a better understanding of the technical solution of the present invention, the following detailed description of the embodiments of the present invention refers to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one relationship describing the association of the associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
It should be understood that although the terms first, second, third, etc. may be used to describe the preset ranges, etc. in the embodiments of the present invention, these preset ranges should not be limited to these terms. These terms are only used to distinguish one preset range from another. For example, a first preset range may also be referred to as a second preset range, and similarly, a second preset range may also be referred to as a first preset range without departing from the scope of embodiments of the present invention.
Depending on the context, the word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to detection". Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
Fig. 1 is a flowchart of a sports resource interaction method based on a blockchain in the present embodiment. The sports resource interaction method based on the blockchain can be applied to a system, a platform or an application program, is used for realizing the function of providing reliable sports resources and resource interaction, and can be particularly applied to a sports resource interaction platform installed on computer equipment. The computer device is a device capable of performing man-machine interaction with a user, and comprises, but is not limited to, a computer, a smart phone, a tablet and the like. As shown in fig. 1, the method for interaction of sports resources based on blockchain includes the following steps:
s10: and acquiring a sports resource query instruction input by a user.
Specifically, the sports resource interaction platform may receive an operation instruction related to a blockchain input by a user, where the operation instruction includes a sports resource query instruction, and the sports resource interaction platform obtains a sports resource query instruction input by the user, where the sports resource query instruction is used to query a sports resource on the blockchain.
S20: and inquiring on the blockchain according to the sports resource inquiry command, and obtaining target sports resource information through an inquiry result.
Here, the sports resource information refers to information related to sports resources, such as sports team, sports fan, sports sponsor, stadium, and sports goods sales shop, etc., related to sports. In an embodiment, the corresponding sports resource information can be queried and obtained on the blockchain according to the sports resource query instruction, and the target sports resource information is obtained from the sports resource information.
S30: and acquiring a sports resource interaction instruction which is input by a user and related to the target sports resource information.
S40: and uploading interaction information to the blockchain according to the sports resource interaction instruction.
The interactive information uploaded by the sports resource interaction instruction refers to information related to target sports resource information for interaction, for example, when the sports resource information is a sports sponsor, the interactive information can be a cooperation request initiated to the sports sponsor; when the sports resource information is a stadium, the interactive information may be a request for booking the stadium; when the sports resource information is a sports team, the interactive information may be a request to initiate a challenge. The interactive information is uploaded to the blockchain, so that the interaction of sports resource information by a user is facilitated, and the real effectiveness of the interactive information is effectively ensured due to the fact that the interactive information is carried out on the blockchain.
S50: and verifying the interaction information, if the verification is passed, storing the interaction information on the block chain, and broadcasting the interaction information through the block chain.
It can be appreciated that the interactive information is disclosed, and any user can obtain all the interactive information on the blockchain, so that more interactive behaviors related to the sports resource information can be made according to the interactive information.
In the scheme, firstly, a sports resource query instruction input by a user is acquired on a sports resource interaction platform, the platform is used for querying on a blockchain, and target sports resource information is obtained according to the query result, so that the accuracy and reliability of the target sports resource information can be ensured by utilizing the characteristic that the data of the blockchain is not tamperable, and the information acquired by the user is real and effective. And then the sports resource interaction platform acquires sports resource interaction instructions which are input by a user and related to the target sports resource information, and uploads the interaction information to the blockchain according to the sports resource interaction instructions, so that the user can make corresponding interaction according to the acquired target sports resource information, and the interaction is realized in a form of uploading the interaction information so as to add the interaction information related to the target sports resource information on the blockchain. Finally, the uploaded interactive information is verified, if the verification is passed, the interactive information is stored on the blockchain, and the interactive information is broadcasted through the blockchain, so that the interactive information can be verified by utilizing the characteristic that the data of the blockchain is not tamperable, the accuracy of the uploaded interactive information is ensured, the uploaded interactive information is ensured to be real and effective, and the verified interactive information can be broadcasted by utilizing the characteristic that the data of the blockchain is disclosed, so that a user can make more interactions related to sports resource information according to the interactive information.
Further, before S10, that is, before the sports resource query instruction input by the user is acquired, the method further includes: acquiring a sports resource uploading instruction input by a user; acquiring corresponding sports resource information according to the sports resource uploading instruction; and verifying the sports resource information, and if the sports resource information passes the verification, storing the sports resource information on a blockchain. The accuracy of the sports resource information is judged by utilizing the characteristic that the blockchain data cannot be tampered, the aim of uploading the reliable sports resource information to the blockchain through the sports resource interaction platform is achieved, and the fact that the sports resource information queried by a user through the sports resource interaction platform is accurate and reliable can be guaranteed.
Further, the sports resource query instruction includes a sports resource query field, and in step S20, includes: fuzzy query is carried out on the blockchain according to the sports resource query field, so that sports resource information matched with the sports resource query field is obtained; and obtaining target sports resource information from the sports resource information according to the sports resource information selection instruction input by the user. The fuzzy query mode is adopted, so that the method is more flexible, all sports resource information conforming to the query field can be queried, the method is not limited to a specific sports resource information, and a user can select more. After performing the fuzzy query to obtain the sports resource information matched with the sports resource query field, the user can select the required sports resource information from the sports resources.
Further, after step S50, i.e. after broadcasting the interactive information through the blockchain, the method further includes: acquiring an interaction information inquiry command input by a user, and inquiring on a blockchain according to the interaction information inquiry command to obtain target interaction information; and acquiring a response interaction instruction which is input by a user and related to the target interaction information, and storing response information related to the target interaction information on a blockchain according to the response interaction instruction, wherein the response interaction instruction is an instruction for responding to the target interaction information, and the response information is information for responding to the target interaction information.
Specifically, the responsible person user a of the sports team a inquires about the sports team B on the platform at first, and initiates a competition invitation to the sports team B, wherein the competition invitation may further include remark information such as a competition place, a competition time, a competition venue, and the like. The responsible person user B of the sports team B inputs an interactive information inquiry command on the platform to inquire all interactive information related to the inquiry field, wherein the interactive information comprises the interactive information related to the user B (namely, the competition invitation initiated by the user A to the sports team B), if the user B needs to receive the competition invitation, the relevant response interactive command is input on the platform, the target interactive information of the competition invitation is responded, and the response information of the competition invitation received by the user B is stored in the blockchain according to the response interactive command.
Further, after storing the response information on the blockchain according to the response interaction instruction, the method further comprises: if the blockchain does not receive all the confirmation information of the user related to the response information within the preset time, the default record of the user without uploading the confirmation information is stored in the blockchain. Particularly, when the user has the condition of default, the default records of the user without uploading the confirmation information can be stored on the blockchain, and punishment operations such as credit deduction, account closing and stopping are properly performed, so that the sports resources can be closely related through the sports resource interaction platform, the condition that the sports resources are not matched due to artificial factors is avoided, the utilization rate of the sports resource information can be improved, and the interactivity among the sports resource information is enhanced.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
The embodiment of the invention provides a sports resource interaction device based on a block chain, which is used for executing the sports resource interaction method based on the block chain, as shown in fig. 2, and comprises the following steps: the system comprises a sports resource query instruction acquisition module 10, a target sports resource information acquisition module 20, a sports resource interaction instruction acquisition module 30, an interaction information uploading module 40 and an interaction information broadcasting module 50.
And the sports resource query instruction acquisition module 10 is used for acquiring sports resource query instructions input by a user.
Specifically, the sports resource interaction platform may receive an operation instruction related to a blockchain input by a user, where the operation instruction includes a sports resource query instruction, and the sports resource interaction platform obtains a sports resource query instruction input by the user, where the sports resource query instruction is used to query a sports resource on the blockchain.
The target sports resource information obtaining module 20 is configured to query on the blockchain according to the sports resource query instruction, and obtain target sports resource information according to the query result.
Here, the sports resource information refers to information related to sports resources, such as sports team, sports fan, sports sponsor, stadium, and sports goods sales shop, etc., related to sports. In an embodiment, the corresponding sports resource information can be queried and obtained on the blockchain according to the sports resource query instruction, and the target sports resource information is obtained from the sports resource information.
The sports resource interaction instruction obtaining module 30 is configured to obtain a sports resource interaction instruction related to the target sports resource information, which is input by a user.
The interactive information uploading module 40 is configured to upload interactive information to the blockchain according to the sports resource interactive instruction.
The interactive information uploaded by the sports resource interaction instruction refers to information related to target sports resource information for interaction, for example, when the sports resource information is a sports sponsor, the interactive information can be a cooperation request initiated to the sports sponsor; when the sports resource information is a stadium, the interactive information may be a request for booking the stadium; when the sports resource information is a sports team, the interactive information may be a request to initiate a challenge. The interactive information is uploaded to the blockchain, so that the interaction of sports resource information by a user is facilitated, and the real effectiveness of the interactive information is effectively ensured due to the fact that the interactive information is carried out on the blockchain.
The interactive information broadcasting module 50 is used for verifying the interactive information, and if the verification is passed, the interactive information is stored on the blockchain and is broadcasted through the blockchain.
It will be appreciated that the interactive information is disclosed, and any user may obtain all the interactive information on the blockchain, and may perform more interactive actions related to the sports resource information according to the interactive information.
In the scheme, firstly, a sports resource query instruction input by a user is acquired on a sports resource interaction platform, the platform is used for querying on a blockchain, and target sports resource information is obtained according to the query result, so that the accuracy and reliability of the target sports resource information can be ensured by utilizing the characteristic that the data of the blockchain is not tamperable, and the information acquired by the user is real and effective. And then the sports resource interaction platform acquires sports resource interaction instructions which are input by a user and related to the target sports resource information, and uploads the interaction information to the blockchain according to the sports resource interaction instructions, so that the user can make corresponding interaction according to the acquired target sports resource information, and the interaction is realized in a form of uploading the interaction information so as to add the interaction information related to the target sports resource information on the blockchain. Finally, the uploaded interactive information is verified, if the verification is passed, the interactive information is stored on the blockchain, and the interactive information is broadcasted through the blockchain, so that the interactive information can be verified by utilizing the characteristic that the data of the blockchain is not tamperable, the accuracy of the uploaded interactive information is ensured, the uploaded interactive information is ensured to be real and effective, and the verified interactive information can be broadcasted by utilizing the characteristic that the data of the blockchain is disclosed, so that a user can make more interactions related to sports resource information according to the interactive information.
Optionally, the sports resource interaction device based on the blockchain further comprises a sports resource uploading instruction acquisition unit, a sports resource information acquisition unit and a sports resource information verification unit.
And the sports resource uploading instruction acquisition unit is used for acquiring sports resource uploading instructions input by the user.
And the sports resource information acquisition unit is used for acquiring corresponding sports resource information according to the sports resource uploading instruction.
And the sports resource information verification unit is used for verifying the sports resource information, and if the sports resource information passes the verification, the sports resource information is stored on the blockchain.
The accuracy of the sports resource information is judged by utilizing the characteristic that the blockchain data cannot be tampered, the aim of uploading the reliable sports resource information to the blockchain through the sports resource interaction platform is achieved, and the fact that the sports resource information queried by a user through the sports resource interaction platform is accurate and reliable can be guaranteed.
Alternatively, the target sports resource information acquisition module 20 includes a sports resource information acquisition unit and a target sports resource information acquisition unit.
And the sports resource information acquisition unit is used for carrying out fuzzy query on the blockchain according to the sports resource query field to obtain sports resource information matched with the sports resource query field.
The target sports resource information acquisition unit is used for acquiring target sports resource information from sports resource information according to sports resource information selection instructions input by a user.
The fuzzy query mode is adopted, so that the method is more flexible, all sports resource information conforming to the query field can be queried, the method is not limited to a specific sports resource information, and a user can select more. After performing the fuzzy query to obtain the sports resource information matched with the sports resource query field, the user can select the required sports resource information from the sports resources.
Optionally, the sports resource interaction device based on the blockchain further comprises a target interaction information acquisition unit and a response information storage unit.
The target interactive information acquisition unit is used for acquiring an interactive information inquiry instruction input by a user and inquiring on the blockchain according to the interactive information inquiry instruction to obtain target interactive information.
And the response information storage unit is used for acquiring a response interaction instruction which is input by a user and related to the target interaction information, and storing the response information related to the target interaction information on the blockchain according to the response interaction instruction, wherein the response interaction instruction is an instruction for responding to the target interaction information, and the response information is information for responding to the target interaction information.
Specifically, the responsible person user a of the sports team a inquires about the sports team B on the platform at first, and initiates a competition invitation to the sports team B, wherein the competition invitation may further include remark information such as a competition place, a competition time, a competition venue, and the like. The responsible person user B of the sports team B inputs an interactive information inquiry command on the platform to inquire all interactive information related to the inquiry field, wherein the interactive information comprises the interactive information related to the user B (namely, the competition invitation initiated by the user A to the sports team B), if the user B needs to receive the competition invitation, the relevant response interactive command is input on the platform, the target interactive information of the competition invitation is responded, and the response information of the competition invitation received by the user B is stored in the blockchain according to the response interactive command.
Optionally, the sports resource interaction device based on the blockchain further comprises a default unit, configured to store, if the blockchain does not receive all confirmation information of the user related to the response information within a preset time, a default record of the user who does not upload the confirmation information on the blockchain.
Particularly, when the user has the condition of default, the default records of the user without uploading the confirmation information can be stored on the blockchain, and punishment operations such as credit deduction, account closing and stopping are properly performed, so that the sports resources can be closely related through the sports resource interaction platform, the condition that the sports resources are not matched due to artificial factors is avoided, the utilization rate of the sports resource information can be improved, and the interactivity among the sports resource information is enhanced.
The embodiment of the invention provides a computer readable storage medium, which comprises a computer program, wherein the computer program controls a device where the computer readable storage medium is located to execute the following steps:
and acquiring a sports resource query instruction input by a user.
And inquiring on the blockchain according to the sports resource inquiry command, and obtaining target sports resource information through an inquiry result.
And acquiring a sports resource interaction instruction which is input by a user and related to the target sports resource information.
And uploading interaction information to the blockchain according to the sports resource interaction instruction.
And verifying the interaction information, if the verification is passed, storing the interaction information on the block chain, and broadcasting the interaction information through the block chain.
Optionally, the apparatus controlling the computer readable storage medium when the computer program is run further performs the steps of: before acquiring a sports resource query instruction input by a user, acquiring a sports resource uploading instruction input by the user; acquiring corresponding sports resource information according to the sports resource uploading instruction; and verifying the sports resource information, and if the sports resource information passes the verification, storing the sports resource information on a blockchain.
Optionally, the apparatus controlling the computer readable storage medium when the computer program is run further performs the steps of: fuzzy query is carried out on the blockchain according to the sports resource query field, so that sports resource information matched with the sports resource query field is obtained; and obtaining target sports resource information from the sports resource information according to the sports resource information selection instruction input by the user.
Optionally, the apparatus controlling the computer readable storage medium when the computer program is run further performs the steps of: after broadcasting the interactive information through the block chain, acquiring an interactive information inquiry command input by a user, and inquiring on the block chain according to the interactive information inquiry command to obtain target interactive information; and acquiring a response interaction instruction which is input by a user and related to the target interaction information, and storing response information related to the target interaction information on a blockchain according to the response interaction instruction, wherein the response interaction instruction is an instruction for responding to the target interaction information, and the response information is information for responding to the target interaction information.
Optionally, the apparatus controlling the computer readable storage medium when the computer program is run further performs the steps of: after the response information is stored on the blockchain according to the response interaction instruction, if the blockchain does not receive all the confirmation information of the users related to the response information within a preset time, the default record of the users without uploading the confirmation information is stored on the blockchain.
The embodiment of the invention provides computer equipment, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the following steps when executing the computer program:
and acquiring a sports resource query instruction input by a user.
And inquiring on the blockchain according to the sports resource inquiry command, and obtaining target sports resource information through an inquiry result.
And acquiring a sports resource interaction instruction which is input by a user and related to the target sports resource information.
And uploading interaction information to the blockchain according to the sports resource interaction instruction.
And verifying the interaction information, if the verification is passed, storing the interaction information on the block chain, and broadcasting the interaction information through the block chain.
Optionally, the processor when executing the computer program further implements the steps of: before acquiring a sports resource query instruction input by a user, acquiring a sports resource uploading instruction input by the user; acquiring corresponding sports resource information according to the sports resource uploading instruction; and verifying the sports resource information, and if the sports resource information passes the verification, storing the sports resource information on a blockchain.
Optionally, the processor when executing the computer program further implements the steps of: fuzzy query is carried out on the blockchain according to the sports resource query field, so that sports resource information matched with the sports resource query field is obtained; and obtaining target sports resource information from the sports resource information according to the sports resource information selection instruction input by the user.
Optionally, the processor when executing the computer program further implements the steps of: after broadcasting the interactive information through the block chain, acquiring an interactive information inquiry command input by a user, and inquiring on the block chain according to the interactive information inquiry command to obtain target interactive information; and acquiring a response interaction instruction which is input by a user and related to the target interaction information, and storing response information related to the target interaction information on a blockchain according to the response interaction instruction, wherein the response interaction instruction is an instruction for responding to the target interaction information, and the response information is information for responding to the target interaction information.
Optionally, the processor when executing the computer program further implements the steps of: after the response information is stored on the blockchain according to the response interaction instruction, if the blockchain does not receive all the confirmation information of the users related to the response information within a preset time, the default record of the users without uploading the confirmation information is stored on the blockchain.
In the several embodiments provided in the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a Processor (Processor) to perform part of the steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather to enable any modification, equivalent replacement, improvement or the like to be made within the spirit and principles of the invention.
Claims (9)
1. A blockchain-based sports resource interaction method, the method comprising:
acquiring a sports resource query instruction input by a user;
inquiring on a blockchain according to the sports resource inquiry command, and obtaining target sports resource information through an inquiry result;
acquiring a sports resource interaction instruction which is input by a user and related to the target sports resource information;
uploading interaction information to the blockchain according to the sports resource interaction instruction;
verifying the interaction information, if the verification is passed, storing the interaction information on the block chain, and broadcasting the interaction information through the block chain;
after the broadcasting of the interaction information through the blockchain, the method further includes:
acquiring an interaction information inquiry instruction input by a user, and inquiring on the blockchain according to the interaction information inquiry instruction to obtain target interaction information;
and acquiring a response interaction instruction which is input by a user and related to the target interaction information, and storing response information related to the target interaction information on the blockchain according to the response interaction instruction, wherein the response interaction instruction is an instruction for responding to the target interaction information, and the response information is information for responding to the target interaction information.
2. The method of claim 1, wherein prior to the retrieving the user-entered sports resource query instruction, the method further comprises:
acquiring a sports resource uploading instruction input by a user;
acquiring corresponding sports resource information according to the sports resource uploading instruction;
and verifying the sports resource information, and if the sports resource information passes the verification, storing the sports resource information on the blockchain.
3. The method according to claim 1, wherein the sports resource query instruction includes a sports resource query field, the querying on a blockchain according to the sports resource query instruction, and obtaining target sports resource information through a query result includes:
performing fuzzy query on the blockchain according to the sports resource query field to obtain sports resource information matched with the sports resource query field;
and obtaining the target sports resource information from the sports resource information according to a sports resource information selection instruction input by a user.
4. The method of claim 1, wherein after storing the response information on the blockchain according to the response interaction instruction, the method further comprises:
and if the blockchain does not receive all the confirmation information of the user related to the response information within the preset time, storing the default record of the user without uploading the confirmation information on the blockchain.
5. A blockchain-based sports resource interaction device for use in the method of claim 1, the device comprising:
the sports resource inquiry instruction acquisition module is used for acquiring sports resource inquiry instructions input by a user;
the target sports resource information acquisition module is used for inquiring on the blockchain according to the sports resource inquiry command, and obtaining target sports resource information through an inquiry result;
the sports resource interaction instruction acquisition module is used for acquiring sports resource interaction instructions related to the target sports resource information input by a user;
the interactive information uploading module is used for uploading interactive information to the block chain according to the sports resource interactive instruction;
and the interactive information broadcasting module is used for verifying the interactive information, storing the interactive information on the block chain if the verification is passed, and broadcasting the interactive information through the block chain.
6. The apparatus of claim 5, wherein the apparatus further comprises:
the sports resource uploading instruction acquisition unit is used for acquiring sports resource uploading instructions input by a user;
a sports resource information acquisition unit for acquiring corresponding sports resource information according to the sports resource uploading instruction;
and the sports resource information verification unit is used for verifying the sports resource information, and if the sports resource information passes the verification, the sports resource information is stored on the block chain.
7. The apparatus of claim 5, wherein the sports resource query instruction includes a sports resource query field, and wherein the target sports resource information acquisition module includes:
the sports resource information acquisition unit is used for carrying out fuzzy query on the blockchain according to the sports resource query field to obtain sports resource information matched with the sports resource query field;
the target sports resource information acquisition unit is used for acquiring the target sports resource information from the sports resource information according to a sports resource information selection instruction input by a user.
8. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the blockchain-based sports resource interaction method of any of claims 1 to 4.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, performs the steps of the blockchain-based sports resource interaction method of any of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811258131.4A CN109597835B (en) | 2018-10-26 | 2018-10-26 | Sports resource interaction method and device based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811258131.4A CN109597835B (en) | 2018-10-26 | 2018-10-26 | Sports resource interaction method and device based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109597835A CN109597835A (en) | 2019-04-09 |
CN109597835B true CN109597835B (en) | 2024-02-23 |
Family
ID=65958498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811258131.4A Active CN109597835B (en) | 2018-10-26 | 2018-10-26 | Sports resource interaction method and device based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109597835B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111414644B (en) * | 2020-03-18 | 2023-01-17 | 支付宝(杭州)信息技术有限公司 | Privacy protection query method based on block chain and block chain system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104112187A (en) * | 2014-07-15 | 2014-10-22 | 湖北省体育局 | Stadium resource information transmitting system and method |
CN104463440A (en) * | 2014-11-24 | 2015-03-25 | 北京锐安科技有限公司 | Online police-affair supervision method, device and system |
CN107256433A (en) * | 2017-07-20 | 2017-10-17 | 北京颜值担当体育科技有限公司 | Reservation management device, information processor, its method and storage medium |
CN107426082A (en) * | 2017-04-24 | 2017-12-01 | 成亮 | A kind of public domain information sharing system and method |
CN107452146A (en) * | 2017-06-29 | 2017-12-08 | 深圳市租电智能科技有限公司 | A kind of self-service shared platform of article and its self-service sharing method |
CN108563788A (en) * | 2018-04-27 | 2018-09-21 | 腾讯科技(深圳)有限公司 | Data query method, apparatus, server and storage medium based on block chain |
CN108564186A (en) * | 2018-03-28 | 2018-09-21 | 深圳市奥拓体育文化发展有限公司 | Promising to fight with method, promising to fight with system and storage medium based on stadiums |
CN108604322A (en) * | 2015-12-10 | 2018-09-28 | Max2有限责任公司 | The integrated system of the search, business and analysis engine supported by beacon |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
BR112013031381A2 (en) * | 2011-06-07 | 2016-12-06 | Nike International Ltd | virtual performance system |
-
2018
- 2018-10-26 CN CN201811258131.4A patent/CN109597835B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104112187A (en) * | 2014-07-15 | 2014-10-22 | 湖北省体育局 | Stadium resource information transmitting system and method |
CN104463440A (en) * | 2014-11-24 | 2015-03-25 | 北京锐安科技有限公司 | Online police-affair supervision method, device and system |
CN108604322A (en) * | 2015-12-10 | 2018-09-28 | Max2有限责任公司 | The integrated system of the search, business and analysis engine supported by beacon |
CN107426082A (en) * | 2017-04-24 | 2017-12-01 | 成亮 | A kind of public domain information sharing system and method |
CN107452146A (en) * | 2017-06-29 | 2017-12-08 | 深圳市租电智能科技有限公司 | A kind of self-service shared platform of article and its self-service sharing method |
CN107256433A (en) * | 2017-07-20 | 2017-10-17 | 北京颜值担当体育科技有限公司 | Reservation management device, information processor, its method and storage medium |
CN108564186A (en) * | 2018-03-28 | 2018-09-21 | 深圳市奥拓体育文化发展有限公司 | Promising to fight with method, promising to fight with system and storage medium based on stadiums |
CN108563788A (en) * | 2018-04-27 | 2018-09-21 | 腾讯科技(深圳)有限公司 | Data query method, apparatus, server and storage medium based on block chain |
Also Published As
Publication number | Publication date |
---|---|
CN109597835A (en) | 2019-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104937590B (en) | With interested third party application content augment search results | |
RU2488166C2 (en) | Service-oriented conveyor-based architecture | |
US10885594B2 (en) | Method and apparatus for establishing association relationship | |
CN109450771B (en) | Method and device for adding friends, computer equipment and storage medium | |
US20150324400A1 (en) | Interest Collection and Tracking System and Method of Use | |
CN110008903A (en) | Face identification method, device, system, storage medium and face method of payment | |
US20180337909A1 (en) | Non-repeatable challenge-response authentication | |
CN109492152B (en) | Method, device, computer equipment and storage medium for pushing custom content | |
CN110910282A (en) | System, method and storage medium for earning commission of multi-role customer service for real estate electronic commerce | |
CN104424352B (en) | The system and method that agency service is provided to user terminal | |
WO2015027907A1 (en) | Methods and systems for visiting user groups | |
CN112546621A (en) | Voting method and device for live game, computer storage medium and electronic equipment | |
TWI674517B (en) | Information interaction method and device | |
JP2019040417A (en) | Information processing device and program | |
CN110908880A (en) | Embedded point code injection method, event reporting method and related equipment thereof | |
CN110222894A (en) | Advertisement placement method, device and equipment | |
CN109597835B (en) | Sports resource interaction method and device based on block chain | |
US20180329900A1 (en) | Prediction models for concurrency control types | |
CN109684177A (en) | Information feedback method and device | |
CN109408755A (en) | Data processing method, device, terminal device and computer storage medium | |
CN105512208B (en) | Information publishing method, device and system | |
CN109598481B (en) | Conference management authority processing method and device, computer equipment and storage medium | |
US9539514B2 (en) | Method and system for generating signatures and locating/executing associations for a game program | |
US10510085B2 (en) | Time and location aware customer relationship management | |
US20220210159A1 (en) | Method and apparatus for managing user profile |
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 |