Pet adoption method, device and storage medium

By configuring the pet adoption contract on the blockchain, freezing and managing the adoption deposit, combined with the return visit confirmation of the supervisor, the security issue of the deposit in pet adoption is solved, ensuring that the deposit is safe in the contract and preventing violations.

CN112053156BActive Publication Date: 2024-09-06陈懂
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010398814.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-12
Publication Date
2024-09-06
Estimated Expiration
2040-05-12

AI Technical Summary

Technical Problem

In the existing pet adoption model, free adoption is easy to be taken advantage of by unscrupulous people, while adoption with a deposit involves risks of fraud and illegal fund-raising, making it difficult to ensure the security of the deposit.

Method used

Configure the pet adoption contract on the blockchain, freeze, unfreeze and deduct the adoption deposit by executing pet publishing transactions, adoption transactions, adoption certification transactions and adoption revocation transactions to ensure the security of the deposit, and confirm the adoption agreement through return visits by supervisors Performance.

Benefits of technology

It is possible to isolate the pet supplier from the deposit during the pet adoption process, ensuring the security of the deposit, preventing adopters who violate the agreement from defrauding the deposit, and deducting part of the deposit and issuing it to the supervisor to prevent them from being bribed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112053156B
    Figure CN112053156B
Patent Text Reader

Abstract

The present invention provides a pet adoption method, device and storage medium, the method comprising: executing a pet to be adopted publishing transaction, recording the pet information and the adoption deposit amount of the first pet to be adopted into the pet adoption contract; executing an adoption transaction, freezing the adoption deposit paid by the adoption requester in the pet adoption contract according to the adoption deposit amount; executing an adoption certification transaction, unfreezing the adoption deposit and returning it to the account of the adoption requester; or executing an adoption cancellation transaction, deducting and donating the adoption deposit, and marking the status of the first pet as to be adopted. The present invention achieves the isolation of the pet supplier from the adoption deposit in the entire adoption process, thereby ensuring the security of the adoption deposit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a pet adoption method, device and storage medium. Background Art

[0002] Currently, there are usually two ways to adopt a pet: free adoption and adoption with a deposit (the deposit is conditionally returned).

[0003] The drawback of the free adoption model is that pets are easily adopted by people with bad intentions, such as those who abuse animals or sell animals for profit. Therefore, the adoption model of paying a deposit has emerged.

[0004] However, the adoption model that requires paying a deposit to adopt also has its flaws. For example, some people or organizations use this adoption model to make illegal profits through fraud, illegal fundraising, etc., and the deposit paid by the adopter is difficult to be guaranteed. Summary of the invention

[0005] In view of the above-mentioned defects or deficiencies in the prior art, it is desirable to provide a pet adoption method, device and storage medium that ensure the safety of the pet adoption deposit.

[0006] In a first aspect, the present invention provides a pet adoption method applicable to a blockchain node, wherein a pet adoption contract is configured on the blockchain, and the method comprises:

[0007] Execute the transaction of publishing the pet to be adopted, and record the pet information and the amount of the adoption deposit of the first pet to be adopted into the pet adoption contract;

[0008] Executing an adoption transaction, freezing the adoption deposit paid by the adoption requester in the pet adoption contract according to the amount of the adoption deposit; wherein the adoption transaction is generated by the user end of the adoption requester in response to the adoption requester's request to adopt the first pet;

[0009] Execute the adoption certification transaction, unfreeze the adoption deposit and return it to the account of the adoption requester; the adoption certification transaction is generated by the management committee server after the supervisor visits the first pet, confirms that the adoption requester has not violated the adoption agreement and submits the first visit certification information, and verifies that the first visit certification information has been passed; or,

[0010] Execute the adoption cancellation transaction, deduct and donate the adoption deposit, and mark the status of the first pet as pending adoption; among them, the adoption cancellation transaction is generated by the management committee server after the supervisor visits the first pet, confirms that the adoption requesting party violates the adoption agreement and submits the second follow-up proof material information, and verifies that the second follow-up proof material information has been passed.

[0011] In a second aspect, the present invention provides a pet adoption method applicable to a management committee server, wherein a pet adoption contract is configured on a blockchain, and the method comprises:

[0012] After verifying that the first return visit certification material information has passed, an adoption certification transaction is generated and sent to the blockchain network for execution by the blockchain node, and the corresponding frozen adoption deposit is unfrozen and returned to the account of the adoption requester; wherein, the first return visit certification material information is submitted by the supervisor after returning the first pet adopted by the adoption requester and confirming that the adoption requester has not violated the adoption agreement; the adoption deposit is frozen in the pet adoption contract when the adoption transaction is successfully executed by the pet adoption contract, and the adoption transaction is generated by the user end of the adoption requester in response to the adoption requester's request to adopt the first pet;

[0013] or,

[0014] After verifying the second follow-up proof material information, an adoption cancellation transaction is generated and sent to the blockchain network for execution by the blockchain node, the adoption deposit is deducted and donated, and the status of the first pet is marked as pending adoption; among them, the second follow-up proof material information is submitted by the supervisory personnel after visiting the first pet and confirming that the adoption requesting party has violated the adoption agreement.

[0015] In a third aspect, the present invention further provides a device comprising one or more processors and a memory, wherein the memory contains instructions executable by the one or more processors so that the one or more processors execute the pet adoption method provided according to various embodiments of the present invention.

[0016] In a fourth aspect, the present invention further provides a storage medium storing a computer program, wherein the computer program enables a computer to execute the pet adoption method provided according to the various embodiments of the present invention.

[0017] The pet adoption method, device and storage medium provided by many embodiments of the present invention configure a pet adoption contract on the blockchain, freeze the adoption deposit in the contract, return the frozen adoption deposit when the supervisor returns to confirm that the adoption requesting party has not violated the adoption agreement, and deduct and donate the frozen adoption deposit when the supervisor returns to confirm that the adoption requesting party has violated the adoption agreement, thereby isolating the pet supplier from the adoption deposit during the entire adoption process, thereby ensuring the security of the adoption deposit.

[0018] The pet adoption method, device and storage medium provided by some embodiments of the present invention further avoid the situation where adopters who violate the adoption agreement bribe the supervisors to defraud the adoption deposit by paying part of the deducted adoption deposit to the supervisors. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0020] Figure 1 The present invention provides a flowchart of a pet adoption method according to an embodiment of the present invention.

[0021] Figure 2 A flowchart of another pet adoption method provided by an embodiment of the present invention.

[0022] Figure 3 A schematic diagram of the structure of a device provided in one embodiment of the present invention. DETAILED DESCRIPTION

[0023] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0024] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0025] Figure 1 The present invention provides a flowchart of a pet adoption method according to an embodiment of the present invention.

[0026] like Figure 1 As shown, in this embodiment, the present invention provides a pet adoption method, a pet adoption contract is configured on the blockchain, and the method includes:

[0027] S11: Execute the transaction of publishing the pet to be adopted, and record the pet information and the amount of the adoption deposit of the first pet to be adopted into the pet adoption contract;

[0028] S13: executing the adoption transaction, freezing the adoption deposit paid by the adoption requester in the pet adoption contract according to the adoption deposit amount; wherein the adoption transaction is generated by the user end of the adoption requester in response to the adoption requester's request to adopt the first pet;

[0029] S15: Execute the adoption authentication transaction, unfreeze the adoption deposit and return it to the account of the adoption requester; wherein, the adoption authentication transaction is generated by the management committee server after the supervisor visits the first pet, confirms that the adoption requester has not violated the adoption agreement and submits the first follow-up certification information, and verifies that the first follow-up certification information has passed; or, S17: Execute the adoption cancellation transaction, deduct and donate the adoption deposit, and mark the status of the first pet as pending adoption; wherein, the adoption cancellation transaction is generated by the management committee server after the supervisor visits the first pet, confirms that the adoption requester has violated the adoption agreement and submits the second follow-up certification information, and verifies that the second follow-up certification information has passed.

[0030] The following is an example of a case where A adopts a pet dog D from a pet rescue station A to illustrate the above method.

[0031] When pet rescue station A rescues pet dog d and hopes that caring people will adopt pet dog d, the pet information of pet dog d, the amount of adoption deposit required to adopt pet dog d, the corresponding adoption agreement and other information can be entered in the terminal (PC or mobile terminal, etc.). The terminal generates a transaction tx1 for publishing the pet to be adopted based on this information and sends tx1 to the blockchain network.

[0032] At the same time, the terminal of pet rescue station A can also publish the adoption information and adoption agreement of pet dog d on online platforms or various offline channels.

[0033] In step S11, the blockchain node executes tx1 and records the pet information and adoption deposit amount of pet dog d into the pet adoption contract.

[0034] When caring person A learns that pet dog D is up for adoption through any of the above channels (online platform, offline channel or pet information recorded in the pet adoption contract) and decides to adopt pet dog D, A's user terminal generates adoption transaction tx2 and sends it to the blockchain network. Among them, tx2 should include the signature information of A agreeing to sign the adoption agreement.

[0035] In step S13, the blockchain node executes tx2, verifies whether tx2 has submitted the signature information of A agreeing to sign the adoption agreement, and determines whether the amount of the adoption deposit paid by tx2 is correct based on the amount of the adoption deposit recorded in tx1: if yes, the adoption deposit paid by tx2 is frozen in the pet adoption contract, and the status of the pet dog d is changed to successful adoption (pending follow-up) in the contract, and the identity information of the adopter A is recorded.

