[go: up one dir, main page]

WO2022037373A1 - Garbage processing method, apparatus, and system - Google Patents

Garbage processing method, apparatus, and system Download PDF

Info

Publication number
WO2022037373A1
WO2022037373A1 PCT/CN2021/108817 CN2021108817W WO2022037373A1 WO 2022037373 A1 WO2022037373 A1 WO 2022037373A1 CN 2021108817 W CN2021108817 W CN 2021108817W WO 2022037373 A1 WO2022037373 A1 WO 2022037373A1
Authority
WO
WIPO (PCT)
Prior art keywords
garbage
processor
processed
blockchain system
image
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.)
Ceased
Application number
PCT/CN2021/108817
Other languages
French (fr)
Chinese (zh)
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.)
Jingdong Technology Holding Co Ltd
Jingdong Technology Information Technology Co Ltd
Original Assignee
Jingdong Technology Holding Co Ltd
Jingdong Technology Information Technology 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 Jingdong Technology Holding Co Ltd, Jingdong Technology Information Technology Co Ltd filed Critical Jingdong Technology Holding Co Ltd
Publication of WO2022037373A1 publication Critical patent/WO2022037373A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y20/00Information sensed or collected by the things
    • G16Y20/40Information sensed or collected by the things relating to personal data, e.g. biometric data, records or preferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0861Network architectures or network communication protocols for network security for authentication of entities using biometrical features, e.g. fingerprint, retina-scan
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/07Target detection

Definitions

  • Embodiments of the present disclosure relate to the field of computer technology, and in particular, to a method, apparatus, and system for processing garbage.
  • Garbage is the waste generated in human daily life and production. Due to its large discharge volume, complex and diverse components, and its pollution, resource and social nature, it needs harmless, resource-based, reduced and socialized treatment, such as If it cannot be handled properly, it will pollute the environment, affect environmental sanitation, waste resources, destroy the safety of production and life, and destroy social harmony.
  • Embodiments of the present disclosure propose methods, apparatus, and systems for treating garbage.
  • an embodiment of the present disclosure provides a method for processing garbage, applied to a blockchain system, the method includes: performing the following determination steps: receiving an image of garbage to be processed from a garbage processing device; image of the garbage, and determine whether the garbage to be treated meets the preset treatment conditions; the above method further includes: in response to determining that the garbage to be treated does not meet the preset treatment conditions, generating prompt information for prompting that the garbage to be treated does not meet the preset treatment conditions; It is sent to the garbage disposal equipment, and the blockchain certificate information for the garbage to be processed is generated.
  • an embodiment of the present disclosure provides a method for processing garbage, which is applied to garbage processing equipment, the method includes: acquiring an image of garbage to be processed; sending the image of garbage to be processed to a blockchain system for processing processing to determine whether the garbage to be processed meets the preset processing conditions; in response to receiving the prompt information from the blockchain system indicating that the garbage to be processed does not meet the preset processing conditions, display the information indicating that the garbage to be processed does not meet the preset processing conditions Tooltip for processing conditions.
  • an embodiment of the present disclosure provides an apparatus for processing garbage, the apparatus comprising: an execution unit configured to perform the following determination steps: receiving an image of garbage to be processed from a garbage processing device; to determine whether the garbage to be processed meets the preset processing conditions; the generating unit is configured to, in response to determining that the garbage to be processed does not meet the preset processing conditions, generate prompt information for prompting that the garbage to be processed does not meet the preset processing conditions; and It is sent to the garbage disposal equipment, and the blockchain certificate information for the garbage to be processed is generated.
  • embodiments of the present disclosure provide an apparatus for processing garbage, the acquiring unit is configured to acquire an image of the garbage to be processed; the sending unit is configured to send the image of the garbage to be processed to a blockchain
  • the system performs processing to determine whether the garbage to be treated meets the preset treatment conditions; the display unit is configured to display the information for indicating that the garbage to be treated does not meet the preset treatment conditions in response to receiving the prompt information from the blockchain system.
  • a prompt message indicating that the garbage to be processed does not meet the preset processing conditions.
  • embodiments of the present disclosure provide a server, the server comprising: one or more processors; a storage device for storing one or more programs; when one or more programs are processed by one or more The processor executes such that the one or more processors implement the method as described in any one of the implementations of the first aspect.
  • embodiments of the present disclosure provide a garbage disposal device, the garbage disposal device comprising: one or more processors; a storage device on which one or more programs are stored; and an image acquisition device configured to Acquiring an image; when one or more programs are executed by one or more processors, causing the one or more processors to implement a method as described in any implementation manner of the second aspect.
  • embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, and when the computer program is executed by a processor, implements the method described in any one of the first and second aspects. .
  • the image of the garbage to be processed is collected by the garbage processing equipment, and then the image of the garbage to be processed is analyzed by the blockchain system to determine whether the garbage to be processed meets the predetermined requirements.
  • Set the treatment conditions if the garbage to be treated does not meet the preset treatment conditions, a prompt message will be generated so that the garbage disposal equipment will prompt the processor of the garbage to be treated, so as to avoid the situation that the processor treats the garbage to be treated incorrectly, thereby ensuring the garbage to be treated.
  • Proper disposal helps ensure the safety of the waste disposal process.
  • the blockchain system is used to store the garbage disposal process on the blockchain, which can ensure that the disposal process of each garbage to be treated is traceable and cannot be tampered with, which is convenient for the management of garbage to be treated.
  • FIG. 1 is an exemplary system architecture diagram to which an embodiment of the present disclosure may be applied;
  • FIG. 2 is a flowchart of one embodiment of a method for processing garbage according to the present disclosure
  • FIG. 3 is a schematic diagram of an application scenario of the method for processing garbage according to an embodiment of the present disclosure
  • FIG. 4 is a flowchart of yet another embodiment of a method for processing garbage according to the present disclosure.
  • FIG. 5 is a schematic timing diagram diagram of one embodiment of a system for processing garbage according to the present disclosure.
  • FIG. 6 is a schematic structural diagram of an embodiment of the apparatus for processing garbage according to the present disclosure.
  • FIG. 7 is a schematic structural diagram of still another embodiment of the apparatus for processing garbage according to the present disclosure.
  • FIG. 8 is a schematic structural diagram of a garbage disposal apparatus suitable for implementing embodiments of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a server suitable for implementing embodiments of the present disclosure.
  • FIG. 1 illustrates an exemplary architecture 100 of an embodiment of a method for processing waste or an apparatus for processing waste to which the present disclosure may be applied.
  • the system architecture 100 may include garbage disposal equipment 101 , 102 , a network 103 and a blockchain system 104 .
  • the network 103 is a medium used to provide a communication link between the garbage disposal devices 101 , 102 and the blockchain system 104 .
  • the network 103 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
  • the garbage disposal devices 101, 102 interact with the blockchain system 104 through the network 103 to receive or send messages and the like.
  • the garbage disposal facilities 101, 102 may be various types of facilities for disposal of garbage.
  • the garbage disposal devices 101, 102 include, but are not limited to, various types of trash cans, rubbish bins, and the like.
  • One or more blockchain nodes in the blockchain system 104 may provide various services. For example, various kinds of information sent by the garbage disposal devices 101 and 102 can be received, and then the received information can be processed, and the processing results can be fed back to the garbage disposal devices 101 and 102 .
  • the blockchain node in the blockchain system 104 may be a single server, or may be composed of multiple servers or multiple server clusters.
  • the server may be hardware or software.
  • the server When the server is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or can be implemented as a single server.
  • the server When the server is software, it can be implemented as multiple software or software modules (for example, multiple software or software modules for providing distributed services), or can be implemented as a single software or software module. There is no specific limitation here.
  • FIG. 1 the numbers of garbage disposal devices, networks and blockchain systems in FIG. 1 are merely illustrative. There can be any number of terminal devices, networks and servers according to implementation needs.
  • the method for processing garbage can be applied to a blockchain system (such as the blockchain system 104 shown in FIG. 1 ), and the method can include the following steps:
  • Step 201 Receive an image of the garbage to be processed from the garbage disposal device.
  • the garbage disposal equipment may be various types of equipment for disposal of garbage.
  • the treatment of garbage may include, but is not limited to, garbage collection, recycling, classification, and the like.
  • Garbage disposal equipment may include, but is not limited to, trash cans, waste bins, garbage trucks, and the like.
  • Garbage to be disposed of can be of various types.
  • the garbage to be treated may include, but is not limited to, domestic garbage, kitchen waste, electronic waste, construction waste, medical waste, industrial waste, and the like.
  • the image of the garbage to be disposed of may refer to an image presenting the garbage to be disposed of.
  • An executive body for processing garbage can receive images of garbage to be processed from the garbage processing equipment.
  • Garbage disposal equipment can acquire images of garbage to be disposed of in various ways.
  • the garbage processing equipment can receive images of the garbage to be processed sent by the processor of the garbage to be processed, and can also collect images of the garbage to be processed by using the image acquisition device it includes.
  • the processor of the garbage to be treated may refer to a person who treats the garbage to be treated.
  • a disposer may refer to a person who desires to dispose of the garbage to be disposed of in a garbage disposal facility.
  • Image capture devices are various devices capable of capturing images.
  • the image capturing device includes, but is not limited to, a camera, a video recorder, and the like.
  • Step 202 according to the image of the garbage to be treated, determine whether the garbage to be treated meets the preset treatment conditions.
  • the preset processing conditions may be flexibly set in advance by technical personnel according to actual application requirements or application scenarios (eg, requirements for garbage to be processed in practice, etc.). It should be understood that the preset processing conditions may be different in different situations. For different garbage to be treated, the preset treatment conditions may also be different.
  • different preset treatment conditions may be set in advance for different types of garbage to be treated.
  • preset treatment conditions may be set to indicate that the wastes to be treated need to be sterilized or sealed.
  • the above-mentioned execution subject can use various image processing technologies (such as target detection and recognition technology, dynamic image processing technology, etc.) to analyze the image of the garbage to be processed to determine whether the garbage to be processed meets the preset processing conditions. .
  • image processing technologies such as target detection and recognition technology, dynamic image processing technology, etc.
  • garbage to be treated there may be one image or multiple images of garbage to be processed received from the garbage disposal device. Therefore, it can be determined whether the garbage to be treated meets the preset condition based on one or more images of the garbage to be treated.
  • Step 203 in response to determining that the garbage to be processed does not meet the preset processing conditions, generate prompt information for prompting that the garbage to be processed does not meet the preset processing conditions and send it to the garbage processing equipment, and generate a block chain storage for the garbage to be processed. certificate information.
  • the prompt information may be prompt information in various forms.
  • the form of prompt information includes, but is not limited to, text, image, audio, video, and combinations of these forms.
  • the prompt information for prompting that the garbage to be processed does not meet the preset processing conditions may be used to prompt the handler of the garbage to be processed that the garbage to be processed does not meet the preset processing conditions, and make the garbage to be processed meet the preset processing conditions The correct processing method of audio and video.
  • the above-mentioned execution body may send the prompt information for prompting that the garbage to be processed does not meet the preset processing conditions to the garbage processing equipment, and the garbage processing equipment can then send the prompt information to the garbage processing equipment.
  • This prompt is displayed to the disposer of the garbage to be disposed of.
  • the blockchain certification information for the garbage to be processed can be used for blockchain certification of the information related to the garbage to be processed this time.
  • the relevant information of the garbage to be treated can be flexibly set according to the actual application requirements.
  • the relevant information of the garbage to be processed may include the image of the garbage to be processed, the processing result (such as whether the garbage to be processed meets the preset conditions, etc.), the corresponding relationship between the garbage to be processed and its handler, the processing time, and so on.
  • the blockchain certificate information can be various types of certificate information used in the blockchain system.
  • the blockchain certificate information may include a blockchain certificate and the like.
  • the identification (such as a serial number) of the deposit information can be sent to the corresponding processor or disclosed in the blockchain system. Based on this, the corresponding processor or other blockchain systems can query the certificate information according to the identification of the certificate information, and then understand the actual processing process of the corresponding processor to deal with the garbage to be processed this time.
  • the block chain system is used to analyze and process the images of the garbage to be treated to determine whether the garbage to be treated meets the preset treatment conditions.
  • the processor gives a prompt, so as to realize the automatic processing of the garbage to be treated, and at the same time ensure that the garbage to be treated meets the preset treatment conditions, so that the garbage to be treated can be properly processed, and the garbage to be treated that does not meet the preset treatment conditions can be avoided.
  • the blockchain system will also generate the blockchain certification information for the garbage to be treated, so as to record the process of the garbage to be treated, so that each treatment process of the garbage to be treated can be traced back and cannot be tampered with. It is convenient to effectively manage and control the disposal of garbage to be treated.
  • the above-mentioned execution subject may send information to the garbage processing equipment to indicate that the garbage to be processed meets the preset processing conditions, and then the garbage processing equipment can complete the processing (such as collection, etc.) of the garbage to be processed. , and then send the information indicating the completion of the garbage processing to be processed to the above-mentioned execution body. After that, the above-mentioned execution body can generate the blockchain certificate information for the garbage to be processed, so as to store the certificate of the processing process of the garbage to be processed this time.
  • each block chain node in the block chain system can ensure the authenticity and validity of the information recorded in the block chain system, so as to ensure that the recorded garbage disposal process is real, effective and traceable. Query, which helps to achieve better management of garbage to be processed.
  • the foregoing execution subject may further perform the following steps:
  • Step 1 Receive an image of a processor of garbage to be disposed of from the garbage disposal device.
  • the above-mentioned execution subject may receive the image of the processor from the device to be processed.
  • Garbage disposal equipment can also obtain images of disposers in various ways. For example, a garbage disposal facility may receive an image of itself sent by a disposer. For another example, the garbage disposal equipment may use the image acquisition device included in the garbage disposal equipment to acquire images of the disposers.
  • Step 2 According to the image of the processor, determine whether the processor is an authenticated user of the blockchain system.
  • the authenticated user may refer to a user who has passed the identity verification of the blockchain system.
  • the authentication method adopted by the blockchain can be flexibly set according to the actual application requirements.
  • the identity verification methods adopted by the blockchain include but are not limited to mobile phone number verification, email verification, ID verification, bank card verification, or a combination of multiple verification methods, etc.
  • the above-mentioned executive body can use various image processing technologies (such as face recognition technology, etc.) to analyze the identity of the processor from the image of the processor to determine whether the processor is an authenticated user of the blockchain system.
  • image processing technologies such as face recognition technology, etc.
  • the above-mentioned execution body may first perform face recognition on the image of the processor, and then extract the features of the recognized face to obtain face feature information.
  • the above-mentioned execution body may pre-store face feature information corresponding to each authenticated user. At this time, it can be determined by matching whether the currently extracted facial feature information of the handler is in each pre-stored facial feature information. If it exists, it can indicate that the processor belongs to the authenticated user of the blockchain system; if it does not exist, it can indicate that the processor does not currently belong to the authenticated user of the blockchain system.
  • Step 3 in response to determining that the processor belongs to an authenticated user of the blockchain system, execute the above steps 201-203.
  • this step if it is determined that the processor belongs to an authenticated user of the blockchain system, it can be considered that the processor of the garbage to be treated has the authority to process the garbage to be treated. At this time, the above steps 201-203 can be performed to process the garbage to be processed.
  • Step 4 in response to determining that the processor does not belong to the authenticated user of the blockchain system, generate prompt information for prompting the processor not to belong to the authenticated user of the blockchain system and send it to the garbage disposal equipment.
  • the prompt information may be prompt information in various forms.
  • the form of prompt information includes but is not limited to text, image, audio, video, and combinations of these forms, etc.
  • the prompt information for prompting the processor not to belong to the authenticated user of the blockchain system may be an audio for prompting the processor of the garbage to be treated that he has not been authenticated in the blockchain system, and the information in the district The flow chart of identity authentication in the blockchain system.
  • the above-mentioned execution body can send the prompt information to the garbage disposal device for prompting the processor to not belong to the authenticated user of the block chain system, and then The garbage disposal equipment can display the prompt information to the disposer.
  • the processor belongs to the real-name authentication user of the blockchain system according to the image of the processor.
  • the real-name authentication of users of the blockchain system restricts the behavior of users of the blockchain system when disposing of garbage, and ensures that users of the blockchain system will not litter and so on.
  • the processor of the garbage to be treated can be registered in the blockchain system in advance.
  • the processor of the garbage to be treated can fill in various authentication information in the blockchain system in advance (such as name, ID card information or passport information, face image, etc.).
  • the blockchain system can extract face feature information according to the face image, and store the processor's authentication information and the processor's face feature information in association.
  • the processor of the garbage to be processed when registered in the blockchain, a pair of public and private keys corresponding to the processor can be generated. Furthermore, when recording the face image of the processor, the blockchain system can use the processor's private key to sign the face image and then store it, so as to further ensure the security of the identity verification of the subsequent garbage processor to be processed. sex and correctness.
  • the blockchain system can also use the public and private keys corresponding to the processor to verify the processor's behavior records to ensure the security of the processor's information. sex.
  • the articles for treating garbage to be treated may be various articles for treating garbage. It should be understood that, according to different garbage to be treated, the corresponding supplies may be different. According to the actual application requirements, the supplies for treating the garbage to be treated can also be different.
  • some garbage to be treated requires the handler to wear gloves to handle it.
  • some garbage to be treated requires the processor to wear gloves and masks for disposal.
  • various image-based object detection and recognition techniques can be used to determine whether the disposer has supplies to dispose of the waste to be disposed of.
  • the above steps 201-203 may be performed to process the garbage to be disposed of.
  • a prompt message that the handler does not have supplies for processing the waste to be processed may be generated and sent to the waste processing facility.
  • the prompt information may be prompt information in various forms.
  • the form of prompt information includes, but is not limited to, text, image, audio, video, and combinations of these forms.
  • the prompting information for prompting the processor that he does not have the supplies for disposing the garbage to be disposed of may be audio and disposing to-be-treated information for prompting the disposer of the garbage to be disposed that he does not have the articles for disposing the garbage to be disposed of. Image of garbage supplies.
  • the above-mentioned executive body may send the prompt information for the supplies for processing the garbage to be processed to the garbage disposal equipment, and then the garbage disposal equipment can send the information to the garbage disposal equipment.
  • FIG. 3 is a schematic application scenario 300 of the method for processing garbage according to this embodiment.
  • the trash can 301 first uses the camera 3011 installed on the trash can 301 to capture the face image 303 of the user 302 , and then sends the face image 303 to the blockchain system 304.
  • the blockchain system 304 can perform the processing shown by the reference numeral 305 on the face image 303 . Specifically, target detection may be performed on the face image 303 to determine whether the user 302 wears a mask. If the user 302 does not wear a mask, the blockchain system can send a prompt message to the trash can 301 to prompt the user 302 "Please wear a mask when entering and leaving public places during the epidemic!.
  • the face image 303 can continue to be feature extraction to extract the face feature information, and then according to whether the face feature information belongs to the face feature information corresponding to each authenticated user of the blockchain system 304, determine the user Whether 302 is an authenticated user of the blockchain system 304. If the user 302 is not an authenticated user of the blockchain system 304, a prompt message can be sent to the trash can 301 to prompt the user 302 "Please perform real-name authentication in the blockchain system 304 first!.
  • the trash can 301 can be controlled to use the camera 3011 to take an image 306 of the discarded mask to be discarded by the user, and send the image 306 of the discarded mask to the blockchain system 304 .
  • the blockchain system 304 can perform object detection on the image 306 of the discarded masks to determine whether the discarded masks have been sterilized and sealed.
  • the blockchain system 304 controls the trash can 301 to receive discarded masks discarded by the user 302, and then can record the facial feature information of the user 302 and the related information of discarded masks (such as images of discarded masks). , processing time, whether the processing was successful, etc.) and other information, and generate the blockchain certificate for the disposal of the discarded masks in the blockchain system 304.
  • the blockchain system 304 can send a prompt message 307 to the trash can 301 "Disinfection of discarded masks is required". Then, the trash can 301 can show the prompt information 307 to the user, and the garbage disposal equipment can further give a voice prompt to the user 302 "Please use 5% 84 disinfectant and sprinkle it on the mask according to the ratio of 1:99 to clean the mask. Disinfection". After that, the facial feature information of the user 302 and the related information of the discarded masks (such as the image of the discarded masks, processing time, whether the processing is successful, etc.) can be recorded, and the processing process of the discarded masks can be generated in the blockchain system 304. The blockchain certificate of deposit.
  • the above application scenarios can ensure that users correctly dispose of discarded masks during the epidemic, ensure that discarded masks have been sterilized and sealed, and ensure that users wear masks when discarding discarded masks to avoid cross-infection and other situations.
  • face recognition and behavior records are carried out for each user who discards discarded masks to constrain the user's behavior and achieve good management of discarded masks during the epidemic.
  • the method provided by the above-mentioned embodiments of the present disclosure obtains the image of the garbage to be processed through the garbage processing equipment, and then submits the image of the garbage to be processed by the blockchain system for analysis and other processing, so as to determine whether the garbage to be processed meets the preset processing conditions, and A reminder is given when the garbage to be treated does not meet the preset treatment conditions to ensure the correct disposal of the garbage to be treated.
  • the garbage disposal equipment also obtains the image of the garbage processor to be treated, and submits it to the blockchain system for analysis to determine whether the user belongs to the authenticated user of the blockchain system, and whether the user has the supplies to dispose of the garbage to be treated, so that the user can Constraints so that users can dispose of garbage as required.
  • the use of the blockchain system to record and store the garbage disposal behavior of the processor can not only correctly record the garbage disposal behavior of the processor so that it can be viewed at any time, but also can play a certain restrictive role in the behavior of the processor. Further improvement of the pending process.
  • a flow 400 of yet another embodiment of a method for processing garbage is shown.
  • the method for treating garbage can be applied to a garbage disposal device (such as the garbage disposal devices 101 and 102 shown in FIG. 1 ), and the method can include the following steps:
  • Step 401 acquiring an image of the garbage to be processed.
  • the execution body of the method for processing garbage can acquire images of the garbage to be processed in various ways. For example, an image of the garbage to be treated sent by a processor of the garbage to be treated can be received, or an image of the garbage to be treated can be collected by using the image acquisition device included in itself.
  • the garbage to be treated can be various types of garbage.
  • the waste to be treated may include, but is not limited to, domestic waste, kitchen waste, electronic waste, construction waste, medical waste, industrial waste, and the like.
  • the image of the garbage to be disposed of may refer to an image presenting the garbage to be disposed of.
  • the processor of the to-be-treated garbage may refer to a person who handles the to-be-treated garbage.
  • a disposer may refer to a person who desires to dispose of the garbage to be disposed of in a garbage disposal facility.
  • Image capture devices are various devices capable of capturing images.
  • the image capturing device includes, but is not limited to, a camera, a video recorder, and the like.
  • Step 402 Send the image of the garbage to be processed to the blockchain system for processing, so as to determine whether the garbage to be processed meets the preset processing conditions.
  • the blockchain system can process the image of the garbage to be processed to determine whether the garbage to be processed meets the preset processing conditions.
  • the preset processing conditions may be flexibly set in advance by technicians according to actual application requirements or application scenarios (such as requirements for garbage to be processed in practice, etc.). It should be understood that the preset processing conditions may be different in different situations. For different garbage to be treated, the preset treatment conditions may also be different.
  • different preset treatment conditions may be set in advance for different types of garbage to be treated.
  • preset treatment conditions may be set to indicate that the wastes to be treated need to be sterilized or sealed.
  • the blockchain system can use various image processing technologies (such as target detection and recognition technology, dynamic image processing technology, etc.) to analyze the images of the garbage to be treated to determine whether the garbage to be treated conforms to the preset treatment. condition.
  • image processing technologies such as target detection and recognition technology, dynamic image processing technology, etc.
  • the image of the garbage to be processed acquired by the above-mentioned execution body may be one or multiple. Therefore, the blockchain system can determine whether the garbage to be treated meets the preset conditions based on one or more images of the garbage to be treated.
  • Step 403 in response to receiving the prompt information indicating that the garbage to be processed does not meet the preset processing conditions from the blockchain system, display the prompt information indicating that the garbage to be processed does not meet the preset processing conditions.
  • the blockchain system may generate prompt information for prompting that the garbage to be processed does not meet the preset processing conditions, and send the generated prompt information to the above-mentioned Executive body.
  • the prompt information may be prompt information in various forms.
  • the form of prompt information includes, but is not limited to, text, image, audio, video, and combinations of these forms.
  • the prompt information for prompting that the garbage to be processed does not meet the preset processing conditions may be used to prompt the handler of the garbage to be processed that the garbage to be processed does not meet the preset processing conditions, and make the garbage to be processed meet the preset processing conditions The correct processing method of audio and video.
  • the blockchain system can also generate blockchain certification information for the garbage to be treated.
  • the blockchain certification information for the garbage to be treated can be used for blockchain certification of the information related to the garbage to be treated this time.
  • the relevant information of the garbage to be treated that is to be stored can be flexibly set according to the actual application requirements.
  • the relevant information of the garbage to be processed may include the image of the garbage to be processed, the processing result (such as whether the garbage to be processed meets the preset conditions, etc.), the corresponding relationship between the garbage to be processed and its handler, the processing time, and so on.
  • the blockchain certificate information can be various types of certificate information used in the blockchain system.
  • the blockchain certificate information may include a blockchain certificate and the like.
  • the identification (such as a serial number) of the deposit information can be sent to the corresponding processor or disclosed in the blockchain system. Based on this, the corresponding processor or other blockchain systems can query the certificate information according to the identification of the certificate information, and then understand the actual processing process of the corresponding processor to deal with the garbage to be processed this time.
  • each block chain node in the block chain system can ensure the authenticity and validity of the information recorded in the block chain system, so as to ensure that the recorded garbage disposal process is real, effective and traceable. Query, which helps to achieve better management of garbage to be processed.
  • the above method may further perform the following steps:
  • step 1 an image of a processor of garbage to be disposed of is acquired.
  • the above-mentioned execution subject may acquire the image of the processor in various ways.
  • an image of itself sent by the processor can be received.
  • an image of the processor can be collected by using the image collection device included in the image collection device.
  • Step 2 Send the image of the processor to the blockchain system for processing to determine whether the processor is an authenticated user of the blockchain system.
  • the blockchain system can perform processing such as analysis on the image of the processor to determine whether the processor is an authenticated user of the blockchain system.
  • the authenticated user may refer to a user who has passed the identity verification of the blockchain system.
  • the authentication method adopted by the blockchain can be flexibly set according to the actual application requirements.
  • the identity verification methods adopted by the blockchain include but are not limited to mobile phone number verification, email verification, ID verification, bank card verification, or a combination of multiple verification methods, etc.
  • the blockchain system can use various image processing technologies (such as face recognition technology, etc.) to analyze the identity of the processor from the image of the processor to determine whether the processor belongs to the authenticated user of the blockchain system.
  • image processing technologies such as face recognition technology, etc.
  • the blockchain system can first perform face recognition on the image of the processor, and then extract the features of the recognized face to obtain face feature information.
  • the face feature information corresponding to each authenticated user can be pre-stored in the blockchain system.
  • it can be determined by matching whether the currently extracted facial feature information of the handler is in each pre-stored facial feature information. If it exists, it can indicate that the processor belongs to the authenticated user of the blockchain system; if it does not exist, it can indicate that the processor does not currently belong to the authenticated user of the blockchain system.
  • Step 3 in response to receiving the prompt information indicating that the processor does not belong to the authenticated user of the blockchain system from the blockchain system, displaying the prompt information indicating that the processor does not belong to the authenticated user of the blockchain system.
  • the blockchain system may generate prompt information for prompting that the processor does not belong to the authenticated user of the blockchain system, and send the prompt information to The above executive body.
  • the prompt information for prompting the processor not to belong to the authenticated user of the blockchain system may be an audio for prompting the processor of the garbage to be treated that he has not been authenticated in the blockchain system, and the information in the district The flow chart of identity authentication in the blockchain system.
  • the blockchain system can determine whether the processor belongs to the real-name authentication user of the blockchain system according to the image of the processor.
  • the real-name authentication of users of the blockchain system restricts the behavior of users of the blockchain system when disposing of garbage, and ensures that users of the blockchain system will not litter and so on.
  • the blockchain system may control the above-mentioned execution subject to perform the above-mentioned steps 401-403 to process the garbage to be processed.
  • the blockchain system may perform processing such as analysis on the image of the processor to determine whether the processor has the ability to process the garbage to be disposed of. supplies.
  • the articles for treating garbage to be treated can be various articles for treating garbage. It should be understood that, according to different garbage to be treated, the corresponding supplies may be different. According to the actual application requirements, the supplies for treating the garbage to be treated can also be different.
  • some garbage to be treated requires the handler to wear gloves to handle it.
  • some garbage to be treated requires the processor to wear gloves and masks for disposal.
  • the blockchain system can use a variety of image-based object detection and recognition techniques to determine whether the handler has supplies to dispose of the waste.
  • the blockchain system may generate a prompt message indicating that the processor does not have the supplies for disposing the garbage to be disposed of, and send the prompt information and The above executive body.
  • the prompting information for prompting the processor that he does not have the supplies for disposing the garbage to be disposed of may be audio and disposing to-be-treated information for prompting the disposer of the garbage to be disposed that he does not have the articles for disposing the garbage to be disposed of. Image of garbage supplies.
  • the blockchain system may control the above-mentioned executive body to perform the above steps 401-403, to dispose of the garbage to be disposed of.
  • the method provided by the above-mentioned embodiments of the present disclosure utilizes garbage disposal equipment to collect images of the garbage to be treated, and then submits the image of the garbage to be treated by the blockchain system for analysis and other processing to determine whether the garbage to be treated meets the preset treatment conditions, and A reminder is given when the garbage to be treated does not meet the preset treatment conditions to ensure the correct disposal of the garbage to be treated.
  • FIG. 5 a schematic timing diagram of one embodiment of a system for processing garbage is shown.
  • the systems used to dispose of garbage include garbage disposal equipment and blockchain systems.
  • the garbage processing device acquires the image of the garbage to be processed.
  • step 502 the garbage processing device sends the image of the garbage to be processed to the blockchain system.
  • step 503 the blockchain system performs the following determination step: according to the image of the garbage to be processed, determine whether the garbage to be processed meets the preset processing conditions.
  • step 504 in response to determining that the garbage to be processed does not meet the preset processing conditions, the blockchain system generates prompt information for prompting that the garbage to be processed does not meet the preset processing conditions and sends it to the garbage processing equipment, and generates a message for the garbage to be processed.
  • Garbage blockchain depository information in response to determining that the garbage to be processed does not meet the preset processing conditions, the blockchain system generates prompt information for prompting that the garbage to be processed does not meet the preset processing conditions and sends it to the garbage processing equipment, and generates a message for the garbage to be processed.
  • step 505 the garbage processing device displays prompt information for prompting that the garbage to be processed does not meet the preset processing conditions.
  • the block chain system may generate a block for the garbage to be processed in response to determining that the garbage to be processed meets the preset processing conditions, and in response to determining that the information indicating the completion of the garbage processing to be processed is received from the garbage processing device.
  • Chain certificate information may be generated in response to determining that the garbage to be processed meets the preset processing conditions, and in response to determining that the information indicating the completion of the garbage processing to be processed is received from the garbage processing device.
  • the garbage processing device can also acquire the image of the processor of the garbage to be processed, and send the image of the processor to the blockchain system.
  • the blockchain system can determine whether the processor belongs to an authenticated user of the blockchain system according to the image of the processor; in response to determining that the processor belongs to an authenticated user of the blockchain system, the above determination steps are performed; If the processor does not belong to the authenticated user of the blockchain system, it can generate a prompt message to remind the processor that the processor does not belong to the authenticated user of the blockchain system and send it to the garbage disposal equipment.
  • the garbage disposal equipment can display prompt information for prompting the disposer not to belong to the authenticated user of the blockchain system.
  • the blockchain system can also determine, according to the image of the processor, whether the processor has supplies for processing the garbage to be processed; in response to determining that the processor has supplies for processing the garbage to be processed, and in response to determining
  • the processor is an authenticated user of the blockchain system, and the above determination steps are performed; in response to determining that the processor does not have the supplies for processing the garbage to be treated, a prompt for prompting the processor that the processor does not have the supplies for processing the garbage to be processed can be generated information and sent to waste disposal facilities.
  • the waste disposal facility may display a reminder message to remind the handler that he does not have supplies for disposal of the waste.
  • the system provided by the above-mentioned embodiments of the present disclosure obtains images of garbage to be treated by using garbage processing equipment, and then submits the images of garbage to be processed to the blockchain system for analysis and other processing to determine whether the garbage to be treated meets the preset processing conditions, and A prompt is given when the garbage to be processed does not meet the preset processing conditions, so as to realize the automatic processing of the garbage to be processed and ensure the correct disposal of the garbage to be processed.
  • the garbage disposal equipment also obtains the image of the garbage processor to be treated, and submits it to the blockchain system for analysis to determine whether the user belongs to the authenticated user of the blockchain system, and whether the user has the supplies to dispose of the garbage to be treated, so that the user can Constraints so that users can dispose of garbage as required.
  • the use of the blockchain system to record and store the garbage disposal behavior of the processor can not only record the garbage disposal behavior of the processor correctly so that it can be viewed at any time, but also can play a certain restrictive role in the behavior of the processor. Further improvement of the pending process.
  • the present disclosure provides an embodiment of a device for processing garbage, and the device embodiment corresponds to the method embodiment shown in FIG. 2 . It can be applied to various blockchain systems.
  • the apparatus 600 for processing garbage includes an executing unit 601 and a generating unit 602 .
  • the execution unit 601 is configured to perform the following determination steps: receiving an image of the garbage to be processed from the garbage processing equipment; determining whether the garbage to be processed meets the preset processing conditions according to the image of the garbage to be processed; the generating unit 602 is configured to respond to It is determined that the garbage to be treated does not meet the preset treatment conditions, and a prompt message for prompting that the garbage to be treated does not meet the preset treatment conditions is generated and sent to the garbage disposal equipment, and the blockchain certificate information for the garbage to be treated is generated.
  • the specific processing of the execution unit 601 and the generation unit 602 and the technical effects brought about by the execution unit 601 can be referred to the steps 201, 202 and 202 in the corresponding embodiment of FIG. 2, respectively.
  • the relevant description of 203 will not be repeated here.
  • the generating unit 602 is further configured to, in response to determining that the garbage to be processed meets the preset processing conditions, and in response to determining that a message indicating that the garbage processing to be processed is completed is received from the garbage processing device information to generate blockchain certificate information for the garbage to be processed.
  • the execution unit 601 is further configured to receive an image of a processor of garbage to be processed from the garbage processing device; and determine whether the processor belongs to the blockchain system according to the image of the processor. Authenticating the user; in response to determining that the processor belongs to the authenticated user of the blockchain system, perform the above-mentioned determining steps; the generating unit 602 is further configured to, in response to determining that the processor does not belong to the authenticated user of the blockchain system, generate The prompt information for prompting the processor not to belong to the authenticated user of the blockchain system is sent to the garbage disposal equipment.
  • the execution unit 601 is further configured to, according to the image of the handler, determine whether the handler has supplies for processing the garbage to be processed; Supplies for processing garbage, and in response to determining that the processor belongs to an authenticated user of the blockchain system, the above determining steps are performed; the generating unit 602 is further configured to, in response to determining that the processor does not have supplies for processing garbage to be processed, generate Reminder information for prompting the disposer not to have supplies for disposing of the garbage to be disposed of and sent to the garbage disposal facility.
  • the execution unit performs the following determination steps: receiving an image of the garbage to be processed from the garbage processing equipment; determining whether the garbage to be processed meets the preset processing conditions according to the image of the garbage to be processed; generating a unit response After it is determined that the garbage to be treated does not meet the preset treatment conditions, prompt information for prompting that the garbage to be treated does not meet the preset treatment conditions is generated and sent to the garbage disposal equipment, and blockchain certificate information for the garbage to be treated is generated. Thereby, the automatic processing of the garbage to be processed can be realized, and the correctness of the garbage disposal process can be ensured at the same time.
  • the present disclosure provides an embodiment of a device for processing garbage, and the device embodiment corresponds to the method embodiment shown in FIG. 4 . It can be applied to various blockchain systems.
  • the apparatus 700 for processing garbage includes an acquisition unit 701 , a transmission unit 702 and a display unit 703 .
  • the acquiring unit 701 is configured to acquire the image of the garbage to be processed;
  • the sending unit 702 is configured to send the image of the garbage to be processed to the blockchain system for processing, so as to determine whether the garbage to be processed meets the preset processing conditions;
  • the display unit 703 is configured to display prompt information indicating that the garbage to be processed does not meet the preset processing conditions in response to receiving the prompt information indicating that the garbage to be processed does not meet the preset processing conditions from the blockchain system.
  • the specific processing of the acquiring unit 701 , the transmitting unit 702 and the displaying unit 703 and the technical effects brought about by the acquiring unit 701 , and the technical effects brought about by them may refer to steps 401 and 401 in the corresponding embodiment of FIG. 4 , respectively.
  • the related descriptions of step 402 and step 403 will not be repeated here.
  • the acquiring unit 701 is further configured to acquire an image of a handler of garbage to be processed; the sending unit 702 is further configured to send the image of the handler to the blockchain system for processing , to determine whether the processor belongs to an authenticated user of the blockchain system; the presentation unit 703 is further configured to respond to the prompt information received from the blockchain system for indicating that the processor does not belong to an authenticated user of the blockchain system , showing a prompt message indicating that the processor is not an authenticated user of the blockchain system.
  • the sending unit 702 is further configured to send the image of the handler to the blockchain system for processing, so as to determine whether the handler has supplies for processing the garbage to be processed; show The unit 703 is further configured to, in response to receiving from the blockchain system indicating that the processor does not have supplies for processing the waste to be processed, presenting a prompt message indicating that the processor does not have supplies for processing the waste to be processed .
  • the image of the garbage to be treated is obtained through the acquisition unit; the sending unit sends the image of the garbage to be treated to the blockchain system for processing, so as to determine whether the garbage to be treated meets the preset processing conditions; show The unit displays the prompt information indicating that the garbage to be processed does not meet the preset processing conditions in response to receiving the prompt information indicating that the garbage to be processed does not meet the preset processing conditions from the blockchain system.
  • FIG. 8 it shows a schematic structural diagram of a garbage disposal apparatus (eg, the garbage disposal apparatuses 101 , 102 shown in FIG. 1 ) 800 suitable for implementing embodiments of the present disclosure.
  • the garbage processing equipment in the embodiment of the present disclosure may include, but is not limited to, various equipment for processing garbage, such as trash cans, garbage bins, garbage trucks, and the like.
  • the garbage disposal device shown in FIG. 8 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
  • the garbage processing equipment 800 may include a processing device (such as a central processing unit, a graphics processor, etc.) 801 , a storage device 802 , an information display device 803 and an image acquisition device 804 .
  • a processing device such as a central processing unit, a graphics processor, etc.
  • the processing device 801 may perform various suitable actions and processes according to programs stored in the storage device 802 (eg, read-only memory, random access memory, etc.). In the storage device, various programs and data necessary for the operation of the garbage disposal apparatus 800 are also stored.
  • programs stored in the storage device 802 eg, read-only memory, random access memory, etc.
  • various programs and data necessary for the operation of the garbage disposal apparatus 800 are also stored.
  • the information display device 803 may be various devices for displaying information (eg, a display screen, a microphone, etc.).
  • the image capturing device 804 may be various devices for capturing images (eg, camera, video recorder, etc.).
  • the garbage disposal device 800 may also have other devices with various functions to realize different functions. While FIG. 8 shows a waste disposal facility 800 having various devices, it should be understood that not all of the illustrated devices are required to be implemented or available. More or fewer devices may alternatively be implemented or provided. Each block shown in FIG. 8 can represent one device, and can also represent multiple devices as required.
  • FIG. 9 a schematic structural diagram of a server (eg, blockchain system 104 in FIG. 1) 900 suitable for implementing embodiments of the present disclosure is shown.
  • the server shown in FIG. 9 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
  • an electronic device 900 may include a processing device (eg, a central processing unit, a graphics processor, etc.) 901 that may be loaded into random access according to a program stored in a read only memory (ROM) 902 or from a storage device 908 Various appropriate actions and processes are executed by the programs in the memory (RAM) 903 . In the RAM 903, various programs and data necessary for the operation of the electronic device 900 are also stored.
  • the processing device 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904.
  • An input/output (I/O) interface 905 is also connected to bus 904 .
  • the following devices can be connected to the I/O interface 905: input devices 906 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 907 such as a computer; a storage device 908 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909 .
  • the communication means 909 may allow the electronic device 900 to communicate wirelessly or by wire with other devices to exchange data. While FIG. 9 shows an electronic device 900 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in FIG. 9 can represent one device, and can also represent multiple devices as needed.
  • embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
  • the computer program may be downloaded and installed from the network via the communication device 909, or from the storage device 908, or from the ROM 902.
  • the processing device 901 the above-described functions defined in the methods of the embodiments of the present disclosure are executed.
  • the computer-readable medium described in the embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal in baseband or propagated as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
  • the above-mentioned computer-readable medium may be included in the above-mentioned server; or may exist alone without being assembled into the server.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the server, the server: executes the following determination steps: receiving images of the garbage to be processed from the garbage disposal equipment; to determine whether the garbage to be processed meets the preset processing conditions; the server, in response to determining that the garbage to be processed does not meet the preset processing conditions, generates a prompt message for prompting that the garbage to be processed does not meet the preset processing conditions, and sends it to the garbage disposal equipment, and generate blockchain certificate information for garbage to be processed.
  • the above-mentioned computer-readable medium may also be included in the above-mentioned garbage disposal apparatus; or may exist alone without being assembled into the garbage disposal apparatus.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the garbage disposal equipment, the garbage disposal equipment: acquires the image of the garbage to be processed; sends the image of the garbage to be processed to the district
  • the blockchain system performs processing to determine whether the garbage to be treated meets the preset treatment conditions; in response to receiving the prompt information from the blockchain system indicating that the garbage to be treated does not meet the preset treatment conditions, display the garbage to indicate that the garbage to be treated does not meet the preset treatment conditions.
  • a prompt message that does not meet the preset processing conditions.
  • Computer program code for carrying out operations of embodiments of the present disclosure may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, or a combination thereof, Also included are conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider to via Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments of the present disclosure may be implemented in software or hardware.
  • the described unit may also be provided in a processor, for example, it may be described as: a processor includes an execution unit and a generation unit. Among them, the names of these units do not constitute a limitation of the unit itself in some cases, for example, the execution unit can also be described as "a unit that performs the following determination steps: receiving images of garbage to be treated from garbage disposal equipment; according to Images of the garbage to be treated to determine whether the garbage to be treated meets the preset treatment conditions".

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Primary Health Care (AREA)
  • General Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Medical Informatics (AREA)
  • Multimedia (AREA)
  • Economics (AREA)
  • Bioethics (AREA)
  • Marketing (AREA)
  • Software Systems (AREA)
  • Human Resources & Organizations (AREA)
  • Biomedical Technology (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A garbage processing method, apparatus, and system. The method comprises: receiving from a garbage processing device an image of garbage to be processed (201); according to the image of the garbage to be processed, determining whether the garbage to be processed meets a preset processing condition (202); and in response to determining that the garbage to be processed does not meet the preset processing condition, generating prompt information used for indicating that the garbage to be processed does not meet the preset processing condition, sending the same to the garbage processing device, and generating blockchain evidence storage information for the garbage to be processed (203). The method achieves correct processing of garbage to be processed.

Description

用于处理垃圾的方法、装置和系统Method, device and system for treating waste

本专利申请要求于2020年8月18日提交的、申请号为202010829634.3、申请人为京东数科海益信息科技有限公司及京东数字科技控股股份有限公司、发明名称为“用于处理垃圾的方法、装置和系统”的中国专利申请的优先权,该申请的全文以引用的方式并入本申请中。This patent application is required to be submitted on August 18, 2020, the application number is 202010829634.3, the applicants are Jingdong Digital Technology Haiyi Information Technology Co., Ltd. and Jingdong Digital Technology Holdings Co., Ltd., and the name of the invention is "Method for processing garbage, Apparatus and System" of the Chinese Patent Application, which is hereby incorporated by reference in its entirety.

技术领域technical field

本公开的实施例涉及计算机技术领域,具体涉及用于处理垃圾的方法、装置和系统。Embodiments of the present disclosure relate to the field of computer technology, and in particular, to a method, apparatus, and system for processing garbage.

背景技术Background technique

垃圾是人类日常生活和生产中产生的废弃物,由于排出量大,成分复杂多样,且具有污染性、资源性和社会性,需要无害化、资源化、减量化和社会化处理,如不能妥善处理,就会污染环境,影响环境卫生,浪费资源,破坏生产生活安全,破坏社会和谐。Garbage is the waste generated in human daily life and production. Due to its large discharge volume, complex and diverse components, and its pollution, resource and social nature, it needs harmless, resource-based, reduced and socialized treatment, such as If it cannot be handled properly, it will pollute the environment, affect environmental sanitation, waste resources, destroy the safety of production and life, and destroy social harmony.

不同类型的垃圾有时需要采用不同的处理方式。例如,对于一些医疗垃圾、化工类垃圾等可能对人体造成危害的垃圾,需要专门的处理方法。Different types of waste sometimes require different treatments. For example, for some medical waste, chemical waste and other wastes that may cause harm to the human body, special treatment methods are required.

近期,为了防控由新型冠状病毒感染的肺炎疫情,民众需要在公共场合佩戴口罩。使用过的口罩可能沾满细菌、病毒,因此,需要额外注意疫情期间的废弃口罩的处理。为了防止废弃口罩造成二次污染,民众需要将废弃口罩消毒或装进塑料袋等包装垃圾的用品中并进行封口再丢弃置指定的垃圾桶。Recently, in order to prevent and control the outbreak of pneumonia caused by the new coronavirus, people need to wear masks in public. Used masks may be stained with bacteria and viruses. Therefore, extra attention should be paid to the disposal of discarded masks during the epidemic. In order to prevent secondary pollution caused by discarded masks, the public needs to sterilize discarded masks or put them in plastic bags and other packaging waste products, seal them, and then dispose of them in designated trash cans.

发明内容SUMMARY OF THE INVENTION

本公开的实施例提出了用于处理垃圾的方法、装置和系统。Embodiments of the present disclosure propose methods, apparatus, and systems for treating garbage.

第一方面,本公开的实施例提供了一种用于处理垃圾的方法,应 用于区块链系统,该方法包括:执行如下确定步骤:从垃圾处理设备接收待处理垃圾的图像;根据待处理垃圾的图像,确定待处理垃圾是否符合预设处理条件;上述方法还包括:响应于确定待处理垃圾不符合预设处理条件,生成用于提示待处理垃圾不符合预设处理条件的提示信息以及发送至垃圾处理设备,以及生成针对待处理垃圾的区块链存证信息。In a first aspect, an embodiment of the present disclosure provides a method for processing garbage, applied to a blockchain system, the method includes: performing the following determination steps: receiving an image of garbage to be processed from a garbage processing device; image of the garbage, and determine whether the garbage to be treated meets the preset treatment conditions; the above method further includes: in response to determining that the garbage to be treated does not meet the preset treatment conditions, generating prompt information for prompting that the garbage to be treated does not meet the preset treatment conditions; It is sent to the garbage disposal equipment, and the blockchain certificate information for the garbage to be processed is generated.

第二方面,本公开的实施例提供了一种用于处理垃圾的方法,应用于垃圾处理设备,该方法包括:获取待处理垃圾的图像;将待处理垃圾的图像发送至区块链系统进行处理,以确定待处理垃圾是否符合预设处理条件;响应于从区块链系统接收到用于指示待处理垃圾不符合预设处理条件的提示信息,展示用于指示待处理垃圾不符合预设处理条件的提示信息。In a second aspect, an embodiment of the present disclosure provides a method for processing garbage, which is applied to garbage processing equipment, the method includes: acquiring an image of garbage to be processed; sending the image of garbage to be processed to a blockchain system for processing processing to determine whether the garbage to be processed meets the preset processing conditions; in response to receiving the prompt information from the blockchain system indicating that the garbage to be processed does not meet the preset processing conditions, display the information indicating that the garbage to be processed does not meet the preset processing conditions Tooltip for processing conditions.

第三方面,本公开的实施例提供了一种用于处理垃圾的装置,该装置包括:执行单元,被配置成执行如下确定步骤:从垃圾处理设备接收待处理垃圾的图像;根据待处理垃圾的图像,确定待处理垃圾是否符合预设处理条件;生成单元,被配置成响应于确定待处理垃圾不符合预设处理条件,生成用于提示待处理垃圾不符合预设处理条件的提示信息以及发送至垃圾处理设备,以及生成针对待处理垃圾的区块链存证信息。In a third aspect, an embodiment of the present disclosure provides an apparatus for processing garbage, the apparatus comprising: an execution unit configured to perform the following determination steps: receiving an image of garbage to be processed from a garbage processing device; to determine whether the garbage to be processed meets the preset processing conditions; the generating unit is configured to, in response to determining that the garbage to be processed does not meet the preset processing conditions, generate prompt information for prompting that the garbage to be processed does not meet the preset processing conditions; and It is sent to the garbage disposal equipment, and the blockchain certificate information for the garbage to be processed is generated.

第四方面,本公开的实施例提供了一种用于处理垃圾的装置,获取单元,被配置成获取待处理垃圾的图像;发送单元,被配置成将待处理垃圾的图像发送至区块链系统进行处理,以确定待处理垃圾是否符合预设处理条件;展示单元,被配置成响应于从区块链系统接收到用于指示待处理垃圾不符合预设处理条件的提示信息,展示用于指示待处理垃圾不符合预设处理条件的提示信息。In a fourth aspect, embodiments of the present disclosure provide an apparatus for processing garbage, the acquiring unit is configured to acquire an image of the garbage to be processed; the sending unit is configured to send the image of the garbage to be processed to a blockchain The system performs processing to determine whether the garbage to be treated meets the preset treatment conditions; the display unit is configured to display the information for indicating that the garbage to be treated does not meet the preset treatment conditions in response to receiving the prompt information from the blockchain system. A prompt message indicating that the garbage to be processed does not meet the preset processing conditions.

第五方面,本公开的实施例提供了一种服务器,该服务器包括:一个或多个处理器;存储装置,用于存储一个或多个程序;当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如第一方面中任一实现方式描述的方法。In a fifth aspect, embodiments of the present disclosure provide a server, the server comprising: one or more processors; a storage device for storing one or more programs; when one or more programs are processed by one or more The processor executes such that the one or more processors implement the method as described in any one of the implementations of the first aspect.

第六方面,本公开的实施例提供了一种垃圾处理设备,该垃圾处 理设备包括:一个或多个处理器;存储装置,其上存储有一个或多个程序;图像采集装置,被配置成采集图像;当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如第二方面中任一实现方式描述的方法。In a sixth aspect, embodiments of the present disclosure provide a garbage disposal device, the garbage disposal device comprising: one or more processors; a storage device on which one or more programs are stored; and an image acquisition device configured to Acquiring an image; when one or more programs are executed by one or more processors, causing the one or more processors to implement a method as described in any implementation manner of the second aspect.

第七方面,本公开的实施例提供了一种计算机可读介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如第一方面和第二方面中任一实现方式描述的方法。In a seventh aspect, embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, and when the computer program is executed by a processor, implements the method described in any one of the first and second aspects. .

本公开的实施例提供的用于处理垃圾的方法、装置和系统,由垃圾处理设备采集待处理垃圾的图像,然后由区块链系统对待处理垃圾的图像进行分析以确定待处理垃圾是否符合预设处理条件,若待处理垃圾不符合预设处理条件,则生成提示信息以使垃圾处理设备对待处理垃圾的处理者进行提示,避免处理者对待处理垃圾错误处理的情况,从而保证对待处理垃圾的正确处理,进而有助于保证垃圾处理过程的安全性。另外,还利用区块链系统对垃圾处理过程进行区块链存证,可以保证每个待处理垃圾的处理过程都是可追溯且不可篡改的,便于待处理垃圾的管理。In the method, device and system for processing garbage provided by the embodiments of the present disclosure, the image of the garbage to be processed is collected by the garbage processing equipment, and then the image of the garbage to be processed is analyzed by the blockchain system to determine whether the garbage to be processed meets the predetermined requirements. Set the treatment conditions, if the garbage to be treated does not meet the preset treatment conditions, a prompt message will be generated so that the garbage disposal equipment will prompt the processor of the garbage to be treated, so as to avoid the situation that the processor treats the garbage to be treated incorrectly, thereby ensuring the garbage to be treated. Proper disposal, in turn, helps ensure the safety of the waste disposal process. In addition, the blockchain system is used to store the garbage disposal process on the blockchain, which can ensure that the disposal process of each garbage to be treated is traceable and cannot be tampered with, which is convenient for the management of garbage to be treated.

附图说明Description of drawings

通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本公开的其它特征、目的和优点将会变得更明显:Other features, objects and advantages of the present disclosure will become more apparent upon reading the detailed description of non-limiting embodiments taken with reference to the following drawings:

图1是本公开的一个实施例可以应用于其中的示例性系统架构图;FIG. 1 is an exemplary system architecture diagram to which an embodiment of the present disclosure may be applied;

图2是根据本公开的用于处理垃圾的方法的一个实施例的流程图;FIG. 2 is a flowchart of one embodiment of a method for processing garbage according to the present disclosure;

图3是根据本公开的实施例的用于处理垃圾的方法的一个应用场景的示意图;3 is a schematic diagram of an application scenario of the method for processing garbage according to an embodiment of the present disclosure;

图4是根据本公开的用于处理垃圾的方法的又一个实施例的流程图;FIG. 4 is a flowchart of yet another embodiment of a method for processing garbage according to the present disclosure;

图5是根据本公开的用于处理垃圾的系统的一个实施例的示意时序图图;5 is a schematic timing diagram diagram of one embodiment of a system for processing garbage according to the present disclosure;

图6是根据本公开的用于处理垃圾的装置的一个实施例的结构示意图;FIG. 6 is a schematic structural diagram of an embodiment of the apparatus for processing garbage according to the present disclosure;

图7是根据本公开的用于处理垃圾的装置的又一个实施例的结构示意图;FIG. 7 is a schematic structural diagram of still another embodiment of the apparatus for processing garbage according to the present disclosure;

图8是适于用来实现本公开的实施例的垃圾处理设备的结构示意图;8 is a schematic structural diagram of a garbage disposal apparatus suitable for implementing embodiments of the present disclosure;

图9是适于用来实现本公开的实施例的服务器的结构示意图。FIG. 9 is a schematic structural diagram of a server suitable for implementing embodiments of the present disclosure.

具体实施方式detailed description

下面结合附图和实施例对本公开作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。The present disclosure will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the related invention, but not to limit the invention. In addition, it should be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本公开。It should be noted that the embodiments of the present disclosure and the features of the embodiments may be combined with each other under the condition of no conflict. The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

图1示出了可以应用本公开的用于处理垃圾的方法或用于处理垃圾的用于处理垃圾的装置的实施例的示例性架构100。FIG. 1 illustrates an exemplary architecture 100 of an embodiment of a method for processing waste or an apparatus for processing waste to which the present disclosure may be applied.

如图1所示,系统架构100可以包括垃圾处理设备101、102,网络103和区块链系统104。网络103用以在垃圾处理设备101、102和区块链系统104之间提供通信链路的介质。网络103可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , the system architecture 100 may include garbage disposal equipment 101 , 102 , a network 103 and a blockchain system 104 . The network 103 is a medium used to provide a communication link between the garbage disposal devices 101 , 102 and the blockchain system 104 . The network 103 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.

垃圾处理设备101、102通过网络103与区块链系统104交互,以接收或发送消息等。垃圾处理设备101、102可以是各种用于处理垃圾的设备。例如,垃圾处理设备101、102包括但不限于各种类型的垃圾桶、垃圾箱等等。The garbage disposal devices 101, 102 interact with the blockchain system 104 through the network 103 to receive or send messages and the like. The garbage disposal facilities 101, 102 may be various types of facilities for disposal of garbage. For example, the garbage disposal devices 101, 102 include, but are not limited to, various types of trash cans, rubbish bins, and the like.

区块链系统104中的一个或多个区块链节点可以提供各种服务。例如,可以接收垃圾处理设备101、102发送的各种信息,然后对接收到的信息进行处理,并将处理结果反馈至垃圾处理设备101、102。One or more blockchain nodes in the blockchain system 104 may provide various services. For example, various kinds of information sent by the garbage disposal devices 101 and 102 can be received, and then the received information can be processed, and the processing results can be fed back to the garbage disposal devices 101 and 102 .

需要说明的是,区块链系统104中的区块链节点可以是单一服务 器,也可以由多个服务器或多个服务器集群构成。其中,服务器可以是硬件,也可以是软件。当服务器为硬件时,可以实现成多个服务器组成的分布式服务器集群,也可以实现成单个服务器。当服务器为软件时,可以实现成多个软件或软件模块(例如用来提供分布式服务的多个软件或软件模块),也可以实现成单个软件或软件模块。在此不做具体限定。It should be noted that the blockchain node in the blockchain system 104 may be a single server, or may be composed of multiple servers or multiple server clusters. The server may be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules (for example, multiple software or software modules for providing distributed services), or can be implemented as a single software or software module. There is no specific limitation here.

应该理解,图1中的垃圾处理设备、网络和区块链系统的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of garbage disposal devices, networks and blockchain systems in FIG. 1 are merely illustrative. There can be any number of terminal devices, networks and servers according to implementation needs.

继续参考图2,其示出了根据本公开的用于处理垃圾的方法的一个实施例的流程200。该用于处理垃圾的方法可以应用于区块链系统(如图1所示的区块链系统104),该方法可以包括以下步骤:With continued reference to FIG. 2 , a flow 200 of one embodiment of a method for processing garbage in accordance with the present disclosure is shown. The method for processing garbage can be applied to a blockchain system (such as the blockchain system 104 shown in FIG. 1 ), and the method can include the following steps:

步骤201,从垃圾处理设备接收待处理垃圾的图像。Step 201: Receive an image of the garbage to be processed from the garbage disposal device.

在本实施例中,垃圾处理设备可以是各种用于处理垃圾的设备。其中,对垃圾的处理可以包括但不限于垃圾的收集、回收、分类等等。垃圾处理设备可以包括但不限于垃圾桶、垃圾箱、垃圾车等等。In this embodiment, the garbage disposal equipment may be various types of equipment for disposal of garbage. Wherein, the treatment of garbage may include, but is not limited to, garbage collection, recycling, classification, and the like. Garbage disposal equipment may include, but is not limited to, trash cans, waste bins, garbage trucks, and the like.

待处理垃圾可以是各种类型的垃圾。例如,待处理垃圾可以包括但不限于生活垃圾、餐厨垃圾、电子垃圾、建筑废弃物、医疗垃圾、工业废弃物等等。待处理垃圾的图像可以指呈现有待处理垃圾的图像。Garbage to be disposed of can be of various types. For example, the garbage to be treated may include, but is not limited to, domestic garbage, kitchen waste, electronic waste, construction waste, medical waste, industrial waste, and the like. The image of the garbage to be disposed of may refer to an image presenting the garbage to be disposed of.

用于处理垃圾的执行主体(如图1所示的区块链系统104)可以从垃圾处理设备接收待处理垃圾的图像。垃圾处理设备可以利用各种方式获取待处理垃圾的图像。例如,垃圾处理设备可以接收待处理垃圾的处理者发送的、待处理垃圾的图像,也可以利用自身包括的图像采集装置采集待处理垃圾的图像。An executive body for processing garbage (the blockchain system 104 shown in FIG. 1 ) can receive images of garbage to be processed from the garbage processing equipment. Garbage disposal equipment can acquire images of garbage to be disposed of in various ways. For example, the garbage processing equipment can receive images of the garbage to be processed sent by the processor of the garbage to be processed, and can also collect images of the garbage to be processed by using the image acquisition device it includes.

其中,待处理垃圾的处理者可以指处理待处理垃圾的人。一般地,处理者可以指期望将待处理垃圾丢弃在垃圾处理设备中的人。图像采集装置是各种能够采集图像的装置。例如,图像采集装置包括但不限于摄像头、录像机等等。Wherein, the processor of the garbage to be treated may refer to a person who treats the garbage to be treated. Generally, a disposer may refer to a person who desires to dispose of the garbage to be disposed of in a garbage disposal facility. Image capture devices are various devices capable of capturing images. For example, the image capturing device includes, but is not limited to, a camera, a video recorder, and the like.

步骤202,根据待处理垃圾的图像,确定待处理垃圾是否符合预 设处理条件。Step 202, according to the image of the garbage to be treated, determine whether the garbage to be treated meets the preset treatment conditions.

在本实施例中,预设处理条件可以由技术人员根据实际的应用需求或应用场景(如实际中对待处理垃圾的要求等等)预先进行灵活设置。应当可以理解,在不同的情况下,预设处理条件可以不同。针对不同的待处理垃圾,预设处理条件也可以不同。In this embodiment, the preset processing conditions may be flexibly set in advance by technical personnel according to actual application requirements or application scenarios (eg, requirements for garbage to be processed in practice, etc.). It should be understood that the preset processing conditions may be different in different situations. For different garbage to be treated, the preset treatment conditions may also be different.

例如,可以预先针对不同类别的待处理垃圾,分别设置不同的预设处理条件。作为示例,对于危险类的待处理垃圾(如医疗垃圾等具有直接或者间接感染性、毒性以及其他危害性的垃圾),可以设置预设处理条件用于指示待处理垃圾需要消毒或密封处理等。For example, different preset treatment conditions may be set in advance for different types of garbage to be treated. As an example, for hazardous wastes to be treated (such as medical wastes with direct or indirect infectivity, toxicity and other hazards), preset treatment conditions may be set to indicate that the wastes to be treated need to be sterilized or sealed.

根据预设处理条件的不同,上述执行主体可以利用各种图像处理技术(如目标检测与识别技术、动态图像处理技术等)对待处理垃圾的图像进行分析以确定待处理垃圾是否符合预设处理条件。According to different preset processing conditions, the above-mentioned execution subject can use various image processing technologies (such as target detection and recognition technology, dynamic image processing technology, etc.) to analyze the image of the garbage to be processed to determine whether the garbage to be processed meets the preset processing conditions. .

需要说明的是,从垃圾处理设备接收的、待处理垃圾的图像可以是一个,也可以是多个。因此,可以基于一个或多个待处理垃圾的图像,确定待处理垃圾是否符合预设条件。It should be noted that, there may be one image or multiple images of garbage to be processed received from the garbage disposal device. Therefore, it can be determined whether the garbage to be treated meets the preset condition based on one or more images of the garbage to be treated.

步骤203,响应于确定待处理垃圾不符合预设处理条件,生成用于提示待处理垃圾不符合预设处理条件的提示信息以及发送至垃圾处理设备,以及生成针对待处理垃圾的区块链存证信息。Step 203, in response to determining that the garbage to be processed does not meet the preset processing conditions, generate prompt information for prompting that the garbage to be processed does not meet the preset processing conditions and send it to the garbage processing equipment, and generate a block chain storage for the garbage to be processed. certificate information.

在本实施例中,提示信息可以是各种形式的提示信息。例如,提示信息的形式包括但不限于文字、图像、音频、视频,以及这些形式的组合等。In this embodiment, the prompt information may be prompt information in various forms. For example, the form of prompt information includes, but is not limited to, text, image, audio, video, and combinations of these forms.

作为示例,用于提示待处理垃圾不符合预设处理条件的提示信息可以是用于向待处理垃圾的处理者提示待处理垃圾不符合预设处理条件,以及使得待处理垃圾符合预设处理条件的正确处理方法的音视频。As an example, the prompt information for prompting that the garbage to be processed does not meet the preset processing conditions may be used to prompt the handler of the garbage to be processed that the garbage to be processed does not meet the preset processing conditions, and make the garbage to be processed meet the preset processing conditions The correct processing method of audio and video.

上述执行主体在生成用于提示待处理垃圾不符合预设处理条件的提示信息之后,可以将用于提示待处理垃圾不符合预设处理条件的提示信息发送至垃圾处理设备,进而垃圾处理设备可以向待处理垃圾的处理者展示该提示信息。After generating the prompt information for prompting that the garbage to be processed does not meet the preset processing conditions, the above-mentioned execution body may send the prompt information for prompting that the garbage to be processed does not meet the preset processing conditions to the garbage processing equipment, and the garbage processing equipment can then send the prompt information to the garbage processing equipment. This prompt is displayed to the disposer of the garbage to be disposed of.

针对待处理垃圾的区块链存证信息可以用于对本次处理的待处理垃圾的相关信息进行区块链存证。其中,进行存证的、待处理垃圾的 相关信息可以根据实际的应用需求灵活设置。The blockchain certification information for the garbage to be processed can be used for blockchain certification of the information related to the garbage to be processed this time. Among them, the relevant information of the garbage to be treated can be flexibly set according to the actual application requirements.

例如,待处理垃圾的相关信息可以包括待处理垃圾的图像、处理结果(如待处理垃圾是否符合预设条件等)、待处理垃圾与其处理者之间的对应关系、处理时间等等。For example, the relevant information of the garbage to be processed may include the image of the garbage to be processed, the processing result (such as whether the garbage to be processed meets the preset conditions, etc.), the corresponding relationship between the garbage to be processed and its handler, the processing time, and so on.

区块链存证信息可以是区块链系统中使用的各种存证信息。例如,区块链存证信息可以包括区块链存证证书等。一般地,可以将存证信息的标识(如编号)发送至对应的处理者或在区块链系统中进行公开。基于此,对应的处理者或其它区块链系统都可以根据存证信息的标识查询存证信息,进而了解对应的处理者本次处理待处理垃圾的真实处理过程。The blockchain certificate information can be various types of certificate information used in the blockchain system. For example, the blockchain certificate information may include a blockchain certificate and the like. Generally, the identification (such as a serial number) of the deposit information can be sent to the corresponding processor or disclosed in the blockchain system. Based on this, the corresponding processor or other blockchain systems can query the certificate information according to the identification of the certificate information, and then understand the actual processing process of the corresponding processor to deal with the garbage to be processed this time.

利用区块链系统对待处理垃圾的图像的分析处理以确定待处理垃圾是否符合预设处理条件,若待处理垃圾不符合预设处理条件,生成提示信息,以使垃圾处理设备向待处理垃圾的处理者进行提示,从而在实现对待处理垃圾的自动化处理的同时,保证待处理垃圾符合预设处理条件以对待处理垃圾进行正确处理,避免出现不符合预设处理条件的待处理垃圾。另外,区块链系统还会生成针对待处理垃圾的区块链存证信息,以对待处理垃圾的处理过程进行存证,使得每次对待处理垃圾的处理过程都可追溯,且不可篡改,进而便于对待处理垃圾的处理进行有效管理和控制。The block chain system is used to analyze and process the images of the garbage to be treated to determine whether the garbage to be treated meets the preset treatment conditions. The processor gives a prompt, so as to realize the automatic processing of the garbage to be treated, and at the same time ensure that the garbage to be treated meets the preset treatment conditions, so that the garbage to be treated can be properly processed, and the garbage to be treated that does not meet the preset treatment conditions can be avoided. In addition, the blockchain system will also generate the blockchain certification information for the garbage to be treated, so as to record the process of the garbage to be treated, so that each treatment process of the garbage to be treated can be traced back and cannot be tampered with. It is convenient to effectively manage and control the disposal of garbage to be treated.

在本实施例的一些可选地实现方式中,响应于确定待处理垃圾符合预设处理条件,且响应于确定从垃圾处理设备接收到用于指示对待处理垃圾处理完成的信息,生成针对待处理垃圾的区块链存证信息。In some optional implementations of this embodiment, in response to determining that the garbage to be processed meets the preset processing conditions, and in response to determining that information indicating that the garbage processing to be processed is completed is received from the garbage processing device, generating Garbage blockchain depository information.

若待处理垃圾符合预设处理条件,则上述执行主体可以向垃圾处理设备发送用于指示待处理垃圾符合预设处理条件的信息,然后垃圾处理设备可以完成对待处理垃圾的处理(如收集等),然后向上述执行主体发送用于指示对待处理垃圾处理完成的信息。之后,上述执行主体可以生成针对待处理垃圾的区块链存证信息,以对本次对待处理垃圾的处理过程进行存证。If the garbage to be processed meets the preset processing conditions, the above-mentioned execution subject may send information to the garbage processing equipment to indicate that the garbage to be processed meets the preset processing conditions, and then the garbage processing equipment can complete the processing (such as collection, etc.) of the garbage to be processed. , and then send the information indicating the completion of the garbage processing to be processed to the above-mentioned execution body. After that, the above-mentioned execution body can generate the blockchain certificate information for the garbage to be processed, so as to store the certificate of the processing process of the garbage to be processed this time.

利用区块链系统中的各区块链节点的共识验证,可以保证区块链 系统中记录的信息的真实有效性,从而保证记录的、每次待处理垃圾的处理过程都真实有效,且可追溯查询,有助于实现对待处理垃圾的更好的管理。Using the consensus verification of each block chain node in the block chain system can ensure the authenticity and validity of the information recorded in the block chain system, so as to ensure that the recorded garbage disposal process is real, effective and traceable. Query, which helps to achieve better management of garbage to be processed.

在本是实施例的一些可选地实现方式中,上述执行主体在执行上述步骤201-203之前,还可以先执行如下步骤:In some optional implementation manners of this embodiment, before performing the foregoing steps 201-203, the foregoing execution subject may further perform the following steps:

步骤一,从垃圾处理设备接收待处理垃圾的处理者的图像。Step 1: Receive an image of a processor of garbage to be disposed of from the garbage disposal device.

在本步骤中,上述执行主体可以从待处理设备接收处理者的图像。垃圾处理设备同样可以利用各种方式获取处理者的图像。例如,垃圾处理设备可以接收处理者发送的其自身的图像。又例如,垃圾处理设备可以利用其包括的图像采集装置采集处理者的图像。In this step, the above-mentioned execution subject may receive the image of the processor from the device to be processed. Garbage disposal equipment can also obtain images of disposers in various ways. For example, a garbage disposal facility may receive an image of itself sent by a disposer. For another example, the garbage disposal equipment may use the image acquisition device included in the garbage disposal equipment to acquire images of the disposers.

步骤二,根据处理者的图像,确定处理者是否属于区块链系统的认证用户。Step 2: According to the image of the processor, determine whether the processor is an authenticated user of the blockchain system.

在本步骤中,认证用户可以指通过区块链系统的身份验证的用户。其中,区块链采用的身份验证方式可以根据实际的应用需求灵活设置。例如,区块链采用的身份验证方式包括但不限于手机号验证、邮箱验证、身份证验证、银行卡验证,或者多种验证方式的组合等等。In this step, the authenticated user may refer to a user who has passed the identity verification of the blockchain system. Among them, the authentication method adopted by the blockchain can be flexibly set according to the actual application requirements. For example, the identity verification methods adopted by the blockchain include but are not limited to mobile phone number verification, email verification, ID verification, bank card verification, or a combination of multiple verification methods, etc.

上述执行主体可以利用各种图像处理技术(如人脸识别技术等)从处理者的图像中分析处理者的身份,以确定处理者是否属于区块链系统的认证用户。The above-mentioned executive body can use various image processing technologies (such as face recognition technology, etc.) to analyze the identity of the processor from the image of the processor to determine whether the processor is an authenticated user of the blockchain system.

例如,上述执行主体可以先对处理者的图像进行人脸识别,然后提取识别到的人脸的特征,得到人脸特征信息。同时,上述执行主体中可以预先存储有各个认证用户分别对应的人脸特征信息。此时,可以通过匹配当前提取到的处理者的人脸特征信息是否在预先存储的各人脸特征信息中。若存在,则可以表示处理者属于区块链系统的认证用户,若不存在,则可以表示处理者当前还不属于区块链系统的认证用户。For example, the above-mentioned execution body may first perform face recognition on the image of the processor, and then extract the features of the recognized face to obtain face feature information. At the same time, the above-mentioned execution body may pre-store face feature information corresponding to each authenticated user. At this time, it can be determined by matching whether the currently extracted facial feature information of the handler is in each pre-stored facial feature information. If it exists, it can indicate that the processor belongs to the authenticated user of the blockchain system; if it does not exist, it can indicate that the processor does not currently belong to the authenticated user of the blockchain system.

步骤三,响应于确定处理者属于区块链系统的认证用户,执行上述步骤201-203。Step 3, in response to determining that the processor belongs to an authenticated user of the blockchain system, execute the above steps 201-203.

在本步骤中,若确定处理者属于区块链系统的认证用户,则可以认为待处理垃圾的处理者具有权限处理待处理垃圾。此时,可以执行 上述步骤201-203以对对待处理垃圾进行处理。In this step, if it is determined that the processor belongs to an authenticated user of the blockchain system, it can be considered that the processor of the garbage to be treated has the authority to process the garbage to be treated. At this time, the above steps 201-203 can be performed to process the garbage to be processed.

步骤四,响应于确定处理者不属于区块链系统的认证用户,生成用于提示处理者不属于区块链系统的认证用户的提示信息以及发送至垃圾处理设备。Step 4, in response to determining that the processor does not belong to the authenticated user of the blockchain system, generate prompt information for prompting the processor not to belong to the authenticated user of the blockchain system and send it to the garbage disposal equipment.

在本步骤中,提示信息可以是各种形式的提示信息。例如,提示信息的形式包括但不限于文字、图像、音频、视频,以及这些形式的组合等,In this step, the prompt information may be prompt information in various forms. For example, the form of prompt information includes but is not limited to text, image, audio, video, and combinations of these forms, etc.

作为示例,用于提示处理者不属于区块链系统的认证用户的提示信息可以是用于向待处理垃圾的处理者提示其还没有在区块链系统中进行身份认证的音频,以及在区块链系统中进行身份认证的流程图。As an example, the prompt information for prompting the processor not to belong to the authenticated user of the blockchain system may be an audio for prompting the processor of the garbage to be treated that he has not been authenticated in the blockchain system, and the information in the district The flow chart of identity authentication in the blockchain system.

上述执行主体在生成用于提示处理者不属于区块链系统的认证用户的提示信息之后,可以将用于提示处理者不属于区块链系统的认证用户的提示信息发送至垃圾处理设备,进而垃圾处理设备可以向处理者展示该提示信息。After generating the prompt information for prompting the processor not to belong to the authenticated user of the blockchain system, the above-mentioned execution body can send the prompt information to the garbage disposal device for prompting the processor to not belong to the authenticated user of the block chain system, and then The garbage disposal equipment can display the prompt information to the disposer.

可选地,可以根据处理者的图像,确定处理者是否属于区块链系统的实名认证用户。通过区块链系统的用户的实名认证约束区块链系统的用户在处理垃圾时的行为,保证区块链系统的用户不会出现乱扔垃圾等情况。Optionally, it can be determined whether the processor belongs to the real-name authentication user of the blockchain system according to the image of the processor. The real-name authentication of users of the blockchain system restricts the behavior of users of the blockchain system when disposing of garbage, and ensures that users of the blockchain system will not litter and so on.

其中,待处理垃圾的处理者可以预先在区块链系统进行注册。具体地,待处理垃圾的处理者可以预先在区块链系统各种填写认证信息,(如姓名、身份证信息或护照信息、人脸图像等等)。然后区块链系统可以根据人脸图像提取人脸特征信息,并关联存储处理者的认证信息和处理者的人脸特征信息。Among them, the processor of the garbage to be treated can be registered in the blockchain system in advance. Specifically, the processor of the garbage to be treated can fill in various authentication information in the blockchain system in advance (such as name, ID card information or passport information, face image, etc.). Then the blockchain system can extract face feature information according to the face image, and store the processor's authentication information and the processor's face feature information in association.

可选地,待处理垃圾的处理者在区块链进行注册时,可以生成该处理者对应的一对公私钥。进而,区块链系统在记录该处理者的人脸图像时,可以利用该处理者的私钥对人脸图像进行签名然后再存储,以进一步保证后续对待处理垃圾的处理者的身份验证的安全性和正确性。Optionally, when the processor of the garbage to be processed is registered in the blockchain, a pair of public and private keys corresponding to the processor can be generated. Furthermore, when recording the face image of the processor, the blockchain system can use the processor's private key to sign the face image and then store it, so as to further ensure the security of the identity verification of the subsequent garbage processor to be processed. sex and correctness.

可选地,待处理垃圾的处理者在使用区块链系统时,区块链系统也可以利用该处理者对应的公私钥对处理者的行为记录进行验证,以 保证该处理者的信息的安全性。Optionally, when the garbage processor to be processed uses the blockchain system, the blockchain system can also use the public and private keys corresponding to the processor to verify the processor's behavior records to ensure the security of the processor's information. sex.

在本实施例的一些可选地实现方式中,在接收到待处理垃圾的处理者的图像之后,还可以进一步确定处理者是否具有用于处理待处理垃圾的用品。In some optional implementations of this embodiment, after receiving the image of the processor of the garbage to be treated, it may be further determined whether the processor has supplies for treating the garbage to be treated.

用于处理待处理垃圾的用品可以是各种处理垃圾的用品。应当可以理解,根据待处理垃圾的不同,对应的用品可以不同。根据实际应用需求的不同,处理待处理垃圾的用品也可以不同。The articles for treating garbage to be treated may be various articles for treating garbage. It should be understood that, according to different garbage to be treated, the corresponding supplies may be different. According to the actual application requirements, the supplies for treating the garbage to be treated can also be different.

例如,有的待处理垃圾需要处理者佩戴手套进行处理。又例如,有的待处理垃圾需要处理者佩戴手套和口罩进行处理。For example, some garbage to be treated requires the handler to wear gloves to handle it. For another example, some garbage to be treated requires the processor to wear gloves and masks for disposal.

在接收到处理者的图像之后,可以利用各种基于图像的目标检测和识别技术确定处理者是否具有用于处理待处理垃圾的用品。After receiving the image of the disposer, various image-based object detection and recognition techniques can be used to determine whether the disposer has supplies to dispose of the waste to be disposed of.

可选地,响应于确定处理者具有用于处理待处理垃圾的用品,且响应于确定处理者属于区块链系统的认证用户,可以执行上述步骤201-203,以对待处理垃圾进行处理。Optionally, in response to determining that the processor has supplies for processing the garbage to be disposed of, and in response to determining that the processor is an authenticated user of the blockchain system, the above steps 201-203 may be performed to process the garbage to be disposed of.

可选地,响应于确定处理者不具有用于处理待处理垃圾的用品,可以生成处理者不具有用于处理待处理垃圾的用品的提示信息以及发送至垃圾处理设备。Optionally, in response to determining that the handler does not have supplies for processing the waste to be processed, a prompt message that the handler does not have supplies for processing the waste to be processed may be generated and sent to the waste processing facility.

其中,提示信息可以是各种形式的提示信息。例如,提示信息的形式包括但不限于文字、图像、音频、视频,以及这些形式的组合等。The prompt information may be prompt information in various forms. For example, the form of prompt information includes, but is not limited to, text, image, audio, video, and combinations of these forms.

作为示例,用于提示处理者不具有用于处理所述待处理垃圾的用品的提示信息可以是用于向待处理垃圾的处理者提示其没有携带处理待处理垃圾的用品的音频和处理待处理垃圾的用品的图像。As an example, the prompting information for prompting the processor that he does not have the supplies for disposing the garbage to be disposed of may be audio and disposing to-be-treated information for prompting the disposer of the garbage to be disposed that he does not have the articles for disposing the garbage to be disposed of. Image of garbage supplies.

上述执行主体在生成用于处理所述待处理垃圾的用品的提示信息之后,可以将用于处理所述待处理垃圾的用品的提示信息发送至垃圾处理设备,进而垃圾处理设备可以向待处理垃圾的处理者展示该提示信息。After generating the prompt information for the supplies for processing the garbage to be processed, the above-mentioned executive body may send the prompt information for the supplies for processing the garbage to be processed to the garbage disposal equipment, and then the garbage disposal equipment can send the information to the garbage disposal equipment. The handler of the display the prompt message.

继续参见图3,图3是根据本实施例的用于处理垃圾的方法的一个示意性的应用场景300。在图3的应用场景中,用户302在疫情期间在垃圾桶301中丢弃废弃口罩时,垃圾桶301先利用其上安装的摄像头3011拍摄用户302的人脸图像303,然后将人脸图像303发送至 区块链系统304。Continuing to refer to FIG. 3 , FIG. 3 is a schematic application scenario 300 of the method for processing garbage according to this embodiment. In the application scenario of FIG. 3 , when the user 302 discards the discarded masks in the trash can 301 during the epidemic, the trash can 301 first uses the camera 3011 installed on the trash can 301 to capture the face image 303 of the user 302 , and then sends the face image 303 to the blockchain system 304.

区块链系统304可以对人脸图像303执行如图中标号305所示的处理。具体地,可以先对人脸图像303进行目标检测,以确定用户302是否佩戴口罩。若用户302未佩戴口罩,区块链系统可以向垃圾桶301发送提示信息以向用户302提示“疫情期间出入公共场所请佩戴口罩!”。The blockchain system 304 can perform the processing shown by the reference numeral 305 on the face image 303 . Specifically, target detection may be performed on the face image 303 to determine whether the user 302 wears a mask. If the user 302 does not wear a mask, the blockchain system can send a prompt message to the trash can 301 to prompt the user 302 "Please wear a mask when entering and leaving public places during the epidemic!".

若用户302已佩戴口罩,可以继续对人脸图像303进行特征提取以提取人脸特征信息,然后根据人脸特征信息是否属于区块链系统304的各认证用户对应的人脸特征信息,确定用户302是否是区块链系统304的认证用户。若用户302不是区块链系统304的认证用户,可以向垃圾桶301发送提示信息以向用户302提示“请先在区块链系统304进行实名认证!”。If the user 302 is wearing a mask, the face image 303 can continue to be feature extraction to extract the face feature information, and then according to whether the face feature information belongs to the face feature information corresponding to each authenticated user of the blockchain system 304, determine the user Whether 302 is an authenticated user of the blockchain system 304. If the user 302 is not an authenticated user of the blockchain system 304, a prompt message can be sent to the trash can 301 to prompt the user 302 "Please perform real-name authentication in the blockchain system 304 first!".

若用户302是区块链系统304的认证用户,可以控制垃圾桶301利用摄像头3011拍摄用户待丢弃的废弃口罩的图像306,并将废弃口罩的图像306发送至区块链系统304。区块链系统304可以对废弃口罩的图像306进行目标检测,以确定废弃口罩是否已进行消毒处理且密封处理。If the user 302 is an authenticated user of the blockchain system 304 , the trash can 301 can be controlled to use the camera 3011 to take an image 306 of the discarded mask to be discarded by the user, and send the image 306 of the discarded mask to the blockchain system 304 . The blockchain system 304 can perform object detection on the image 306 of the discarded masks to determine whether the discarded masks have been sterilized and sealed.

若废弃口罩已进行消毒处理且密封处理,区块链系统304控制垃圾桶301接收用户302丢弃的废弃口罩,然后可以记录用户302的人脸特征信息与废弃口罩的相关信息(如废弃口罩的图像、处理时间、是否处理成功等)等信息,并在区块链系统304中生成本次废弃口罩处理过程的区块链存证证书。If the discarded masks have been sterilized and sealed, the blockchain system 304 controls the trash can 301 to receive discarded masks discarded by the user 302, and then can record the facial feature information of the user 302 and the related information of discarded masks (such as images of discarded masks). , processing time, whether the processing was successful, etc.) and other information, and generate the blockchain certificate for the disposal of the discarded masks in the blockchain system 304.

