# US 2024/0202852 A1 · Methods for cleaning communal facilities in smart cities based on the internet of things, systems, and mediums

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0202852 A1
- Document ID: US20240202852A1
- Status: Published application
- Kind: A1
- Application number: 18/587,885
- Filed: 2024-02-26
- Published: 2024-06-20
- Earliest claimed: 2022-10-21
- Assignees: Chengdu Qinchuan Iot Technology Co., Ltd.
- Applicants: Chengdu Qinchuan Iot Technology Co., Ltd.
- Inventors: Zehua SHAO; Yaqiang QUAN; Junyan ZHOU; Xiaojun WEI; Zhihui WEN
- Web page: https://patentgrep.com/patent/US20240202852A1

## CPC

- G06Q 50/26: Government or public services (business processes related to the transportation industry G06Q50/40)
- G05D 1/0219: {ensuring the processing of the whole working surface}
- G05D 1/648: Performing a task within a working area or space, e.g. cleaning
- G06V 10/82: using neural networks
- G06V 20/52: Surveillance or monitoring of activities, e.g. for recognising suspicious objects (recognising microscopic objects G06V20/69)
- G16Y 20/10: relating to the environment, e.g. temperature; relating to location
- G16Y 40/10: Detection; Monitoring
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06Q: INFORMATION 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
- G05D: SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G16Y: INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The present disclosure provides a method for cleaning communal facilities in a smart city based on an Internet of Things. The method includes: obtaining first cleanliness information of the communal facilities in a target area at a first time point; obtaining weather information, construction information, factory information, and traffic information of the target area during a target time period; determining second cleanliness information of the communal facilities at the second time point based on the first cleanliness information, the weather information, the construction information, the factory information, and the traffic information through a cleanliness assessment model; determining, based on the second cleanliness information, target cleanliness information of the communal facilities at the second time point; determining the communal facilities as target communal facilities when the target cleanliness information satisfies a preset condition, and determining cleaning instructions for cleaning the target communal facilities and sending them to an object platform.

## Claims

### Claim 1

A method for cleaning communal facilities in a smart city based on an Internet of Things, the method is applied to a management platform of a system for cleaning the communal facilities in the smart city, comprising:
obtaining first cleanliness information of the communal facilities in a target area at a first time point, wherein the first time point is a time point when the communal facilities were cleaned for last time, and the first cleanliness information includes a first ash deposit degree score;
obtaining weather information, construction information, factory information, and traffic information of the target area during a target time period, wherein the target time period is a time period between the first time point and a second time point;
determining second cleanliness information of the communal facilities at the second time point based on the first cleanliness information, the weather information, the construction information, the factory information, and the traffic information through a cleanliness assessment model; wherein the second cleanliness information includes a second ash deposit degree score, the cleanliness assessment model is a trained machine learning model, and the cleanliness assessment model includes at least a vectorization processing layer and a cleanliness assessment layer, wherein,
inputs of the vectorization processing layer include the weather information, the construction information, the factory information, and the traffic information, and outputs of the vectorization processing layer include vector information;
inputs of the cleanliness assessment layer include the vector information and the first cleanliness information, and outputs of the cleanliness determination layer include the second ash deposit degree score;
the vectorization processing layer and the cleanliness assessment layer are obtained by joint training based on a large number of training samples with labels, the training samples include historical first clean information, historical weather information, historical construction information, historical factory information, and historical traffic information, and the labels include the second ash deposit degree score; wherein the joint training includes:
inputting the large number of training samples to an initial vectorization processing layer;
inputting an output of the initial vectorization processing layer to an initial cleanliness assessment layer;
constructing a loss function based on the output of the initial cleanliness assessment layer and the labels, obtaining a trained vectorization processing layer and a trained cleanliness assessment layer by iteratively updating parameters of the initial vectorization processing layer and the initial cleanliness assessment layer based on the loss function until a first preset condition is satisfied, wherein the first preset condition is that the loss function is less than a threshold, converges, or a training period reaches a threshold;
determining, based on the second cleanliness information, target cleanliness information of the communal facilities at the second time point, wherein the target cleanliness information includes a target ash deposit degree score;
determining the communal facilities as target communal facilities when the target cleanliness information of the communal facilities satisfies a second preset condition, and determining cleaning instructions for cleaning the target communal facilities; and
sending the cleaning instructions to an object platform through a sensor network platform, wherein the object platform is configured to clean the target communal facilities.

### Claim 2 (depends on 1)

The method of claim 1, wherein the obtaining first cleanliness information of the communal facilities in a target area at a first time point includes:
obtaining, through the object platform, a first image of the communal facilities at the first time point; and
determining the first cleanliness information of the communal facilities based on the first image through a cleanliness determination model, wherein the cleanliness determination model is a machine learning model.

### Claim 3 (depends on 2)

The method of claim 2, wherein the cleanliness determination model includes a feature extraction layer and a cleanliness determination layer, wherein
an input of the feature extraction layer includes a first image, and an output of the feature extraction layer includes image features; and
an input of the cleanliness determination layer includes the image features, an output of the cleanliness determination layer includes the first ash deposit degree score.

### Claim 4 (depends on 3)

The method of claim 3, wherein the feature extraction layer and the cleanliness determination layer are obtained by joint training based on a large number of training samples with labels, the training samples include historical communal facilities images and the labels is the first deposit ash degree score corresponding to the historical communal facilities images; a process of the joint training includes:
inputting the large number of training samples with labels to an initial feature extraction layer;
inputting an output of the initial feature extraction layer to an initial cleanliness determination layer; and
constructing a loss function based on the output of the initial cleanliness determination layer and the labels, obtaining a trained feature extraction layer and a trained cleanliness determination layer by iteratively updating parameters of the initial feature extraction layer and the initial cleanliness determination layer based on the loss function until a third preset condition is satisfied, wherein the third preset condition is that the loss function is less than a threshold, converges, or a training period reaches a threshold.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first ash deposit degree score represents cleanliness of the communal facilities at the first time point, the second ash deposit degree score represents cleanliness of the communal facilities at the second time point.

### Claim 6 (depends on 4)

The method of claim 4, wherein the determining, based on the second cleanliness information, target cleanliness information of the communal facilities at the second time point includes:
when the second ash deposit degree score is greater than a preset ash deposit degree threshold, performing a plurality of rounds of iterative updates on the second ash deposit degree score based on a preset algorithm to obtain an updated second ash deposit degree score; and
determining, based on the updated second ash deposit degree score, the target ash deposit degree score.

### Claim 7 (depends on 6)

The method of claim 6, wherein the performing a plurality of rounds of iterative updates on the second ash deposit degree score based on a preset algorithm to obtain an updated second ash deposit degree score includes:
obtaining reference ash deposit degree scores of a plurality of reference communal facilities in the target area at the second time point;
obtaining first facility information of the communal facilities and second facility information of the plurality of reference communal facilities;
constructing graph structure data based on the first facility information, the second facility information, the second deposit ash degree score, and the reference deposit ash degree scores;
determining nodes corresponding to the communal facilities as first nodes to be updated;
for each of the plurality of reference communal facilities, determining a node corresponding to a reference communal facility as a second node to be updated when a reference ash deposit degree score corresponding to the reference communal facility is greater than an ash deposit level threshold;
for each of the plurality of rounds of iterative updates, updating the first nodes to be updated to obtain updated first nodes to be updated, and updating the second nodes to be updated to obtain updated second nodes to be updated; and
when the plurality of rounds of iterative update satisfies a preset iteration stopping condition, stopping the plurality of rounds of iterative update, and determining the second deposit ash degree score corresponding to the updated first nodes to be updated as the updated second deposit ash degree score.

### Claim 8 (depends on 6)

The method of claim 6, wherein the determining, based on the updated second ash deposit degree score, the target ash deposit degree score includes:
obtaining, through the object platform, a second image of the communal facilities at the second time point;
determining, based on the second image, third cleanliness information of the communal facilities, wherein the third cleanliness information includes a third ash deposit degree score; and
determining, based on the updated second ash deposit degree score and the third ash deposit degree score, the target ash deposit degree score.

### Claim 9 (depends on 1)

The method of claim 1, wherein the determining cleaning instructions for cleaning the target communal facilities includes:
obtaining target facility information of the target communal facilities; and
determining, based on the target facility information and the target cleanliness information, the cleaning instructions.

### Claim 10