[0036] After tx2 is successfully executed, pet rescue station A verifies A's identity based on the information recorded on the blockchain and hands over the pet dog d to adopter A.

[0037] After a period of time after A adopts the pet dog (according to the duration agreed in the adoption agreement), the supervisor (ideally, the supervisor is independent of the staff of the pet rescue station; in practice, the supervisor can also be concurrently appointed by the staff of the pet rescue station) contacts A and visits the pet dog d according to the contact information recorded in the contract (when A's contact information changes, A can change the contact information recorded in the contract by sending a transaction) to determine whether A has violated the adoption agreement (for example, whether he abused the pet dog d, whether he sold the pet dog d, etc.):

[0038] If not, collect some follow-up proof materials to prove that A has not violated the adoption agreement and submit them to the management committee server (the management committee can be elected by the loving communities in various places);

[0039] If yes, collect some follow-up certification materials to prove that A violated the adoption agreement and submit them to the management committee server.

[0040] The management committee server verifies the information of the return visit certification materials:

[0041] When it is confirmed that A has not violated the adoption agreement, an adoption certification transaction tx3 is generated and sent to the blockchain network;

[0042] When it is confirmed that A has violated the adoption agreement, an adoption revocation transaction tx4 is generated and sent to the blockchain network.

[0043] When the blockchain network receives and broadcasts tx3, in step S15, the blockchain node executes tx3, unfreezes the adoption deposit frozen by executing tx2 and returns it to user A (at this time, the adoption deposit still exists in the contract and user A's client needs to send a transaction to claim it), and changes the status of pet dog d to successful adoption (return visit);

[0044] When the blockchain network receives and broadcasts tx4, in step S17, the blockchain node executes tx4, deducts and donates the adoption deposit frozen by tx2 (it can be donated to any charity organization, and a transaction needs to be sent to receive it).

[0045] The above embodiment configures a pet adoption contract on the blockchain to freeze the adoption deposit in the contract. When the supervisor returns to confirm that the adoption requesting party has not violated the adoption agreement, the frozen adoption deposit is returned; when the supervisor returns to confirm that the adoption requesting party has violated the adoption agreement, the frozen adoption deposit is deducted and donated. This achieves isolation of the pet supplier from the adoption deposit during the entire adoption process, thereby ensuring the security of the adoption deposit.

[0046] Preferably, the deducting and donating the adoption deposit includes: paying the deducted portion of the adoption deposit to the supervisor's account, and donating the remaining portion to a pet rescue fund account.

[0047] Specifically, when the amount of the adoption deposit is high, some adopters who violate the adoption agreement may try to bribe the inspectors to forge supporting documents in order to defraud the adoption deposit back. In order to prevent the inspectors from being bribed, part of the deducted adoption deposit can be paid to the inspectors.

[0048] In addition, correspondingly, in order to prevent supervisory personnel from maliciously withholding adoption deposits, the Management Committee should set up smooth complaint channels for adopters. This part of the system is not related to the technical solution of this application and will not be elaborated in detail.

[0049] The above embodiment further avoids the situation where the adopter who violates the adoption agreement bribes the supervisory personnel to defraud the adoption deposit back by paying part of the deducted adoption deposit to the supervisory personnel.

[0050] Figure 2 A flowchart of another pet adoption method provided by an embodiment of the present invention. Figure 2 The method shown can be used with Figure 1 The method shown is executed.

[0051] like Figure 2 As shown, in this embodiment, the present invention also provides a pet adoption method applicable to the management committee server, and a pet adoption contract is configured on the blockchain. The method includes:

[0052] S21: after verifying the first return visit certification material information, an adoption certification transaction is generated and sent to the blockchain network for execution by the blockchain node, and the corresponding frozen adoption deposit is unfrozen and returned to the account of the adoption requester; wherein, the first return visit certification material information is submitted by the supervisor after returning the first pet adopted by the adoption requester and confirming that the adoption requester has not violated the adoption agreement; the adoption deposit is frozen in the pet adoption contract when the adoption transaction is successfully executed by the pet adoption contract, and the adoption transaction is generated by the user end of the adoption requester in response to the adoption requester's request to adopt the first pet;

[0053] or,

[0054] S23: After verifying the second follow-up certification information, an adoption cancellation transaction is generated and sent to the blockchain network for execution by the blockchain node, the adoption deposit is deducted and donated, and the status of the first pet is marked as pending adoption; wherein, the second follow-up certification information is submitted by the supervisory personnel after visiting the first pet and confirming that the adoption requesting party has violated the adoption agreement.

[0055] Preferably, the deducting and donating the adoption deposit includes: paying the deducted portion of the adoption deposit to the supervisor's account, and donating the remaining portion to a pet rescue fund account.

[0056] Figure 2 The principles of pet adoption shown in the method can be referred to Figure 1 The method shown will not be repeated here.

[0057] Figure 3 A schematic diagram of the structure of a device provided in one embodiment of the present invention.

[0058] like Figure 3 As shown, as another aspect, the present application also provides a device 300, including one or more central processing units (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part 308 to the random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the device 300 are also stored. The CPU 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0059] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed, so that a computer program read therefrom is installed into the storage section 308 as needed.

[0060] In particular, according to an embodiment of the present disclosure, the method described in any of the above embodiments can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program tangibly contained on a machine-readable medium, and the computer program includes a program code for executing any of the above methods. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 309, and / or installed from a removable medium 311.

[0061] As another aspect, the present application also provides a computer-readable storage medium, which may be a computer-readable storage medium included in the apparatus of the above embodiment; or a computer-readable storage medium that exists independently and is not assembled into the device. The computer-readable storage medium stores one or more programs, which are used by one or more processors to execute the method described in the present application.

[0062] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a dedicated hardware-based system that performs a specified function or operation, or can be realized by a combination of dedicated hardware and computer instructions.

[0063] The units or modules involved in the embodiments described in the present application may be implemented by software or by hardware. The units or modules described may also be provided in a processor. For example, each unit may be a software program provided in a computer or a mobile smart device, or may be a separately configured hardware device. The names of these units or modules do not, in some cases, constitute limitations on the units or modules themselves.

[0064] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the concept of the present application. For example, the above features are replaced with the technical features with similar functions disclosed in the present application (but not limited to) to form a technical solution.

Claims

1. A pet adoption method, characterized in that: A pet adoption contract is configured on the blockchain, and the method is applicable to a blockchain node, and the method includes: executing a pet to be adopted publishing transaction, and recording the pet information and the adoption deposit amount of the first pet to be adopted into the pet adoption contract; Executing an adoption transaction, freezing the adoption deposit paid by the adoption requester in the pet adoption contract according to the adoption deposit amount, modifying the status of the first pet in the contract to "adoption successful pending return visit", and recording the identity information of the adopter; wherein the adoption transaction is generated by the user end of the adoption requester in response to the adoption requester's request to adopt the first pet; Execute the adoption authentication transaction, unfreeze the adoption deposit and return it to the account of the adoption requester; wherein the adoption authentication transaction is generated by the management committee server after the supervisor visits the first pet, confirms that the adoption requester has not violated the adoption agreement and submits the first visit certification information, and verifies that the first visit certification information has been passed; after executing the adoption authentication transaction, the status of the first pet is changed to "adoption successful and visit has been made"; or, Executing an adoption cancellation transaction, deducting and donating the adoption deposit, and marking the status of the first pet as pending adoption; Among them, the adoption cancellation transaction is generated by the management committee server after the supervisor visits the first pet, confirms that the adoption requester violates the adoption agreement and submits the second follow-up certification information, and verifies that the second follow-up certification information is passed.

2. The method according to claim 1, characterized in that The deducting and donating the adoption deposit includes: paying the deducted portion of the adoption deposit to the supervisor's account, and donating the remaining portion to a pet rescue fund account.

3. A pet adoption method, characterized in that: A pet adoption contract is configured on the blockchain. The method is applicable to the management committee server. The method includes: after verifying that the first return visit certification material information has passed, an adoption authentication transaction is generated and sent to the blockchain network for execution by the blockchain node, and the status of the first pet is modified to "adoption is successful and waiting for return visit" in the contract, and the corresponding frozen adoption deposit is unfrozen and returned to the account of the adoption requester; wherein, the first return visit certification material information is submitted by the supervisor after the supervisor returns the first pet adopted by the adoption requester and confirms that the adoption requester has not violated the adoption agreement; the adoption deposit is frozen in the pet adoption contract when the adoption transaction is successfully executed by the pet adoption contract, and the adoption transaction is generated by the user end of the adoption requester in response to the adoption requester's request to adopt the first pet; after executing the adoption authentication transaction, the status of the first pet is modified to "adoption is successful and return visit has been made"; or, After verifying the second follow-up certification information, an adoption cancellation transaction is generated and sent to the blockchain network for execution by the blockchain node, the adoption deposit is deducted and donated, and the status of the first pet is marked as pending adoption; wherein, the second follow-up certification information is submitted by the supervisory personnel after returning to the first pet and confirming that the adoption requesting party has violated the adoption agreement.

4. The method according to claim 3, characterized in that The deducting and donating the adoption deposit includes: paying the deducted portion of the adoption deposit to the supervisor's account, and donating the remaining portion to a pet rescue fund account.

5. A device, characterized in that: The device comprises: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are caused to perform the method according to any one of claims 1 to 4.

6. A storage medium storing a computer program, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.