若废弃口罩未进行消毒处理,区块链系统304可以向垃圾桶301发送提示信息307“废弃口罩需要消毒处理”。然后,垃圾桶301可以向用户展示提示信息307,而且垃圾处理设备还可以进一步向用户302进行语音提示“请使用5%的84消毒液进行按照1:99配比撒至口罩上以对口罩进行消毒处理”。之后,可以记录用户302的人脸特征信息与废弃口罩的相关信息(如废弃口罩的图像、处理时间、是否处理成功等)等信息,并在区块链系统304中生成本次废弃口罩处理过程的区块链存证证书。If the discarded masks have not been sterilized, the blockchain system 304 can send a prompt message 307 to the trash can 301 "Disinfection of discarded masks is required". Then, the trash can 301 can show the prompt information 307 to the user, and the garbage disposal equipment can further give a voice prompt to the user 302 "Please use 5% 84 disinfectant and sprinkle it on the mask according to the ratio of 1:99 to clean the mask. Disinfection". After that, the facial feature information of the user 302 and the related information of the discarded masks (such as the image of the discarded masks, processing time, whether the processing is successful, etc.) can be recorded, and the processing process of the discarded masks can be generated in the blockchain system 304. The blockchain certificate of deposit.

上述应用场景可以在疫情期间保证用户正确处理废弃口罩,保证废弃口罩已进行消毒且密封处理,同时保证用户在丢弃废弃口罩时已佩戴口罩,避免出现交叉感染等情况。同时,对每个丢弃废弃口罩的用户进行人脸识别和行为记录,以对用户的行为进行约束,实现疫情期间针对废弃口罩的良好管理。The above application scenarios can ensure that users correctly dispose of discarded masks during the epidemic, ensure that discarded masks have been sterilized and sealed, and ensure that users wear masks when discarding discarded masks to avoid cross-infection and other situations. At the same time, face recognition and behavior records are carried out for each user who discards discarded masks to constrain the user's behavior and achieve good management of discarded masks during the epidemic.