A system for cleaning communal facilities in a smart city based on an Internet of Things, comprising a user platform, a service platform, a management platform, a sensor network platform, and an object platform, wherein the management platform is configured to:
obtain first cleanliness information of the communal facilities in a target area at a first time point, wherein the first time point is a time point when the communal facilities were cleaned for last time, and the first cleanliness information includes a first ash deposit degree score;
obtain weather information, construction information, factory information, and traffic information of the target area during a target time period, wherein the target time period is a time period between the first time point and a second time point;
determine second cleanliness information of the communal facilities at the second time point based on the first cleanliness information, the weather information, the construction information, the factory information, and the traffic information through a cleanliness assessment model; wherein the second cleanliness information includes a second ash deposit degree score, the cleanliness assessment model is a trained machine learning model, and the cleanliness assessment model includes at least a vectorization processing layer and a cleanliness assessment layer, wherein,
inputs of the vectorization processing layer include the weather information, the construction information, the factory information, and the traffic information, and outputs of the vectorization processing layer include vector information;
inputs of the cleanliness assessment layer include the vector information and the first cleanliness information, and outputs of the cleanliness determination layer include the second ash deposit degree score;
the vectorization processing layer and the cleanliness assessment layer are obtained by joint training based on a large number of training samples with labels, the training samples include historical first clean information, historical weather information, historical construction information, historical factory information, and historical traffic information, and the labels include the second ash deposit degree score; wherein the joint training includes:
inputting the large number of training samples to an initial vectorization processing layer;
inputting an output of the initial vectorization processing layer to an initial cleanliness assessment layer;
constructing a loss function based on the output of the initial cleanliness assessment layer and the labels, obtaining a trained vectorization processing layer and a trained cleanliness assessment layer by iteratively updating parameters of the initial vectorization processing layer and the initial cleanliness assessment layer based on the loss function until a first preset condition is satisfied, wherein the first preset condition is that the loss function is less than a threshold, converges, or a training period reaches a threshold;
determine, based on the second cleanliness information, target cleanliness information of the communal facilities at the second time point, wherein the target cleanliness information includes a target ash deposit degree score;
determine the communal facilities as target communal facilities when the target cleanliness information of the communal facilities satisfies a second preset condition, and determine cleaning instructions for cleaning the target communal facilities; and
send the cleaning instructions to an object platform through a sensor network platform, wherein the object platform is configured to clean the target communal facilities.

### Claim 11 (depends on 9)

The system of claim 9, wherein the management platform is further configured to:
obtain, through the object platform, a first image of the communal facilities at the first time point; and
determine the first cleanliness information of the communal facilities based on the first image through a cleanliness determination model, wherein the cleanliness determination model is a machine learning model.

### Claim 12 (depends on 11)

The system of claim 11, wherein he cleanliness determination model includes a feature extraction layer and a cleanliness determination layer, wherein
an input of the feature extraction layer includes a first image, and an output of the feature extraction layer includes image features; and
an input of the cleanliness determination layer includes the image features, an output of the cleanliness determination layer includes the first ash deposit degree score.

### Claim 13 (depends on 12)

The method of claim 12, wherein the feature extraction layer and the cleanliness determination layer are obtained by joint training based on a large number of training samples with labels, the training samples include historical communal facilities images and the labels is the first deposit ash degree score corresponding to the historical communal facilities images; a process of the joint training includes:
inputting the large number of training samples with labels to an initial feature extraction layer;
inputting an output of the initial feature extraction layer to an initial cleanliness determination layer; and
constructing a loss function based on the output of the initial cleanliness determination layer and the labels, obtaining a trained feature extraction layer and a trained cleanliness determination layer by iteratively updating parameters of the initial feature extraction layer and the initial cleanliness determination layer based on the loss function until a third preset condition is satisfied, wherein the third preset condition is that the loss function is less than a threshold, converges, or a training period reaches a threshold.

### Claim 14 (depends on 10)

The system of claim 10, wherein the first ash deposit degree score represents cleanliness of the communal facilities at the first time point, the second ash deposit degree score represents cleanliness of the communal facilities at the second time point.

### Claim 15 (depends on 10)

The system of claim 10, wherein the management platform is further configured to:
when the second ash deposit degree score is greater than a preset ash deposit degree threshold, perform a plurality of rounds of iterative updates on the second ash deposit degree score based on a preset algorithm to obtain an updated second ash deposit degree score; and
determine, based on the updated second ash deposit degree score, the target ash deposit degree score.

