Sports transfer transaction processing method, device, equipment, medium and program product
Through blockchain technology, transfer transactions are handled in the sports management system, the problem of insufficient security of encrypted emails or encrypted phone calls is solved, and higher transaction security and privacy are achieved, ensuring the protection of interests of athletes and clubs.
Patent Information
- Application Number
- CN202110159587.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-03
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2041-02-03
AI Technical Summary
In transfer transactions in the sports field, existing encrypted emails or encrypted phone calls have the risk of information leakage and malicious cracking, resulting in damage to athletes' mentality and club investment.
Adopt a blockchain-based sports management system to receive encrypted transfer requests from third-party sports club chains, decrypt and obtain the third-party ID logo, and obtain the total IP value and fit of athletes, determine the target local athletes, and generate encrypted transaction requests. , send and record transaction vouchers through blockchain nodes to ensure the privacy and security of transactions.
It improves the security of transfer transactions, prevents information leakage and malicious cracking, ensures the privacy and authenticity of the transaction process, and enhances the traceability of the transaction.
Smart Images

Figure CN112907242B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a sports transfer transaction processing method, device, equipment, medium and program product. Background Art
[0002] In the field of sports, for the sake of their own career development or to increase income, some clubs will conduct transfer transactions between professional athletes during specific transfer periods. However, in the process of transfer transactions between clubs, there may be a risk of information leakage. For example, when the two clubs are conducting face-to-face negotiations, the information may be learned by entertainment reporters and disclosed in advance, resulting in some adverse effects such as damage to the mentality of the athletes involved in the transfer transaction or damage to the club's investment.
[0003] In order to solve the risk of information leakage in transfer transactions, some clubs currently use remote encrypted transactions such as encrypted emails or encrypted phone calls to negotiate instead of face-to-face negotiations, so as to ensure the privacy of transfer transactions. However, information cracking technology is becoming more and more mature. Even if transfer transactions are conducted through encrypted emails, there is still a risk of being cracked by malicious cracking software, which causes serious troubles for clubs that need to conduct transfer transactions. Summary of the invention
[0004] The present invention provides a sports transfer transaction processing method, device, equipment, medium and program product, aiming to solve the technical problem of low security of the current encrypted transaction method through encrypted emails or encrypted calls.
[0005] To achieve the above-mentioned object, the present invention provides a sports transfer transaction processing method, which is applied to a sports club chain in a sports management system based on blockchain, wherein the sports management system based on blockchain includes a plurality of third-party sports club chains other than the sports club chain, and the sports club chain includes blockchain nodes corresponding to each third-party sports club chain, and the method includes:
[0006] When receiving an encrypted transfer request carrying a third-party ID sent by a third-party sports club chain through the blockchain node, decrypting the encrypted transfer request according to a first key matched by the third-party sports club chain to obtain the third-party ID;
[0007] Obtaining the third-party athlete IP total value of the third-party athlete whose third-party ID matches from the blockchain, and obtaining the degree of fit between the total IP value of each local athlete and the total IP value of the third-party athlete, so as to determine the target local athlete through the degree of fit;
[0008] Generate an encrypted transaction request carrying a target local ID according to the second key;
[0009] Sending the encrypted transaction request to the third-party sports club chain through the blockchain node, and receiving the transaction result fed back by the third-party sports club chain;
[0010] If the transaction result is to agree to the transfer transaction, the transfer transaction certificate is generated in collaboration with the third-party sports club chain, and the transfer transaction certificate is recorded in the preset blockchain according to the third-party ID identifier and the target local ID identifier.
[0011] Preferably, the step of determining the target local athlete through the degree of fit includes:
[0012] Selecting the local athlete corresponding to the maximum degree of fit as the first transfer transaction object, and determining the voting result corresponding to the first transfer transaction object according to the preset smart contract;
[0013] If the voting result meets the preset result requirement, determining the first transfer transaction object as the target local athlete; and,
[0014] If the voting result does not meet the preset result requirements, a second transfer transaction object is selected based on a gradient descent method of fit, and a target compensation plan matching the second transfer transaction object is generated until it is determined according to the preset smart contract that the voting results corresponding to the second transfer transaction object and the target compensation plan meet the preset result requirements, and the second transfer transaction object corresponding to the voting results that meet the preset result requirements is used as the target local athlete.
[0015] Preferably, the sports club chain includes a local athlete node, a local investor node, and a local athlete training node. Before the step of obtaining the total IP value of each local athlete, it also includes:
[0016] Obtaining the local athlete initial value and local ID corresponding to each local athlete node, and recording each local athlete initial value into a preset blockchain according to the local ID;
[0017] Receive the training value corresponding to each local athlete node fed back by the local athlete training node and the investment value corresponding to each local athlete node fed back by the local investor node, and record the training value and the investment value into the blockchain according to the local ID identifier corresponding to each local athlete node, so as to obtain the total value of each local athlete IP, wherein the total value of the local athlete IP is composed of the local athlete initial value, the training value and the investment value.
[0018] Preferably, the sports club chain includes an event node corresponding to the event alliance chain, and the event alliance chain includes an event audience node and an event operation node. After the step of obtaining the total value of each local athlete IP, it also includes:
[0019] Sending a competition request carrying a local ID to the competition alliance chain through the competition node, wherein when the competition alliance link receives the competition request, extracting the local athlete information corresponding to the local ID from the competition request, performing competition certification review on the local athlete information according to the preset smart contract, and feeding back the competition certification review result;
[0020] If a feedback result indicating that the event is authenticated is received, a first notification message carrying local athlete information corresponding to a local ID is sent to the event audience node to obtain the audience preference value fed back by the event audience node; and
[0021] If a feedback result indicating that the event certification is passed is received, a first notification message carrying local athlete information corresponding to the local ID is sent to the event operation node to obtain the operation income fed back by the event operation node;
[0022] The total value of the local athlete IP corresponding to the local ID is adjusted according to the audience preference value and the operating income, and the adjusted total value of the local athlete IP is stored in the blockchain according to the local ID.
[0023] Preferably, the step of obtaining the local athlete initial value corresponding to each local athlete node includes:
[0024] Get the athlete parameters corresponding to the local athlete node;
[0025] The athlete parameters are input into a preset athlete value recognition model to obtain the local athlete initial value corresponding to the athlete parameters through the preset athlete value recognition model.
[0026] Preferably, before the step of inputting the local athlete parameters into the preset athlete value recognition model, the method further includes:
[0027] Obtaining athlete parameter training data with true athlete value labels;
[0028] Inputting the athlete parameter training data into an initial model to obtain an athlete value prediction label of the athlete parameter training data through the initial model;
[0029] Calculating a loss function based on the predicted athlete value label and the true athlete value label;
[0030] The model parameters of the initial model are updated by gradient descent until the loss function converges or reaches a preset training iteration round, and the model parameters corresponding to the loss function convergence or reaching the preset training iteration round are used as the final model parameters to obtain a preset athlete value recognition model.
[0031] Preferably, before the step of decrypting the encrypted transfer request according to the first key matched by the third-party sports club chain, the method further comprises:
[0032] Randomly generate a local key pair, and send a key exchange notification message to the third-party sports club chain through the blockchain node corresponding to the third-party sports club chain to obtain the first key fed back by the third-party sports club chain;
[0033] Generate a first encrypted key exchange response message carrying the local key pair according to the first key, and send the first encrypted key exchange response message through the blockchain node corresponding to the third-party sports club chain, wherein the third-party sports club chain decrypts the first encrypted key exchange response message according to a second key matched with the first key to obtain the local key pair, and generates and feeds back a second encrypted key exchange response message carrying the second key according to the local public key in the local key pair;
[0034] The key exchange response second encrypted message is received, and the key exchange response second encrypted message is decrypted by using a local private key in the local key pair to obtain the second key.
[0035] In addition, to achieve the above-mentioned purpose, the present invention also provides a sports transfer transaction processing device, the sports transfer transaction processing device comprising:
[0036] A receiving module, configured to, upon receiving an encrypted transfer request carrying a third-party ID sent by a third-party sports club chain through the blockchain node, decrypt the encrypted transfer request according to a first key matched by the third-party sports club chain to obtain the third-party ID;
[0037] An acquisition module, used to acquire the total IP value of the third-party athlete of the third-party athlete matched with the third-party ID identifier from the blockchain, and acquire the degree of fit between the total IP value of each local athlete and the total IP value of the third-party athlete, so as to determine the target local athlete through the degree of fit;
[0038] A generating module, used for generating an encrypted transaction request carrying a target local ID according to a second key;
[0039] A sending module, used to send the encrypted transaction request to the third-party sports club chain through the blockchain node, and receive the transaction result fed back by the third-party sports club chain;
[0040] The storage module is used to collaborate with the third-party sports club chain to generate a transfer transaction certificate if the transaction result is an approval of the transfer transaction, and record the transfer transaction certificate into the blockchain according to the third-party ID identifier and the target local ID identifier.
[0041] In addition, to achieve the above-mentioned objectives, the present invention also provides a sports transfer transaction processing device, which includes a processor, a memory, and a sports transfer transaction processing program stored in the memory. When the sports transfer transaction processing program is executed by the processor, the steps of the sports transfer transaction processing method as described above are implemented.
[0042] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer storage medium, on which a sports transfer transaction processing program is stored. When the sports transfer transaction processing program is executed by a processor, the steps of the sports transfer transaction processing method described above are implemented.
[0043] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer program product, including a computer program, which implements the steps of the sports transfer transaction processing method as described above when executed by a processor.
[0044] Compared with the prior art, the present invention provides a sports transfer transaction processing method, which receives an encrypted transfer request carrying a third-party ID identifier and sent by a third-party sports club chain through the blockchain node, decrypts the encrypted transfer request according to a first key matched by the third-party sports club chain to obtain the third-party ID identifier; obtains the third-party athlete IP total value of the third-party athlete matched by the third-party ID identifier from the blockchain, and obtains the degree of fit between the total IP value of each local athlete and the total IP value of the third-party athlete, so as to determine the target local athlete through the degree of fit; generates an encrypted transaction request carrying the target local ID identifier according to a second key; and sends the encrypted transaction request through the blockchain node. The third-party sports club chain sends the transaction result fed back by the third-party sports club chain to the third-party sports club chain, and receives the transaction result fed back by the third-party sports club chain; if the transaction result is to agree to the transfer transaction, the third-party sports club chain is coordinated to generate a transfer transaction certificate, and the transfer transaction certificate is recorded in the blockchain according to the third-party ID identifier and the target local ID identifier. Compared with the technical solution of the encrypted transaction method through encrypted email or encrypted phone in the prior art, the present invention performs encrypted transactions through the ciphertext information transmission method of the ID identifier and combines the decentralized blockchain technology. Therefore, the specific transaction certificate is generated only after the entire transaction is completed, that is, other parties cannot know the specific transaction process of the entire transaction before the transaction is completed, thereby improving the security of the encrypted transaction process. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 is a schematic diagram of the hardware structure of a sports transfer transaction processing device involved in each embodiment of the present invention;
[0046] Figure 2 It is a flow chart of a first embodiment of a sports transfer transaction processing method of the present invention;
[0047] Figure 3 It is a flow chart of a second embodiment of a sports transfer transaction processing method of the present invention;
[0048] Figure 4 It is a flow chart of a third embodiment of a sports transfer transaction processing method of the present invention;
[0049] Figure 5 It is a functional module diagram of an embodiment of a sports transfer transaction processing device of the present invention.
[0050] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0051] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0052] Reference Figure 1 , Figure 1 It is a schematic diagram of the hardware structure of the sports transfer transaction processing device involved in each embodiment of the present invention. In the embodiment of the present invention, the sports transfer transaction processing device may include a processor 1001 (such as a central processing unit, CPU), a communication bus 1002, an input port 1003, an output port 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components; the input port 1003 is used for data input; the output port 1004 is used for data output, and the memory 1005 can be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 can optionally be a storage device independent of the aforementioned processor 1001. Those skilled in the art can understand that Figure 1 The hardware structure shown in the figure does not constitute a limitation of the present invention, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.
[0053] Continue to refer to Figure 1 , Figure 1 The memory 1005 as a readable storage medium may include an operating system, a network communication module, an application module, and a sports transfer transaction processing program. Figure 1 In the terminal shown, the output port 1004 is mainly used to connect to the background server and communicate data with the background server; the input port 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the sports transfer transaction processing program stored in the memory 1005.
[0054] In this embodiment, the sports transfer transaction processing device includes: a memory 1005, a processor 1001, and a sports transfer transaction processing program stored in the memory 1005 and executable on the processor 1001, wherein the processor 1001 calls the sports transfer transaction processing program stored in the memory 1005 and performs the following operations:
[0055] When receiving an encrypted transfer request carrying a third-party ID sent by a third-party sports club chain through the blockchain node, decrypting the encrypted transfer request according to a first key matched by the third-party sports club chain to obtain the third-party ID;
[0056] Obtaining the third-party athlete IP total value of the third-party athlete whose third-party ID matches from the blockchain, and obtaining the degree of fit between the total IP value of each local athlete and the total IP value of the third-party athlete, so as to determine the target local athlete through the degree of fit;
[0057] Generate an encrypted transaction request carrying a target local ID according to the second key;
[0058] Sending the encrypted transaction request to the third-party sports club chain through the blockchain node, and receiving the transaction result fed back by the third-party sports club chain;
[0059] If the transaction result is to agree to the transfer transaction, the transfer transaction certificate is generated in collaboration with the third-party sports club chain, and the transfer transaction certificate is recorded in the preset blockchain according to the third-party ID identifier and the target local ID identifier.
[0060] Furthermore, the processor 1001 may call the sports transfer transaction processing program stored in the memory 1005, and further perform the following operations:
[0061] Selecting the local athlete corresponding to the maximum degree of fit as the first transfer transaction object, and determining the voting result corresponding to the first transfer transaction object according to the preset smart contract;
[0062] If the voting result meets the preset result requirement, determining the first transfer transaction object as the target local athlete; and,
[0063] If the voting result does not meet the preset result requirements, a second transfer transaction object is selected based on a gradient descent method of fit, and a target compensation plan matching the second transfer transaction object is generated until it is determined according to the preset smart contract that the voting results corresponding to the second transfer transaction object and the target compensation plan meet the preset result requirements, and the second transfer transaction object corresponding to the voting results that meet the preset result requirements is used as the target local athlete.
[0064] Furthermore, the processor 1001 may call the sports transfer transaction processing program stored in the memory 1005, and further perform the following operations:
[0065] Obtaining the local athlete initial value and local ID corresponding to each local athlete node, and recording each local athlete initial value into the blockchain according to the local ID;
[0066] Receive the training value corresponding to each local athlete node fed back by the local athlete training node and the investment value corresponding to each local athlete node fed back by the local investor node, and record the training value and the investment value into the blockchain according to the local ID identifier corresponding to each local athlete node, so as to obtain the total value of each local athlete IP, wherein the total value of the local athlete IP is composed of the local athlete initial value, the training value and the investment value.
[0067] Furthermore, the processor 1001 may call the sports transfer transaction processing program stored in the memory 1005, and further perform the following operations:
[0068] Sending a competition request carrying a local ID to the competition alliance chain through the competition node, wherein when the competition alliance link receives the competition request, extracting the local athlete information corresponding to the local ID from the competition request, performing competition certification review on the local athlete information according to the preset smart contract, and feeding back the competition certification review result;
[0069] If a feedback result indicating that the event is authenticated is received, a first notification message carrying local athlete information corresponding to a local ID is sent to the event audience node to obtain the audience preference value fed back by the event audience node; and
[0070] If a feedback result indicating that the event certification is passed is received, a first notification message carrying local athlete information corresponding to the local ID is sent to the event operation node to obtain the operation income fed back by the event operation node;
[0071] The total value of the local athlete IP corresponding to the local ID is adjusted according to the audience preference value and the operating income, and the adjusted total value of the local athlete IP is stored in a preset blockchain according to the local ID.
[0072] Furthermore, the processor 1001 may call the sports transfer transaction processing program stored in the memory 1005, and further perform the following operations:
[0073] Get the athlete parameters corresponding to the local athlete node;
[0074] The athlete parameters are input into a preset athlete value recognition model to obtain the local athlete initial value corresponding to the athlete parameters through the preset athlete value recognition model.
[0075] Furthermore, the processor 1001 may call the sports transfer transaction processing program stored in the memory 1005, and further perform the following operations:
[0076] Obtaining athlete parameter training data with true athlete value labels;
[0077] Inputting the athlete parameter training data into an initial model to obtain an athlete value prediction label of the athlete parameter training data through the initial model;
[0078] Calculating a loss function based on the predicted athlete value label and the true athlete value label;
[0079] The model parameters of the initial model are updated by gradient descent until the loss function converges or reaches a preset training iteration round, and the model parameters corresponding to the loss function convergence or reaching the preset training iteration round are used as the final model parameters to obtain a preset athlete value recognition model.
[0080] Furthermore, the processor 1001 may call the sports transfer transaction processing program stored in the memory 1005, and further perform the following operations:
[0081] Randomly generate a local key pair, and send a key exchange notification message to the third-party sports club chain through the blockchain node corresponding to the third-party sports club chain to obtain the first key fed back by the third-party sports club chain;
[0082] Generate a first encrypted key exchange response message carrying the local key pair according to the first key, and send the first encrypted key exchange response message through the blockchain node corresponding to the third-party sports club chain, wherein the third-party sports club chain decrypts the first encrypted key exchange response message according to a second key matched with the first key to obtain the local key pair, and generates and feeds back a second encrypted key exchange response message carrying the second key according to the local public key in the local key pair;
[0083] The key exchange response second encrypted message is received, and the key exchange response second encrypted message is decrypted by using a local private key in the local key pair to obtain the second key.
[0084] based on Figure 1 With reference to the hardware structure shown, the first embodiment of the present invention provides a method for processing sports transfer transactions.
[0085] Reference Figure 2 , Figure 2 It is a flowchart diagram of the first embodiment of the sports transfer transaction processing method of the present invention.
[0086] The embodiment of the present invention provides an embodiment of a method for processing a sports transfer transaction. It should be noted that although a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order than that shown here. Specifically, the method for processing a sports transfer transaction in this embodiment includes:
[0087] Step S10: upon receiving an encrypted transfer request carrying a third-party ID sent by a third-party sports club chain through the blockchain node, decrypting the encrypted transfer request according to a first key matched by the third-party sports club chain to obtain the third-party ID;
[0088] It should be noted that the sports transfer transaction processing method proposed in the present invention is applied to a sports club chain in a sports management system based on blockchain, wherein the sports management system based on blockchain includes multiple third-party sports club chains in addition to the sports club chain involved in the present invention, and the sports club chain includes blockchain nodes corresponding to each third-party sports club chain. In addition, it should be further noted that the above-mentioned sports management system based on blockchain runs on Ethereum, and the third-party sports club chains in the above-mentioned sports management system based on blockchain exchange information and store and record information based on Ethereum's blockchain technology, thereby ensuring the authenticity and privacy of the information.
[0089] Specifically, the sports club chain is a blockchain system composed of multiple nodes, wherein the sports club chain includes blockchain nodes corresponding to each third-party sports club chain, sports operation nodes, athlete nodes, athlete training nodes, investor nodes, and decision-making nodes for participating in the approval of any matter, etc. It is easy to understand that in the process of transfer transactions between clubs, there may be a risk of information leakage in the transfer transaction information. For example, when the two clubs are conducting face-to-face negotiations, they are known by entertainment reporters and disclosed in advance, thereby causing some adverse effects such as damage to the mentality of the athletes involved in the transfer transaction or damage to the club's investment. At present, in order to solve the risk of information leakage in transfer transaction information, some clubs use remote encrypted transaction methods such as encrypted emails or encrypted calls to negotiate instead of face-to-face negotiations, so as to ensure the privacy of transfer transactions. However, the current information cracking technology is becoming more and more mature. Even if the transfer transaction is conducted through encrypted emails, there is still a risk of being cracked by malicious cracking software, which causes serious troubles to the clubs that need to conduct transfer transactions. Therefore, in this embodiment, in order to improve the security of encrypted transfer transactions, the information interaction between multiple sports clubs is linked together through blockchain, thereby ensuring the security of transfer transactions.
[0090] In addition, it is easy to understand that since the sports club chains are connected to each other through blockchain nodes, when a third-party sports club chain needs to conduct a transfer transaction of a professional athlete, a transfer transaction request can be sent through the blockchain node corresponding to the third-party sports club chain. In addition, in order to ensure the authenticity of the information and the privacy of the transaction information, when sending a transfer transaction request, there is no need to directly disclose specific transaction information, such as the athlete information corresponding to the transfer transaction. In this embodiment, the transfer transaction is performed in a ciphertext manner using an ID identifier. Specifically, the above-mentioned third-party ID identifier refers to the information code of the third-party athlete, such as the number of the third-party athlete in the club or the storage address for storing the third-party athlete information, etc. Preferably, in this embodiment, the ID identifier refers to the storage address where the user stores the athlete information or transaction information, wherein the transaction information includes the athlete information and transaction plan corresponding to the transfer transaction, etc.
[0091] In addition, in some embodiments, during the transfer transaction using the ciphertext method of the ID identifier, the ID identifier may be in danger of being cracked. Therefore, in this embodiment, before sending the transfer request carrying the third-party ID identifier, the third-party sports club encrypts the transfer request carrying the third-party ID identifier using the first key of the third-party sports club chain, and sends the encrypted transfer request. Specifically, the above-mentioned first key refers to the private key in the key pair randomly generated by the third-party sports club chain. In addition, it should be noted that in order to ensure the executability of data encryption interaction based on the key, in this embodiment, both parties to the transfer transaction store the other party's key pair, that is, the sports club chain involved in this embodiment stores not only the locally generated key pair, but also the other party's key pair for encrypted information interaction.
[0092] Specifically, for ease of understanding, before the step of receiving the encrypted transfer request carrying the third-party ID sent by the third-party sports club chain through the blockchain node, the step further includes:
[0093] Randomly generate a local key pair, and send a key exchange notification message to the third-party sports club chain through the blockchain node corresponding to the third-party sports club chain to obtain the first key fed back by the third-party sports club chain;
[0094] Generate a first encrypted key exchange response message carrying the local key pair according to the first key, and send the first encrypted key exchange response message through the blockchain node corresponding to the third-party sports club chain, wherein the third-party sports club chain decrypts the first encrypted key exchange response message according to a second key matched with the first key to obtain the local key pair, and generates and feeds back a second encrypted key exchange response message carrying the second key according to the local public key in the local key pair;
[0095] The key exchange response second encrypted message is received, and the key exchange response second encrypted message is decrypted by using a local private key in the local key pair to obtain the second key.
[0096] In this step, before sending a request carrying a third-party ID, the third-party sports club chain may first send a transfer transaction notification message so that both parties can obtain each other's keys through the transaction notification message. Specifically, after receiving the transfer transaction notification message sent by the third-party sports club chain, a local key pair is randomly generated, and after the local key pair is randomly generated, a key exchange notification message is sent to the third-party sports club chain to notify the other party that key exchange can be carried out.
[0097] Step S20: Obtain the total IP value of the third-party athlete whose third-party ID matches the third-party athlete from the blockchain, and obtain the degree of fit between the total IP value of each local athlete and the total IP value of the third-party athlete, so as to determine the target local athlete through the degree of fit;
[0098] Specifically, the above-mentioned total value of the athlete's IP refers to the total value of the IP composed of the athlete's sports attributes (for example, for a basketball player, whether he belongs to a forward, center or guard), competition ability (for example, for a power forward, his success rate in rebounding), and the commercial value that the athlete can bring. The above-mentioned degree of fit refers to the value ratio of the total value of the local athlete's IP to the total value of the third-party athlete's IP. In addition, in this embodiment, in order to ensure the authenticity of the information, the total value of the athlete's IP and the athlete's information are all recorded in the blockchain.
[0099] In addition, for ease of understanding, this embodiment specifically describes the above-mentioned solution of determining the target local athlete through the degree of fit:
[0100] Selecting the local athlete corresponding to the maximum degree of fit as the first transfer transaction object, and determining the voting result corresponding to the first transfer transaction object according to the preset smart contract;
[0101] If the voting result meets the preset result requirement, determining the first transfer transaction object as the target local athlete; and,
[0102] If the voting result does not meet the preset result requirements, a second transfer transaction object is selected based on a gradient descent method of fit, and a target compensation plan matching the second transfer transaction object is generated until it is determined according to the preset smart contract that the voting results corresponding to the second transfer transaction object and the target compensation plan meet the preset result requirements, and the second transfer transaction object corresponding to the voting results that meet the preset result requirements is used as the target local athlete.
[0103] In this step, the above-mentioned preset smart contract is a smart contract specified when the sports club chain is constructed, such as which nodes in the sports club chain have voting rights and voting mechanisms. In this embodiment, it is preferred to first select the local athlete corresponding to the maximum fit as the first transfer transaction object. If the voting result corresponding to the first transfer transaction object is determined to meet the preset result requirements according to the preset smart contract, otherwise, the second transfer transaction object is selected by a gradient descent of fit, and a corresponding compensation plan is generated until the voting result meets the preset result requirements.
[0104] Step S30: Generate an encrypted transaction request carrying the target local ID according to the second key;
[0105] Step S40: sending the encrypted transaction request to the third-party sports club chain through the blockchain node, and receiving the transaction result fed back by the third-party sports club chain;
[0106] Step S50: If the transaction result is approval of the transfer transaction, the transfer transaction certificate is generated in collaboration with the third-party sports club chain, and the transfer transaction certificate is recorded in the blockchain according to the third-party ID identifier and the target local ID identifier.
[0107] Specifically, the above-mentioned target local ID identifier refers to the storage address used to store local athlete information corresponding to the transfer transaction and specific transaction details such as the transaction agreement, and the above-mentioned transfer transaction certificate refers to the certificate that records the specific transaction details, such as the transaction contract, transaction object, etc.
[0108] That is, in this embodiment, when conducting a transfer transaction, there is no need to directly disclose specific transaction information, such as the athlete information corresponding to the transfer transaction. In this embodiment, the transfer transaction is conducted in a ciphertext manner using an ID identifier. Since the security of the transfer transaction is ensured, further, in this embodiment, when the transfer transaction is completed, that is, the transaction result fed back by the third-party sports club chain is the agreement to the transfer transaction, a transfer transaction voucher will be generated. Therefore, before the transaction is completed, other parties cannot know the specific transaction process of the entire transaction, and the transfer transaction voucher is recorded in the blockchain to ensure that it can be traced back when problems arise in subsequent transactions, thereby improving the security of the encrypted transaction process.
[0109] It should be understood that the above is only an example and does not constitute any limitation to the technical solution of the present invention. Those skilled in the art can make settings based on needs in actual applications, and they are not listed one by one here.
[0110] In this embodiment, when an encrypted transfer request carrying a third-party ID identifier is received from a third-party sports club chain through the blockchain node, the encrypted transfer request is decrypted according to a first key matched by the third-party sports club chain to obtain the third-party ID identifier; the third-party athlete IP total value of the third-party athlete matched by the third-party ID identifier is obtained from the blockchain, and the degree of fit between the total IP value of each local athlete and the total IP value of the third-party athlete is obtained to determine the target local athlete through the degree of fit; an encrypted transaction request carrying the target local ID identifier is generated according to a second key; and the encrypted transaction request is sent to the third-party sports club chain through the blockchain node. Club chain, and receive the transaction result fed back by the third-party sports club chain; if the transaction result is to agree to the transfer transaction, then cooperate with the third-party sports club chain to generate a transfer transaction certificate, and record the transfer transaction certificate into the blockchain according to the third-party ID identifier and the target local ID identifier. Compared with the technical solution of the encrypted transaction method through encrypted email or encrypted phone in the prior art, the present invention uses the ciphertext information transmission method of ID identifier and combines with decentralized blockchain technology to perform encrypted transactions. Therefore, the specific transaction certificate is generated after the entire transaction is completed, that is, other parties cannot know the specific transaction process of the entire transaction before the transaction is completed, thereby improving the security of the encrypted transaction process.
[0111] Furthermore, based on the first embodiment of the sports transfer transaction processing method of the present invention, a second embodiment of the sports transfer transaction processing method of the present invention is proposed.
[0112] Reference Figure 3 , Figure 3 It is a flow chart of a second embodiment of a sports transfer transaction processing method of the present invention;
[0113] The difference between the second embodiment of the sports transfer transaction processing method and the first embodiment of the sports transfer transaction processing method is that the sports club chain includes a local athlete node, a local investor node, and a local athlete training node, and before the step of obtaining the total value of each local athlete's IP, it also includes:
[0114] Step S201: obtaining the local athlete initial value and local ID corresponding to each local athlete node, and recording the local athlete initial value into a preset blockchain according to the local ID;
[0115] Step S202: Receive the training value corresponding to each local athlete node fed back by the local athlete training node and the investment value corresponding to each local athlete node fed back by the local investor node, and record the training value and the investment value into the blockchain according to the local ID identifier corresponding to each local athlete node to obtain the total IP value of each local athlete, wherein the total IP value of the local athlete is composed of the local athlete's initial value, the training value and the investment value.
[0116] Specifically, the above-mentioned local athlete initial value refers to the value assigned to the athlete node based on the athlete data corresponding to the current athlete node when the athlete node is newly added to the sports club chain. For example, when athlete node a is newly added to the sports club chain, the athlete a's physical fitness information and historical event information corresponding to athlete node a are obtained to evaluate the initial value of athlete node a through the athlete a's physical fitness information and historical event information.
[0117] The above-mentioned training value refers to the development potential value evaluated by the above-mentioned local athlete training node based on the initial value of the local athlete corresponding to the above-mentioned local athlete node. Similarly, the above-mentioned investment value refers to the investable value evaluated by the initial value of the local athlete corresponding to the above-mentioned local athlete node of the above-mentioned local investor node.
[0118] In addition, in order to ensure the authenticity of the information, in this embodiment, the value assessed by any node on the local athlete node is stored in the preset blockchain.
[0119] In addition, since athletes participate in some events in addition to activities within the club, their performance in the events will also reveal the value information of the athletes. Therefore, in this embodiment, after the above step of obtaining the total value of each local athlete's IP, the following is also included:
[0120] Sending a competition request carrying a local ID to the competition alliance chain through the competition node, wherein when the competition alliance link receives the competition request, extracting the local athlete information corresponding to the local ID from the competition request, performing competition certification review on the local athlete information according to the preset smart contract, and feeding back the competition certification review result;
[0121] If a feedback result indicating that the event is authenticated is received, a first notification message carrying local athlete information corresponding to a local ID is sent to the event audience node to obtain the audience preference value fed back by the event audience node; and
[0122] If a feedback result indicating that the event certification is passed is received, a first notification message carrying local athlete information corresponding to the local ID is sent to the event operation node to obtain the operation income fed back by the event operation node;
[0123] The total value of the local athlete IP corresponding to the local ID is adjusted according to the audience preference value and the operating income, and the adjusted total value of the local athlete IP is stored in the blockchain according to the local ID.
[0124] It should be noted that the above-mentioned sports club chain includes event nodes corresponding to the event alliance chain, wherein the event alliance chain includes event audience nodes and event operation nodes, wherein the above-mentioned audience favorite value refers to audience support, for example, there are 2,000 spectators in the current event who buy tickets to watch the athletes matched by athlete node a in sports club chain A, and the current event has 20,000 spectators, then the audience favorite value of athlete node a is 10%, in addition, it should be noted that when the event audience node in the event alliance chain of the present invention purchases the admission ticket corresponding to the event node, in addition to the ticket purchase window, the ticket purchase platform may also include a ticket purchase reason window, wherein the ticket purchase reason window is provided with a check box for athletes participating in the event, in which users can check the athletes they support, thereby obtaining the audience favorite value, in addition, the above-mentioned operating income refers to the ticket income, derivative income and advertising investment income brought by the athlete node in the current event.
[0125] In this embodiment, in addition to evaluating the total IP value of the athlete based on the initial value, training value and investment value of the local athlete in the sports club chain, the total IP value of the athlete is also adjusted by the audience preference value fed back by the event audience node corresponding to the local athlete node in the event alliance chain and the operating income fed back by the event operation node, thereby ensuring the comprehensiveness of the total IP value of the athlete, and executing the above process through blockchain technology to ensure the authenticity of the information.
[0126] It should be understood that the above is only an example and does not constitute any limitation to the technical solution of the present invention. Those skilled in the art can make settings based on needs in actual applications, and they are not listed one by one here.
[0127] Furthermore, based on the second embodiment of the sports transfer transaction processing method of the present invention, a third embodiment of the sports transfer transaction processing method of the present invention is proposed.
[0128] Reference Figure 4 , Figure 4 It is a flow chart of a third embodiment of a sports transfer transaction processing method of the present invention;
[0129] The difference between the third embodiment of the sports transfer transaction processing method and the second embodiment of the sports transfer transaction processing method is that the step of obtaining the initial value of the local athlete corresponding to each local athlete node includes:
[0130] Step S2011: Obtain the athlete parameters corresponding to the local athlete node;
[0131] Step S2012: inputting the athlete parameters into a preset athlete value recognition model to obtain the local athlete initial value corresponding to the athlete parameters through the preset athlete value recognition model.
[0132] Specifically, the above-mentioned athlete parameters refer to the athlete's physical fitness parameters and historical amateur competition parameter information and other parameters used to characterize the athlete's sports information.
[0133] In addition, in order to ensure the fairness of the evaluation results of the initial value of the athletes, in this embodiment, the local athlete initial value matching the athlete parameters corresponding to each local athlete node is obtained by using a preset athlete value recognition model.
[0134] In addition, in some embodiments, before the step of inputting the local athlete parameters into the preset athlete value recognition model, the method further includes:
[0135] Obtaining athlete parameter training data with true athlete value labels;
[0136] Inputting the athlete parameter training data into an initial model to obtain an athlete value prediction label of the athlete parameter training data through the initial model;
[0137] Calculating a loss function based on the predicted athlete value label and the true athlete value label;
[0138] The model parameters of the initial model are updated by gradient descent until the loss function converges or reaches a preset training iteration round, and the model parameters corresponding to the loss function convergence or reaching the preset training iteration round are used as the final model parameters to obtain a preset athlete value recognition model.
[0139] It should be noted that the above-mentioned athlete parameter training data refers to the physical fitness parameters and historical amateur competition parameter information provided by the athletes when joining the club, and the above-mentioned athlete value real label refers to the competition ability value corresponding to the preset professional league competitions participated in by the athletes after joining the club.
[0140] Therefore, in this step, the initial model is trained by using athlete parameter training data carrying the true labels of athlete values to obtain a preset athlete value recognition model, wherein the model training process is consistent with the existing model training process and will not be repeated here.
[0141] It should be understood that the above is only an example and does not constitute any limitation to the technical solution of the present invention. Those skilled in the art can make settings based on needs in actual applications, and they are not listed one by one here.
[0142] This embodiment adopts the above scheme to obtain the athlete parameters corresponding to the local athlete node; input the athlete parameters into the preset athlete value recognition model to obtain the local athlete initial value corresponding to the athlete parameters through the preset athlete value recognition model, thereby ensuring the fairness of the value evaluation of each athlete and further ensuring the fairness of the transfer transaction.
[0143] In addition, this embodiment also provides a sports transfer transaction processing device. Figure 5 , Figure 5 This is a schematic diagram of the functional modules of an embodiment of a sports transfer transaction processing device of the present invention.
[0144] In this embodiment, the sports transfer transaction processing device is a virtual device, stored in Figure 1 The memory 1005 of the sports transfer transaction processing device shown is used to realize all functions of the sports transfer transaction processing program: when receiving an encrypted transfer request carrying a third-party ID sent by a third-party sports club chain through the blockchain node, decrypt the encrypted transfer request according to the first key matched by the third-party sports club chain to obtain the third-party ID;
[0145] The total IP value of the third-party athlete of the third-party athlete matched with the third-party ID identifier is obtained from the blockchain, and the degree of fit between the total IP value of each local athlete and the total IP value of the third-party athlete is obtained, so as to determine the target local athlete through the degree of fit; used to generate an encrypted transaction request carrying the target local ID identifier according to the second key; used to send the encrypted transaction request to the third-party sports club chain through the blockchain node, and receive the transaction result fed back by the third-party sports club chain; if the transaction result is to agree to the transfer transaction, then cooperate with the third-party sports club chain to generate a transfer transaction certificate, and record the transfer transaction certificate into the blockchain according to the third-party ID identifier and the target local ID identifier.
[0146] Specifically, refer to Figure 5 , the sports transfer transaction processing device comprises:
[0147] The receiving module 10 is used to receive an encrypted transfer request carrying a third-party ID sent by a third-party sports club chain through the blockchain node, and decrypt the encrypted transfer request according to a first key matched by the third-party sports club chain to obtain the third-party ID;
[0148] The acquisition module 20 is used to obtain the third-party athlete IP total value of the third-party athlete whose third-party ID identifier matches from the blockchain, and obtain the degree of fit between the total IP value of each local athlete and the total IP value of the third-party athlete, so as to determine the target local athlete through the degree of fit;
[0149] A generating module 30, configured to generate an encrypted transaction request carrying a target local ID according to a second key;
[0150] A sending module 40, configured to send the encrypted transaction request to the third-party sports club chain through the blockchain node, and receive the transaction result fed back by the third-party sports club chain;
[0151] The storage module 50 is used to generate a transfer transaction certificate in collaboration with the third-party sports club chain if the transaction result is to agree to the transfer transaction, and record the transfer transaction certificate into the blockchain according to the third-party ID identifier and the target local ID identifier.
[0152] In addition, an embodiment of the present invention further provides a computer storage medium, on which a sports transfer transaction processing program is stored. When the sports transfer transaction processing program is executed by a processor, the steps of the sports transfer transaction processing method described above are implemented, which will not be repeated here.
[0153] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0154] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0155] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present invention.
[0156] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A sports transfer transaction processing method, characterized in that: A sports club chain applied to a sports management system based on blockchain, wherein the sports management system based on blockchain includes a plurality of third-party sports club chains other than the sports club chain, and the sports club chain includes blockchain nodes corresponding to each third-party sports club chain, and the method includes: When receiving an encrypted transfer request carrying a third-party ID sent by a third-party sports club chain through the blockchain node, decrypting the encrypted transfer request according to a first key matched by the third-party sports club chain to obtain the third-party ID; Obtaining the total IP value of the third-party athlete whose third-party ID matches the third-party athlete from the preset blockchain, and obtaining the degree of fit between the total IP value of each local athlete and the total IP value of the third-party athlete, so as to determine the target local athlete through the degree of fit; wherein the degree of fit refers to the value ratio corresponding to the total IP value of the local athlete and the total IP value of the third-party athlete; Generate an encrypted transaction request carrying a target local ID according to the second key; Sending the encrypted transaction request to the third-party sports club chain through the blockchain node, and receiving the transaction result fed back by the third-party sports club chain; If the transaction result is to agree to the transfer transaction, the transfer transaction certificate is generated in collaboration with the third-party sports club chain, and the transfer transaction certificate is recorded in the preset blockchain according to the third-party ID identifier and the target local ID identifier; The step of determining the target local athlete through the degree of fit comprises: Selecting the local athlete corresponding to the maximum degree of fit as the first transfer transaction object, and determining the voting result corresponding to the first transfer transaction object according to the preset smart contract; If the voting result meets the preset result requirement, determining the first transfer transaction object as the target local athlete; and, If the voting result does not meet the preset result requirements, a second transfer transaction object is selected based on a gradient descent method of fit, and a target compensation plan matching the second transfer transaction object is generated until it is determined according to the preset smart contract that the voting results corresponding to the second transfer transaction object and the target compensation plan meet the preset result requirements, and the second transfer transaction object corresponding to the voting results that meet the preset result requirements is used as the target local athlete.
2. The sports transfer transaction processing method according to claim 1, characterized in that: The sports club chain includes a local athlete node, a local investor node, and a local athlete training node. Before the step of obtaining the total value of each local athlete's IP, it also includes: Obtaining the local athlete initial value and local ID corresponding to each local athlete node, and recording each local athlete initial value into the blockchain according to the local ID; Receive the training value corresponding to each local athlete node fed back by the local athlete training node and the investment value corresponding to each local athlete node fed back by the local investor node, and record the training value and the investment value into the blockchain according to the local ID identifier corresponding to each local athlete node to obtain the total value of each local athlete IP.
3. The sports transfer transaction processing method according to claim 2, characterized in that: The sports club chain includes a competition node corresponding to the competition alliance chain, and the competition alliance chain includes a competition audience node and a competition operation node. After the step of obtaining the total value of each local athlete IP, it also includes: Sending a competition request carrying a local ID to the competition alliance chain through the competition node, wherein when the competition alliance link receives the competition request, extracting the local athlete information corresponding to the local ID from the competition request, performing competition certification review on the local athlete information according to the preset smart contract, and feeding back the competition certification review result; If a feedback result indicating that the event is authenticated is received, a first notification message carrying local athlete information corresponding to a local ID is sent to the event audience node to obtain the audience preference value fed back by the event audience node; and If a feedback result indicating that the event certification is passed is received, a first notification message carrying local athlete information corresponding to the local ID is sent to the event operation node to obtain the operation income fed back by the event operation node; The total value of the local athlete IP corresponding to the local ID is adjusted according to the audience preference value and the operating income, and the adjusted total value of the local athlete IP is stored in a preset blockchain according to the local ID.
4. The sports transfer transaction processing method according to claim 2, characterized in that: The step of obtaining the local athlete initial value corresponding to each local athlete node includes: Get the athlete parameters corresponding to the local athlete node; The athlete parameters are input into a preset athlete value recognition model to obtain the local athlete initial value corresponding to the athlete parameters through the preset athlete value recognition model.
5. The sports transfer transaction processing method according to claim 4, characterized in that: Before the step of inputting the athlete parameters into the preset athlete value recognition model, the method further includes: Obtaining athlete parameter training data with true athlete value labels; Inputting the athlete parameter training data into an initial model to obtain an athlete value prediction label of the athlete parameter training data through the initial model; Calculating a loss function based on the predicted athlete value label and the true athlete value label; The model parameters of the initial model are updated by gradient descent until the loss function converges or reaches a preset training iteration round, and the model parameters corresponding to the loss function convergence or reaching the preset training iteration round are used as the final model parameters to obtain a preset athlete value recognition model.
6. The sports transfer transaction processing method according to any one of claims 1 to 5, characterized in that: Before the step of receiving the encrypted transfer request carrying the third-party ID sent by the third-party sports club chain through the blockchain node, the step further includes: Randomly generate a local key pair, and send a key exchange notification message to the third-party sports club chain through the blockchain node corresponding to the third-party sports club chain to obtain the first key fed back by the third-party sports club chain; Generate a first encrypted key exchange response message carrying the local key pair according to the first key, and send the first encrypted key exchange response message through the blockchain node corresponding to the third-party sports club chain, wherein the third-party sports club chain decrypts the first encrypted key exchange response message according to a second key matched with the first key to obtain the local key pair, and generates and feeds back a second encrypted key exchange response message carrying the second key according to the local public key in the local key pair; The key exchange response second encrypted message is received, and the key exchange response second encrypted message is decrypted by using a local private key in the local key pair to obtain the second key.
7. A sports transfer transaction processing device, characterized in that: The sports transfer transaction processing device is applied to a sports club chain in a sports management system based on blockchain, wherein the sports management system based on blockchain includes a plurality of third-party sports club chains other than the sports club chain, and the sports club chain includes blockchain nodes corresponding to each third-party sports club chain, and the sports transfer transaction processing device includes: A receiving module, configured to, upon receiving an encrypted transfer request carrying a third-party ID sent by a third-party sports club chain through the blockchain node, decrypt the encrypted transfer request according to a first key matched by the third-party sports club chain to obtain the third-party ID; An acquisition module is used to obtain the total IP value of the third-party athlete of the third-party athlete matched by the third-party ID identifier from the preset blockchain, and obtain the degree of fit between the total IP value of each local athlete and the total IP value of the third-party athlete, so as to determine the target local athlete through the degree of fit; wherein the degree of fit refers to the value ratio corresponding to the total IP value of the local athlete and the total IP value of the third-party athlete; the acquisition module is also used to select the local athlete corresponding to the maximum degree of fit as the first transfer transaction object, and determine the voting result corresponding to the first transfer transaction object according to the preset smart contract; if the voting result meets the preset result requirement, the first transfer transaction object is determined to be the target local athlete; and if the voting result does not meet the preset result requirement, a second transfer transaction object is selected based on the gradient descent of the degree of fit, and a target compensation scheme matching the second transfer transaction object is generated, until the voting results corresponding to the second transfer transaction object and the target compensation scheme are determined to meet the preset result requirements according to the preset smart contract, and the second transfer transaction object corresponding to the voting result meeting the preset result requirements is used as the target local athlete; A generating module, used for generating an encrypted transaction request carrying a target local ID according to a second key; A sending module, used to send the encrypted transaction request to the third-party sports club chain through the blockchain node, and receive the transaction result fed back by the third-party sports club chain; The storage module is used to collaborate with the third-party sports club chain to generate a transfer transaction certificate if the transaction result is an approval of the transfer transaction, and record the transfer transaction certificate into a preset blockchain according to the third-party ID identifier and the target local ID identifier.
8. A sports transfer transaction processing device, characterized in that: The sports transfer transaction processing device includes a processor, a memory and a sports transfer transaction processing program stored in the memory. When the sports transfer transaction processing program is executed by the processor, the steps of the sports transfer transaction processing method as described in any one of claims 1-6 are implemented.
9. A computer storage medium, characterized in that: The computer storage medium stores a sports transfer transaction processing program, and when the sports transfer transaction processing program is executed by the processor, the steps of the sports transfer transaction processing method as described in any one of claims 1-6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the sports transfer transaction processing method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Information processing method and device based on blockchain network and electronic equipment
CN110505239A
Human resource capital transaction management system
CN110659874A