现有技术中,通常由民众自由丢弃垃圾,因此,可能会出现垃圾无法被正确处理的情况,也可能出现一些民众不按要求丢弃垃圾的情况,而且对于这些情况也很难记录。In the prior art, people are usually free to discard garbage. Therefore, there may be situations in which the garbage cannot be disposed of correctly, and some people may not discard garbage as required, and it is difficult to record these situations.

本公开的上述实施例提供的方法通过垃圾处理设备获取待处理垃圾的图像,然后交由区块链系统对待处理垃圾的图像进行分析等处理,以确定待处理垃圾是否符合预设处理条件,并对待处理垃圾不符合预设处理条件的情况进行提示,以保证待处理垃圾的正确处理。同时,垃圾处理设备还获取待处理垃圾的处理者的图像,并交由区块链系统分析确定用户是否属于区块链系统的认证用户,以及用户是否具有处理待处理垃圾的用品,从而对用户进行约束,使得用户能够按照要求处理垃圾。另外,利用区块链系统对处理者的垃圾处理行为进行记录和存证,不仅可以正确记录处理者的垃圾处理行为以便于随时查看,而且还可以对处理者的行为起到一定的约束作用,进一步改善待处理的处理过程。The method provided by the above-mentioned embodiments of the present disclosure obtains the image of the garbage to be processed through the garbage processing equipment, and then submits the image of the garbage to be processed by the blockchain system for analysis and other processing, so as to determine whether the garbage to be processed meets the preset processing conditions, and A reminder is given when the garbage to be treated does not meet the preset treatment conditions to ensure the correct disposal of the garbage to be treated. At the same time, the garbage disposal equipment also obtains the image of the garbage processor to be treated, and submits it to the blockchain system for analysis to determine whether the user belongs to the authenticated user of the blockchain system, and whether the user has the supplies to dispose of the garbage to be treated, so that the user can Constraints so that users can dispose of garbage as required. In addition, the use of the blockchain system to record and store the garbage disposal behavior of the processor can not only correctly record the garbage disposal behavior of the processor so that it can be viewed at any time, but also can play a certain restrictive role in the behavior of the processor. Further improvement of the pending process.

进一步参考图4,其示出了用于处理垃圾的方法的又一个实施例的流程400。该用于处理垃圾的方法可以应用于垃圾处理设备(如图1所示的垃圾处理设备101、102),该方法可以包括以下步骤:With further reference to FIG. 4, a flow 400 of yet another embodiment of a method for processing garbage is shown. The method for treating garbage can be applied to a garbage disposal device (such as the garbage disposal devices 101 and 102 shown in FIG. 1 ), and the method can include the following steps:

步骤401,获取待处理垃圾的图像。Step 401, acquiring an image of the garbage to be processed.

在本实施例中,用于处理垃圾的方法的执行主体(如图1所示的垃圾处理设备101、102)可以利用各种方式获取待处理垃圾的图像。例如,可以接收待处理垃圾的处理者发送的、待处理垃圾的图像,也可以利用自身包括的图像采集装置采集待处理垃圾的图像。In this embodiment, the execution body of the method for processing garbage (the garbage processing devices 101 and 102 shown in FIG. 1 ) can acquire images of the garbage to be processed in various ways. For example, an image of the garbage to be treated sent by a processor of the garbage to be treated can be received, or an image of the garbage to be treated can be collected by using the image acquisition device included in itself.

其中,待处理垃圾可以是各种类型的垃圾。例如,待处理垃圾可以包括但不限于生活垃圾、餐厨垃圾、电子垃圾、建筑废弃物、医疗 垃圾、工业废弃物等等。待处理垃圾的图像可以指呈现有待处理垃圾的图像。Wherein, the garbage to be treated can be various types of garbage. For example, the waste to be treated may include, but is not limited to, domestic waste, kitchen waste, electronic waste, construction waste, medical waste, industrial waste, and the like. The image of the garbage to be disposed of may refer to an image presenting the garbage to be disposed of.

待处理垃圾的处理者可以指处理待处理垃圾的人。一般地,处理者可以指期望将待处理垃圾丢弃在垃圾处理设备中的人。图像采集装置是各种能够采集图像的装置。例如,图像采集装置包括但不限于摄像头、录像机等等。The processor of the to-be-treated garbage may refer to a person who handles the to-be-treated garbage. Generally, a disposer may refer to a person who desires to dispose of the garbage to be disposed of in a garbage disposal facility. Image capture devices are various devices capable of capturing images. For example, the image capturing device includes, but is not limited to, a camera, a video recorder, and the like.

步骤402,将待处理垃圾的图像发送至区块链系统进行处理,以确定待处理垃圾是否符合预设处理条件。Step 402: Send the image of the garbage to be processed to the blockchain system for processing, so as to determine whether the garbage to be processed meets the preset processing conditions.

在本实施例中,区块链系统在接收到待处理垃圾的图像之后,可以对待处理垃圾的图像进行处理,以确定待处理垃圾是否符合预设处理条件。In this embodiment, after receiving the image of the garbage to be processed, the blockchain system can process the image of the garbage to be processed to determine whether the garbage to be processed meets the preset processing conditions.

其中,预设处理条件可以由技术人员根据实际的应用需求或应用场景(如实际中对待处理垃圾的要求等等)预先进行灵活设置。应当可以理解,在不同的情况下,预设处理条件可以不同。针对不同的待处理垃圾,预设处理条件也可以不同。The preset processing conditions may be flexibly set in advance by technicians according to actual application requirements or application scenarios (such as requirements for garbage to be processed in practice, etc.). It should be understood that the preset processing conditions may be different in different situations. For different garbage to be treated, the preset treatment conditions may also be different.

例如,可以预先针对不同类别的待处理垃圾,分别设置不同的预设处理条件。作为示例,对于危险类的待处理垃圾(如医疗垃圾等具有直接或者间接感染性、毒性以及其他危害性的垃圾),可以设置预设处理条件用于指示待处理垃圾需要消毒或密封处理等。For example, different preset treatment conditions may be set in advance for different types of garbage to be treated. As an example, for hazardous wastes to be treated (such as medical wastes with direct or indirect infectivity, toxicity and other hazards), preset treatment conditions may be set to indicate that the wastes to be treated need to be sterilized or sealed.

根据预设处理条件的不同,区块链系统可以利用各种图像处理技术(如目标检测与识别技术、动态图像处理技术等)对待处理垃圾的图像进行分析以确定待处理垃圾是否符合预设处理条件。According to different preset processing conditions, the blockchain system can use various image processing technologies (such as target detection and recognition technology, dynamic image processing technology, etc.) to analyze the images of the garbage to be treated to determine whether the garbage to be treated conforms to the preset treatment. condition.

