CN110598879A - Garbage recycling method, device and equipment based on block chain and storage medium - Google Patents

Garbage recycling method, device and equipment based on block chain and storage medium Download PDF

Info

Publication number
CN110598879A
CN110598879A CN201910862699.5A CN201910862699A CN110598879A CN 110598879 A CN110598879 A CN 110598879A CN 201910862699 A CN201910862699 A CN 201910862699A CN 110598879 A CN110598879 A CN 110598879A
Authority
CN
China
Prior art keywords
garbage
user
target
target user
record
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910862699.5A
Other languages
Chinese (zh)
Other versions
CN110598879B (en
Inventor
吴楠
李亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911301708.XA priority Critical patent/CN111079958A/en
Priority to CN201910862699.5A priority patent/CN110598879B/en
Publication of CN110598879A publication Critical patent/CN110598879A/en
Application granted granted Critical
Publication of CN110598879B publication Critical patent/CN110598879B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/30Administration of product recycling or disposal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02WCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO WASTEWATER TREATMENT OR WASTE MANAGEMENT
    • Y02W30/00Technologies for solid waste management
    • Y02W30/10Waste collection, transportation, transfer or storage, e.g. segregated refuse collecting, electric or hybrid propulsion
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02WCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO WASTEWATER TREATMENT OR WASTE MANAGEMENT
    • Y02W90/00Enabling technologies or technologies with a potential or indirect contribution to greenhouse gas [GHG] emissions mitigation

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Primary Health Care (AREA)
  • Educational Administration (AREA)
  • Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Sustainable Development (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a garbage recycling method, device and equipment based on a block chain and a storage medium, and belongs to the technical field of block chains. According to the method, the user identification of the target user is obtained through the garbage throwing instruction based on the target user, the throwing type of the garbage bag is obtained, the first throwing record of the garbage bag is generated on the block chain of the block chain system based on the throwing type and the user identification of the target user, the garbage recycling result generated by the target garbage disposal mechanism is obtained, the garbage recycling result is generated based on the first throwing record and the belonged type of each article in the garbage bag, the garbage recycling result is sent to the target user, the garbage recycling result can be accurately fed back to the target user throwing the garbage in the garbage recycling process, the target user can know the garbage classified throwing condition, the garbage classified throwing quality is gradually improved, and the garbage recycling effect is ensured.

Description

Garbage recycling method, device and equipment based on block chain and storage medium
Technical Field
The present disclosure relates to the field of block chain technologies, and in particular, to a method, an apparatus, a device, and a storage medium for garbage collection based on a block chain.
Background
In recent years, the problem of garbage treatment becomes a hot topic of society, an important link in the garbage treatment process is garbage recovery, and the reasonable classification and recovery of garbage can reduce resource waste and environmental pollution. At present, in the garbage recycling process, users are required to classify and pack garbage and throw garbage bags of different types into different areas.
However, the quality of garbage classification of some users is not high, so that the situation of garbage classification confusion can occur, under the situation, the source tracing of the thrown garbage bag is difficult, the user throwing the garbage bag can be found, and the information of the garbage classification error can not be fed back to the user, so that the quality of garbage classification is difficult to improve, and the garbage recycling effect can be influenced.
Disclosure of Invention
The embodiment of the application provides a garbage recycling method, a garbage recycling device, garbage recycling equipment and a garbage recycling storage medium based on a block chain, and can solve the problem that a user who puts in a garbage bag cannot be traced in the related technology, and a garbage putting result is fed back to the user. The technical scheme is as follows:
in one aspect, a garbage recycling method based on a block chain is provided, and the method includes:
acquiring a user identifier of a target user based on a garbage throwing instruction of the target user;
acquiring a release category of a garbage packet, and generating a first release record of the garbage packet on a block chain of the block chain system based on the release category and a user identifier of the target user;
acquiring a garbage collection result generated by a target garbage disposal mechanism, wherein the garbage collection result is generated based on the first putting record and the category of each article in the garbage bag;
and sending the garbage collection result to the target user.
In one aspect, a garbage recycling device based on a block chain is provided, and the device includes:
the identification acquisition module is used for acquiring the user identification of the target user based on the garbage throwing instruction of the target user;
the first record generation module is used for acquiring the release category of the garbage bag and generating a first release record of the garbage bag on a block chain of the block chain system based on the release category and the user identifier of the target user;
the result acquisition module is used for acquiring a garbage recovery result generated by the target garbage disposal mechanism, and the garbage recovery result is generated based on the first putting record and the category of each article in the garbage bag;
and the sending module is used for sending the garbage collection result to the target user.
In one possible implementation, the apparatus further includes:
and the sorting module is used for acquiring the garbage collection total points of at least one user and sorting the garbage collection total points of the at least one user.
In one possible implementation, the apparatus further includes:
and the identification generation module is used for generating the user identification of the target user on the block chain of the block chain system based on the registration behavior of the target user.
In one possible implementation, the identity acquisition module is configured to:
when a garbage throwing instruction of the target user is received, acquiring a user image of the target user;
and identifying the user image, and determining the user identification of the target user based on the identification result.
In one aspect, a computer device is provided that includes one or more processors and one or more memories having at least one program code stored therein, the at least one program code being loaded and executed by the one or more processors to perform operations performed by the blockchain based garbage collection method.
In one aspect, a computer-readable storage medium having at least one program code stored therein is loaded and executed by a processor to implement the operations performed by the blockchain-based garbage collection method.
According to the technical scheme provided by the embodiment of the application, the user identification of the target user is obtained through the garbage throwing instruction based on the target user, the throwing type of the garbage bag is obtained, the first throwing record of the garbage bag is generated on the block chain of the block chain system based on the throwing type and the user identification of the target user, the garbage recycling result generated by the target garbage disposal mechanism is obtained, the garbage recycling result is generated based on the first throwing record and the affiliated type of each article in the garbage bag, the garbage recycling result is sent to the target user, and in the garbage recycling process, the garbage recycling result can be accurately fed back to the target user throwing the garbage, so that the target user can know the garbage classified throwing condition, the garbage classification quality is gradually improved, and the garbage recycling effect is ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment of a garbage recycling method based on a block chain according to an embodiment of the present application;
fig. 2 is a flowchart of a garbage collection method based on a block chain according to an embodiment of the present application;
fig. 3 is a block chain structure according to an embodiment of the present application;
fig. 4 is a schematic diagram of a block chain user data structure according to an embodiment of the present application;
fig. 5 is a schematic diagram of a data structure of a mechanism on a blockchain according to an embodiment of the present application;
fig. 6 is a schematic diagram of a data structure of a release record on a blockchain according to an embodiment of the present application;
FIG. 7 is a schematic view of a waste recovery system according to an embodiment of the present disclosure;
FIG. 8 is a schematic data interaction diagram of a garbage collection system according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a garbage recycling device based on a block chain according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment of a garbage collection method based on a blockchain according to an embodiment of the present disclosure, and referring to fig. 1, the implementation environment may include a plurality of computer devices, where the plurality of computer devices may be a plurality of node devices in a blockchain system, and any one node device in the blockchain system may perform one or more steps in the garbage collection method based on a blockchain according to an embodiment of the present disclosure. The plurality of computer devices may be a plurality of node devices belonging to the same organization, or may be a plurality of node devices belonging to different organizations. For example, the plurality of computer devices may all belong to a garbage disposal facility, each department in the garbage disposal facility corresponds to at least one computer device therein, or at least one computer device in the plurality of computer devices is a user device, at least one computer device belongs to the garbage disposal facility, at least one computer device belongs to the environmental regulatory agency, and of course, there may also be at least one computer device belonging to other facilities, for example, other social regulatory agencies, and the like.
The plurality of computer devices may be servers or terminals, which is not specifically limited in this embodiment of the present application.
In order to facilitate understanding of the technical processes of the embodiments of the present application, some terms referred to in the embodiments of the present application are explained below:
block chain (Block chain): the method is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. The blockchain is essentially a decentralized database, which is a string of data blocks associated by cryptography, each data block containing information about a network transaction for verifying the validity (anti-counterfeiting) of the information and generating the next block, each block containing a timestamp and a link to the previous block. In a narrow sense, a blockchain is a distributed ledger of data blocks assembled in a sequential manner into a chain data structure in chronological order and cryptographically secured as non-falsifiable and non-forgeable, i.e. the data in the blockchain will be irreversible once recorded.
Consensus mechanism (Consensus mechanism): the block chain system is a mathematical algorithm for establishing trust and obtaining rights and interests among different nodes. In the block chain system, the verification and confirmation of the transaction can be completed in a short time through the voting of special nodes, and if a plurality of nodes with irrelevant benefits can achieve consensus on a transaction, all the nodes in the system can also achieve consensus on the transaction.
Smart contract (Smart contract): is a computer protocol intended to propagate, validate or execute contracts in an informational manner. Each node in the blockchain system can automatically execute a contract program according to a specific condition, can operate data stored in the chain, and is an important way for a user to interact with the blockchain and realize business logic by using the blockchain. The goal of smart contracts is to provide a secure method over traditional contracts and to reduce other transaction costs associated with the contracts, which allows for trusted transactions that are traceable and irreversible without third parties.
Public Key (Public Key) and Private Key (Private Key): is a key pair (i.e., a public key and a private key) obtained by an algorithm, the public key being a public part of the key pair, and the private key being a non-public part. Public keys are typically used to encrypt data, verify digital signatures, and the like. By means of this algorithm it is ensured that the resulting key pair is unique, and that when using this key pair, if one of the keys is used to encrypt a piece of data, the other key must be used to decrypt it, e.g. if the data is encrypted with the public key, the private key must be used to decrypt it, and if the data is encrypted with the private key, the public key must be used to decrypt it, otherwise the decryption will not succeed.
Fig. 2 is a flowchart of a garbage collection method based on a blockchain according to an embodiment of the present disclosure, where the garbage collection method based on a blockchain may be applied to any node device in the blockchain system, and referring to fig. 2, the embodiment may specifically include the following steps:
201. the first node device generates a user identifier of a target user on a blockchain of a blockchain system based on the registration behavior of the target user.
The first node device may be a client device used by the target user or a server corresponding to the client device, and a target application program may be installed and run on the client device used by the target user, and the target application program may provide a real-name registration function.
Taking the first node device as an example of a server corresponding to the client device, in this embodiment of the application, the client device may display a registration page of the target application, where the registration page may include an information input area and a first confirmation control, and when the client device detects a trigger operation of the target user on the first confirmation control, the client device may obtain input information in the information input area and send the input information and a registration request to the first node device, the first node device may generate, based on the registration request and the input information, a user identifier of the target user and a public key and a private key of the target user corresponding to the user identifier, where the user identifier may be used to uniquely identify one user, and the first node device may store the user identifier of the target user and the public key to a block chain of the block chain system, the private key may be stored by the target user himself. The trigger operation may be a click operation, a long-time press operation, and the like, which is not specifically limited in this embodiment of the application.
In one possible implementation, the first node device will be able to store the user identity and the public key of the target user on the blockchain based on a consensus mechanism. Specifically, each node in the blockchain system has a node identifier corresponding thereto, and each node device in the blockchain system may store node identifiers of other node devices in the blockchain system, so that the generated block is broadcast to the other node devices in the blockchain system according to the node identifiers of the other node devices, and the block is commonly identified by the other node devices. Each node device may maintain a node identifier list as shown in the following table, and store the node name and the node identifier in the node identifier list correspondingly. The node identifier may be an IP (Internet Protocol) address and any other information that can be used to identify the node, and table 1 only illustrates the IP address as an example.
TABLE 1
Node name Node identification
Node 1 117.114.151.174
Node 2 117.116.189.145
Node N 119.123.789.258
Each node device in the blockchain system may store one identical blockchain. A block chain is composed of a plurality of blocks, fig. 3 is a schematic diagram of a block chain structure provided in the embodiment of the present application, referring to fig. 3, the block chain is composed of a plurality of blocks, a starting block 301 includes a block header and a block main body, the block header stores an input information characteristic value, a version number, a timestamp and a difficulty value, and the block main body stores input information; the next block 302 of the starting block takes the starting block 301 as a parent block, the next block 302 also comprises a block head and a block main body, and the block head stores the input information characteristic value of the current block 303, the block head characteristic value, the version number, the timestamp and the difficulty value of the parent block, and so on, so that the block data stored in each block in the block chain is associated with the block data stored in the parent block, and the security of the input information in the block is ensured.
In the embodiment of the present application, the input information may be a user identifier and a public key of the target user, after the node device checks the input information, the input information is stored in a memory pool, and a hash tree used for recording the input information is updated, and then, an update timestamp is updated to a time when the input information is received, and different random numbers are tried, and feature value calculation is performed for multiple times, so that a feature value obtained by calculation may satisfy the following formula:
SHA256(SHA256(version+prev_merkle_rool+ntime+nbits+x))<TARGET
wherein, SHA256 is a characteristic value algorithm used for calculating a characteristic value; version is version information of the relevant block protocol in the block chain; prev _ hash is a block head characteristic value of a parent block of the current block; merkle _ root is a characteristic value of the input information; ntime is the update time of the update timestamp; nbits is the current difficulty, is a fixed value within a period of time, and is determined again after exceeding a fixed time period; x is a random number; TARGET is a feature threshold, which can be determined from nbits.
Therefore, when the random number meeting the formula is obtained through calculation, the information can be correspondingly stored, and the block head and the block main body are generated to obtain the current block. Then, the node where the block chain is located sends the newly generated current block to other nodes in the block chain system where the block chain is located according to the node identifiers of the other nodes in the block chain system, the other nodes perform consensus on the newly generated current block, the current block can be added to the block chain after passing the consensus, and certainly, if the current block does not pass the consensus, the block uplink operation may not be performed. Referring to fig. 4, fig. 4 is a schematic diagram of a block chain user data structure provided in this embodiment of the present application, where the user identifier and the public key of the target user may be stored in a manner shown in an area 401.
It should be noted that the above description of storing the user identifier and the public key of the target user to the block chain is only an exemplary description of one storage method, and the embodiment of the present application does not limit which storage method is specifically adopted.
202. And the second node equipment acquires the user identification of the target user based on the garbage throwing instruction of the target user.
The second node device can be a node device corresponding to the intelligent garbage can, the intelligent garbage can receive the garbage throwing instruction, identify a target user triggering the instruction, and then execute a subsequent garbage recycling step based on the instruction.
In this embodiment of the application, the process of the second node device acquiring the user identifier may include any one of the following implementation manners:
in a first implementation manner, the second node device acquires a user image of the target user, and determines a user identifier of the target user based on an image recognition technology. In one possible implementation, the process may specifically include the following steps:
step one, when receiving a garbage throwing instruction of the target user, the second node device may acquire a user image of the target user.
In the embodiment of the present application, the triggering manner of the garbage throwing instruction may include any one of the following possible implementation manners:
(1) the garbage throwing instruction can be triggered by clicking operation on a target control on the intelligent garbage can. In a possible implementation manner, a target control may be configured on the intelligent trash can, the target control may provide a function of starting a trash throwing process, and of course, the intelligent trash can may further have an image collecting function. The target user can trigger a garbage throwing instruction by clicking the target control, so that the target garbage can executes the subsequent image acquisition step.
(2) The garbage throwing instruction can be triggered by the uncovering operation of the intelligent garbage can. This intelligence dustbin can detect target user's operation, when detecting this target user's the operation of uncapping, can trigger this rubbish and put in the instruction.
After receiving the garbage throwing instruction, the intelligent garbage can collect a user image of the target user, wherein the user image can be a facial image of the target user. The intelligent trashcan can send the user image to the second node device.
And step two, the second node equipment identifies the user image and determines the user identification of the target user based on the identification result.
In one possible implementation, the second node device may apply a face recognition technique to recognize the user image to determine the user identifier of the target user. Specifically, first, the second node device may perform face detection on the user image based on a structural distribution feature of a face, determine whether the face of the target user exists in the user image, and if the face exists, further give key information of the face, such as a position and a size of the face and position information of each main facial organ; then, the second node device may calculate a plurality of geometric feature quantities according to information of five sense organs in the key information of the face, and construct feature data that may describe facial features of the target user based on the plurality of geometric feature quantities; and finally, searching and matching the feature data with a feature template which can be stored in data, acquiring the feature template with the highest similarity with the feature data, and outputting a user identifier corresponding to the feature template as the user identifier of the target user. It should be noted that the above description of the face recognition method is only an exemplary description of a face recognition method, and the embodiment of the present application does not limit which face recognition method is specifically adopted.
In a second implementation manner, the second node device obtains the user identifier input by the target user.
In one possible implementation, the intelligent trash can be configured with an information input area that can provide a user identification input function for a user. The intelligent garbage can detect the information input operation of a target user in the information input area, and when the information input operation is finished, the input information of the target user is obtained and used as the user identification of the target user.
In the process, the user identification of the garbage throwing users is obtained, so that the garbage throwing condition of each user can be accurately recorded, and the garbage tracing is performed in the subsequent garbage recycling process. Of course, the description of the method for obtaining the user identifier in the foregoing process is only an exemplary description, and the second node device may also obtain the user identifier of the target user based on biometric technologies such as fingerprint recognition and iris recognition, and may also obtain the user identifier of the target user by scanning a two-dimensional code, and the embodiment of the present application does not limit which user identifier obtaining method is specifically adopted.
203. And the second node equipment acquires the throwing type of the garbage packet and generates a first throwing record of the garbage packet based on the throwing type and the user identification of the target user.
In a possible implementation manner, the intelligent garbage can may include a plurality of throwing areas, different throwing areas may correspond to different garbage categories, the intelligent garbage can may detect a throwing position of the garbage bag, and when the throwing position is in any throwing area, the garbage category corresponding to the any throwing area is the throwing category of the garbage bag.
In a possible implementation manner, different intelligent garbage cans may correspond to different garbage categories, and when the target user puts a garbage bag into any intelligent garbage can, the garbage category corresponding to the any intelligent garbage can is the putting category of the garbage bag.
In this embodiment of the application, the second node device corresponding to the intelligent trash can obtains the delivery category of the trash bag, and after the completion of the delivery of the trash bag is confirmed, a first delivery record may be generated based on the delivery category and the user identifier of the target user. The first delivery record may include a delivery category of the spam package and a user identifier of the target user, and may also include information such as a weight of the spam package and a delivery time, which is not specifically limited in this embodiment of the present application.
204. The second node device stores the first delivery record to a blockchain of the blockchain system.
In this embodiment of the present application, the target user may confirm the information in the first delivery record, and the second node device may store the confirmed first delivery record on the block chain, where the process may include the following steps:
step one, the second node device sends the first delivery record to the target user.
In a possible implementation manner, the second node device may generate a two-dimensional code, send the two-dimensional code to the target user based on the user identifier of the target user, and the target user scans the two-dimensional code through the target application program and views the first delivery record on a target page of the target application program.
And step two, the second node device may store the first release record carrying the private key signature of the target user to the block chain based on a confirmation instruction of the target user for the first release record.
In a possible implementation manner, the target page may include a second confirmation control, where the second confirmation control may be used to provide a form confirmation function, the target user may trigger a confirmation instruction through the second confirmation control, the first node device may add a private key signature of the target user in the first delivery record based on the confirmation instruction, and send the confirmation instruction and the first delivery record carrying the private key signature to the second node device, and the second node device may perform an uplink operation on the first delivery record.
In a possible implementation manner, the second node device may complete the uplink procedure of the first release record based on an intelligent contract, and specifically, when the second node device initiates a data uplink request, may trigger an intelligent contract, so that other node devices in the blockchain system obtain a public key of a target user from the blockchain based on a user identifier of the target user in the first release record, verify a private key signature in the first release record by using the public key of the target user, after the verification is passed, execute a procedure of storing the first release record onto the blockchain, and if the verification is not passed, do not execute the storage procedure. The step of storing the first delivery record in the blockchain is the same as the process of storing the user identifier and the public key of the target user in the blockchain in step 201, and will not be described herein again.
After the second node device confirms that the first release record is correct, the first release record may be associated with the trash bag, in a possible implementation manner, a label may be generated based on the first release record package, the label is attached to the trash bag, and any node device may obtain the first release record of the trash bag by identifying the label. It should be noted that the above description of the association manner between the first delivery record and the spam package is only an exemplary description of an association manner, and the embodiment of the present application does not limit what association manner is specifically adopted.
It should be noted that, in step 203 and step 204, the release category of the garbage bag is obtained, and based on the release category and the user identifier of the target user, a first release record of the garbage bag is generated on the blockchain of the blockchain system.
In the process, the identity information of the target user is determined through face recognition, the first delivery record is guaranteed to be accurate through manual confirmation of the target user, the target user can be associated with the delivered garbage bag, and then garbage tracing can be achieved.
205. And the third node equipment acquires the category of each item in the garbage bag.
In a possible implementation manner, the third node device may be a server corresponding to the target garbage disposal mechanism, and the garbage disposal mechanism may include a garbage recognition system and a garbage classification scoring system, where the garbage recognition system may have an image acquisition function to recognize the category to which each article in the garbage bag belongs, and the garbage classification scoring system may score based on the category to which each article in the garbage bag belongs.
In this embodiment, one garbage disposal mechanism may correspond to one mechanism identifier, the garbage disposal mechanism may complete enterprise real-name registration through a service provided by an environmental protection regulatory mechanism, and a node device corresponding to the environmental protection regulatory mechanism may generate a mechanism identifier of the target garbage disposal mechanism, and may also generate a public key and a private key of the target garbage disposal mechanism. The institution identification and the public key of the target garbage disposal facility can be stored in the blockchain, and the private key can be stored by the target garbage disposal facility, referring to fig. 5, where fig. 5 is a schematic diagram of a data structure of an institution on the blockchain according to an embodiment of the present disclosure, and the institution identification and the public key of the target garbage disposal facility can be stored in a manner shown in an area 501.
In one possible implementation manner, the category of each article in the garbage bag is obtained by the garbage recognition system of the target garbage disposal mechanism through image recognition of the article image of each article in the garbage bag based on the image recognition result. Specifically, the trash recognition system of the target trash disposal mechanism can unpack the trash, collect the article images of the articles in the trash, respectively perform image recognition on the article images, determine the articles indicated by the article images, and further determine the category to which the articles belong. It should be noted that the above description of the category mode of acquiring each article is only an exemplary description of one category acquisition mode, and the embodiment of the present application does not limit what association mode is specifically adopted.
206. And the third node equipment acquires a garbage recovery result generated by the target garbage disposal mechanism, and the garbage recovery result is generated based on the first putting record and the category of each article in the garbage bag.
In this embodiment of the application, after the target garbage disposal mechanism obtains the garbage bag, the target garbage disposal mechanism may identify the tag on the garbage bag, obtain the first release record carried by the tag, read the release category in the first release record, and generate the garbage collection result based on the release category and the category to which each item in the garbage bag belongs. In a possible implementation manner, the garbage collection result may be in the form of a score, where the score may be used to indicate a matching degree between each article in the garbage bag and the release category, and the garbage classification scoring system of the garbage disposal mechanism may calculate the matching degree based on the scoring rule, and further calculate the score based on the matching degree, for example, when the category to which an article belongs is the same as the release category, the matching degree may increase a target value, when the category to which an article belongs is different from the release category, the matching degree may decrease the target value, and the higher the matching degree between each article in the garbage bag and the release category is, the higher the score is. The scoring rule and the target value may be set by a developer, and the embodiment of the present application is not particularly limited.
In this embodiment of the application, the third node device may obtain an article image of each article in the trash bag, the trash recovery result, the user identifier of the target user, and the mechanism identifier of the target trash processing mechanism, and generate a second delivery record, where of course, the second delivery record may further include information such as when the record is generated, and the third node device may store the second delivery record carrying the private key signature of the target processing mechanism to the block chain based on a confirmation instruction of the target trash processing mechanism on the second delivery record. The process of storing the second delivery record on the blockchain is the same as the process of storing the user identifier and the public key of the target user on the blockchain in step 201, and details are not repeated here. Referring to fig. 6, fig. 6 is a schematic diagram of a data structure of a release record on a blockchain according to an embodiment of the present application, where the first release record may be stored in a manner shown in an area 601, and the second release record may be stored in a manner shown in an area 602.
207. And the first node equipment sends the garbage collection result to the target user.
In one possible implementation, the client device used by the target user may display an information query page, the information query page may include an information display area and a query control, and when the client device detects the triggering operation of the target user on the query control, a query instruction may be sent to the first node device, the query instruction may carry the user identifier of the target user, and after receiving the query instruction, the method may obtain at least one second delivery record carrying the user identifier from the blockchain based on the user identifier, read the record generation time in the second delivery record, obtain a second delivery record with the record generation time closest to the current time, send the garbage collection result in the second delivery record to the client device, the client device may display the garbage collection result in a target area of the information query page.
Of course, the first node device may also push the garbage collection result to the target user according to the target period. Specifically, the first node device may obtain a second delivery record from the block chain according to a target period based on the user identifier of the target user, and send a garbage collection result in the second delivery record to the target user, where the target period may be set by a developer.
In this embodiment, the first node device may further obtain a garbage collection total score of the target user. Specifically, the first node device may obtain, from the blockchain, at least one second delivery record carrying the user identifier based on the user identifier of the user, and generate, on the blockchain, a garbage collection total score of the user based on a garbage collection result in the at least one second delivery record. In a possible implementation manner, the first node device may further obtain the garbage collection total points of at least one user, and sort the garbage collection total points of the at least one user to obtain the current rank of the target user. When receiving the query instruction of the target user, the first node device may send the garbage collection result, the garbage collection total score, and the current rank of the target user to the client of the target user.
According to the technical scheme provided by the embodiment of the application, the user identification of the target user is obtained through the garbage throwing instruction based on the target user, the throwing type of the garbage bag is obtained, the first throwing record of the garbage bag is generated on the block chain of the block chain system based on the throwing type and the user identification of the target user, the garbage recycling result generated by the target garbage disposal mechanism is obtained, the garbage recycling result is generated based on the first throwing record and the affiliated type of each article in the garbage bag, the garbage recycling result is sent to the target user, and in the garbage recycling process, the garbage recycling result can be accurately fed back to the target user throwing the garbage, so that the target user can know the garbage classified throwing condition, the garbage classification quality is gradually improved, and the garbage recycling effect is ensured.
In the above garbage recycling process, a garbage recycling system may be formed based on entities such as an intelligent garbage can, an environmental protection monitoring mechanism, a garbage disposal plant, and the like, referring to fig. 7, fig. 7 is a schematic diagram of a garbage recycling system provided in an embodiment of the present application, the garbage recycling system may include a client portion, a block link point portion, and a block chain, where the block chain may include a plurality of blocks, the client portion may include a user client and an intelligent garbage can, the block link point portion may include an environmental protection monitoring mechanism, a garbage disposal mechanism, a social monitoring mechanism, and the like, and each mechanism in the garbage recycling system may perform data interaction to maintain that each link in the garbage recycling process may operate normally. Referring to fig. 8, fig. 8 is a data interaction diagram of a garbage collection system according to an embodiment of the present application, where first, when a user puts garbage, an intelligent garbage can performs face recognition on the user, performs user identity authentication, generates a first drop record, sends the first drop record to the user for confirmation, sends the first drop record to a garbage recognition system of a garbage disposal mechanism, performs garbage recognition, sends a recognition result to a garbage classification scoring system, calculates a score, and finally returns the score to the user. Through the data interaction of each mechanism in the garbage recovery system, garbage traceability based on a block chain can be realized, and a user with high integral can be given certain reward based on the integral of each user so as to create a fair incentive environment and further improve the environmental awareness of the user.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
Fig. 9 is a schematic structural diagram of a garbage recycling apparatus based on a block chain according to an embodiment of the present application, and referring to fig. 9, the apparatus includes:
an identifier obtaining module 901, configured to obtain a user identifier of a target user based on a garbage throwing instruction of the target user;
a first record generating module 902, configured to obtain a release category of a spam package, and generate a first release record of the spam package on a blockchain of the blockchain system based on the release category and a user identifier of the target user;
a result obtaining module 903, configured to obtain a garbage collection result generated by the target garbage disposal mechanism, where the garbage collection result is generated based on the first release record and the category to which each article in the garbage bag belongs;
a sending module 904, configured to send the garbage collection result to the target user.
In one possible implementation, the first record generation module 902 is configured to:
generating a first delivery record based on the delivery category and the user identifier of the target user;
sending the first delivery record to the target user;
and storing the first release record carrying the private key signature of the target user to the block chain based on a confirmation instruction of the target user for the first release record.
In one possible implementation manner, the category of each article in the garbage bag is obtained by the garbage recognition system of the target garbage disposal mechanism through image recognition of the article image of each article in the garbage bag based on the image recognition result.
In one possible implementation, the apparatus further includes:
the second record generation module is used for acquiring the article image of each article in the garbage bag, the garbage recovery result, the user identification of the target user and the mechanism identification of the target garbage disposal mechanism and generating a second delivery record;
and the storage module is used for storing the second release record carrying the private key signature of the target processing mechanism to the block chain based on the confirmation instruction of the target garbage processing mechanism to the second release record.
In one possible implementation, the apparatus further includes:
the record acquisition module is used for acquiring at least one second delivery record carrying the user identifier from the block chain based on the user identifier of the user;
and the point generating module is used for generating the garbage collection total point of the user on the block chain based on the garbage collection result in the at least one second putting record.
In one possible implementation, the apparatus further includes:
and the sorting module is used for acquiring the garbage collection total points of at least one user and sorting the garbage collection total points of the at least one user.
In one possible implementation, the apparatus further includes:
and the identification generation module is used for generating the user identification of the target user on the block chain of the block chain system based on the registration behavior of the target user.
In one possible implementation, the identity obtaining module 901 is configured to:
when a garbage throwing instruction of the target user is received, acquiring a user image of the target user;
and identifying the user image, and determining the user identification of the target user based on the identification result.
The device provided by the embodiment of the application acquires the user identifier of a target user through a garbage throwing instruction based on the target user, acquires the throwing type of a garbage bag, generates a first throwing record of the garbage bag on a block chain of a block chain system based on the throwing type and the user identifier of the target user, acquires a garbage recycling result generated by a target garbage disposal mechanism, generates the garbage recycling result based on the first throwing record and the belonged type of each article in the garbage bag, sends the garbage recycling result to the target user, and can accurately feed the garbage recycling result back to the target user throwing the garbage, so that the target user can know the garbage classified throwing condition, the garbage classification quality is gradually improved, and the garbage recycling effect is ensured.
It should be noted that: in the garbage collection device based on the block chain according to the above embodiment, only the division of the above function modules is used for illustration in garbage collection, and in practical applications, the function distribution may be completed by different function modules according to needs, that is, the internal structure of the device is divided into different function modules to complete all or part of the above described functions. In addition, the block chain-based garbage collection device provided in the above embodiment and the block chain-based garbage collection method embodiment belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiment and are not described herein again.
Fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present application. The terminal 1000 can be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 1000 can also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or the like by other names.
In general, terminal 1000 can include: one or more processors 1001 and one or more memories 1002.
Processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 1001 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1001 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 1001 may further include an AI (Artificial Intelligence) processor for processing a computing operation related to machine learning.
Memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1002 is configured to store at least one instruction for execution by processor 1001 to implement the blockchain based garbage collection method provided by the method embodiments herein.
In some embodiments, terminal 1000 can also optionally include: a peripheral interface 1003 and at least one peripheral. The processor 1001, memory 1002 and peripheral interface 1003 may be connected by a bus or signal line. Various peripheral devices may be connected to peripheral interface 1003 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1004, display screen 1005, camera assembly 1006, audio circuitry 1007, positioning assembly 1008, and power supply 1009.
The peripheral interface 1003 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 1001 and the memory 1002. In some embodiments, processor 1001, memory 1002, and peripheral interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral interface 1003 may be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 1004 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1004 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1004 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1004 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1004 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1004 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1005 is a touch display screen, the display screen 1005 also has the ability to capture touch signals on or over the surface of the display screen 1005. The touch signal may be input to the processor 1001 as a control signal for processing. At this point, the display screen 1005 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, display screen 1005 can be one, providing a front panel of terminal 1000; in other embodiments, display 1005 can be at least two, respectively disposed on different surfaces of terminal 1000 or in a folded design; in some embodiments, display 1005 can be a flexible display disposed on a curved surface or a folded surface of terminal 1000. Even more, the display screen 1005 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display screen 1005 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 1006 is used to capture images or video. Optionally, the camera assembly 1006 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1006 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1007 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1001 for processing or inputting the electric signals to the radio frequency circuit 1004 for realizing voice communication. For stereo sound collection or noise reduction purposes, multiple microphones can be provided, each at a different location of terminal 1000. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1001 or the radio frequency circuit 1004 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 1007 may also include a headphone jack.
A Location component 1008 is employed to locate a current geographic Location of terminal 1000 for purposes of navigation or LBS (Location Based Service). The Positioning component 1008 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
Power supply 1009 is used to supply power to various components in terminal 1000. The power source 1009 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 1009 includes a rechargeable battery, the rechargeable battery may support wired charging or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1000 can also include one or more sensors 1010. The one or more sensors 1010 include, but are not limited to: acceleration sensor 1011, gyro sensor 1012, pressure sensor 1013, fingerprint sensor 1014, optical sensor 1015, and proximity sensor 1016.
Acceleration sensor 1011 can detect acceleration magnitudes on three coordinate axes of a coordinate system established with terminal 1000. For example, the acceleration sensor 1011 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1001 may control the display screen 1005 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1011. The acceleration sensor 1011 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1012 may detect a body direction and a rotation angle of the terminal 1000, and the gyro sensor 1012 and the acceleration sensor 1011 may cooperate to acquire a 3D motion of the user on the terminal 1000. From the data collected by the gyro sensor 1012, the processor 1001 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensor 1013 can be disposed on a side frame of terminal 1000 and/or underneath display screen 1005. When pressure sensor 1013 is disposed on a side frame of terminal 1000, a user's grip signal on terminal 1000 can be detected, and processor 1001 performs left-right hand recognition or shortcut operation according to the grip signal collected by pressure sensor 1013. When the pressure sensor 1013 is disposed at a lower layer of the display screen 1005, the processor 1001 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 1005. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1014 is used to collect a fingerprint of the user, and the processor 1001 identifies the user according to the fingerprint collected by the fingerprint sensor 1014, or the fingerprint sensor 1014 identifies the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 1001 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying, and changing settings, etc. Fingerprint sensor 1014 can be disposed on the front, back, or side of terminal 1000. When a physical key or vendor Logo is provided on terminal 1000, fingerprint sensor 1014 can be integrated with the physical key or vendor Logo.
The optical sensor 1015 is used to collect the ambient light intensity. In one embodiment, the processor 1001 may control the display brightness of the display screen 1005 according to the ambient light intensity collected by the optical sensor 1015. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1005 is increased; when the ambient light intensity is low, the display brightness of the display screen 1005 is turned down. In another embodiment, the processor 1001 may also dynamically adjust the shooting parameters of the camera assembly 1006 according to the intensity of the ambient light collected by the optical sensor 1015.
Proximity sensor 1016, also known as a distance sensor, is typically disposed on a front panel of terminal 1000. Proximity sensor 1016 is used to gather the distance between the user and the front face of terminal 1000. In one embodiment, when proximity sensor 1016 detects that the distance between the user and the front surface of terminal 1000 is gradually reduced, processor 1001 controls display screen 1005 to switch from a bright screen state to a dark screen state; when proximity sensor 1016 detects that the distance between the user and the front of terminal 1000 is gradually increased, display screen 1005 is controlled by processor 1001 to switch from a breath-screen state to a bright-screen state.
Those skilled in the art will appreciate that the configuration shown in FIG. 10 is not intended to be limiting and that terminal 1000 can include more or fewer components than shown, or some components can be combined, or a different arrangement of components can be employed.
Fig. 11 is a schematic structural diagram of a server according to an embodiment of the present application, where the server 1100 may generate a relatively large difference due to a difference in configuration or performance, and may include one or more processors (CPUs) 1101 and one or more memories 1102, where at least one program code is stored in the one or more memories 1102, and is loaded and executed by the one or more processors 1101 to implement the methods provided by the foregoing method embodiments. Of course, the server 1100 may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server 1100 may also include other components for implementing device functions, which are not described herein again.
In an exemplary embodiment, a computer-readable storage medium, such as a memory, is also provided that includes instructions executable by a processor to perform the block chain based garbage collection method of the above embodiments. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (15)

1. A garbage collection method based on a block chain is applied to any node device in a block chain system, and the method comprises the following steps:
acquiring a user identifier of a target user based on a garbage throwing instruction of the target user;
acquiring a release category of a garbage packet, and generating a first release record of the garbage packet on a block chain of the block chain system based on the release category and the user identifier of the target user;
acquiring a garbage collection result generated by a target garbage disposal mechanism, wherein the garbage collection result is generated based on the first putting record and the category of each article in the garbage bag;
and sending the garbage recycling result to the target user.
2. The method of claim 1, wherein generating a first drop record for the spam over a blockchain of the blockchain system based on the drop category and a user identification of the target user comprises:
generating a first delivery record based on the delivery category and the user identifier of the target user;
sending the first delivery record to the target user;
and storing the first release record carrying the private key signature of the target user to the block chain based on the confirmation instruction of the target user for the first release record.
3. The method according to claim 1, wherein the category of each item in the trash bag is obtained by a trash recognition system of the target trash disposal facility by performing image recognition on an item image of each item in the trash bag based on the image recognition result.
4. The method of claim 3, wherein after obtaining the garbage collection results generated by the garbage disposal mechanism, the method further comprises:
acquiring an article image of each article in the garbage bag, the garbage recycling result, the user identification of the target user and the mechanism identification of the target garbage disposal mechanism, and generating a second delivery record;
and storing the second release record carrying the private key signature of the target processing mechanism to the block chain based on a confirmation instruction of the target garbage processing mechanism to the second release record.
5. The method of claim 4, wherein after storing the second placement record carrying the private key signature of the target processing entity onto the blockchain, the method further comprises:
based on the user identification of the user, acquiring at least one second release record carrying the user identification from the block chain;
generating a garbage collection total score for the user on the blockchain based on the garbage collection results in the at least one second drop record.
6. The method of claim 5, wherein after generating the garbage collection total score for the user on the blockchain, the method further comprises:
and acquiring the garbage collection total points of at least one user, and sequencing the garbage collection total points of the at least one user.
7. The method according to claim 1, wherein before the obtaining the user identifier of the target user based on the spam delivery instruction of the target user, the method further comprises:
and generating a user identifier of the target user on a block chain of the block chain system based on the registration behavior of the target user.
8. The method according to claim 1, wherein the obtaining the user identifier of the target user based on the spam delivery instruction of the target user comprises:
when a garbage throwing instruction of the target user is received, acquiring a user image of the target user;
and identifying the user image, and determining the user identification of the target user based on the identification result.
9. A block chain based waste recovery device, the device comprising:
the identification acquisition module is used for acquiring the user identification of the target user based on the garbage throwing instruction of the target user;
a first record generation module, configured to obtain a delivery category of a spam packet, and generate a first delivery record of the spam packet on a blockchain of the blockchain system based on the delivery category and a user identifier of the target user;
the result acquisition module is used for acquiring a garbage recovery result generated by a target garbage disposal mechanism, and the garbage recovery result is generated based on the first putting record and the category of each article in the garbage bag;
and the sending module is used for sending the garbage recycling result to the target user.
10. The apparatus of claim 9, wherein the first record generation module is configured to:
generating a first delivery record based on the delivery category and the user identifier of the target user;
sending the first delivery record to the target user;
and storing the first release record carrying the private key signature of the target user to the block chain based on the confirmation instruction of the target user for the first release record.
11. The apparatus according to claim 9, wherein the category of each item in the trash bag is obtained by the trash recognition system of the target trash disposal facility by performing image recognition on the item image of each item in the trash bag based on the image recognition result.
12. The apparatus of claim 11, further comprising:
the second record generation module is used for acquiring the article image of each article in the garbage bag, the garbage recovery result, the user identifier of the target user and the mechanism identifier of the target garbage disposal mechanism and generating a second delivery record;
and the storage module is used for storing the second release record carrying the private key signature of the target processing mechanism to the block chain based on the confirmation instruction of the target garbage processing mechanism to the second release record.
13. The apparatus of claim 12, further comprising:
a record obtaining module, configured to obtain, based on the user identifier of the user, at least one second delivery record carrying the user identifier from the blockchain;
and the point generating module is used for generating a garbage collection total point of the user on the block chain based on the garbage collection result in the at least one second putting record.
14. A computer device comprising one or more processors and one or more memories having at least one program code stored therein, the instructions being loaded and executed by the one or more processors to perform the operations performed by the blockchain based garbage collection method of any one of claims 1 to 8.
15. A computer-readable storage medium having at least one program code stored therein, the instructions being loaded and executed by a processor to perform the operations performed by the blockchain-based garbage collection method of any one of claims 1 to 8.
CN201910862699.5A 2019-09-12 2019-09-12 Garbage collection method, device, equipment and storage medium based on block chain Active CN110598879B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911301708.XA CN111079958A (en) 2019-09-12 2019-09-12 Garbage recycling method, system, equipment and storage medium
CN201910862699.5A CN110598879B (en) 2019-09-12 2019-09-12 Garbage collection method, device, equipment and storage medium based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910862699.5A CN110598879B (en) 2019-09-12 2019-09-12 Garbage collection method, device, equipment and storage medium based on block chain

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201911301708.XA Division CN111079958A (en) 2019-09-12 2019-09-12 Garbage recycling method, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110598879A true CN110598879A (en) 2019-12-20
CN110598879B CN110598879B (en) 2023-09-15

Family

ID=68859065

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201911301708.XA Pending CN111079958A (en) 2019-09-12 2019-09-12 Garbage recycling method, system, equipment and storage medium
CN201910862699.5A Active CN110598879B (en) 2019-09-12 2019-09-12 Garbage collection method, device, equipment and storage medium based on block chain

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201911301708.XA Pending CN111079958A (en) 2019-09-12 2019-09-12 Garbage recycling method, system, equipment and storage medium

Country Status (1)

Country Link
CN (2) CN111079958A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111680645A (en) * 2020-06-11 2020-09-18 王艳琼 Garbage classification processing method and device
CN112116750A (en) * 2020-08-21 2020-12-22 中冶集团武汉勘察研究院有限公司 Block chain-based credit reward and punishment method applied to field of garbage classification and recovery
CN112380582A (en) * 2020-12-22 2021-02-19 平安国际智慧城市科技股份有限公司 Garbage throwing recording method and device based on block chain and computer equipment
CN113044426A (en) * 2021-02-07 2021-06-29 北京化工大学 Garbage classification tracing method, device and system
CN113344757A (en) * 2021-06-29 2021-09-03 重庆广播电视大学重庆工商职业学院 Data traceability verification method and system based on Internet of things and block chain
CN113486363A (en) * 2020-10-16 2021-10-08 昆明理工大学 Industrial harmful garbage treatment process system and method based on block chain
CN113753427A (en) * 2020-09-14 2021-12-07 北京京东振世信息技术有限公司 Garbage classification method and device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112200328B (en) * 2020-10-15 2023-06-23 广东绿润环境科技有限公司 Garbage recycling method, device and system
CN113408752A (en) * 2021-05-27 2021-09-17 复旦大学 Garbage recovery supervision system and method based on block chain

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003026336A (en) * 2001-07-12 2003-01-29 Mitsubishi Heavy Ind Ltd General waste sorting and collection system and its method
CN1687944A (en) * 2005-04-27 2005-10-26 合肥工业大学 Automatic controlling method for garbage classifying putting-in and induction type automatic putting-in system
JP2009104491A (en) * 2007-10-25 2009-05-14 Hitachi Software Eng Co Ltd Refuse separate collection support system
CN104044842A (en) * 2014-06-23 2014-09-17 陈斌 Garbage sorting platform and method based on two-dimensional code recognition technology
US20170178125A1 (en) * 2015-12-18 2017-06-22 Telefonaktiebolaget L M Ericsson (Publ) Trash collection systems and methods
CN108839977A (en) * 2018-06-08 2018-11-20 湖南万容普联再生资源有限公司 A kind of system of Waste sorting recycle, method and device
CN109299793A (en) * 2018-08-21 2019-02-01 杭州复杂美科技有限公司 Garbage classification motivational techniques and device, equipment and storage medium
CN109703943A (en) * 2019-03-06 2019-05-03 北京鼎恒泰科技有限公司 Rubbish recovering method, client and garbage recycling bin
US20190196966A1 (en) * 2017-12-22 2019-06-27 Samsung Electronics Co., Ltd. Storage device performing garbage collection and garbage collection method of storage device
CN110021109A (en) * 2019-02-12 2019-07-16 广东沫益清环保科技有限公司 A kind of Intelligent refuse classification take-back model

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103466242B (en) * 2012-06-07 2015-10-28 深圳商联商用科技有限公司 A kind of method and system of refuse classification management
CN107983755A (en) * 2017-12-28 2018-05-04 朱子昕 Refuse classification method and retrospective printing bar code system of the bar code for core

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003026336A (en) * 2001-07-12 2003-01-29 Mitsubishi Heavy Ind Ltd General waste sorting and collection system and its method
CN1687944A (en) * 2005-04-27 2005-10-26 合肥工业大学 Automatic controlling method for garbage classifying putting-in and induction type automatic putting-in system
JP2009104491A (en) * 2007-10-25 2009-05-14 Hitachi Software Eng Co Ltd Refuse separate collection support system
CN104044842A (en) * 2014-06-23 2014-09-17 陈斌 Garbage sorting platform and method based on two-dimensional code recognition technology
US20170178125A1 (en) * 2015-12-18 2017-06-22 Telefonaktiebolaget L M Ericsson (Publ) Trash collection systems and methods
US20190196966A1 (en) * 2017-12-22 2019-06-27 Samsung Electronics Co., Ltd. Storage device performing garbage collection and garbage collection method of storage device
CN108839977A (en) * 2018-06-08 2018-11-20 湖南万容普联再生资源有限公司 A kind of system of Waste sorting recycle, method and device
CN109299793A (en) * 2018-08-21 2019-02-01 杭州复杂美科技有限公司 Garbage classification motivational techniques and device, equipment and storage medium
CN110021109A (en) * 2019-02-12 2019-07-16 广东沫益清环保科技有限公司 A kind of Intelligent refuse classification take-back model
CN109703943A (en) * 2019-03-06 2019-05-03 北京鼎恒泰科技有限公司 Rubbish recovering method, client and garbage recycling bin

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111680645A (en) * 2020-06-11 2020-09-18 王艳琼 Garbage classification processing method and device
CN111680645B (en) * 2020-06-11 2024-02-09 王艳琼 Garbage classification treatment method and device
CN112116750A (en) * 2020-08-21 2020-12-22 中冶集团武汉勘察研究院有限公司 Block chain-based credit reward and punishment method applied to field of garbage classification and recovery
CN113753427A (en) * 2020-09-14 2021-12-07 北京京东振世信息技术有限公司 Garbage classification method and device
CN113486363A (en) * 2020-10-16 2021-10-08 昆明理工大学 Industrial harmful garbage treatment process system and method based on block chain
CN112380582A (en) * 2020-12-22 2021-02-19 平安国际智慧城市科技股份有限公司 Garbage throwing recording method and device based on block chain and computer equipment
CN113044426A (en) * 2021-02-07 2021-06-29 北京化工大学 Garbage classification tracing method, device and system
CN113344757A (en) * 2021-06-29 2021-09-03 重庆广播电视大学重庆工商职业学院 Data traceability verification method and system based on Internet of things and block chain

Also Published As

Publication number Publication date
CN111079958A (en) 2020-04-28
CN110598879B (en) 2023-09-15

Similar Documents

Publication Publication Date Title
CN110598879B (en) Garbage collection method, device, equipment and storage medium based on block chain
CN110401715B (en) Resource collection task management method, device, storage medium and system
CN110602089B (en) Block chain-based medical data storage method, device, equipment and storage medium
CN112257876B (en) Federal learning method, apparatus, computer device and medium
CN110689460B (en) Traffic accident data processing method, device, equipment and medium based on block chain
CN111245745B (en) Message sending method, device, node equipment and storage medium
CN110687821B (en) Intelligent home control system and method based on block chain
CN111339086B (en) Block processing method, and data query method and device based on block chain
CN110602206A (en) Data sharing method and device based on block chain and storage medium
CN111104980B (en) Method, device, equipment and storage medium for determining classification result
CN111080443B (en) Block chain-based service processing method, device, equipment and storage medium
CN111241115B (en) Data synchronization method, device, equipment and storage medium
CN110555780B (en) Insurance data processing method, device and equipment based on block chain and storage medium
CN111275122A (en) Label labeling method, device, equipment and readable storage medium
CN110597924B (en) Block chain-based user identification processing method, device, equipment and storage medium
CN111159153A (en) Service data checking method and device, computer equipment and storage medium
CN110933113A (en) Block chain-based interactive behavior detection method, device, equipment and storage medium
CN110597906A (en) Block chain-based entrance integral generation method, device, equipment and storage medium
CN110598386A (en) Data processing method, device and equipment based on block chain and storage medium
CN111901283A (en) Resource transfer method, device, terminal and storage medium
CN110599328B (en) Block chain based risk user determination method, device, equipment and storage medium
CN111212074B (en) Blockchain-based qualification identification method, device, equipment and storage medium
CN112231768B (en) Data processing method and device, computer equipment and storage medium
CN111327427B (en) Method, device, node equipment, system and storage medium for submitting alternative blocks
CN110889264B (en) Multimedia information processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant