A data processing method, system, electronic device, and storage medium
By introducing content detection and authentication devices into the interactive platform, user interaction with content is verified, and credentials are issued to ensure data authenticity. This solves the problem of users sharing false information and enables accurate information acquisition.
Patent Information
- Application Number
- CN202310292093.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2043-03-23
AI Technical Summary
The information shared by users on interactive platforms is inaccurate, making it difficult to obtain genuine experiences with videos or tourist attractions, as some users share reviews without actually watching or visiting them.
By introducing content detection and authentication devices into the interactive platform, the system detects user interactions with target content and issues credentials after verifying that the user possesses the corresponding credentials, thus ensuring the authenticity of the data.
To ensure the accuracy of information obtained by users on interactive platforms, a credential verification mechanism is used to verify whether users are genuinely participating in the target content, thus preventing the spread of false reviews.
Smart Images

Figure CN116319019B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and in particular to a data processing method, system, electronic device, and storage medium. Background Technology
[0002] Currently, many users share their experiences with a film or tourist attraction on interactive platforms. However, the information shared by some users is not necessarily accurate. For example, some users may not have watched the film or visited the attraction, yet they can still freely share their experiences on the platform, making it difficult for users to obtain accurate information. Summary of the Invention
[0003] The purpose of this invention is to provide a data processing method, system, electronic device, and storage medium to enable users to obtain accurate information on an interactive platform. The specific technical solution is as follows:
[0004] In a first aspect of this invention, a data processing method is provided, applied to an interactive platform, the method comprising:
[0005] Receive an interaction request sent by a client, the interaction request carrying the target account and target content;
[0006] A credential verification request is sent to the authentication device for the target account and the target content, so that the authentication device responds to the credential verification request and verifies whether the target account has credentials corresponding to the target content;
[0007] The authentication device receives a verification result sent by the authentication device; wherein the authentication device is used to issue a credential corresponding to the target content to the target account in response to a credential issuance request sent by the content detection device for the target account and the target content; the content detection device is used to detect the interaction between the target account and the target content, and when a preset interaction behavior is detected between the target account and the target content, it sends the credential issuance request for the target account and the target content.
[0008] When the verification result indicates that the target account has credentials corresponding to the target content, the data information sent by the client is determined to be valid data information.
[0009] In one possible embodiment, the authentication device is a blockchain-based device deployed with POAP. When the verification result indicates that the target account has credentials corresponding to the target content, the data information sent by the client is determined to be valid data information, including:
[0010] When the verification result indicates that the target account has credentials corresponding to the target content, a review request is sent to the client, so that the client responds to the review request by sending data information; the data information sent by the client is received; and the data information sent by the client is determined to be valid.
[0011] or,
[0012] When the verification result indicates that the target account has credentials corresponding to the target content, the data information carried in the interaction request is determined to be valid data information.
[0013] In a second aspect of the invention, a data processing method is also provided, applied to an electronic device, wherein the electronic device has a content detection device deployed therein, the method comprising:
[0014] Detect the interaction between the target account and the target content;
[0015] When a preset interaction is detected between the target account and the target content, a credential issuance request is sent for the target account and the target content, so that the authentication device responds to the credential issuance request and issues a credential corresponding to the target content to the target account. The authentication device is used to respond to a credential verification request sent by the interaction platform for the target account and the target content, verifying whether the target account has a credential corresponding to the target content. The interaction platform is used to receive an interaction request sent by a client, send the credential verification request to the authentication device for the target account and the target content, and receive a verification result sent by the authentication device. When the verification result indicates that the target account has a credential corresponding to the target content, the data information sent by the client is determined to be valid data information. The interaction request carries the target account and the target content.
[0016] In one possible embodiment, the step of sending a credential issuance request to the target account and the target content when a preset interaction behavior between the target account and the target content is detected, so that the authentication device responds to the credential issuance request and issues a credential corresponding to the target content to the target account, includes:
[0017] Send a description of the target content and an identifier generation request to the authentication device, so that the authentication device responds to the identifier generation request, generates a content identifier for the target content based on the description information, and sends the content identifier to the content detection device;
[0018] Receive the content identifier;
[0019] When a preset interaction is detected between the target account and the target content, a credential issuance request is sent to the target account and the target content, so that the authentication device responds to the credential issuance request, determines the target content corresponding to the content identifier, and issues the credential corresponding to the determined target content to the target account.
[0020] In a third aspect of this invention, a data processing method is also provided, applied to an electronic device, wherein the electronic device has an authentication device deployed therein, the method comprising:
[0021] In response to a credential verification request sent by an interactive platform for a target account and target content, the system verifies whether the target account possesses a credential corresponding to the target content. The interactive platform receives an interaction request from a client for the target content, sends the credential verification request to the authentication device for the target account and target content, and receives a verification result from the authentication device. When the verification result indicates that the target account possesses a credential corresponding to the target content, the system determines that the data information sent by the client is valid data information. The interaction request carries the target account and the target content. The credential is issued by the authentication device to the target account in response to a credential issuance request sent by a content detection device for the target account and target content, corresponding to the target content. The content detection device detects interactions between the target account and the target content, and, upon detecting a preset interaction behavior between the target account and the target content, sends the credential issuance request for the target account and target content.
[0022] In one possible embodiment, the step of issuing a credential corresponding to the target content to the target account in response to a credential issuance request sent by the content detection device for the target account and the target content includes:
[0023] Receive description information and identifier generation request for the target content sent by the content detection device;
[0024] In response to the identifier generation request, a content identifier for the target content is generated based on the description information, and the content identifier is sent to the content detection device;
[0025] In response to a credential issuance request sent by the content detection device for the target account and the target content, the target content corresponding to the content identifier is determined, and a credential corresponding to the determined target content corresponding to the content identifier is issued to the target account; wherein, the content detection device is used to send the credential issuance request for the target account and the target content when it detects that the target account and the target content have interacted.
[0026] In a fourth aspect of this invention, a data processing method is also provided, applied to a data processing system, the data processing system comprising multiple electronic devices, each of which is equipped with an interactive platform, a content detection device, and an authentication device, the method comprising:
[0027] The content detection device detects the interaction between the target account and the target content, and when it detects that the target account and the target content have a preset interaction behavior, it sends a credential issuance request to the target account and the target content.
[0028] In response to a credential issuance request sent by a content detection device for the target account and the target content, the authentication device issues a credential corresponding to the target content to the target account.
[0029] The interactive platform receives an interactive request sent by the client, the interactive request carrying the target account and target content;
[0030] The interactive platform sends a credential verification request to the authentication device for the target account and the target content.
[0031] In response to the credential verification request, the authentication device verifies whether the target account has a credential corresponding to the target content.
[0032] The interactive platform receives the verification result sent by the authentication device;
[0033] When the verification result indicates that the target account has credentials corresponding to the target content, the interactive platform determines that the data information sent by the client is valid data information.
[0034] In a fifth aspect of this invention, a data processing system is also provided, the system comprising multiple electronic devices, each of which is equipped with an interactive platform, a content detection device, and an authentication device.
[0035] The content detection device is used to detect the interaction between the target account and the target content, and when a preset interaction behavior is detected between the target account and the target content, a credential issuance request is sent to the target account and the target content.
[0036] The authentication device is used to issue a credential corresponding to the target content to the target account in response to the credential issuance request;
[0037] The client is used to receive the credentials corresponding to the target content;
[0038] The client is also used to upload data information related to the target content;
[0039] The interactive platform is used for interactive requests sent by the client, the interactive requests carrying the target account and target content;
[0040] The interactive platform is also used to send a credential verification request to the authentication device for the target account and the target content;
[0041] The authentication device is also used to verify, in response to the credential verification request, whether the target account has a credential corresponding to the target content;
[0042] The interactive platform is also used to receive the verification result sent by the authentication device;
[0043] The interactive platform is also used to determine that the data information sent by the client is valid data information when the verification result indicates that the target account has credentials corresponding to the target content.
[0044] In a sixth aspect of the present invention, an electronic device is also provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus.
[0045] Memory, used to store computer programs;
[0046] When a processor executes a program stored in memory, it implements the steps of any one of the methods described in the first, second, third, or fourth aspects above.
[0047] In another aspect of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored therein, and when the computer program is executed by a processor, it implements the steps of any of the methods described in the first, second, third, or fourth aspects above.
[0048] In another aspect of the present invention, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to perform the steps of any of the methods described in the first, second, third, or fourth aspects above.
[0049] This invention provides a data processing method, system, electronic device, and storage medium. Because the content detection device only sends a credential issuance request for the target account and target content to the authentication device when interaction between the target account and target content is detected, the authentication device issues a credential corresponding to the target content to the target account. This demonstrates that interaction has occurred between the target account and target content when a credential corresponding to the target content exists for the target account. Simultaneously, when the interactive platform receives an interaction request from a client, the request carries the target account and target content. A credential verification request is sent to the authentication device for the target account and target content to verify whether the target account has a credential corresponding to the target content. If the verification result indicates that the target account has a credential corresponding to the target content, it means that interaction has occurred between the target account and target content. At this point, the data information sent by the client is valid, ensuring the objectivity and authenticity of the data information, thereby enabling users to obtain accurate information on the interactive platform. Attached Figure Description
[0050] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below.
[0051] Figure 1 A schematic diagram of the structure of a data processing system provided in an embodiment of the present invention;
[0052] Figure 2 A flowchart illustrating a data processing method provided in an embodiment of the present invention;
[0053] Figure 3 Another flowchart illustrating the data processing method provided in an embodiment of the present invention;
[0054] Figure 4 This is a schematic flowchart of a data processing method applied to an interactive platform provided in an embodiment of the present invention;
[0055] Figure 5 This is a schematic flowchart of a data processing method applied to a content detection device provided in an embodiment of the present invention;
[0056] Figure 6 This is a schematic diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0057] The technical solutions of the present invention will now be described with reference to the accompanying drawings in the embodiments of the present invention.
[0058] To more clearly illustrate the data processing method provided by this invention, a possible application scenario of the data processing method provided by this invention will be described below by way of example. It is understood that the following example is only one possible application scenario of the data processing method provided by this invention. In other possible embodiments, the data processing method provided by this invention can also be applied to other possible application scenarios, and the following example does not impose any limitations on this.
[0059] In current technology, before watching a movie or visiting a tourist attraction, users typically check review websites or communities for other users' opinions on the film or attraction. However, current review websites contain a large amount of inaccurate information; for example, users can freely rate a movie without having watched it, making it difficult for users to obtain genuine reviews and accurate information from these websites.
[0060] Based on this, embodiments of the present invention provide a data processing system. The system includes multiple electronic devices, each of which is equipped with an interactive platform 104, a content detection device 101, and an authentication device 102. The system also includes an electronic device containing a client 103. Figure 1 As shown.
[0061] The following will combine Figure 2 Provide a detailed description of the data processing system, such as... Figure 2 As shown, the data processing method provided by the present invention includes:
[0062] S201, The content detection device detects the interaction between the target account and the target content, and when it detects that the target account and the target content have a preset interaction behavior, it sends a credential issuance request to the target account and the target content.
[0063] S202, In response to the credential issuance request, the authentication device issues the credential corresponding to the target content to the target account;
[0064] S203, The client receives the credentials corresponding to the target content;
[0065] S204, The client uploads data information targeting the content.
[0066] S205, The interactive platform receives an interactive request sent by the client, which carries the target account and target content;
[0067] S206, The interactive platform sends a credential verification request to the authentication device for the target account and target content;
[0068] S207, The authentication device responds to the credential verification request by verifying whether the target account has credentials corresponding to the target content;
[0069] S208, the interactive platform receives the verification result sent by the authentication device.
[0070] S209, when the verification result indicates that the target account has credentials corresponding to the target content, the interactive platform determines that the data information sent by the client is valid data information.
[0071] In this embodiment, the content detection device only sends a credential issuance request for the target account and target content to the authentication device upon detecting interaction between the target account and the target content. This allows the authentication device to issue the credential corresponding to the target content to the target account, indicating that interaction has occurred between the target account and the target content when the target account possesses the corresponding credential. Simultaneously, when the interactive platform receives an interaction request from the client, the request carries the target account and target content. A credential verification request is then sent to the authentication device to verify whether the target account possesses the corresponding credential. If the verification result indicates that the target account possesses the corresponding credential, it signifies that interaction has occurred between the target account and the target content. In this case, the data sent by the client is valid, ensuring the objectivity and accuracy of the data, thus enabling users to obtain accurate information on the interactive platform.
[0072] The following will explain S201-S208 respectively:
[0073] In S201, the content detection device can be a video website, a tourist attraction's ticketing system, or a cinema's ticketing system. When the content detection device is a video website, the target content is a video; when it's a tourist attraction's ticketing system, the target content is the attraction itself; and when it's a cinema's ticketing system, the target content is a movie. If a video website detects that a user has watched a video, or a tourist attraction's or cinema's ticketing system detects that a user has used a purchased movie ticket or attraction ticket, it indicates that the target account has interacted with the target content. In this case, the content detection device sends a credential issuance request to the authentication device for the target account and the target content, so that the authentication device issues a credential corresponding to the target content to the target account. Furthermore, the target account does not refer to a specific user, but rather to a user within a specific scenario.
[0074] In one possible embodiment, upon detecting a preset interaction between a target account and target content, a credential issuance request is sent to the target account and target content, causing the authentication device to respond to the credential issuance request and issue a credential corresponding to the target content to the target account, including:
[0075] Send a description of the target content and an identifier generation request to the authentication device, so that the authentication device responds to the identifier generation request, generates a content identifier for the target content based on the description information, and sends the content identifier to the content detection device;
[0076] Received content identifier;
[0077] Upon detecting interaction between the target account and the target content, a credential issuance request is sent to the target account and the target content. This prompts the authentication device to respond to the credential issuance request, determine the target content corresponding to the content identifier, and issue the credential corresponding to the determined content identifier to the target account.
[0078] Specifically, the content detection device sends the description information of the target content to the authentication device. The authentication device generates a unique identifier for the target content based on the description information and returns the corresponding identifier to the content detection device. A unique identifier means that the same target content corresponds to the same identifier. When the content detection device detects interaction between the target account and the target content, it sends a credential issuance request to the authentication device.
[0079] Taking a content detection device as the video broadcasting platform, the target content as the films on the video broadcasting platform, and the authentication device as a platform created on the blockchain with smart contracts deployed, the authentication device has registration, issuance, and verification functions. The video broadcasting platform sends the film's description information to the authentication device, such as the film's director, lead actors, or plot synopsis. Based on the film's description information, the authentication device generates a unique identifier representing the film through the regist function of the smart contract.
[0080] The process by which the authentication device generates an identifier using the `regist` function of the smart contract includes: inputting the movie's description information as a string into the `regist` function; the `regist` function then generates a 256-bit unsigned number based on the input string, which serves as the movie's identifier. Simultaneously, the movie's identifier is stored in the `_serial` mapping of the smart contract for easy retrieval later.
[0081] In S202, the authentication device receives a credential issuance request from the content detection device for the target account and target content. It then determines the target content corresponding to the content identifier and issues a credential corresponding to the target content to the target account. Taking the content detection device as a video broadcasting platform, the target content as a movie on the video broadcasting platform, and the authentication device as a blockchain-based platform with deployed smart contracts as an example, when a user watches the movie on the video broadcasting platform, the platform sends a credential issuance request to the authentication device for the user account and the movie. The authentication device issues a credential corresponding to the movie, such as a POAP (Proof of Attendance Protocol) badge, to the user account through the `mintToken` function of the smart contract. Furthermore, the `mintToken` function internally establishes a relationship between the credential, the target content, and the user account address.
[0082] The process of the authentication device issuing credentials to the user account through the mintToken function of the smart contract includes: inputting the movie identifier and the user account address receiving the credentials as strings into the mintToken function; the mintToken function responds to the input string by incrementing lastId (the previous identifier) by one to obtain a new lastld, which is used as the identifier of the credential corresponding to the movie.
[0083] Furthermore, to record the mapping between user accounts, credentials, and videos, the `mintToken` function assigns the lastId bit of `_owners` to the address of the user account receiving the credential, thus mapping the identifier of the credential corresponding to the video to the address of the user account that owns that credential. It also assigns the lastId bit of `_tokenSerial` to the identifier of the video, mapping which video corresponds to each of all issued credential identifiers. Finally, based on the user account address receiving the credential, it retrieves the list of credentials corresponding to that user account from `_tokens` and records the lastId bit in that list, thus mapping the relationship between the user account and the credentials owned by that user account.
[0084] In addition, the _serial mapping stores the mapping relationship between the movie's identifier and the movie's description information, and the _tokens mapping stores the mapping relationship between the user account address and the list of credentials owned by the user account.
[0085] In one possible embodiment, in response to a credential issuance request sent by the content detection device for a target account and target content, a credential corresponding to the target content is issued to the target account, including:
[0086] Receive description information and identifier generation request for the target content sent by the content detection device;
[0087] In response to the identifier generation request, a content identifier for the target content is generated based on the description information, and the content identifier is sent to the content detection device;
[0088] In response to a credential issuance request sent by a content detection device for a target account and target content, the target content corresponding to the content identifier is determined, and a credential corresponding to the determined target content is issued to the target account; wherein, the content detection device is used to send a credential issuance request for the target account and target content when it detects that the target account and target content have interacted.
[0089] The specific process for issuing vouchers has been explained in detail above, so it will not be repeated here.
[0090] In S203, after the authentication device issues the credential corresponding to the target content to the target account, the credential is stored in the target account on the client side.
[0091] In S204, the target content can be a video, or other user experience products such as tourist attractions. When the target content is a video, the data information for the target content is the user's rating of the video; when the target content is a tourist attraction, the data information for the target content is the user's rating of the tourist attraction. Furthermore, the account receiving the credentials corresponding to the target content and the account uploading the data information for the target content can be two different but mutually linked accounts.
[0092] In S205, the interactive platform receives interactive requests sent by the client. The interactive request carries the target account and target content. The interactive request may or may not carry the data information sent by the client.
[0093] In S206, when a target account uploads a video or a review of a tourist attraction on the interactive platform, the interactive platform will send a credential verification request to the authentication device.
[0094] In S207, when the interactive platform receives an interaction request from the client, the request carries the target account and target content. The interactive platform requests authorization for the user account address from the target account. When the target account is authorized by the user account address, the interactive platform sends a credential verification request to the authentication device. The authentication device verifies whether the target account possesses the credentials corresponding to the target content based on the obtained user account address and the content identifier corresponding to the target content. For example, when a user account uploads a video or a review of a tourist attraction to the interactive platform, if the user account does not have the corresponding credentials, the user cannot submit the review of the video or tourist attraction on the interactive platform, or the user can submit the review of the video or tourist attraction on the interactive platform, but the interactive platform cannot display the review of the video or tourist attraction. For example, taking the content detection device as the video broadcasting platform, the target content as the film on the video broadcasting platform, and the authentication device as a smart contract deployed on the blockchain, when a user uploads a review of a film on the interactive platform, the interactive platform requests authorization for the digital wallet address from the user's digital wallet. When the user authorizes the digital wallet address, the interactive platform sends a credential verification request to the smart contract. The authentication device obtains the user's digital wallet address and the identifier corresponding to the film through the smart contract, and uses the validate function of the smart contract to determine whether the user account possesses the credential corresponding to the film.
[0095] The authentication device obtains the user's digital wallet address through a smart contract by: using the identifier of the credential to determine the user's digital wallet address from the _owners mapping, where the _owners mapping stores which user account address each credential belongs to.
[0096] The authentication device verifies whether the target account possesses the credentials corresponding to the target content through the validate function of the smart contract. This includes: inputting the movie identifier and the target account address as strings into the validate function; the validate function responds to the input strings, finds the credential list corresponding to the target account from the _tokens mapping based on the target account address, and then iterates through the credential list. If there is a credential in the credential list that corresponds to the currently queried movie identifier, it means that the target account possesses the credentials for that movie; if there is no credential in the credential list that corresponds to the currently queried movie identifier, it means that the target account does not possess the credentials for that movie.
[0097] In S208, the interactive platform receives the verification result sent by the authentication device. The verification result can be that the target account has credentials corresponding to the target content, or that the target account does not have credentials corresponding to the target content.
[0098] In S209, when the verification result indicates that the target account has credentials corresponding to the target content, it means that the user account has interacted with the target content, and the data information sent by the client is determined to be valid data information. Specifically, if the interaction request does not carry data information sent by the client, then when the verification result indicates that the target account has credentials corresponding to the target content, the client is instructed to send data information, and operations such as storing and displaying the data information on the interaction platform are performed; if the interaction request carries data information sent by the client, then when the verification result indicates that the target account has credentials corresponding to the target content, the access address of the interaction page is provided to the client.
[0099] In one possible embodiment, the authentication device is a blockchain-based device deployed with POAP. When the verification result indicates that the target account possesses credentials corresponding to the target content, the device determines that the data information sent by the client is valid, including:
[0100] When the verification result indicates that the target account has credentials corresponding to the target content, a review request is sent to the client so that the client responds to the review request by sending data information; the data information sent by the client is received; and the data information sent by the client is determined to be valid.
[0101] or,
[0102] When the verification result indicates that the target user account has credentials corresponding to the target content, the data information carried in the interaction request will be determined as valid data information.
[0103] Specifically, if the interaction request does not carry data information sent by the client, when the verification result indicates that the target account has credentials corresponding to the target content, the interaction platform sends a comment request to the client, so that the client responds to the comment request by sending data information. The platform receives and determines that the data information sent by the client is valid. The way to determine that the data information sent by the client is valid can be by performing operations such as storing or displaying the data information on the interaction page of the interaction platform.
[0104] If the interaction request carries data information sent by the client, then when the verification result indicates that the target account has credentials corresponding to the target content, the data information carried in the interaction request will be determined as valid data information. The way to determine valid data information can be to provide the client with the access address of the interaction page on the interaction platform.
[0105] By choosing this embodiment, since the authentication device is a device created based on the blockchain and the device is deployed with POAP, each credential is unique and cannot be forged. Furthermore, the credential can be verified on the blockchain. Therefore, the credential corresponding to the target content in the target account cannot be forged, thereby ensuring the objectivity and authenticity of the data information uploaded by the target account.
[0106] Based on the aforementioned steps, each platform of the data processing system performs the following steps:
[0107] Content detection device 101 is used to detect the interaction between the target account and the target content, and when a preset interaction behavior is detected between the target account and the target content, a credential issuance request is sent to the target account and the target content.
[0108] The authentication device 102 is used to issue a credential corresponding to the target content to the target account in response to a credential issuance request, and to verify whether the target account has a credential corresponding to the target content in response to a credential verification request, and to send the verification result to the interactive platform.
[0109] Client 103 is used to receive the credentials corresponding to the target content and upload data information related to the target content.
[0110] Interactive platform 104 is used to receive interactive requests sent by clients, which carry the target account and target content. It sends a credential verification request to the authentication device for the target account and target content, and receives the verification result sent by the authentication device. When the verification result indicates that the target account has credentials corresponding to the target content, it determines that the data information sent by the client is valid data information.
[0111] To more clearly illustrate the aforementioned data processing system, the following description will be provided in conjunction with specific embodiments. For example, the content detection device is a video broadcasting platform, the authentication device is a smart contract deployed on a blockchain, the interactive platform is a video review platform, the target account is a user, the user account address is the target account's digital wallet address, and the target content is a video. (See also...) Figure 3 ,include:
[0112] S301, Generate identifier.
[0113] The video streaming platform sends the video's description information to the smart contract and calls the smart contract's registration function to generate a unique identifier for the video. After generating the identifier for the video, the smart contract returns the corresponding identifier to the video streaming platform.
[0114] Specifically, the video streaming platform sends the film's description information to the smart contract, such as the film's director, lead actors, or plot synopsis. Based on the film's description information, the smart contract generates a unique identifier for the film using the regist function and returns the corresponding identifier to the video streaming platform.
[0115] S302, watch the video.
[0116] Users watch videos on video streaming platforms.
[0117] S303, issue badges.
[0118] After the user finishes watching, the video streaming platform calls the smart contract's issuance function to issue a POAP badge to the user's digital wallet.
[0119] Specifically, after a user watches a movie on a video streaming platform, the platform calls the smart contract's issuance function, which then issues the POAP badge corresponding to the movie to the user's digital wallet.
[0120] S304, posted a movie review.
[0121] Users post reviews of the film on video review platforms.
[0122] S305, requesting authorization.
[0123] The video review platform requests authorization for the digital wallet address from the user's digital wallet.
[0124] Specifically, when a video review platform receives a movie review uploaded by a user, it requests authorization for the user's digital wallet address from the user's digital wallet. If the user agrees to the authorization, the video review platform obtains the user's digital wallet address; otherwise, the video review platform cannot obtain the user's digital wallet address.
[0125] S306, Authorization granted.
[0126] Users can authorize applications through their digital wallet addresses.
[0127] S307, Verification Badge.
[0128] After obtaining a user's digital wallet address, the video review platform calls the verification function of the smart contract to verify whether the digital wallet address contains the POAP badge for the video.
[0129] Specifically, after obtaining the user's digital wallet address from the video review platform, the smart contract's verification function is called. The smart contract obtains the user's digital wallet address and the identifier corresponding to the video from the video review platform, and verifies whether the user has the POAP badge corresponding to the video through the validate function. If the user has the POAP badge corresponding to the video, the verification passes; if the user does not have the POAP badge corresponding to the video, the verification fails.
[0130] S308, submit a film review.
[0131] After verification, users can submit their movie reviews on the video review platform.
[0132] This invention also provides a data processing method applied to an electronic device, which has an interactive platform deployed within it, such as... Figure 4 As shown, it includes:
[0133] S401 receives an interaction request sent by the client, which carries the target account and target content.
[0134] S402, a credential verification request is sent to the authentication device for the target account and target content, so that the authentication device responds to the credential verification request and verifies whether the target account has credentials corresponding to the target content.
[0135] S403 receives the verification result sent by the authentication device.
[0136] The authentication device is used to issue a credential corresponding to the target content to the target account in response to a credential issuance request sent by the content detection device for the target account and the target content. The content detection device is used to detect the interaction between the target account and the target content, and when a preset interaction behavior is detected between the target account and the target content, it sends the credential issuance request to the target account and the target content.
[0137] S404: When the verification result indicates that the target account has credentials corresponding to the target content, the data information sent by the client is determined to be valid data information.
[0138] In this embodiment, the content detection device only sends a credential issuance request for the target account and target content to the authentication device upon detecting interaction between the target account and the target content. This allows the authentication device to issue the credential corresponding to the target content to the target account, indicating that interaction has occurred between the target account and the target content when the target account possesses the corresponding credential. Simultaneously, when the interactive platform receives an interaction request from the client, the request carries the target account and target content. A credential verification request is then sent to the authentication device to verify whether the target account possesses the corresponding credential. If the verification result indicates that the target account possesses the corresponding credential, it signifies that interaction has occurred between the target account and the target content. In this case, the data sent by the client is valid, ensuring the objectivity and accuracy of the data, thus enabling users to obtain accurate information on the interactive platform.
[0139] This invention also provides a data processing method applied to an electronic device, wherein the electronic device has a content detection device deployed within it, such as... Figure 5 As shown, it includes:
[0140] S501 detects the interaction between the target account and the target content.
[0141] S502, when a preset interaction is detected between the target account and the target content, a credential issuance request is sent to the target account and the target content, so that the authentication device responds to the credential issuance request and issues the credential corresponding to the target content to the target account.
[0142] The authentication device is used to respond to the credential verification request sent by the interactive platform for the target account and target content, and to verify whether the target account has credentials corresponding to the target content. The interactive platform is used to receive the interactive request sent by the client, and to send a credential verification request to the authentication device for the target account and target content, and to receive the verification result sent by the authentication device. When the verification result indicates that the target account has credentials corresponding to the target content, the platform determines that the data information sent by the client is valid data information. The interactive request carries the target account and target content.
[0143] In this embodiment, the content detection device only sends a credential issuance request for the target account and target content to the authentication device upon detecting interaction between the target account and the target content. This allows the authentication device to issue the credential corresponding to the target content to the target account, indicating that interaction has occurred between the target account and the target content when the target account possesses the corresponding credential. Simultaneously, when the interactive platform receives an interaction request from the client, the request carries the target account and target content. A credential verification request is then sent to the authentication device to verify whether the target account possesses the corresponding credential. If the verification result indicates that the target account possesses the corresponding credential, it signifies that interaction has occurred between the target account and the target content. In this case, the data sent by the client is valid, ensuring the objectivity and accuracy of the data, thus enabling users to obtain accurate information on the interactive platform.
[0144] This invention also provides a data processing method applied to an electronic device, wherein the electronic device has an authentication device deployed therein, including:
[0145] In response to the credential verification request sent by the interactive platform for the target account and target content, verify whether the target account has credentials corresponding to the target content.
[0146] The interactive platform receives interaction requests from clients for the target content, sends credential verification requests to the authentication device for the target account and target content, and receives verification results from the authentication device. When the verification result indicates that the target account has credentials corresponding to the target content, the platform determines that the data information sent by the client is valid. The interaction request carries the target account and the target content. The credential is issued by the authentication device to the target account in response to a credential issuance request sent by the content detection device for the target account and target content. The content detection device detects interactions between the target account and the target content, and sends a credential issuance request for the target account and target content when a preset interaction behavior is detected.
[0147] In this embodiment, the content detection device only sends a credential issuance request for the target account and target content to the authentication device upon detecting interaction between the target account and the target content. This allows the authentication device to issue the credential corresponding to the target content to the target account, indicating that interaction has occurred between the target account and the target content when the target account possesses the corresponding credential. Simultaneously, when the interactive platform receives an interaction request from the client, the request carries the target account and target content. A credential verification request is then sent to the authentication device to verify whether the target account possesses the corresponding credential. If the verification result indicates that the target account possesses the corresponding credential, it signifies that interaction has occurred between the target account and the target content. In this case, the data sent by the client is valid, ensuring the objectivity and accuracy of the data, thus enabling users to obtain accurate information on the interactive platform.
[0148] This invention also provides a data processing method applied to a data processing system. The data processing system includes multiple electronic devices, each of which is equipped with an interactive platform, a content detection device, and an authentication device. The method includes:
[0149] The content detection device detects the interaction between the target account and the target content, and when it detects that the target account and the target content have a preset interaction behavior, it sends a credential issuance request to the target account and the target content.
[0150] The authentication device responds to the credential issuance request sent by the content detection device for the target account and target content, and issues the credential corresponding to the target content to the target account;
[0151] The interactive platform receives interactive requests sent by clients, which contain the target account and target content.
[0152] The interactive platform sends a credential verification request to the authentication device for the target account and target content;
[0153] The authentication device responds to the credential verification request by verifying whether the target account has credentials corresponding to the target content;
[0154] The interactive platform receives the verification results sent by the authentication device;
[0155] When the verification result indicates that the target account has credentials corresponding to the target content, the interactive platform determines that the data information sent by the client is valid data information.
[0156] In this embodiment, the content detection device only sends a credential issuance request for the target account and target content to the authentication device upon detecting interaction between the target account and the target content. This allows the authentication device to issue the credential corresponding to the target content to the target account, indicating that interaction has occurred between the target account and the target content when the target account possesses the corresponding credential. Simultaneously, when the interactive platform receives an interaction request from the client, the request carries the target account and target content. A credential verification request is then sent to the authentication device to verify whether the target account possesses the corresponding credential. If the verification result indicates that the target account possesses the corresponding credential, it signifies that interaction has occurred between the target account and the target content. In this case, the data sent by the client is valid, ensuring the objectivity and accuracy of the data, thus enabling users to obtain accurate information on the interactive platform.
[0157] This invention also provides an electronic device, such as... Figure 6 As shown, it includes a processor 601, a communication interface 602, a memory 603, and a communication bus 604, wherein the processor 601, the communication interface 602, and the memory 603 communicate with each other through the communication bus 604.
[0158] Memory 603 is used to store computer programs;
[0159] When processor 601 executes a program stored in memory 603, it performs the following steps:
[0160] Receive an interaction request sent by a client, the interaction request carrying the target account and target content;
[0161] A credential verification request is sent to the authentication device for the target account and the target content, so that the authentication device responds to the credential verification request and verifies whether the target account has credentials corresponding to the target content;
[0162] Receive the verification result sent by the authentication device;
[0163] The authentication device is used to issue a credential corresponding to the target content to the target account in response to a credential issuance request sent by the content detection device for the target account and the target content; the content detection device is used to detect the interaction between the target account and the target content, and when a preset interaction behavior is detected between the target account and the target content, it sends the credential issuance request for the target account and the target content.
[0164] When the verification result indicates that the target account has credentials corresponding to the target content, the data information sent by the client is determined to be valid data information.
[0165] or
[0166] Detect the interaction between the target account and the target content;
[0167] When a preset interaction is detected between the target account and the target content, a credential issuance request is sent for the target account and the target content, so that the authentication device responds to the credential issuance request and issues a credential corresponding to the target content to the target account. The authentication device is used to respond to a credential verification request sent by the interaction platform for the target account and the target content, verifying whether the target account has a credential corresponding to the target content. The interaction platform is used to receive an interaction request sent by a client, send the credential verification request to the authentication device for the target account and the target content, and receive a verification result sent by the authentication device. When the verification result indicates that the target account has a credential corresponding to the target content, the data information sent by the client is determined to be valid data information. The interaction request carries the target account and the target content.
[0168] or
[0169] In response to a credential verification request sent by an interactive platform for a target account and target content, the system verifies whether the target account possesses a credential corresponding to the target content. The interactive platform receives an interaction request from a client for the target content, sends the credential verification request to the authentication device for the target account and target content, and receives a verification result from the authentication device. When the verification result indicates that the target account possesses a credential corresponding to the target content, the system determines that the data information sent by the client is valid data information. The interaction request carries the target account and the target content. The credential is issued by the authentication device to the target account in response to a credential issuance request sent by a content detection device for the target account and target content, corresponding to the target content. The content detection device detects interactions between the target account and the target content, and, upon detecting a preset interaction behavior between the target account and the target content, sends the credential issuance request for the target account and target content.
[0170] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0171] The communication interface is used for communication between the aforementioned terminal and other devices.
[0172] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0173] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0174] In another embodiment of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored therein, and when the computer program is executed by a processor, it implements any of the data processing methods described in the above embodiments.
[0175] In another embodiment of the present invention, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to perform any of the data processing methods described in the above embodiments.
[0176] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).
[0177] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0178] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the method embodiments are basically similar to the system embodiments, so the description is relatively simple; relevant parts can be referred to the description of the method embodiments.
[0179] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.
Claims
1. A data processing method, characterized in that, Applied to an electronic device, wherein an interactive platform is deployed within the electronic device, the method includes: Receive an interaction request sent by a client, the interaction request carrying the target account and target content; A credential verification request is sent to the authentication device for the target account and the target content, so that the authentication device responds to the credential verification request and verifies whether the target account has credentials corresponding to the target content; Receive the verification result sent by the authentication device; The authentication device is used to issue a credential corresponding to the target content to the target account in response to a credential issuance request sent by the content detection device for the target account and the target content; the content detection device is used to detect the interaction between the target account and the target content, and when a preset interaction behavior is detected between the target account and the target content, it sends the credential issuance request for the target account and the target content. When the verification result indicates that the target account has credentials corresponding to the target content, the data information sent by the client is determined to be valid data information.
2. The method according to claim 1, characterized in that, The authentication device is a blockchain-based device deployed with POAP. When the verification result indicates that the target account has credentials corresponding to the target content, the data information sent by the client is determined to be valid data information, including: When the verification result indicates that the target account has credentials corresponding to the target content, a review request is sent to the client, so that the client responds to the review request by sending data information; the data information sent by the client is received; and the data information sent by the client is determined to be valid. or, When the verification result indicates that the target account has credentials corresponding to the target content, the data information carried in the interaction request is determined to be valid data information.
3. A data processing method, characterized in that, Applied to an electronic device, wherein the electronic device has a content detection device deployed therein, the method includes: Detect the interaction between the target account and the target content; When a preset interaction is detected between the target account and the target content, a credential issuance request is sent for the target account and the target content, so that the authentication device responds to the credential issuance request and issues a credential corresponding to the target content to the target account. The authentication device is used to respond to a credential verification request sent by the interaction platform for the target account and the target content, verifying whether the target account has a credential corresponding to the target content. The interaction platform is used to receive an interaction request sent by a client, send the credential verification request to the authentication device for the target account and the target content, and receive a verification result sent by the authentication device. When the verification result indicates that the target account has a credential corresponding to the target content, the data information sent by the client is determined to be valid data information. The interaction request carries the target account and the target content.
4. The method according to claim 3, characterized in that The step of sending a credential issuance request to the target account and the target content when a preset interaction behavior is detected between the target account and the target content, so that the authentication device responds to the credential issuance request and issues a credential corresponding to the target content to the target account, includes: Send a description of the target content and an identifier generation request to the authentication device, so that the authentication device responds to the identifier generation request, generates a content identifier for the target content based on the description information, and sends the content identifier to the content detection device; Receive the content identifier; When a preset interaction is detected between the target account and the target content, a credential issuance request is sent to the target account and the target content, so that the authentication device responds to the credential issuance request, determines the target content corresponding to the content identifier, and issues the credential corresponding to the determined target content to the target account.
5. A data processing method, characterized in that, Applied to electronic devices, wherein an authentication device is deployed within the electronic device, the method includes: In response to a credential verification request sent by an interactive platform for a target account and target content, the system verifies whether the target account possesses a credential corresponding to the target content. The interactive platform receives an interaction request from a client for the target content, sends the credential verification request to the authentication device for the target account and target content, and receives a verification result from the authentication device. When the verification result indicates that the target account possesses a credential corresponding to the target content, the system determines that the data information sent by the client is valid data information. The interaction request carries the target account and the target content. The credential is issued by the authentication device to the target account in response to a credential issuance request sent by a content detection device for the target account and target content, corresponding to the target content. The content detection device detects interactions between the target account and the target content, and, upon detecting a preset interaction behavior between the target account and the target content, sends the credential issuance request for the target account and target content.
6. The method according to claim 5, characterized in that, The step of responding to a credential issuance request sent by the content detection device for the target account and the target content, and issuing the credential corresponding to the target content to the target account, includes: Receive description information and identifier generation request for the target content sent by the content detection device; In response to the identifier generation request, a content identifier for the target content is generated based on the description information, and the content identifier is sent to the content detection device; In response to a credential issuance request sent by the content detection device for the target account and the target content, the target content corresponding to the content identifier is determined, and a credential corresponding to the determined target content corresponding to the content identifier is issued to the target account; wherein, the content detection device is used to send the credential issuance request for the target account and the target content when it detects that the target account and the target content have interacted.
7. A data processing method, characterized in that, Applied to a data processing system, the data processing system comprising multiple electronic devices, each of which deploys an interactive platform, content detection equipment, and authentication equipment, the method includes: The content detection device detects the interaction between the target account and the target content, and when it detects that the target account and the target content have a preset interaction behavior, it sends a credential issuance request to the target account and the target content. In response to a credential issuance request sent by a content detection device for the target account and the target content, the authentication device issues a credential corresponding to the target content to the target account. The interactive platform receives an interactive request sent by the client, the interactive request carrying the target account and target content; The interactive platform sends a credential verification request to the authentication device for the target account and the target content. In response to the credential verification request, the authentication device verifies whether the target account has a credential corresponding to the target content. The interactive platform receives the verification result sent by the authentication device; When the verification result indicates that the target account has credentials corresponding to the target content, the interactive platform determines that the data information sent by the client is valid data information.
8. A data processing system, characterized in that, The system includes multiple electronic devices, each of which is equipped with an interactive platform, content detection equipment, and authentication equipment. The content detection device is used to detect the interaction between the target account and the target content, and when a preset interaction behavior is detected between the target account and the target content, a credential issuance request is sent to the target account and the target content. The authentication device is used to issue a credential corresponding to the target content to the target account in response to the credential issuance request; The client is used to receive the credentials corresponding to the target content; The client is also used to upload data information related to the target content; The interactive platform is used to receive interactive requests sent by the client, the interactive requests carrying the target account and target content; The interactive platform is also used to send a credential verification request to the authentication device for the target account and the target content; The authentication device is also used to verify, in response to the credential verification request, whether the target account has a credential corresponding to the target content; The interactive platform is also used to receive the verification result sent by the authentication device; The interactive platform is also used to determine that the data information sent by the client is valid data information when the verification result indicates that the target account has credentials corresponding to the target content.
9. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the steps of the method described in any one of claims 1-2, 3-4, 5-6, or 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method described in any one of claims 1-2, 3-4, 5-6, or 7.
Citation Information
Patent Citations
Target information push method and server
CN106611018A
Interactive behavior detection method and device based on block chain, equipment and storage medium
CN110933113A