需要说明的是,上述执行主体获取的、待处理垃圾的图像可以是一个,也可以是多个。因此,区块链系统可以基于一个或多个待处理垃圾的图像,确定待处理垃圾是否符合预设条件。It should be noted that, the image of the garbage to be processed acquired by the above-mentioned execution body may be one or multiple. Therefore, the blockchain system can determine whether the garbage to be treated meets the preset conditions based on one or more images of the garbage to be treated.

步骤403,响应于从区块链系统接收到用于指示待处理垃圾不符合预设处理条件的提示信息,展示用于指示待处理垃圾不符合预设处理条件的提示信息。Step 403 , in response to receiving the prompt information indicating that the garbage to be processed does not meet the preset processing conditions from the blockchain system, display the prompt information indicating that the garbage to be processed does not meet the preset processing conditions.

在本实施例中,区块链系统响应于确定待处理垃圾不符合预设处理条件,可以生成用于提示待处理垃圾不符合预设处理条件的提示信 息,并将生成的提示信息发送至上述执行主体。In this embodiment, in response to determining that the garbage to be processed does not meet the preset processing conditions, the blockchain system may generate prompt information for prompting that the garbage to be processed does not meet the preset processing conditions, and send the generated prompt information to the above-mentioned Executive body.

其中,提示信息可以是各种形式的提示信息。例如,提示信息的形式包括但不限于文字、图像、音频、视频,以及这些形式的组合等。The prompt information may be prompt information in various forms. For example, the form of prompt information includes, but is not limited to, text, image, audio, video, and combinations of these forms.

作为示例,用于提示待处理垃圾不符合预设处理条件的提示信息可以是用于向待处理垃圾的处理者提示待处理垃圾不符合预设处理条件,以及使得待处理垃圾符合预设处理条件的正确处理方法的音视频。As an example, the prompt information for prompting that the garbage to be processed does not meet the preset processing conditions may be used to prompt the handler of the garbage to be processed that the garbage to be processed does not meet the preset processing conditions, and make the garbage to be processed meet the preset processing conditions The correct processing method of audio and video.

可选地,区块链系统还可以生成针对待处理垃圾的区块链存证信息。其中,针对待处理垃圾的区块链存证信息可以用于对本次处理的待处理垃圾的相关信息进行区块链存证。其中,进行存证的、待处理垃圾的相关信息可以根据实际的应用需求灵活设置。Optionally, the blockchain system can also generate blockchain certification information for the garbage to be treated. Wherein, the blockchain certification information for the garbage to be treated can be used for blockchain certification of the information related to the garbage to be treated this time. Among them, the relevant information of the garbage to be treated that is to be stored can be flexibly set according to the actual application requirements.

例如,待处理垃圾的相关信息可以包括待处理垃圾的图像、处理结果(如待处理垃圾是否符合预设条件等)、待处理垃圾与其处理者之间的对应关系、处理时间等等。For example, the relevant information of the garbage to be processed may include the image of the garbage to be processed, the processing result (such as whether the garbage to be processed meets the preset conditions, etc.), the corresponding relationship between the garbage to be processed and its handler, the processing time, and so on.

区块链存证信息可以是区块链系统中使用的各种存证信息。例如,区块链存证信息可以包括区块链存证证书等。一般地,可以将存证信息的标识(如编号)发送至对应的处理者或在区块链系统中进行公开。基于此,对应的处理者或其它区块链系统都可以根据存证信息的标识查询存证信息,进而了解对应的处理者本次处理待处理垃圾的真实处理过程。The blockchain certificate information can be various types of certificate information used in the blockchain system. For example, the blockchain certificate information may include a blockchain certificate and the like. Generally, the identification (such as a serial number) of the deposit information can be sent to the corresponding processor or disclosed in the blockchain system. Based on this, the corresponding processor or other blockchain systems can query the certificate information according to the identification of the certificate information, and then understand the actual processing process of the corresponding processor to deal with the garbage to be processed this time.

利用区块链系统中的各区块链节点的共识验证,可以保证区块链系统中记录的信息的真实有效性,从而保证记录的、每次待处理垃圾的处理过程都真实有效,且可追溯查询,有助于实现对待处理垃圾的更好的管理。Using the consensus verification of each block chain node in the block chain system can ensure the authenticity and validity of the information recorded in the block chain system, so as to ensure that the recorded garbage disposal process is real, effective and traceable. Query, which helps to achieve better management of garbage to be processed.

在本实施例的一些可选地实现方式中,在获取待处理垃圾的图像之前,上述方法还可以先执行如下步骤:In some optional implementations of this embodiment, before acquiring the image of the garbage to be processed, the above method may further perform the following steps:

步骤一,获取待处理垃圾的处理者的图像。In step 1, an image of a processor of garbage to be disposed of is acquired.

在本步骤中,上述执行主体可以利用各种方式获取处理者的图像。例如,可以接收处理者发送的其自身的图像。又例如,可以利用其包括的图像采集装置采集处理者的图像。In this step, the above-mentioned execution subject may acquire the image of the processor in various ways. For example, an image of itself sent by the processor can be received. For another example, an image of the processor can be collected by using the image collection device included in the image collection device.

步骤二,将处理者的图像发送至区块链系统进行处理,以确定处 理者是否属于区块链系统的认证用户。Step 2: Send the image of the processor to the blockchain system for processing to determine whether the processor is an authenticated user of the blockchain system.

在本步骤中,区块链系统在接收到处理者的图像之后,可以对处理者的图像进行分析等处理,以确定处理者是否属于区块链系统的认证用户。In this step, after receiving the image of the processor, the blockchain system can perform processing such as analysis on the image of the processor to determine whether the processor is an authenticated user of the blockchain system.

其中,认证用户可以指通过区块链系统的身份验证的用户。区块链采用的身份验证方式可以根据实际的应用需求灵活设置。例如,区块链采用的身份验证方式包括但不限于手机号验证、邮箱验证、身份证验证、银行卡验证,或者多种验证方式的组合等等。Among them, the authenticated user may refer to a user who has passed the identity verification of the blockchain system. The authentication method adopted by the blockchain can be flexibly set according to the actual application requirements. For example, the identity verification methods adopted by the blockchain include but are not limited to mobile phone number verification, email verification, ID verification, bank card verification, or a combination of multiple verification methods, etc.

区块链系统可以利用各种图像处理技术(如人脸识别技术等)从处理者的图像中分析处理者的身份,以确定处理者是否属于区块链系统的认证用户。The blockchain system can use various image processing technologies (such as face recognition technology, etc.) to analyze the identity of the processor from the image of the processor to determine whether the processor belongs to the authenticated user of the blockchain system.

例如,区块链系统可以先对处理者的图像进行人脸识别,然后提取识别到的人脸的特征,得到人脸特征信息。同时,区块链系统中可以预先存储有各个认证用户分别对应的人脸特征信息。此时,可以通过匹配当前提取到的处理者的人脸特征信息是否在预先存储的各人脸特征信息中。若存在,则可以表示处理者属于区块链系统的认证用户,若不存在,则可以表示处理者当前还不属于区块链系统的认证用户。For example, the blockchain system can first perform face recognition on the image of the processor, and then extract the features of the recognized face to obtain face feature information. At the same time, the face feature information corresponding to each authenticated user can be pre-stored in the blockchain system. At this time, it can be determined by matching whether the currently extracted facial feature information of the handler is in each pre-stored facial feature information. If it exists, it can indicate that the processor belongs to the authenticated user of the blockchain system; if it does not exist, it can indicate that the processor does not currently belong to the authenticated user of the blockchain system.

步骤三,响应于从区块链系统接收到用于指示处理者不属于区块链系统的认证用户的提示信息,展示用于指示处理者不属于区块链系统的认证用户的提示信息。Step 3, in response to receiving the prompt information indicating that the processor does not belong to the authenticated user of the blockchain system from the blockchain system, displaying the prompt information indicating that the processor does not belong to the authenticated user of the blockchain system.

在本步骤中,区块链系统响应于确定处理者不属于区块链系统的认证用户,可以生成用于提示处理者不属于区块链系统的认证用户的提示信息,并将提示信息发送至上述执行主体。In this step, in response to determining that the processor does not belong to the authenticated user of the blockchain system, the blockchain system may generate prompt information for prompting that the processor does not belong to the authenticated user of the blockchain system, and send the prompt information to The above executive body.

作为示例,用于提示处理者不属于区块链系统的认证用户的提示信息可以是用于向待处理垃圾的处理者提示其还没有在区块链系统中进行身份认证的音频,以及在区块链系统中进行身份认证的流程图。As an example, the prompt information for prompting the processor not to belong to the authenticated user of the blockchain system may be an audio for prompting the processor of the garbage to be treated that he has not been authenticated in the blockchain system, and the information in the district The flow chart of identity authentication in the blockchain system.

可选地,区块链系统可以根据处理者的图像,确定处理者是否属于区块链系统的实名认证用户。通过区块链系统的用户的实名认证约束区块链系统的用户在处理垃圾时的行为,保证区块链系统的用户不会出现乱扔垃圾等情况。Optionally, the blockchain system can determine whether the processor belongs to the real-name authentication user of the blockchain system according to the image of the processor. The real-name authentication of users of the blockchain system restricts the behavior of users of the blockchain system when disposing of garbage, and ensures that users of the blockchain system will not litter and so on.

可选地,区块链系统响应于确定处理者属于区块链系统的认证用户,可以控制上述执行主体执行上述步骤401-403,以对待处理垃圾进行处理。Optionally, in response to determining that the processor belongs to an authenticated user of the blockchain system, the blockchain system may control the above-mentioned execution subject to perform the above-mentioned steps 401-403 to process the garbage to be processed.

在本实施例的一些可选地实现方式中,区块链系统在接收到处理者的图像之后,可以对处理者的图像进行分析等处理,以确定处理者是否具有用于处理待处理垃圾的用品。In some optional implementations of this embodiment, after receiving the image of the processor, the blockchain system may perform processing such as analysis on the image of the processor to determine whether the processor has the ability to process the garbage to be disposed of. supplies.

其中,用于处理待处理垃圾的用品可以是各种处理垃圾的用品。应当可以理解,根据待处理垃圾的不同,对应的用品可以不同。根据实际应用需求的不同,处理待处理垃圾的用品也可以不同。Among them, the articles for treating garbage to be treated can be various articles for treating garbage. It should be understood that, according to different garbage to be treated, the corresponding supplies may be different. According to the actual application requirements, the supplies for treating the garbage to be treated can also be different.

例如,有的待处理垃圾需要处理者佩戴手套进行处理。又例如,有的待处理垃圾需要处理者佩戴手套和口罩进行处理。For example, some garbage to be treated requires the handler to wear gloves to handle it. For another example, some garbage to be treated requires the processor to wear gloves and masks for disposal.

区块链系统在接收到处理者的图像之后,可以利用各种基于图像的目标检测和识别技术确定处理者是否具有用于处理待处理垃圾的用品。After receiving the image of the handler, the blockchain system can use a variety of image-based object detection and recognition techniques to determine whether the handler has supplies to dispose of the waste.

可选地,区块链系统响应于确定处理者不具有用于处理待处理垃圾的用品,可以生成处理者不具有用于处理待处理垃圾的用品的提示信息,并将该提示信息及发送至上述执行主体。Optionally, in response to determining that the processor does not have supplies for processing the garbage to be disposed of, the blockchain system may generate a prompt message indicating that the processor does not have the supplies for disposing the garbage to be disposed of, and send the prompt information and The above executive body.

作为示例,用于提示处理者不具有用于处理所述待处理垃圾的用品的提示信息可以是用于向待处理垃圾的处理者提示其没有携带处理待处理垃圾的用品的音频和处理待处理垃圾的用品的图像。As an example, the prompting information for prompting the processor that he does not have the supplies for disposing the garbage to be disposed of may be audio and disposing to-be-treated information for prompting the disposer of the garbage to be disposed that he does not have the articles for disposing the garbage to be disposed of. Image of garbage supplies.

可选地,区块链系统响应于确定处理者具有用于处理待处理垃圾的用品,且响应于确定处理者属于区块链系统的认证用户,可以控制上述执行主体执行上述步骤401-403,以对待处理垃圾进行处理。Optionally, in response to determining that the processor has supplies for processing garbage to be treated, and in response to determining that the processor belongs to an authenticated user of the blockchain system, the blockchain system may control the above-mentioned executive body to perform the above steps 401-403, to dispose of the garbage to be disposed of.

本公开的上述实施例提供的方法利用垃圾处理设备采集待处理垃圾的图像,然后交由区块链系统对待处理垃圾的图像进行分析等处理,以确定待处理垃圾是否符合预设处理条件,并对待处理垃圾不符合预设处理条件的情况进行提示,以保证待处理垃圾的正确处理。The method provided by the above-mentioned embodiments of the present disclosure utilizes garbage disposal equipment to collect images of the garbage to be treated, and then submits the image of the garbage to be treated by the blockchain system for analysis and other processing to determine whether the garbage to be treated meets the preset treatment conditions, and A reminder is given when the garbage to be treated does not meet the preset treatment conditions to ensure the correct disposal of the garbage to be treated.

进一步参考图5,其示出了用于处理垃圾的系统的一个实施例的示意时序图。用于处理垃圾的系统包括垃圾处理设备和区块链系统。With further reference to FIG. 5, a schematic timing diagram of one embodiment of a system for processing garbage is shown. The systems used to dispose of garbage include garbage disposal equipment and blockchain systems.

如图5所述,在步骤501中,垃圾处理设备获取待处理垃圾的图像。As shown in FIG. 5 , in step 501 , the garbage processing device acquires the image of the garbage to be processed.

在步骤502中,垃圾处理设备将待处理垃圾的图像发送至区块链系统。In step 502, the garbage processing device sends the image of the garbage to be processed to the blockchain system.

在步骤503中,区块链系统执行如下确定步骤:根据待处理垃圾的图像,确定待处理垃圾是否符合预设处理条件。In step 503, the blockchain system performs the following determination step: according to the image of the garbage to be processed, determine whether the garbage to be processed meets the preset processing conditions.

在步骤504中,区块链系统响应于确定待处理垃圾不符合预设处理条件,生成用于提示待处理垃圾不符合预设处理条件的提示信息以及发送至垃圾处理设备,以及生成针对待处理垃圾的区块链存证信息。In step 504, in response to determining that the garbage to be processed does not meet the preset processing conditions, the blockchain system generates prompt information for prompting that the garbage to be processed does not meet the preset processing conditions and sends it to the garbage processing equipment, and generates a message for the garbage to be processed. Garbage blockchain depository information.

在步骤505中,垃圾处理设备展示用于提示待处理垃圾不符合预设处理条件的提示信息。In step 505, the garbage processing device displays prompt information for prompting that the garbage to be processed does not meet the preset processing conditions.

可选地,区块链系统响应于确定待处理垃圾符合预设处理条件,且响应于确定从垃圾处理设备接收到用于指示对待处理垃圾处理完成的信息,可以生成针对待处理垃圾的区块链存证信息。Optionally, the block chain system may generate a block for the garbage to be processed in response to determining that the garbage to be processed meets the preset processing conditions, and in response to determining that the information indicating the completion of the garbage processing to be processed is received from the garbage processing device. Chain certificate information.

可选地,垃圾处理设备还可以获取待处理垃圾的处理者的图像,以及将处理者的图像发送至区块链系统。此时,区块链系统可以根据处理者的图像,确定处理者是否属于区块链系统的认证用户;响应于确定处理者属于区块链系统的认证用户,执行上述确定步骤;响应于确定处理者不属于区块链系统的认证用户,可以生成用于提示处理者不属于区块链系统的认证用户的提示信息以及发送至垃圾处理设备。垃圾处理设备可以展示用于提示处理者不属于区块链系统的认证用户的提示信息。Optionally, the garbage processing device can also acquire the image of the processor of the garbage to be processed, and send the image of the processor to the blockchain system. At this time, the blockchain system can determine whether the processor belongs to an authenticated user of the blockchain system according to the image of the processor; in response to determining that the processor belongs to an authenticated user of the blockchain system, the above determination steps are performed; If the processor does not belong to the authenticated user of the blockchain system, it can generate a prompt message to remind the processor that the processor does not belong to the authenticated user of the blockchain system and send it to the garbage disposal equipment. The garbage disposal equipment can display prompt information for prompting the disposer not to belong to the authenticated user of the blockchain system.

可选地,区块链系统还可以根据处理者的图像,确定处理者是否具有用于处理待处理垃圾的用品;响应于确定处理者具有用于处理待处理垃圾的用品,且响应于确定处理者属于区块链系统的认证用户,执行上述确定步骤;响应于确定处理者不具有用于处理待处理垃圾的用品,可以生成用于提示处理者不具有用于处理待处理垃圾的用品的提示信息以及发送至垃圾处理设备。垃圾处理设备可以展示用于提示处理者不具有用于处理待处理垃圾的用品的提示信息。Optionally, the blockchain system can also determine, according to the image of the processor, whether the processor has supplies for processing the garbage to be processed; in response to determining that the processor has supplies for processing the garbage to be processed, and in response to determining The processor is an authenticated user of the blockchain system, and the above determination steps are performed; in response to determining that the processor does not have the supplies for processing the garbage to be treated, a prompt for prompting the processor that the processor does not have the supplies for processing the garbage to be processed can be generated information and sent to waste disposal facilities. The waste disposal facility may display a reminder message to remind the handler that he does not have supplies for disposal of the waste.

本实施例中各步骤的具体的执行过程可参考图2和图4对应实施 例中的相关说明,在此不再赘述。For the specific execution process of each step in this embodiment, reference may be made to the relevant descriptions in the corresponding embodiments of FIG. 2 and FIG. 4 , which will not be repeated here.

本公开的上述实施例提供的系统利用垃圾处理设备获取待处理垃圾的图像,然后交由区块链系统对待处理垃圾的图像进行分析等处理,以确定待处理垃圾是否符合预设处理条件,并对待处理垃圾不符合预设处理条件的情况进行提示,以实现对待处理垃圾的自动化处理,且保证待处理垃圾的正确处理。同时,垃圾处理设备还获取待处理垃圾的处理者的图像,并交由区块链系统分析确定用户是否属于区块链系统的认证用户,以及用户是否具有处理待处理垃圾的用品,从而对用户进行约束,使得用户能够按照要求处理垃圾。另外,利用区块链系统对处理者的垃圾处理行为进行记录和存证,不仅可以正确记录处理者的垃圾处理行为以便于随时查看,而且还可以对处理者的行为起到一定的约束作用,进一步改善待处理的处理过程。The system provided by the above-mentioned embodiments of the present disclosure obtains images of garbage to be treated by using garbage processing equipment, and then submits the images of garbage to be processed to the blockchain system for analysis and other processing to determine whether the garbage to be treated meets the preset processing conditions, and A prompt is given when the garbage to be processed does not meet the preset processing conditions, so as to realize the automatic processing of the garbage to be processed and ensure the correct disposal of the garbage to be processed. At the same time, the garbage disposal equipment also obtains the image of the garbage processor to be treated, and submits it to the blockchain system for analysis to determine whether the user belongs to the authenticated user of the blockchain system, and whether the user has the supplies to dispose of the garbage to be treated, so that the user can Constraints so that users can dispose of garbage as required. In addition, the use of the blockchain system to record and store the garbage disposal behavior of the processor can not only record the garbage disposal behavior of the processor correctly so that it can be viewed at any time, but also can play a certain restrictive role in the behavior of the processor. Further improvement of the pending process.

