Method and device for determining garbage disposal route, equipment and medium
By acquiring and analyzing garbage data and factor data, and using a mixed integer linear programming model to plan garbage disposal routes, the problems of low garbage disposal efficiency and cost waste are solved, and more efficient garbage disposal is achieved.
Patent Information
- Application Number
- CN202411105438.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-10-29
AI Technical Summary
Existing garbage disposal methods determine garbage collection routes based on the distance between garbage collection points, resulting in low garbage disposal efficiency and waste of costs.
By obtaining the actual garbage data and preset garbage generation factor data of the target area, the mixed integer linear programming model is used to predict the garbage data, and the garbage disposal route is planned based on the predicted data and garbage service data.
It improves the accuracy of garbage disposal routes, improves garbage disposal efficiency, and reduces costs.
Smart Images

Figure CN118863205A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer processing technology, and in particular to a method, device, equipment and medium for determining a garbage disposal route. Background Art
[0002] With the development of society and the acceleration of urbanization, more and more garbage is generated, and the task and pressure of garbage disposal are also increasing.
[0003] The existing garbage disposal method is usually: after the user piles the garbage at the garbage collection point, the transportation personnel use garbage trucks to load the garbage at each garbage collection point in turn according to the distance between the locations of the garbage collection points. After the garbage is full, it is transported to the designated location for subsequent disposal.
[0004] This method of determining the garbage collection route based on the distance between garbage collection points may result in the vehicle being unable to load all the garbage or being empty when collecting garbage, leading to low garbage disposal efficiency and cost waste. Summary of the invention
[0005] The present invention provides a method, device, equipment and medium for determining a garbage disposal route, so as to improve the accuracy of route planning, improve the garbage disposal efficiency and achieve the effect of reducing costs.
[0006] According to one aspect of the present invention, there is provided a method for determining a garbage disposal route, the method comprising:
[0007] Acquire actual garbage data of a target area within a first historical period and factor data of at least one preset garbage generating factor;
[0008] Determining predicted junk data of the target area within a test period based on the actual junk data and each of the factor data;
[0009] Determining a garbage disposal route based on the predicted garbage data and the predetermined garbage service data based on a mixed integer linear programming model;
[0010] The garbage generated in the target area within the measured time period is processed based on the garbage processing route.
[0011] According to another aspect of the present invention, there is provided a device for determining a garbage disposal route, the device comprising:
[0012] A data acquisition module, configured to acquire actual garbage data of a target area within a first historical period and factor data of at least one preset garbage generating factor;
[0013] A garbage prediction module, used to determine predicted garbage data of the target area within a test period based on the actual garbage data and each of the factor data;
[0014] a route planning module, for determining a garbage disposal route based on a mixed integer linear programming model according to the predicted garbage data and the predetermined garbage service data;
[0015] The garbage processing module is used to process the garbage generated in the target area within the time period to be measured based on the garbage processing route.
[0016] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0017] at least one processor; and a memory in communication with the at least one processor; wherein,
[0018] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for determining a garbage disposal route described in any embodiment of the present invention.
[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining a garbage disposal route described in any embodiment of the present invention when executed.
[0020] The technical solution of the embodiment of the present invention obtains actual garbage data of the target area within the first historical time period and factor data of at least one preset garbage generating factor; determines predicted garbage data of the target area within the time period to be tested based on the actual garbage data and each factor data; determines a garbage disposal route based on the predicted garbage data and predetermined garbage service data based on a mixed integer linear programming model; and processes the garbage generated in the target area within the time period to be tested based on the garbage disposal route, thereby solving the problem of low garbage disposal efficiency and cost waste caused by determining the garbage collection route based on the distance between the garbage collection point locations in the prior art. The technical solution of the embodiment of the present invention first predicts the predicted garbage data of the target area within the time period to be tested by analyzing the actual garbage data of the target area within the first historical time period and the factor data of each preset garbage generating factor, and then plans the garbage disposal route based on the mixed integer linear programming model in combination with the predicted garbage data and the predetermined garbage service data, thereby improving the accuracy of route planning. Finally, the garbage disposal route is used to actually process the garbage generated in the target area within the time period to be tested, thereby improving the garbage disposal efficiency and achieving the effect of reducing costs.
[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 is a flow chart of a method for determining a garbage disposal route provided according to Embodiment 1 of the present invention;
[0024] Figure 2 is a schematic diagram of the structure of a device for determining a garbage disposal route provided according to Embodiment 2 of the present invention;
[0025] Figure 3 It is a schematic diagram of the structure of an electronic device for implementing the method for determining a garbage disposal route according to an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0028] Embodiment 1
[0029] Figure 1This is a flowchart of a method for determining a garbage disposal route according to Embodiment 1 of the present invention. This embodiment is applicable to the case of planning a garbage disposal route. The method can be executed by a device for determining a garbage disposal route. The device for determining a garbage disposal route can be implemented in the form of hardware and / or software. The device for determining a garbage disposal route can be configured in a computing device. Figure 1 As shown, the method includes:
[0030] S110: Acquire actual garbage data of a target area within a first historical period and factor data of at least one preset garbage generating factor.
[0031] Among them, the first historical time period may be a pre-set historical time period. Actual garbage data may refer to garbage data generated in the actual life process. The preset garbage generation factors may refer to factors that affect the actual generation data of garbage. The preset garbage generation factors include at least activity factors, holiday factors, residents' life factors, seasonal climate factors, garbage standard factors and garbage treatment facility factors. Activity factors can be leisure and entertainment activities (such as mountain climbing, wild fishing, camping, handicrafts, illustrations, etc.), commercial activities (such as online promotions or offline shopping mall promotions, etc.), and Internet activities (such as industry conferences, product launches, etc.). Residents' life factors can be correct classification of garbage, recycling of garbage, eating habits and living environment, etc. Seasonal climate factors include light, temperature and precipitation in different seasons. Garbage standard factors can be ways to regulate garbage generation and treatment behaviors. Garbage treatment facility factors may refer to equipment used to process and collect garbage, such as garbage trucks and garbage collection devices.
[0032] In this embodiment, the area can be used as a target area when planning a route for collecting garbage in the area. Then, actual garbage data generated in the target area within a first historical period before the period to be measured and factor data of at least one preset garbage generating factor in the target area are obtained, so as to predict garbage data generated in the target area within the period to be measured based on the actual garbage data and the factor data.
[0033] S120: Determine predicted junk data of the target area within the test time period based on the actual junk data and each factor data.
[0034] The time to be measured may be a pre-set future time period. The predicted garbage data may include but is not limited to garbage type, garbage generation location, garbage generation time and garbage generation amount.
[0035] In this embodiment, the prediction model can be pre-trained, for example, the prediction model can be trained based on a training sample containing information such as actual garbage data and factor data of each preset garbage generating factor, so that the trained prediction model has the ability to learn and predict garbage data. In this way, the prediction model can be combined with the actual garbage data and the factor data of each preset garbage generating factor to analyze the predicted garbage data of the target area within the test period.
[0036] In this embodiment, based on the actual garbage data and each factor data, the predicted garbage data of the target area within the time period to be tested is determined, including: processing the actual garbage data and updating the actual garbage data; the updated actual garbage data includes at least two types of first garbage data; for each type of first garbage data, based on the current type of first garbage data and each factor data, respectively determining the influence coefficient between each preset garbage generating factor and the first garbage data; based on the actual garbage data and each influence coefficient, determining the predicted garbage data of the target area within the time period to be tested.
[0037] Among them, the type includes at least the type of garbage, the location where the garbage is generated, the time when the garbage is generated, and the amount of garbage generated. The types of garbage include but are not limited to domestic garbage, construction waste, and electronic waste. The location where the garbage is generated can be a street, a community, or a specific commercial / industrial area. The amount of garbage generated can be measured by weight or volume. The time when the garbage is generated can refer to the date and time when the garbage is generated. The influence coefficient can be used to characterize the degree of influence of the preset garbage generation factor on the generation of garbage data of this type. For example, the larger the value of the influence coefficient, the higher the influence on the generation of garbage data of this type.
[0038] In practical applications, the actual garbage data can be preprocessed, such as cleaning, normalization, integrity verification, etc., and the processed garbage data can be used as the updated actual garbage data. Further, the influence coefficient of the preset garbage generation factor on the generation of the current type of first garbage data can be determined based on the factor data of the preset garbage generation factor and the first garbage data of the current type. For example, areas with frequent commercial activities (activity factors), such as shopping centers, restaurant streets and markets, will generate a large amount of packaging materials, disposable tableware and other garbage. The higher the frequency of activities in the factor data of the factor, the higher the corresponding influence coefficient. The increase or decrease of commercial activities is often related to factors such as holidays and promotion seasons, and the amount of garbage generated during these periods will increase significantly. During holidays, people's trading behavior increases, and family gatherings and celebrations increase, which will lead to an increase in the amount of domestic garbage and kitchen waste. In addition, the increase in tourism activities during holidays will also generate more garbage in tourist hotspots. For example, the eating habits, consumption patterns and environmental awareness (representing residents' living factors) in different regions will affect the amount of garbage generated. For example, some regions may prefer to use reusable items, so the amount of garbage is small and the impact coefficient is small, while other regions may use more disposable products, so the amount of garbage increases and the impact coefficient is large. Different seasons can also affect the type and amount of garbage. For example, more packaging materials may be needed to protect goods in winter, while more kitchen waste and garden waste may be generated in summer. Environmental policies (representing garbage regulation factors) can also affect the type and amount of garbage, such as garbage reduction, classification and recycling policies, and economic incentives or penalties for garbage disposal, which will affect the generation and treatment of garbage. The availability of collection and treatment facilities (representing garbage treatment facilities factors) can also affect the type and amount of garbage. For example, if a region's garbage collection and treatment facilities are insufficient or inefficient, it may lead to garbage accumulation and illegal dumping, thereby affecting the actual amount of garbage generated. In this case, the impact coefficient will also be high. Alternatively, the impact coefficient can be obtained by assigning weights to various preset garbage generation factors.
[0039] Furthermore, the actual garbage data and each impact coefficient may be combined to determine the predicted garbage data of the target area within the test period. The specific method may be: inputting the actual garbage data and each impact coefficient into a pre-trained garbage prediction model to obtain the predicted garbage data.
[0040] Among them, the garbage prediction model is trained based on the fifth garbage data of at least one region within the second historical time length, the influence coefficient between the fifth garbage data and each preset garbage generating factor, and the sixth garbage data within the third historical time length; the end time of the second historical time length is earlier than the start time of the third historical time length.
[0041] Exemplarily, the garbage prediction model can be a recurrent network such as LSTM (Long Short-Term Memory Network) or GRU (Gated Recurrent Unit). A data set is constructed based on the fifth garbage data of at least one region within the second historical time length, the influence coefficient between the fifth garbage data and each preset garbage generation factor, and the sixth garbage data within the third historical time length, and the data set is divided into a training set, a validation set, and a test set. The garbage prediction model is trained using the training set data, and model parameters such as weights, biases, learning rates, batch sizes, epoch times, and other parameters are adjusted to optimize model performance. The validation set is used to evaluate the performance of the garbage prediction model during the training process, but it does not directly participate in the training of the model. During the training process, the garbage prediction model is regularly evaluated on the validation set to monitor its generalization ability. If the performance of the garbage prediction model on the validation set begins to decline (i.e., overfitting), the training process can be stopped in advance. After the training is completed, the final performance of the trained garbage prediction model is evaluated using the test set to ensure the accuracy of the prediction.
[0042] It should be noted that actual garbage data may contain unstructured data, for example, unstructured data includes but is not limited to text (such as emails, social media posts, articles), images (such as photos, scanned documents), audio (such as music) and video, etc. The format and content of these unstructured data usually do not follow a fixed pattern, so it is difficult to directly perform structured query and analysis.
[0043] Based on this, in the process of processing and updating the actual garbage data, the actual garbage data can be structured and converted to obtain second garbage data; the second garbage data includes at least two types of third garbage data from different data collection sources; the third garbage data of the same type from different data collection sources is fused to obtain fourth garbage data corresponding to the type; based on each type of fourth garbage data, the actual garbage data is updated.
[0044] The data collection source may refer to a platform or channel for collecting junk data, that is, the source of junk data.
[0045] In this embodiment, the actual garbage data can be structured, the unstructured data can be converted into a structured format, and the converted garbage data can be used as the second garbage data. For example, the text description is converted into a categorical variable. It should also be noted that some erroneous or inconsistent data may also be generated during the data conversion process. Therefore, before the actual garbage data is structured, the actual garbage data can also be cleaned, such as removing invalid, repeated, erroneous or incomplete data records, etc., to ensure the quality and consistency of the data. After obtaining the second garbage data, it can be known that the garbage data in the second garbage data may be obtained from different data collection sources. In order to reduce the amount of data processing, improve the processing speed, and improve the accuracy of the determination of the influence coefficient, the third garbage data of the same type under different data collection sources in the second garbage data can be fused. For example, the third garbage data of all the same sub-time lengths under the same type under different data collection sources are averaged, and the average is obtained as the new garbage data in the sub-time length under the type, which is called the fourth garbage data. The fourth garbage data corresponding to each type can be integrated as new actual garbage data, that is, updated actual garbage data.
[0046] In this embodiment, after the updated actual garbage data is obtained, a relational or non-relational database may be used to store the actual garbage data.
[0047] In practical applications, the relational database may be MySQL, PostgreSQL, SQLite, etc. For example, in a relational database, tables, rows, and columns may be used to store actual garbage data, such as designing a table structure, determining that the relationship between tables is one-to-many or many-to-many, and storing entities and relationships in the actual garbage data through the table structure. When using a relational database to store data, indexes may also be created for frequently queried rows or columns to support database query languages and improve query efficiency.
[0048] In practical applications, non-relational databases may be MongoDB, Cassandra, Redis, etc. For example, in MongoDB, data is stored in the form of collections and documents; in Redis, data is stored in the form of key-value pairs, which is suitable for fast read and write operations; in Cassandra, data is stored in the form of column families, which is suitable for processing large amounts of data. The technical solution provided in this embodiment ensures effective management and access to the updated actual garbage data by storing them in an appropriate location.
[0049] S130 , determining a garbage disposal route based on a mixed integer linear programming model according to the predicted garbage data and the predetermined garbage service data.
[0050] The mixed-integer linear programming model refers to the MILP (Mixed-integer linear programming) model, which is used to solve the optimal solution and optimal value of the linear objective function under linear constraints within a given feasible domain.
[0051] In this embodiment, the garbage disposal route may be determined based on the objective function and constraint conditions in the mixed integer linear programming model according to the predicted garbage data and the predetermined garbage service data.
[0052] Among them, the garbage service data includes map data and garbage truck data. Map data may include geographical location information of garbage collection points, transfer stations, treatment plants and other garbage treatment facilities, and geographical location information includes longitude and latitude, road network and the like. Garbage truck data may include parameter data such as the capacity, maximum driving distance, and speed of each garbage collection truck. The garbage treatment route includes variable data of decision variables in the mixed integer linear programming model. The decision variables include at least the garbage point, driving route and service time corresponding to each garbage truck. The objective function includes at least the function of minimizing the total driving distance, the function of minimizing the total cost and the function of maximizing the service efficiency. The constraints include at least the vehicle capacity constraint, the driving time constraint, the driving route constraint and the vehicle quantity constraint.
[0053] Specifically, decision variables can be predefined, for example, the decision variables include the garbage collection points, driving routes, service time, etc. served by each garbage truck; set the objective function, such as the objective function including minimizing the total driving distance, minimizing the total cost (including vehicle operating cost, labor cost, etc.), maximizing service efficiency, etc. Set constraints, such as vehicle capacity constraints, which are used to constrain the total amount of garbage generated by the garbage collection points served by each garbage truck to not exceed the vehicle capacity; driving time constraints, which are used to constrain each garbage truck to complete the collection task within the specified time; driving route constraints, which are used to constrain the vehicle driving route to comply with the road network to avoid driving or crossing obstacles. Constraints can also include vehicle quantity restrictions, transfer station processing capacity restrictions, etc. Further, the decision variables, objective functions and constraints can be converted into linear forms, and integer variables can be introduced to represent discrete decisions (such as discrete decisions can be vehicle allocation, path selection, etc.), and a mixed integer linear programming model can be constructed. The predicted garbage data and the predetermined garbage service data are input into the mixed integer linear programming model to solve the optimal result of the objective function under the constraints. The optimal result includes the variable data of each decision variable, and the garbage disposal route is obtained.
[0054] In this embodiment, the method for determining the garbage disposal route can also be: based on the ant colony algorithm, the garbage disposal path is planned according to the predicted garbage data and the predetermined garbage service data to obtain the garbage disposal route. The ant colony algorithm includes local update (reducing the amount of pheromone on the path passed by ants to encourage exploration) and global update (increasing the amount of pheromone on the shortest path).
[0055] Exemplarily, the garbage collection area can be modeled first, and the modeling data includes information such as the location of the garbage collection point, the amount of garbage, and the road network. Then, the pheromone is initialized. In the path planning problem, the pheromone represents the quality of the path. When the ant colony algorithm starts to plan the garbage disposal path, the amount of pheromone on all paths can be the same, or it can be initially assigned according to historical data. Then, a certain number of ants are randomly placed on the garbage collection points, and each ant represents a potential garbage collection route. Each ant selects the next garbage collection point based on the pheromone concentration and heuristic information (such as distance, amount of garbage, etc.), and then searches for the path. Paths with high pheromone concentrations are more attractive, but ants will also randomly explore new paths to avoid falling into local optimal solutions. After the ant completes a path, the pheromone on the path is updated according to the path length (or time cost, environmental cost, etc.). Shorter paths will obtain more pheromone deposition to attract more ants. Repeat the path search and pheromone update steps until the predetermined number of iterations is reached or a satisfactory solution is found. Eventually, the ant colony algorithm converges to one or more optimal paths, which represent the optimal driving routes of the garbage collection trucks and obtain the garbage disposal routes.
[0056] S140: Processing garbage generated in the target area within the measured time period based on the garbage processing route.
[0057] In actual applications, each garbage truck can process the actual garbage generated in the target area within the measured time period according to its corresponding garbage disposal route.
[0058] The technical solution of this embodiment obtains actual garbage data of the target area within the first historical time period and factor data of at least one preset garbage generating factor; determines predicted garbage data of the target area within the time period to be tested based on the actual garbage data and each factor data; determines a garbage disposal route based on the predicted garbage data and predetermined garbage service data based on a mixed integer linear programming model; and processes the garbage generated in the target area within the time period to be tested based on the garbage disposal route, thereby solving the problem of low garbage disposal efficiency and cost waste caused by determining the garbage collection route based on the distance between the garbage collection point locations in the prior art. The technical solution of this embodiment first predicts the predicted garbage data of the target area within the time period to be tested by analyzing the actual garbage data of the target area within the first historical time period and the factor data of each preset garbage generating factor, and then plans the garbage disposal route based on the mixed integer linear programming model in combination with the predicted garbage data and the predetermined garbage service data, thereby improving the accuracy of route planning. Finally, the garbage disposal route is used to actually process the garbage generated in the target area within the time period to be tested, thereby improving the garbage disposal efficiency and achieving the effect of reducing costs.
[0059] Embodiment 2
[0060] Figure 2 FIG. 1 is a schematic diagram of a structure of a device for determining a garbage disposal route according to Embodiment 2 of the present invention. Figure 2 As shown, the device includes: a data acquisition module 210, a garbage prediction module 220, a route planning module 230 and a garbage processing module 240.
[0061] Among them, the data acquisition module 210 is used to obtain the actual garbage data of the target area within the first historical time period and the factor data of at least one preset garbage generating factor; the garbage prediction module 220 is used to determine the predicted garbage data of the target area within the time period to be tested based on the actual garbage data and each of the factor data; the route planning module 230 is used to determine the garbage disposal route based on the mixed integer linear programming model according to the predicted garbage data and the predetermined garbage service data; the garbage disposal module 240 is used to process the garbage generated by the target area within the time period to be tested based on the garbage disposal route.
[0062] The technical solution of this embodiment obtains actual garbage data of the target area within the first historical time period and factor data of at least one preset garbage generating factor; determines predicted garbage data of the target area within the time period to be tested based on the actual garbage data and each factor data; determines a garbage disposal route based on the predicted garbage data and predetermined garbage service data based on a mixed integer linear programming model; and processes the garbage generated in the target area within the time period to be tested based on the garbage disposal route, thereby solving the problem of low garbage disposal efficiency and cost waste caused by determining the garbage collection route based on the distance between the garbage collection point locations in the prior art. The technical solution of this embodiment first predicts the predicted garbage data of the target area within the time period to be tested by analyzing the actual garbage data of the target area within the first historical time period and the factor data of each preset garbage generating factor, and then plans the garbage disposal route based on the mixed integer linear programming model in combination with the predicted garbage data and the predetermined garbage service data, thereby improving the accuracy of route planning. Finally, the garbage disposal route is used to actually process the garbage generated in the target area within the time period to be tested, thereby improving the garbage disposal efficiency and achieving the effect of reducing costs.
[0063] On the basis of the above-mentioned device, optionally, the garbage prediction module 220 includes: a garbage data updating unit, which is used to process the actual garbage data and update the actual garbage data; wherein the updated actual garbage data includes at least two types of first garbage data; the types include at least garbage type, garbage generation location, garbage generation time and garbage generation amount; an influence coefficient determination unit, which is used to determine, for each type of first garbage data, based on the current type of first garbage data and each of the factor data, the influence coefficient between each of the preset garbage generation factors and the first garbage data; a garbage prediction unit, which is used to determine the predicted garbage data of the target area within the test time period based on the actual garbage data and each of the influence coefficients.
[0064] Based on the above-mentioned device, optionally, the garbage data update unit includes: a second garbage data determination unit, used to perform structured conversion on the actual garbage data to obtain second garbage data; wherein the second garbage data includes at least two types of third garbage data under different data acquisition sources; a fourth garbage data determination unit, used to perform fusion processing on the third garbage data of the same type under different data acquisition sources to obtain fourth garbage data corresponding to the type; and a garbage data update subunit, used to update the actual garbage data based on each fourth garbage data of the type.
[0065] Based on the above device, optionally, a garbage prediction unit is specifically used to input the actual garbage data and each of the influence coefficients into a pre-trained garbage prediction model to obtain the predicted garbage data; wherein the garbage prediction model is trained based on the fifth garbage data of at least one region within a second historical time length, the influence coefficient between the fifth garbage data and each of the preset garbage generating factors, and the sixth garbage data within a third historical time length; and the end time of the second historical time length is earlier than the start time of the third historical time length.
[0066] Based on the above-mentioned device, optionally, a route planning module 230 is specifically used to determine the garbage disposal route based on the objective function and constraints in the mixed integer linear programming model, according to the predicted garbage data and the predetermined garbage service data; wherein the garbage service data includes map data and garbage truck data; the garbage disposal route includes variable data of decision variables in the mixed integer linear programming model; the decision variables include at least the garbage location, driving route and service time corresponding to each garbage truck.
[0067] Based on the above device, optionally, the objective function includes at least minimizing the total driving distance function, minimizing the total cost function and maximizing the service efficiency function; the constraints include at least vehicle capacity constraints, driving time constraints, driving route constraints and vehicle quantity constraints.
[0068] Based on the above device, optionally, the preset garbage generation factors include at least activity factors, holiday factors, residents' life factors, seasonal climate factors, garbage specification factors and garbage treatment facility factors.
[0069] The device for determining a garbage disposal route provided in the embodiment of the present invention can execute the method for determining a garbage disposal route provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0070] Embodiment 3
[0071] Figure 3 1 is a schematic diagram of the structure of an electronic device for implementing the method for determining a garbage disposal route of an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0072] like Figure 3 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0073] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0074] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a method for determining a garbage disposal route.
[0075] In some embodiments, the method for determining a garbage disposal route may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for determining a garbage disposal route described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the method for determining a garbage disposal route in any other appropriate manner (e.g., by means of firmware).
[0076] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0077] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0078] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0079] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0080] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0081] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0082] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the method for determining a garbage disposal route as provided in any embodiment of the present invention.
[0083] In the process of implementation, the computer program product can be written in one or more programming languages or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0084] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0085] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for determining a garbage disposal route, characterized in that: include: Acquire actual garbage data of a target area within a first historical period and factor data of at least one preset garbage generating factor; Determining predicted junk data of the target area within a test period based on the actual junk data and each of the factor data; Determining a garbage disposal route based on the predicted garbage data and the predetermined garbage service data based on a mixed integer linear programming model; The garbage generated in the target area within the measured time period is processed based on the garbage processing route.
2. The method according to claim 1, characterized in that The step of determining predicted junk data of the target area within a time period to be tested based on the actual junk data and each of the factor data includes: Processing the actual garbage data to update the actual garbage data; wherein the updated actual garbage data includes at least two types of first garbage data; the types at least include garbage type, garbage generation location, garbage generation time and garbage generation amount; For each type of first junk data, based on the current type of first junk data and each of the factor data, respectively determine an influence coefficient between each of the preset junk generating factors and the first junk data; Based on the actual junk data and each of the influence coefficients, predicted junk data of the target area within a time period to be measured is determined.
3. The method according to claim 2, characterized in that The processing of the actual garbage data to update the actual garbage data includes: Performing a structural transformation on the actual garbage data to obtain second garbage data; wherein the second garbage data includes at least two types of third garbage data from different data collection sources; Performing fusion processing on third junk data of the same type from different data collection sources to obtain fourth junk data corresponding to the type; Based on each of the fourth garbage data of the type, the actual garbage data is updated.
4. The method according to claim 2, characterized in that: The step of determining predicted junk data of the target area within a time period to be measured based on the actual junk data and each of the influence coefficients includes: Inputting the actual garbage data and each of the influence coefficients into a pre-trained garbage prediction model to obtain the predicted garbage data; Among them, the garbage prediction model is trained based on the fifth garbage data of at least one region within a second historical time length, the influence coefficient between the fifth garbage data and each of the preset garbage generating factors, and the sixth garbage data within a third historical time length; the end time of the second historical time length is earlier than the start time of the third historical time length.
5. The method according to claim 1, characterized in that: The method of determining a garbage disposal route based on the mixed integer linear programming model according to the predicted garbage data and the predetermined garbage service data includes: Based on the objective function and constraints in the mixed integer linear programming model, a garbage disposal route is determined according to the predicted garbage data and the predetermined garbage service data; Among them, the garbage service data includes map data and garbage truck data; the garbage disposal route includes variable data of decision variables in the mixed integer linear programming model; the decision variables include at least the garbage location, driving route and service time corresponding to each garbage truck.
6. The method according to claim 5, characterized in that The objective function at least includes minimizing the total driving distance function, minimizing the total cost function and maximizing the service efficiency function; the constraint conditions at least include vehicle capacity constraint, driving time constraint, driving route constraint and vehicle quantity constraint.
7. The method according to claim 1, characterized in that The preset garbage generation factors at least include activity factors, holiday factors, residents' living factors, seasonal climate factors, garbage standard factors and garbage treatment facility factors.
8. A device for determining a garbage disposal route, characterized in that: include: A data acquisition module, configured to acquire actual garbage data of a target area within a first historical period and factor data of at least one preset garbage generating factor; A garbage prediction module, used to determine predicted garbage data of the target area within a test period based on the actual garbage data and each of the factor data; a route planning module, for determining a garbage disposal route based on a mixed integer linear programming model according to the predicted garbage data and the predetermined garbage service data; The garbage processing module is used to process the garbage generated in the target area within the time period to be measured based on the garbage processing route.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the method for determining a garbage disposal route according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining a garbage disposal route according to any one of claims 1 to 7 when executed.
Citation Information
Cited By
Garbage scheduling method and scheduling platform
CN120218547A
Intelligent environmental sanitation waste garbage recycling method and system
CN120494460A
Intelligent scheduling method and system of medical waste robot based on Internet of Things
CN120764871A
Intelligent Scheduling Method and System for Medical Waste Robots Based on the Internet of Things
CN120764871B