### Claim 16 (depends on 15)

The system of claim 15, wherein the management platform is further configured to:
obtain reference ash deposit degree scores of a plurality of reference communal facilities in the target area at the second time point;
obtain first facility information of the communal facilities and second facility information of the plurality of reference communal facilities;
construct graph structure data based on the first facility information, the second facility information, the second deposit ash degree score, and the reference deposit ash degree scores;
determine nodes corresponding to the communal facilities as first nodes to be updated;
for each of the plurality of reference communal facilities, determine a node corresponding to a reference communal facility as a second node to be updated when a reference ash deposit degree score corresponding to the reference communal facility is greater than an ash deposit level threshold;
for each of the plurality of rounds of iterative updates, update the first nodes to be updated to obtain updated first nodes to be updated, and update the second nodes to be updated to obtain updated second nodes to be updated; and
when the plurality of rounds of iterative update satisfies a preset iteration stopping condition, stop the plurality of rounds of iterative update, and determine the second deposit ash degree score corresponding to the updated first nodes to be updated as the updated second deposit ash degree score.

### Claim 17 (depends on 15)

The system of claim 15, wherein the management platform is further configured to:
obtain, through the object platform, a second image of the communal facilities at the second time point;
determine, based on the second image, third cleanliness information of the communal facilities, wherein the third cleanliness information includes a third ash deposit degree score; and
determine, based on the updated second ash deposit degree score and the third ash deposit degree score, the target ash deposit degree score.

### Claim 18 (depends on 10)

The system of claim 10, wherein the management platform is further configured to:
obtain target facility information of the target communal facilities; and
determine, based on the target facility information and the target cleanliness information, the cleaning instructions.

### Claim 19

A non-transitory readable medium, comprising at least one set of instructions for automatic exposure control, wherein when executed by at least one processor of an electrical device, the at least one set of instructions directs the at least one processor to perform a method, the method comprising:
obtaining first cleanliness information of the communal facilities in a target area at a first time point, wherein the first time point is a time point when the communal facilities were cleaned for last time, and the first cleanliness information includes a first ash deposit degree score;
obtaining weather information, construction information, factory information, and traffic information of the target area during a target time period, wherein the target time period is a time period between the first time point and a second time point;
determining second cleanliness information of the communal facilities at the second time point based on the first cleanliness information, the weather information, the construction information, the factory information, and the traffic information through a cleanliness assessment model, wherein the second cleanliness information includes a second ash deposit degree score, the cleanliness assessment model is a trained machine learning model, and the cleanliness assessment model includes at least a vectorization processing layer and a cleanliness assessment layer, wherein,
inputs of the vectorization processing layer include the weather information, the construction information, the factory information, and the traffic information, and outputs of the vectorization processing layer include vector information;
inputs of the cleanliness assessment layer include the vector information and the first cleanliness information, and outputs of the cleanliness determination layer include the second ash deposit degree score;
the vectorization processing layer and the cleanliness assessment layer are obtained by joint training based on a large number of training samples with labels, the training samples include historical first clean information, historical weather information, historical construction information, historical factory information, and historical traffic information, and the labels include the second ash deposit degree score; wherein the joint training includes:
inputting the large number of training samples to an initial vectorization processing layer;
inputting an output of the initial vectorization processing layer to an initial cleanliness assessment layer;
constructing a loss function based on the output of the initial cleanliness assessment layer and the labels, obtaining a trained vectorization processing layer and a trained cleanliness assessment layer by iteratively updating parameters of the initial vectorization processing layer and the initial cleanliness assessment layer based on the loss function until a first preset condition is satisfied, wherein the first preset condition is that the loss function is less than a threshold, converges, or a training period reaches a threshold;
determining, based on the second cleanliness information, target cleanliness information of the communal facilities at the second time point, wherein the target cleanliness information includes a target ash deposit degree score;
determining the communal facilities as target communal facilities when the target cleanliness information of the communal facilities satisfies a second preset condition, and determining cleaning instructions for cleaning the target communal facilities; and
sending the cleaning instructions to an object platform through a sensor network platform, wherein the object platform is configured to clean the target communal facilities.