进一步参考图6,作为对上述各图所示方法的实现,本公开提供了用于处理垃圾的装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种区块链系统中。Referring further to FIG. 6 , as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a device for processing garbage, and the device embodiment corresponds to the method embodiment shown in FIG. 2 . It can be applied to various blockchain systems.

如图6所示,本实施例提供的用于处理垃圾的装置600包括执行单元601和生成单元602。其中,执行单元601被配置成执行如下确定步骤:从垃圾处理设备接收待处理垃圾的图像;根据待处理垃圾的图像,确定待处理垃圾是否符合预设处理条件;生成单元602被配置成响应于确定待处理垃圾不符合预设处理条件,生成用于提示待处理垃圾不符合预设处理条件的提示信息以及发送至垃圾处理设备,以及生成针对待处理垃圾的区块链存证信息。As shown in FIG. 6 , the apparatus 600 for processing garbage provided in this embodiment includes an executing unit 601 and a generating unit 602 . The execution unit 601 is configured to perform the following determination steps: receiving an image of the garbage to be processed from the garbage processing equipment; determining whether the garbage to be processed meets the preset processing conditions according to the image of the garbage to be processed; the generating unit 602 is configured to respond to It is determined that the garbage to be treated does not meet the preset treatment conditions, and a prompt message for prompting that the garbage to be treated does not meet the preset treatment conditions is generated and sent to the garbage disposal equipment, and the blockchain certificate information for the garbage to be treated is generated.

在本实施例中,用于处理垃圾的装置600中,执行单元601和生成单元602的具体处理及其所带来的技术效果可分别参考图2对应实施例中的步骤201、步骤202和步骤203的相关说明,在此不再赘述。In this embodiment, in the apparatus 600 for processing garbage, the specific processing of the execution unit 601 and the generation unit 602 and the technical effects brought about by the execution unit 601 can be referred to the steps 201, 202 and 202 in the corresponding embodiment of FIG. 2, respectively. The relevant description of 203 will not be repeated here.

在本实施例的一些可选的实现方式中,生成单元602进一步被配置成响应于确定待处理垃圾符合预设处理条件,且响应于确定从垃圾处理设备接收到用于指示对待处理垃圾处理完成的信息,生成针对待处理垃圾的区块链存证信息。In some optional implementations of this embodiment, the generating unit 602 is further configured to, in response to determining that the garbage to be processed meets the preset processing conditions, and in response to determining that a message indicating that the garbage processing to be processed is completed is received from the garbage processing device information to generate blockchain certificate information for the garbage to be processed.

在本实施例的一些可选的实现方式中,执行单元601进一步被配置成从垃圾处理设备接收待处理垃圾的处理者的图像;根据处理者的图像,确定处理者是否属于区块链系统的认证用户;响应于确定所述处理者属于所述区块链系统的认证用户,执行上述确定步骤;生成单元602,进一步被配置成响应于确定处理者不属于区块链系统的认证用户,生成用于提示处理者不属于所述区块链系统的认证用户的提示信息以及发送至垃圾处理设备。In some optional implementations of this embodiment, the execution unit 601 is further configured to receive an image of a processor of garbage to be processed from the garbage processing device; and determine whether the processor belongs to the blockchain system according to the image of the processor. Authenticating the user; in response to determining that the processor belongs to the authenticated user of the blockchain system, perform the above-mentioned determining steps; the generating unit 602 is further configured to, in response to determining that the processor does not belong to the authenticated user of the blockchain system, generate The prompt information for prompting the processor not to belong to the authenticated user of the blockchain system is sent to the garbage disposal equipment.

在本实施例的一些可选的实现方式中,执行单元601进一步被配置成根据处理者的图像,确定处理者是否具有用于处理待处理垃圾的用品;响应于确定处理者具有用于处理待处理垃圾的用品,且响应于确定处理者属于区块链系统的认证用户,执行上述确定步骤;生成单元602,进一步被配置成响应于确定处理者不具有用于处理待处理垃圾的用品,生成用于提示处理者不具有用于处理待处理垃圾的用品的提示信息以及发送至垃圾处理设备。In some optional implementations of this embodiment, the execution unit 601 is further configured to, according to the image of the handler, determine whether the handler has supplies for processing the garbage to be processed; Supplies for processing garbage, and in response to determining that the processor belongs to an authenticated user of the blockchain system, the above determining steps are performed; the generating unit 602 is further configured to, in response to determining that the processor does not have supplies for processing garbage to be processed, generate Reminder information for prompting the disposer not to have supplies for disposing of the garbage to be disposed of and sent to the garbage disposal facility.

本公开的上述实施例提供的装置,通过执行单元执行如下确定步骤:从垃圾处理设备接收待处理垃圾的图像;根据待处理垃圾的图像,确定待处理垃圾是否符合预设处理条件;生成单元响应于确定待处理垃圾不符合预设处理条件,生成用于提示待处理垃圾不符合预设处理条件的提示信息以及发送至垃圾处理设备,以及生成针对待处理垃圾的区块链存证信息。由此可以实现对待处理垃圾的自动化处理,同时保证垃圾处理过程的正确性。In the apparatus provided by the above-mentioned embodiments of the present disclosure, the execution unit performs the following determination steps: receiving an image of the garbage to be processed from the garbage processing equipment; determining whether the garbage to be processed meets the preset processing conditions according to the image of the garbage to be processed; generating a unit response After it is determined that the garbage to be treated does not meet the preset treatment conditions, prompt information for prompting that the garbage to be treated does not meet the preset treatment conditions is generated and sent to the garbage disposal equipment, and blockchain certificate information for the garbage to be treated is generated. Thereby, the automatic processing of the garbage to be processed can be realized, and the correctness of the garbage disposal process can be ensured at the same time.

进一步参考图7,作为对上述各图所示方法的实现,本公开提供了用于处理垃圾的装置的一个实施例,该装置实施例与图4所示的方法实施例相对应,该装置具体可以应用于各种区块链系统中。Further referring to FIG. 7 , as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a device for processing garbage, and the device embodiment corresponds to the method embodiment shown in FIG. 4 . It can be applied to various blockchain systems.

如图6所示,本实施例提供的用于处理垃圾的装置700包括获取单元701、发送单元702和展示单元703。其中,获取单元701被配置成获取待处理垃圾的图像;发送单元702被配置成将待处理垃圾的图像发送至区块链系统进行处理,以确定待处理垃圾是否符合预设处理条件;展示单元703被配置成响应于从区块链系统接收到用于指示待 处理垃圾不符合预设处理条件的提示信息,展示用于指示待处理垃圾不符合预设处理条件的提示信息。As shown in FIG. 6 , the apparatus 700 for processing garbage provided in this embodiment includes an acquisition unit 701 , a transmission unit 702 and a display unit 703 . The acquiring unit 701 is configured to acquire the image of the garbage to be processed; the sending unit 702 is configured to send the image of the garbage to be processed to the blockchain system for processing, so as to determine whether the garbage to be processed meets the preset processing conditions; the display unit 703 is configured to display prompt information indicating that the garbage to be processed does not meet the preset processing conditions in response to receiving the prompt information indicating that the garbage to be processed does not meet the preset processing conditions from the blockchain system.

在本实施例中,用于处理垃圾的装置700中,获取单元701、发送单元702和展示单元703的具体处理及其所带来的技术效果可分别参考图4对应实施例中的步骤401、步骤402和步骤403的相关说明,在此不再赘述。In this embodiment, in the apparatus 700 for processing garbage, the specific processing of the acquiring unit 701 , the transmitting unit 702 and the displaying unit 703 and the technical effects brought about by the acquiring unit 701 , and the technical effects brought about by them may refer to steps 401 and 401 in the corresponding embodiment of FIG. 4 , respectively. The related descriptions of step 402 and step 403 will not be repeated here.

在本实施例的一些可选的实现方式中,获取单元701进一步被配置成获取待处理垃圾的处理者的图像;发送单元702进一步被配置成将处理者的图像发送至区块链系统进行处理,以确定处理者是否属于区块链系统的认证用户;展示单元703进一步被配置成响应于从区块链系统接收到用于指示处理者不属于所述区块链系统的认证用户的提示信息,展示用于指示处理者不属于区块链系统的认证用户的提示信息。In some optional implementations of this embodiment, the acquiring unit 701 is further configured to acquire an image of a handler of garbage to be processed; the sending unit 702 is further configured to send the image of the handler to the blockchain system for processing , to determine whether the processor belongs to an authenticated user of the blockchain system; the presentation unit 703 is further configured to respond to the prompt information received from the blockchain system for indicating that the processor does not belong to an authenticated user of the blockchain system , showing a prompt message indicating that the processor is not an authenticated user of the blockchain system.

在本实施例的一些可选的实现方式中,发送单元702进一步被配置成将处理者的图像发送至区块链系统进行处理,以确定处理者是否具有用于处理待处理垃圾的用品;展示单元703进一步被配置成响应于从区块链系统接收到用于指示处理者不具有用于处理待处理垃圾的用品,展示用于指示处理者不具有用于处理待处理垃圾的用品的提示信息。In some optional implementations of this embodiment, the sending unit 702 is further configured to send the image of the handler to the blockchain system for processing, so as to determine whether the handler has supplies for processing the garbage to be processed; show The unit 703 is further configured to, in response to receiving from the blockchain system indicating that the processor does not have supplies for processing the waste to be processed, presenting a prompt message indicating that the processor does not have supplies for processing the waste to be processed .

本公开的上述实施例提供的装置,通过获取单元获取待处理垃圾的图像;发送单元将待处理垃圾的图像发送至区块链系统进行处理,以确定待处理垃圾是否符合预设处理条件;展示单元响应于从区块链系统接收到用于指示待处理垃圾不符合预设处理条件的提示信息,展示用于指示待处理垃圾不符合预设处理条件的提示信息。由此可以实现对待处理垃圾的自动化处理,同时保证垃圾处理过程的正确性。In the device provided by the above-mentioned embodiments of the present disclosure, the image of the garbage to be treated is obtained through the acquisition unit; the sending unit sends the image of the garbage to be treated to the blockchain system for processing, so as to determine whether the garbage to be treated meets the preset processing conditions; show The unit displays the prompt information indicating that the garbage to be processed does not meet the preset processing conditions in response to receiving the prompt information indicating that the garbage to be processed does not meet the preset processing conditions from the blockchain system. Thereby, the automatic processing of the garbage to be processed can be realized, and the correctness of the garbage disposal process can be ensured at the same time.

下面参考图8,其示出了适于用来实现本公开的实施例的垃圾处理设备(如图1所示的垃圾处理设备101、102)800的结构示意图。本公开的实施例中的垃圾处理设备可以包括但不限于诸如垃圾桶、垃圾箱、垃圾车等等各种用于处理垃圾的设备。图8示出的垃圾处理设 仅仅是一个示例,不应对本公开的实施例的功能和使用范围带来任何限制。Referring next to FIG. 8 , it shows a schematic structural diagram of a garbage disposal apparatus (eg, the garbage disposal apparatuses 101 , 102 shown in FIG. 1 ) 800 suitable for implementing embodiments of the present disclosure. The garbage processing equipment in the embodiment of the present disclosure may include, but is not limited to, various equipment for processing garbage, such as trash cans, garbage bins, garbage trucks, and the like. The garbage disposal device shown in FIG. 8 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.

如图8所示,垃圾处理设备800可以包括处理装置(如中央处理器、图形处理器等)801、存储装置802、信息展示装置803和图像采集装置804。As shown in FIG. 8 , the garbage processing equipment 800 may include a processing device (such as a central processing unit, a graphics processor, etc.) 801 , a storage device 802 , an information display device 803 and an image acquisition device 804 .

处理装置801可以根据存储在存储装置802(如只读存储器、随机访问存储器等)中的程序而执行各种适当的动作和处理。在存储装置中,还存储有垃圾处理设备800操作所需的各种程序和数据。The processing device 801 may perform various suitable actions and processes according to programs stored in the storage device 802 (eg, read-only memory, random access memory, etc.). In the storage device, various programs and data necessary for the operation of the garbage disposal apparatus 800 are also stored.

信息展示装置803可以是各种用于展示信息的装置(如显示屏、麦克风等等)。图像采集装置804可以是各种用于采集图像的装置(如摄像头、录像机等)。The information display device 803 may be various devices for displaying information (eg, a display screen, a microphone, etc.). The image capturing device 804 may be various devices for capturing images (eg, camera, video recorder, etc.).

需要说明的是,根据实际的应用需求,垃圾处理设备800还可以具有其他各种功能的装置,以实现不同的功能。虽然图8示出了具有各种装置的垃圾处理设备800,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。图8中示出的每个方框可以代表一个装置,也可以根据需要代表多个装置。It should be noted that, according to actual application requirements, the garbage disposal device 800 may also have other devices with various functions to realize different functions. While FIG. 8 shows a waste disposal facility 800 having various devices, it should be understood that not all of the illustrated devices are required to be implemented or available. More or fewer devices may alternatively be implemented or provided. Each block shown in FIG. 8 can represent one device, and can also represent multiple devices as required.

下面参考图9,其示出了适于用来实现本公开的实施例的服务器(例如图1中的区块链系统104)900的结构示意图。图9示出的服务器仅仅是一个示例,不应对本公开的实施例的功能和使用范围带来任何限制。Referring next to FIG. 9, a schematic structural diagram of a server (eg, blockchain system 104 in FIG. 1) 900 suitable for implementing embodiments of the present disclosure is shown. The server shown in FIG. 9 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.

如图9所示,电子设备900可以包括处理装置(例如中央处理器、图形处理器等)901,其可以根据存储在只读存储器(ROM)902中的程序或者从存储装置908加载到随机访问存储器(RAM)903中的程序而执行各种适当的动作和处理。在RAM 903中,还存储有电子设备900操作所需的各种程序和数据。处理装置901、ROM 902以及RAM 903通过总线904彼此相连。输入/输出(I/O)接口905也连接至总线904。As shown in FIG. 9 , an electronic device 900 may include a processing device (eg, a central processing unit, a graphics processor, etc.) 901 that may be loaded into random access according to a program stored in a read only memory (ROM) 902 or from a storage device 908 Various appropriate actions and processes are executed by the programs in the memory (RAM) 903 . In the RAM 903, various programs and data necessary for the operation of the electronic device 900 are also stored. The processing device 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904. An input/output (I/O) interface 905 is also connected to bus 904 .

通常,以下装置可以连接至I/O接口905:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置 906;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置907;包括例如磁带、硬盘等的存储装置908;以及通信装置909。通信装置909可以允许电子设备900与其他设备进行无线或有线通信以交换数据。虽然图9示出了具有各种装置的电子设备900,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。图9中示出的每个方框可以代表一个装置,也可以根据需要代表多个装置。Typically, the following devices can be connected to the I/O interface 905: input devices 906 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 907 such as a computer; a storage device 908 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909 . The communication means 909 may allow the electronic device 900 to communicate wirelessly or by wire with other devices to exchange data. While FIG. 9 shows an electronic device 900 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in FIG. 9 can represent one device, and can also represent multiple devices as needed.

特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置909从网络上被下载和安装,或者从存储装置908被安装,或者从ROM 902被安装。在该计算机程序被处理装置901执行时,执行本公开的实施例的方法中限定的上述功能。In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via the communication device 909, or from the storage device 908, or from the ROM 902. When the computer program is executed by the processing device 901, the above-described functions defined in the methods of the embodiments of the present disclosure are executed.

需要说明的是,本公开的实施例所述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开的实施例中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开的实施例中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可 以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium described in the embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. Rather, in embodiments of the present disclosure, a computer-readable signal medium may include a data signal in baseband or propagated as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.

上述计算机可读介质可以是上述服务器中所包含的;也可以是单独存在,而未装配入该服务器中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该服务器执行时,使得该服务器:执行如下确定步骤:从垃圾处理设备接收待处理垃圾的图像;根据待处理垃圾的图像,确定待处理垃圾是否符合预设处理条件;该服务器响应于确定待处理垃圾不符合预设处理条件,生成用于提示待处理垃圾不符合预设处理条件的提示信息以及发送至垃圾处理设备,以及生成针对待处理垃圾的区块链存证信息。The above-mentioned computer-readable medium may be included in the above-mentioned server; or may exist alone without being assembled into the server. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the server, the server: executes the following determination steps: receiving images of the garbage to be processed from the garbage disposal equipment; to determine whether the garbage to be processed meets the preset processing conditions; the server, in response to determining that the garbage to be processed does not meet the preset processing conditions, generates a prompt message for prompting that the garbage to be processed does not meet the preset processing conditions, and sends it to the garbage disposal equipment, and generate blockchain certificate information for garbage to be processed.

上述计算机可读介质还可以是上述垃圾处理设备中所包含的;也可以是单独存在,而未装配入该垃圾处理设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该垃圾处理设备执行时,使得该垃圾处理设备:获取待处理垃圾的图像;将待处理垃圾的图像发送至区块链系统进行处理,以确定待处理垃圾是否符合预设处理条件;响应于从区块链系统接收到用于指示待处理垃圾不符合预设处理条件的提示信息,展示用于指示待处理垃圾不符合预设处理条件的提示信息。The above-mentioned computer-readable medium may also be included in the above-mentioned garbage disposal apparatus; or may exist alone without being assembled into the garbage disposal apparatus. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the garbage disposal equipment, the garbage disposal equipment: acquires the image of the garbage to be processed; sends the image of the garbage to be processed to the district The blockchain system performs processing to determine whether the garbage to be treated meets the preset treatment conditions; in response to receiving the prompt information from the blockchain system indicating that the garbage to be treated does not meet the preset treatment conditions, display the garbage to indicate that the garbage to be treated does not meet the preset treatment conditions. A prompt message that does not meet the preset processing conditions.

可以以一种或多种程序设计语言或其组合来编写用于执行本公开的实施例的操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)——连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of embodiments of the present disclosure may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, or a combination thereof, Also included are conventional procedural programming languages - such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider to via Internet connection).

附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.

描述于本公开的实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括执行单元和生成单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,执行单元还可以被描述为“执行如下确定步骤的单元:从垃圾处理设备接收待处理垃圾的图像;根据待处理垃圾的图像,确定待处理垃圾是否符合预设处理条件”。The units involved in the embodiments of the present disclosure may be implemented in software or hardware. The described unit may also be provided in a processor, for example, it may be described as: a processor includes an execution unit and a generation unit. Among them, the names of these units do not constitute a limitation of the unit itself in some cases, for example, the execution unit can also be described as "a unit that performs the following determination steps: receiving images of garbage to be treated from garbage disposal equipment; according to Images of the garbage to be treated to determine whether the garbage to be treated meets the preset treatment conditions".

以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开的实施例中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开的实施例中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, and should also cover, without departing from the above-mentioned inventive concept, the above-mentioned Other technical solutions formed by any combination of technical features or their equivalent features. For example, a technical solution is formed by replacing the above-mentioned features with the technical features disclosed in the embodiments of the present disclosure (but not limited to) with similar functions.

Claims (15)

一种用于处理垃圾的方法,应用于区块链系统,包括:A method for dealing with garbage, applied to a blockchain system, including: 执行如下确定步骤:Perform the following determination steps: 从垃圾处理设备接收待处理垃圾的图像;以及receiving images of garbage to be disposed of from a garbage disposal facility; and 根据所述待处理垃圾的图像,确定所述待处理垃圾是否符合预设处理条件;According to the image of the garbage to be processed, determine whether the garbage to be processed meets the preset processing conditions; 所述方法还包括:The method also includes: 响应于确定所述待处理垃圾不符合预设处理条件,生成用于提示所述待处理垃圾不符合预设处理条件的提示信息以及发送至所述垃圾处理设备,以及生成针对所述待处理垃圾的区块链存证信息。In response to determining that the garbage to be processed does not meet the preset processing conditions, generating prompt information for prompting that the garbage to be processed does not meet the preset processing conditions and sending it to the garbage processing equipment, and generating a message for the garbage to be processed. The blockchain certificate information. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1, wherein the method further comprises: 响应于确定所述待处理垃圾符合预设处理条件,且响应于确定从所述垃圾处理设备接收到用于指示对所述待处理垃圾处理完成的信息,生成针对所述待处理垃圾的区块链存证信息。generating a block for the garbage to be processed in response to determining that the garbage to be processed meets a preset processing condition, and in response to determining that information indicating completion of processing of the garbage to be processed is received from the garbage processing device Chain certificate information. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1, wherein the method further comprises: 从所述垃圾处理设备接收所述待处理垃圾的处理者的图像;receiving an image of a processor of the garbage to be disposed of from the garbage disposal facility; 根据所述处理者的图像,确定所述处理者是否属于所述区块链系统的认证用户;以及determining, based on the image of the processor, whether the processor is an authenticated user of the blockchain system; and 响应于确定所述处理者不属于所述区块链系统的认证用户,生成用于提示所述处理者不属于所述区块链系统的认证用户的提示信息以及发送至所述垃圾处理设备;In response to determining that the processor does not belong to an authenticated user of the blockchain system, generating a prompt message for prompting that the processor does not belong to an authenticated user of the blockchain system and sending it to the garbage disposal facility; 所述执行如下确定步骤包括:响应于确定所述处理者属于所述区块链系统的认证用户,执行所述确定步骤。The performing the determining step includes performing the determining step in response to determining that the processor belongs to an authenticated user of the blockchain system. 根据权利要求3所述的方法,其中,所述方法还包括:The method of claim 3, wherein the method further comprises: 根据所述处理者的图像,确定所述处理者是否具有用于处理所述待处理垃圾的用品;determining, based on the image of the processor, whether the processor has supplies for disposing of the waste to be disposed of; 所述响应于确定所述处理者属于所述区块链系统的认证用户,执行所述确定步骤,包括:In response to determining that the processor belongs to an authenticated user of the blockchain system, performing the determining step includes: 响应于确定所述处理者具有用于处理所述待处理垃圾的用品,且响应于确定所述处理者属于所述区块链系统的认证用户,执行所述确定步骤;performing the determining step in response to determining that the processor has supplies for processing the waste to be disposed of, and in response to determining that the processor is an authenticated user of the blockchain system; 所述方法还包括:The method also includes: 响应于确定所述处理者不具有用于处理所述待处理垃圾的用品,生成用于提示所述处理者不具有用于处理所述待处理垃圾的用品的提示信息以及发送至所述垃圾处理设备。In response to determining that the processor does not have supplies to dispose of the waste to be disposed of, generating and sending to the disposal a prompt message indicating that the processor does not have supplies to dispose of the waste to be disposed of equipment. 一种用于处理垃圾的方法,应用于垃圾处理设备,包括:A method for treating garbage, applied to garbage disposal equipment, comprising: 获取待处理垃圾的图像;Get an image of the garbage to be processed; 将所述待处理垃圾的图像发送至区块链系统进行处理,以确定所述待处理垃圾是否符合预设处理条件;Send the image of the garbage to be processed to the blockchain system for processing to determine whether the garbage to be processed meets the preset processing conditions; 响应于从所述区块链系统接收到用于指示所述待处理垃圾不符合预设处理条件的提示信息,展示用于指示所述待处理垃圾不符合预设处理条件的提示信息。In response to receiving the prompt information indicating that the garbage to be processed does not meet the preset processing conditions from the blockchain system, displaying prompt information indicating that the garbage to be processed does not meet the preset processing conditions. 根据权利要求5所述的方法,其中,在所述获取待处理垃圾的图像之前,所述方法还包括:The method according to claim 5, wherein before the acquiring the image of the garbage to be processed, the method further comprises: 获取所述待处理垃圾的处理者的图像;obtaining an image of the processor of the garbage to be disposed of; 将所述处理者的图像发送至所述区块链系统进行处理,以确定所述处理者是否属于所述区块链系统的认证用户;sending the image of the processor to the blockchain system for processing to determine whether the processor is an authenticated user of the blockchain system; 响应于从所述区块链系统接收到用于指示所述处理者不属于所述区块链系统的认证用户的提示信息,展示用于指示所述处理者不属于所述区块链系统的认证用户的提示信息。In response to receiving a prompt from the blockchain system indicating that the processor does not belong to an authenticated user of the blockchain system, displaying a message indicating that the processor does not belong to the blockchain system Prompt information for authenticated users. 根据权利要求5所述的方法,其中,所述方法还包括:The method of claim 5, wherein the method further comprises: 将所述处理者的图像发送至所述区块链系统进行处理,以确定所述处理者是否具有用于处理所述待处理垃圾的用品;sending an image of the processor to the blockchain system for processing to determine whether the processor has supplies for processing the waste to be disposed of; 响应于从所述区块链系统接收到用于指示所述处理者不具有用于处理所述待处理垃圾的用品,展示用于指示所述处理者不具有用于处理所述待处理垃圾的用品的提示信息。In response to receiving from the blockchain system indicating that the handler does not have supplies for processing the waste to be disposed of, presenting a means to indicate that the processor does not have the means to dispose of the waste to be disposed of Tips for supplies. 一种用于处理垃圾的系统,包括区块链系统和垃圾处理设备;其中,A system for disposing of garbage, including a blockchain system and garbage disposal equipment; wherein, 所述垃圾处理设备,用于获取待处理垃圾的图像,以及将所述待处理垃圾的图像发送至所述区块链系统;The garbage processing equipment is used to obtain the image of the garbage to be processed, and send the image of the garbage to be processed to the blockchain system; 所述区块链系统,用于执行如下确定步骤:根据所述待处理垃圾的图像,确定所述待处理垃圾是否符合预设处理条件;The blockchain system is configured to perform the following determination steps: according to the image of the garbage to be treated, determine whether the garbage to be treated meets the preset processing conditions; 所述区块链系统,进一步用于响应于确定所述待处理垃圾不符合预设处理条件,生成用于提示所述待处理垃圾不符合预设处理条件的提示信息以及发送至所述垃圾处理设备,以及生成针对所述待处理垃圾的区块链存证信息;The blockchain system is further configured to, in response to determining that the garbage to be treated does not meet the preset treatment conditions, generate prompt information for prompting that the garbage to be treated does not meet the preset treatment conditions, and send it to the garbage disposal equipment, and generating blockchain certification information for the garbage to be processed; 所述垃圾处理设备,进一步用于展示用于提示所述待处理垃圾不符合预设处理条件的提示信息。The garbage processing equipment is further configured to display prompt information for prompting that the garbage to be processed does not meet the preset processing conditions. 根据权利要求8所述的系统,其中,所述垃圾处理设备,进一步用于获取所述待处理垃圾的处理者的图像,以及将所述处理者的图像发送至所述区块链系统;The system according to claim 8, wherein the garbage processing equipment is further configured to obtain an image of a processor of the garbage to be processed, and send the image of the processor to the blockchain system; 所述区块链系统,进一步用于根据所述处理者的图像,确定所述处理者是否属于所述区块链系统的认证用户;响应于确定所述处理者属于所述区块链系统的认证用户,执行所述确定步骤;响应于确定所述处理者不属于所述区块链系统的认证用户,生成用于提示所述处理者不属于所述区块链系统的认证用户的提示信息以及发送至所述垃圾处理设备;The blockchain system is further configured to determine whether the processor belongs to an authenticated user of the blockchain system according to the image of the processor; in response to determining that the processor belongs to the blockchain system Authenticating the user, and executing the determining step; in response to determining that the processor does not belong to an authenticated user of the blockchain system, generating prompt information for prompting that the processor does not belong to an authenticated user of the blockchain system and sent to said garbage disposal facility; 所述垃圾处理设备,进一步用于展示用于提示所述处理者不属于所述区块链系统的认证用户的提示信息。The garbage disposal device is further configured to display prompt information for prompting that the processor does not belong to the authenticated user of the blockchain system. 根据权利要求9所述的系统,所述区块链系统进一步用于根 据所述处理者的图像,确定所述处理者是否具有用于处理所述待处理垃圾的用品;响应于确定所述处理者具有用于处理所述待处理垃圾的用品,且响应于确定所述处理者属于所述区块链系统的认证用户,执行所述确定步骤;响应于确定所述处理者不具有用于处理所述待处理垃圾的用品,生成用于提示所述处理者不具有用于处理所述待处理垃圾的用品的提示信息以及发送至所述垃圾处理设备;10. The system of claim 9, the blockchain system further configured to determine, based on an image of the processor, whether the processor has supplies for disposing of the waste to be disposed of; in response to determining the disposition the processor has supplies for disposal of the waste to be disposed of, and in response to determining that the processor is an authenticated user of the blockchain system, the determining step is performed; in response to determining that the processor does not have the means for disposal For the supplies for the garbage to be treated, a prompt message for prompting the handler not to have the supplies for the garbage to be processed is generated and sent to the garbage disposal equipment; 所述垃圾处理设备,进一步用于展示用于提示所述处理者不具有用于处理所述待处理垃圾的用品的提示信息。The garbage disposal equipment is further configured to display prompt information for prompting the processor not to have supplies for disposal of the garbage to be treated. 一种用于处理垃圾的装置,包括:A device for disposing of garbage, comprising: 执行单元,被配置成执行如下确定步骤:从垃圾处理设备接收待处理垃圾的图像;根据所述待处理垃圾的图像,确定所述待处理垃圾是否符合预设处理条件;an execution unit, configured to perform the following determining steps: receiving an image of the garbage to be processed from the garbage processing equipment; determining whether the garbage to be processed meets a preset processing condition according to the image of the garbage to be processed; 生成单元,被配置成响应于确定所述待处理垃圾不符合预设处理条件,生成用于提示所述待处理垃圾不符合预设处理条件的提示信息以及发送至所述垃圾处理设备,以及生成针对所述待处理垃圾的区块链存证信息。a generating unit, configured to, in response to determining that the garbage to be processed does not meet the preset processing conditions, generate prompt information for prompting that the garbage to be processed does not meet the preset processing conditions and send it to the garbage processing equipment, and generate The blockchain certificate information for the garbage to be processed. 一种用于处理垃圾的装置,包括:A device for disposing of garbage, comprising: 获取单元,被配置成获取待处理垃圾的图像;an acquisition unit, configured to acquire an image of the garbage to be processed; 发送单元,被配置成将所述待处理垃圾的图像发送至区块链系统进行处理,以确定所述待处理垃圾是否符合预设处理条件;a sending unit, configured to send the image of the garbage to be processed to the blockchain system for processing, so as to determine whether the garbage to be processed meets the preset processing conditions; 展示单元,被配置成响应于从所述区块链系统接收到用于指示所述待处理垃圾不符合预设处理条件的提示信息,展示用于指示所述待处理垃圾不符合预设处理条件的提示信息。a display unit, configured to display the information indicating that the garbage to be processed does not meet the preset processing conditions in response to receiving the prompt information from the blockchain system for indicating that the garbage to be processed does not meet the preset processing conditions prompt information. 一种服务器,包括:A server that includes: 一个或多个处理器;one or more processors; 存储装置,其上存储有一个或多个程序;a storage device on which one or more programs are stored; 当所述一个或多个程序被所述一个或多个处理器执行,使得所述 一个或多个处理器实现如权利要求1-4中任一所述的方法。The one or more programs, when executed by the one or more processors, cause the one or more processors to implement a method as claimed in any one of claims 1-4. 一种垃圾处理设备,包括:A garbage disposal device, comprising: 一个或多个处理器;one or more processors; 存储装置,其上存储有一个或多个程序;a storage device on which one or more programs are stored; 图像采集装置,被配置成采集图像;an image capture device configured to capture images; 当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求5-7中任一所述的方法。The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 5-7. 一种计算机可读介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如权利要求1-4或5-7中任一所述的方法。A computer-readable medium on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-4 or 5-7.
PCT/CN2021/108817 2020-08-18 2021-07-28 Garbage processing method, apparatus, and system Ceased WO2022037373A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010829634.3A CN111967390A (en) 2020-08-18 2020-08-18 Method, device and system for treating garbage
CN202010829634.3 2020-08-18

Publications (1)

Publication Number Publication Date
WO2022037373A1 true WO2022037373A1 (en) 2022-02-24

Family

ID=73387755

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/108817 Ceased WO2022037373A1 (en) 2020-08-18 2021-07-28 Garbage processing method, apparatus, and system

Country Status (2)

Country Link
CN (1) CN111967390A (en)
WO (1) WO2022037373A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115713685A (en) * 2022-11-28 2023-02-24 浙江净禾智慧科技有限公司 AI (Artificial intelligence) supervision method for garbage classification

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111967390A (en) * 2020-08-18 2020-11-20 北京海益同展信息科技有限公司 Method, device and system for treating garbage
CN113922950B (en) * 2021-11-15 2022-11-22 江苏荣麒循环科技有限公司 Electronic waste recycling transaction system based on block chain technology

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160078414A1 (en) * 2013-05-03 2016-03-17 Ecowastehub Corp. Solid waste identification and segregation system
CN110189058A (en) * 2019-06-14 2019-08-30 吉林建筑大学 A blockchain-based municipal environmental management control system
US20200034785A1 (en) * 2018-07-27 2020-01-30 The Heil Co. Refuse contamination analysis
CN110851866A (en) * 2019-11-12 2020-02-28 福建福链科技有限公司 Garbage classification method and system based on block chain
CN111967390A (en) * 2020-08-18 2020-11-20 北京海益同展信息科技有限公司 Method, device and system for treating garbage

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160078414A1 (en) * 2013-05-03 2016-03-17 Ecowastehub Corp. Solid waste identification and segregation system
US20200034785A1 (en) * 2018-07-27 2020-01-30 The Heil Co. Refuse contamination analysis
CN110189058A (en) * 2019-06-14 2019-08-30 吉林建筑大学 A blockchain-based municipal environmental management control system
CN110851866A (en) * 2019-11-12 2020-02-28 福建福链科技有限公司 Garbage classification method and system based on block chain
CN111967390A (en) * 2020-08-18 2020-11-20 北京海益同展信息科技有限公司 Method, device and system for treating garbage

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115713685A (en) * 2022-11-28 2023-02-24 浙江净禾智慧科技有限公司 AI (Artificial intelligence) supervision method for garbage classification

Also Published As

Publication number Publication date
CN111967390A (en) 2020-11-20

Similar Documents

Publication Publication Date Title
Ndiaye et al. IoT in the wake of COVID-19: A survey on contributions, challenges and evolution
Raghuvanshi et al. A review of various security and privacy innovations for IoT applications in healthcare
Al-Khateeb et al. Blockchain for modern digital forensics: The chain-of-custody as a distributed ledger
WO2022037373A1 (en) Garbage processing method, apparatus, and system
CN110245510A (en) Method and device for forecasting information
CN110458662B (en) Anti-fraud wind control method and device
Kebande et al. Mapping digital forensic application requirement specification to an international standard
CN106101092A (en) A kind of information evaluation processing method and first instance
US11763547B2 (en) Monitoring devices at enterprise locations using machine-learning models to protect enterprise-managed information and resources
CN104168117B (en) A kind of speech digit endorsement method
WO2025036067A1 (en) Living-body detection information generation method and apparatus, and device, medium and program product
CN110148441A (en) A kind of clinical test electronic data acquisition management method and device based on block chain
CN111464489B (en) Privacy protection method and system for Internet of things equipment
CN120809043A (en) Emergency patient information data matching method and system based on Internet
Yoon Is crisis and emergency risk communication as effective as vaccination for preventing virus diffusion? Measuring the impacts of failure in CERC with MERS‐CoV outbreak in South Korea
CN110447049A (en) Information processing apparatus and information processing method
CN112383737A (en) Multi-user online content same-screen video processing verification method and device and electronic equipment
CN116110159B (en) User authentication method, device and medium based on CFCA authentication standard
Bergeri et al. WHO's Investigations and Studies, Unity Studies: A global initiative creating equitable opportunities for enhanced surveillance, operational research, capacity building, and global knowledge sharing
Baror et al. A framework for concurrent contact-tracing and digital evidence analysis in heterogeneous environments
CN115375508A (en) Property information management method, system, equipment and medium suitable for future communities
Antony et al. Ransomware attacks on healthcare systems: Case studies and mitigation strategies
CN113935874A (en) District chain-based book management system for studying income
Ahram et al. Human Factors in Cybersecurity
US20250124743A1 (en) Data collection for sign language recognition

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21857468

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21857468

Country of ref document: EP

Kind code of ref document: A1