CN115574828B - Garbage recovery point location determination method and device, electronic equipment and storage medium - Google Patents

Garbage recovery point location determination method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115574828B
CN115574828B CN202211228761.3A CN202211228761A CN115574828B CN 115574828 B CN115574828 B CN 115574828B CN 202211228761 A CN202211228761 A CN 202211228761A CN 115574828 B CN115574828 B CN 115574828B
Authority
CN
China
Prior art keywords
point location
coordinate
parking
temporary
location coordinate
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.)
Active
Application number
CN202211228761.3A
Other languages
Chinese (zh)
Other versions
CN115574828A (en
Inventor
王伟
马锡铭
许正昊
刘璇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhonghuajie Group Co ltd
Original Assignee
Zhonghuajie Group 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 Zhonghuajie Group Co ltd filed Critical Zhonghuajie Group Co ltd
Priority to CN202211228761.3A priority Critical patent/CN115574828B/en
Publication of CN115574828A publication Critical patent/CN115574828A/en
Application granted granted Critical
Publication of CN115574828B publication Critical patent/CN115574828B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02WCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO WASTEWATER TREATMENT OR WASTE MANAGEMENT
    • Y02W90/00Enabling technologies or technologies with a potential or indirect contribution to greenhouse gas [GHG] emissions mitigation

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)
  • Traffic Control Systems (AREA)

Abstract

The application provides a method and a device for determining garbage collection point positions, electronic equipment and a storage medium. The method comprises the steps of obtaining parking time information and parking coordinate information, wherein the parking time information and the parking coordinate information reflect one-time parking records of a vehicle; updating a pre-acquired recovery point coordinate library according to parking time information and parking coordinate information based on a preset updating rule; the preset updating rule comprises the following steps: acquiring a recovery point location coordinate with the minimum distance from the parking coordinate information; and updating the recovery point location coordinate in the recovery point location coordinate library according to the relation between the distance between the recovery point location coordinate and the parking coordinate information and the first preset distance. In this way, the latest garbage collection point location information in the current city can be obtained through calculation by obtaining the parking time information and the parking coordinate information of the garbage collection vehicle within a certain time period, and an efficient and convenient method is provided for obtaining the location update data of the garbage collection point location in the city.

Description

Garbage recycling point location determining method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of garbage collection technologies, and in particular, to a garbage point location determining method and apparatus, an electronic device, and a storage medium.
Background
The existing urban garbage recycling usually adopts a mode of public transportation direct transportation, namely, a garbage recycling vehicle starts from a starting point and recycles garbage when passing through a garbage recycling point, and the garbage is transported to a recycling station after the vehicle is fully loaded. Due to the complex situation in the city, the garbage points are increased, decreased or moved, and the like, so the positions of the garbage points are not updated timely.
Disclosure of Invention
According to the embodiment of the application, a garbage point location determining method and device, electronic equipment and a storage medium are provided.
In a first aspect of the present application, a method for determining a garbage spot location is provided. The method comprises the following steps:
obtaining parking time information and parking coordinate information, wherein the parking time information and the parking coordinate information reflect one-time parking records of a vehicle;
updating a pre-acquired recovery point position coordinate library according to the parking time information and the parking coordinate information based on a preset updating rule;
the preset updating rule comprises the following steps:
acquiring a recovery point location coordinate with the minimum distance from the parking coordinate information;
and updating the recovery point location coordinate in the recovery point location coordinate library according to the relation between the distance between the recovery point location coordinate and the parking coordinate information and a first preset distance.
In a possible implementation manner, the updating, according to a magnitude relationship between a distance between the recovery point location coordinate and the parking coordinate information and a first preset distance, a recovery point location coordinate in a recovery point location library includes:
if the distance between the recovery point location coordinate and the parking coordinate information is not larger than a first preset distance, marking the recovery point location coordinate once;
and if the marked times of the recovery point location coordinate in the first preset time are smaller than the first time threshold value, deleting the recovery point location coordinate in the recovery point location coordinate library.
In a possible implementation manner, the updating, according to a magnitude relationship between a distance between the recovery point location coordinate and the parking coordinate information and a first preset distance, a recovery point location coordinate in a recovery point location library includes:
if the distance between the recovery point location coordinate and the parking coordinate information is larger than a first preset distance, acquiring a temporary point location coordinate with the minimum distance between the recovery point location coordinate and the parking coordinate information from a pre-acquired temporary point location coordinate library;
updating a temporary point location coordinate library according to the relationship between the distance between the temporary point location coordinate and the parking coordinate information and a second preset distance;
and updating the recovery point location coordinate library according to the updating result of the temporary point location coordinate library.
In a possible implementation manner, the updating the temporary point location coordinate library according to a magnitude relationship between a distance between the temporary point location coordinate and the parking coordinate information and a second preset distance includes:
if the distance between the temporary point location coordinate and the parking coordinate information is not greater than a second preset distance, updating the point location and the point location marking times of the temporary point location coordinate based on a preset temporary point location updating rule;
and if the distance between the temporary point location coordinate and the parking coordinate information is greater than a second preset distance, generating a temporary point location coordinate by using the parking coordinate information, wherein the coordinate position of the temporary point location coordinate is the parking coordinate information, and the point location marking frequency is once.
In a possible implementation manner, the preset temporary point location update rule includes:
determining the calculation weight of the temporary point location coordinate according to the point location marking times of the temporary point location coordinate;
and determining the point location and the point location marking times of the updated temporary point location coordinate according to the point location marking location of the temporary point location coordinate, the parking coordinate information and the calculation weight, wherein the updated point location marking times are equal to the original point location marking times plus one.
In a possible implementation manner, the preset temporary point location update rule includes:
calling a related temporary point location coordinate set according to the temporary point location coordinates, wherein the temporary point location coordinate set comprises a plurality of sub-coordinate points;
marking the parking coordinate information as a sub-coordinate point position and adding the sub-coordinate point position to the temporary point position coordinate set;
and updating the temporary point location coordinates and the point location marking times according to a plurality of sub-coordinate point locations and a polygon gravity center algorithm, wherein the point location marking times are the number of the sub-coordinate point locations.
In a possible implementation manner, updating the temporary point location coordinate library according to a magnitude relationship between a distance between the temporary point location coordinate and the parking coordinate information and a second preset distance includes:
and if the point location marking times of the temporary point location coordinate in the second preset time are larger than the second time threshold value, adding the temporary point location coordinate into the recovery point location coordinate library as a recovery point location coordinate.
According to the garbage collection point location determining method, when the coordinates of the garbage collection point location in the city cannot be directly obtained, the coordinates of the garbage collection point location in the city can be obtained through calculation according to the parking time information and the parking coordinate information of the garbage collection vehicle. And as time goes on, rubbish recovery point location coordinate can change in the city, different with traditional KNN clustering algorithm, can only classify the sample in original type in the model, this application can delete interim point location coordinate according to the update time of retrieving the point location coordinate, can also increase the recovery point location coordinate according to the point location mark number of times and the point location mark time of interim coordinate point location, realized rubbish recovery point location's information acquisition and data dynamic update in the city, provide a high efficiency, convenient method for obtaining the position of rubbish recovery point location in the city.
In a second aspect of the present application, a refuse collection site location determination apparatus is provided. The device includes:
the system comprises an acquisition module, a storage module and a display module, wherein the acquisition module is used for acquiring parking time information and parking coordinate information, and the parking time information and the parking coordinate information reflect one-time parking records of a vehicle;
the updating module is used for updating a pre-acquired recovery point coordinate library according to the parking time information and the parking coordinate information based on a preset updating rule;
the preset updating rule comprises the following steps:
acquiring a recovery point location coordinate with the minimum distance from the parking coordinate information;
and updating the recovery point location coordinate in the recovery point location coordinate library according to the relation between the distance between the recovery point location coordinate and the parking coordinate information and a first preset distance.
In a third aspect of the present application, an electronic device is provided. The electronic device includes: a memory having a computer program stored thereon and a processor implementing the method as described above when executing the program.
In a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the method as according to the first aspect of the present application.
It should be understood that what is described in this summary section is not intended to limit key or critical features of the embodiments of the application, nor is it intended to limit the scope of the application. Other features of the present application will become apparent from the following description.
Drawings
The above and other features, advantages and aspects of various embodiments of the present application will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, like or similar reference characters denote like or similar elements, and wherein:
fig. 1 shows a flowchart of a garbage collection point location determining method according to an embodiment of the present application;
FIG. 2 shows a block diagram of a garbage collection site location determining apparatus according to an embodiment of the present application;
fig. 3 shows a schematic structural diagram of a terminal device or a server suitable for implementing the embodiments of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The application discloses a garbage recycling point location determining method, which can reflect the parking record of a garbage recycling vehicle once by acquiring parking time information and parking coordinate information of the vehicle in the driving process when the vehicle enters a new entrance, and then update a pre-acquired recycling point location coordinate library according to the parking time information and the parking coordinate information based on a preset updating rule. According to the method and the device, the latest garbage recycling point location information in the current city can be obtained through calculation by obtaining the parking moment information and the parking coordinate information of all vehicles within a certain time period, and an efficient and convenient method is provided for obtaining the position updating data of the garbage recycling point location in the city.
Fig. 1 shows a flowchart of a garbage collection point location determining method according to an embodiment of the present application. The method comprises the following steps:
step S100, parking time information and parking coordinate information are obtained, and the parking time information and the parking coordinate information reflect one-time parking records of a vehicle.
The vehicle is a garbage recycling vehicle which runs in the middle of a city every day, garbage at the garbage recycling points is recycled, and finally the garbage is transported to a garbage recycling main station. During the working process of the vehicle, the parking time information and the parking point position information of the vehicle can be recorded. The mode of obtaining the parking time information and the parking point information can be real-time obtaining in the vehicle driving process, and can also be unified obtaining in the preset time.
And S200, updating the pre-acquired recovery point coordinate library according to the parking time information and the parking coordinate information based on a preset updating rule.
The recovery point location coordinate library comprises known recovery point location coordinates in a city, and the recovery point location coordinates can be loaded from other databases or calculated by the method provided by the application.
In the embodiment of the present application, the presetting of the update rule includes:
and S210, acquiring a recovery point location coordinate with the minimum distance from the parking coordinate information in the recovery point location coordinate library.
And step S220, updating the recovery point position coordinates in the recovery point position coordinate library according to the relation between the distance between the recovery point position coordinates and the parking coordinate information and the first preset distance.
If the distance between the recovery point location coordinate and the parking coordinate information is not larger than a first preset distance, marking the recovery point location coordinate once; and if the marked times of the recovery point position coordinates in the first preset time are smaller than the first time threshold value, deleting the recovery point position coordinates in the recovery point position coordinate library.
The first preset distance may be set by a technician according to an actual requirement, and may specifically be 20 meters, 30 meters, 100 meters, and the like, which is not limited herein. The first preset time may be 1 month, half year, 1 year, etc., and is not limited thereto. The first time threshold may be 1 time, 2 times or 5 times, and is not limited herein, and may be set according to actual needs.
Namely, when the distance between the recovery point location coordinate and the parking coordinate information is not more than a first preset distance, the garbage recovery vehicle can be shown to perform garbage recovery at the garbage recovery point location, the recovery point location coordinate is still in use, so that the recovery point location coordinate is marked, the marking information comprises parking time information, and the marking frequency is increased by one.
It is thus shown that the number of times the mark of the recovery point position coordinates is used should be increased as the parking time information and the parking coordinate information are increased, and the update time of the mark information should coincide with the latest parking time information. Therefore, in a first preset time, if the number of times that the garbage collection point location coordinate is marked is smaller than a first time threshold, it can be considered that no garbage collection vehicle stops to collect garbage near the garbage collection point location coordinate in a short period of time, and the garbage collection point location may be discarded, so that the garbage collection point location coordinate can be deleted from the collection point location coordinate base, and timely updating of data in the collection point location coordinate base is achieved.
In the embodiment of the application, if the recovery point location coordinate with the smallest distance to the parking coordinate information is greater than the first preset distance, the temporary point location coordinate with the smallest distance to the parking coordinate information is acquired in a preset temporary point location coordinate library, and then the temporary point location coordinate library is updated according to the magnitude relation between the distance between the temporary point location coordinate and the parking coordinate information and the second preset distance.
And if the distance between the temporary point location coordinate and the parking coordinate information is not more than a second preset distance, updating the point location and the point location marking times of the temporary point location coordinate based on a preset temporary point location updating rule.
The second preset distance may be 10 meters, 15 meters, 30 meters, or the like, and may be specifically set according to actual requirements, which is not limited herein. The temporary point coordinate library is generated according to the historical parking coordinate information, and the specific generation mode refers to the following example.
In this embodiment of the present application, the presetting of the temporary point location update coordinates includes:
determining the calculation weight of the temporary point location coordinate according to the point location marking times of the temporary point location coordinate; and determining the point position and the point marking times of the updated temporary point position coordinate according to the point position marking position of the temporary point position coordinate, the parking coordinate information and the calculation weight, wherein the updated point position marking times is equal to the point position marking times plus one.
In a specific example, if the parking position information is (x) i ,y i ) The position of the original temporary point coordinate is (x) j ,y j ) If the point location marking frequency is n, the updated temporary point location coordinate (x) n ,y n )=(x i ,y i )/(n+1)+(x j ,y j )n/(n+1)。
In some embodiments, the presetting the temporary point location update coordinates includes:
calling a related temporary point location coordinate set according to the temporary point location coordinates, wherein the temporary point location coordinate set comprises a plurality of sub-coordinate point locations; marking parking coordinate information as a sub-coordinate point position and adding the sub-coordinate point position to a temporary point position coordinate set; and updating the temporary point location coordinates and the point location marking times according to the multiple sub-coordinate point locations and the polygon gravity center algorithm, wherein the point location marking times are the number of the sub-coordinate point locations.
In other embodiments, the manner of calculating the updated temporary point location coordinate may also be to directly perform average calculation of longitude and latitude on a plurality of sub-coordinate points in the temporary point location coordinate set, or to adopt a geographical average method, which is not limited herein.
After the temporary point coordinate library is updated, the recovery point coordinate library may be updated according to the update result of the temporary point coordinate library, and the specific update mode may be: and if the point location marking times of the temporary point location coordinate in the second preset time are larger than the second time threshold value, adding the temporary point location coordinate into the recovery point location coordinate library as a recovery point location coordinate.
In a specific example, the second preset time may be 1 month, and the second time threshold may be 10 times, that is, within 1 month, if the point location marking frequency of the temporary point location coordinate exceeds 10 times, the temporary point location coordinate may be considered as a garbage collection point location, and the temporary point location coordinate may be upgraded to a collection point location coordinate, stored in the collection point location coordinate library, and deleted from the temporary point location coordinate library.
The second preset time may be half a month, 2 months, etc., and the second time threshold may be 20 times, 50 times, 100 times, etc., which is not limited herein.
Through adopting above-mentioned technical scheme, can be when unable recovery point location coordinate of matching near according to parking coordinate information, establish a temporary coordinate position, as the reserve item of recovery point location coordinate, along with the gradual increase of parking coordinate information, if every rubbish recovery vehicle parks near temporary coordinate position, then can think that this temporary position location coordinate department has newly increased rubbish recovery point location, consequently, can be when the point location mark number of times of temporary position location coordinate reaches a certain quantity, upgrade this temporary coordinate position and be recovery point location coordinate, the renewal of recovery point location coordinate storehouse has been realized.
According to the garbage collection point location determining method, when the coordinates of the garbage collection point location in the city cannot be directly obtained, the coordinates of the garbage collection point location in the city can be obtained through calculation according to the parking time information and the parking coordinate information of the garbage collection vehicle. And as time goes on, the coordinates of the garbage recovery point locations in the city can be changed, different from the traditional KNN clustering algorithm, samples can be classified only in the original types of the model, the temporary point location coordinates can be deleted according to the updating time of the recovery point location coordinates, the recovery point location coordinates can be increased according to the point location marking times and the point location marking time of the temporary point location, the information acquisition and the dynamic data updating of the garbage recovery point locations in the city are realized, and an efficient and convenient method is provided for acquiring the positions of the garbage recovery point locations in the city.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are all alternative embodiments and that the acts and modules referred to are not necessarily required for the application.
The above is a description of method embodiments, and the following is a further description of the present application with reference to apparatus embodiments.
Fig. 2 shows a block diagram of a garbage collection point location determining apparatus according to an embodiment of the present application. The device comprises:
the system comprises an acquisition module 201, a storage module and a processing module, wherein the acquisition module is used for acquiring parking time information and parking coordinate information, and the parking time information and the parking coordinate information reflect one-time parking records of a vehicle;
the updating module 202 is configured to update the pre-acquired recovery point position coordinate library according to the parking time information and the parking coordinate information based on a preset updating rule;
the preset updating rule comprises the following steps:
acquiring a recovery point location coordinate with the minimum distance from the parking coordinate information;
and updating the recovery point location coordinate in the recovery point location coordinate library according to the relation between the distance between the recovery point location coordinate and the parking coordinate information and the first preset distance.
In a possible implementation manner, updating the recovery point location coordinate in the recovery point location library according to a magnitude relationship between the distance between the recovery point location coordinate and the parking coordinate information and a first preset distance includes:
if the distance between the recovery point location coordinate and the parking coordinate information is not larger than a first preset distance, marking the recovery point location coordinate once;
and if the marked times of the recovery point position coordinates in the first preset time are smaller than the first time threshold value, deleting the recovery point position coordinates in the recovery point position coordinate library.
In a possible implementation manner, updating the recovery point location coordinate in the recovery point location coordinate library according to a size relationship between the distance between the recovery point location coordinate and the parking coordinate information and a first preset distance includes:
if the distance between the recovery point location coordinate and the parking coordinate information is larger than a first preset distance, acquiring a temporary point location coordinate with the minimum distance between the recovery point location coordinate and the parking coordinate information from a pre-acquired temporary point location coordinate library;
updating a temporary point location coordinate library according to the relationship between the distance between the temporary point location coordinate and the parking coordinate information and a second preset distance;
and updating the recovery point location coordinate library according to the updating result of the temporary point location coordinate library.
In a possible implementation manner, updating the temporary point location coordinate library according to a magnitude relationship between a distance between the temporary point location coordinate and the parking coordinate information and a second preset distance includes:
if the distance between the temporary point location coordinate and the parking coordinate information is not greater than a second preset distance, updating the point location and point location marking times of the temporary point location coordinate based on a preset temporary point location updating rule;
and if the distance between the temporary point location coordinate and the parking coordinate information is greater than a second preset distance, generating a temporary point location coordinate by using the parking coordinate information, wherein the coordinate position of the temporary point location coordinate is the parking coordinate information, and the point location marking frequency is once.
In a possible implementation manner, the presetting of the temporary point location update rule includes:
determining the calculation weight of the temporary point location coordinate according to the point location marking times of the temporary point location coordinate;
and determining the point position and the point marking times of the updated temporary point position coordinate according to the point position marking position of the temporary point position coordinate, the parking coordinate information and the calculation weight, wherein the updated point position marking times is equal to the point position marking times plus one.
In one possible implementation manner, the presetting the temporary point location update rule includes:
calling a related temporary point location coordinate set according to the temporary point location coordinates, wherein the temporary point location coordinate set comprises a plurality of sub-point locations;
marking parking coordinate information as a sub-coordinate point position and adding the sub-coordinate point position to a temporary point position coordinate set;
and updating the temporary point location coordinates and the point location marking times according to the multiple sub-coordinate point locations and the polygon gravity center algorithm, wherein the point location marking times are the number of the sub-coordinate point locations.
In a possible implementation manner, updating the temporary point location coordinate library according to a magnitude relationship between a distance between the temporary point location coordinate and the parking coordinate information and a second preset distance includes:
and if the point marking times of the temporary point location coordinate in the second preset time are greater than the second time threshold value, adding the temporary point location coordinate into the recovery point location coordinate library as a recovery point location coordinate.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the described module may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Fig. 3 shows a schematic structural diagram of an electronic device suitable for implementing embodiments of the present application.
As shown in fig. 3, the electronic apparatus includes a Central Processing Unit (CPU) 301 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 302 or a program loaded from a storage section 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data necessary for the operation of the system 300 are also stored. The CPU 301, ROM 302, and RAM 303 are connected to each other via a bus 304. An I/O interface 305 is also connected to bus 304.
The following components are connected to the I/O interface 305: an input portion 306 including a keyboard, a mouse, and the like; an output section 307 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 308 including a hard disk and the like; and a communication section 309 including a network interface card such as a LAN card, a modem, or the like. The communication section 309 performs communication processing via a network such as the internet. A drive 310 is also connected to the I/O interface 305 as needed. A removable medium 311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 310 as necessary, so that a computer program read out therefrom is mounted into the storage section 308 as necessary.
In particular, according to embodiments of the present application, the process described above with reference to the flowchart of fig. 1 may be implemented as a computer software program. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 309, and/or installed from the removable medium 311. The above-described functions defined in the system of the present application are executed when the computer program is executed by the Central Processing Unit (CPU) 301.
It should be noted that the computer readable medium shown in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
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 application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block 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 will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor, and may be described as: a processor includes an acquisition module and an update module. The names of these units or modules do not constitute a limitation to the units or modules themselves in some cases, and for example, the acquisition module may also be described as "a module for acquiring parking time information and parking coordinate information reflecting a one-time parking record of a vehicle".
As another aspect, the present application also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiments; or may be separate and not incorporated into the electronic device. The computer readable storage medium stores one or more programs, and when the program is used by one or more processors to execute a garbage collection point location determining method described in the present application.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the application referred to in the present application is not limited to the embodiments with a particular combination of the above-mentioned features, but also encompasses other embodiments with any combination of the above-mentioned features or their equivalents without departing from the spirit of the application. For example, the above features may be replaced with (but not limited to) features having similar functions as those described in this application.

Claims (8)

1. A garbage recovery point location determination method is characterized by comprising the following steps:
obtaining parking time information and parking coordinate information, wherein the parking time information and the parking coordinate information reflect one-time parking record of a vehicle;
updating a pre-acquired recovery point position coordinate library according to the parking time information and the parking coordinate information based on a preset updating rule;
the preset updating rule comprises the following steps:
acquiring a recovery point location coordinate with the minimum distance from the parking coordinate information;
updating the recovery point location coordinate in the recovery point location coordinate library according to the relation between the distance between the recovery point location coordinate and the parking coordinate information and a first preset distance;
the updating the recovery point location coordinate in the recovery point location coordinate library according to the relationship between the distance between the recovery point location coordinate and the parking coordinate information and the first preset distance comprises:
if the distance between the recovery point location coordinate and the parking coordinate information is not larger than a first preset distance, marking the recovery point location coordinate once;
if the marked times of the recovery point location coordinate in the first preset time are smaller than a first time threshold value, deleting the recovery point location coordinate in the recovery point location coordinate library;
if the distance between the recovery point location coordinate and the parking coordinate information is larger than a first preset distance, acquiring a temporary point location coordinate with the minimum distance between the recovery point location coordinate and the parking coordinate information from a pre-acquired temporary point location coordinate library, wherein the temporary point location coordinate library is generated according to historical parking coordinate information and comprises a plurality of temporary point location coordinates;
updating a temporary point location coordinate library according to the relationship between the distance between the temporary point location coordinate and the parking coordinate information and a second preset distance;
and updating the recovery point location coordinate library according to the updating result of the temporary point location coordinate library.
2. The method for determining the garbage collection site according to claim 1, wherein the updating the temporary site location coordinate base according to the relationship between the distance between the temporary site location coordinate and the parking coordinate information and a second preset distance includes:
if the distance between the temporary point location coordinate and the parking coordinate information is not greater than a second preset distance, updating the point location and the point location marking times of the temporary point location coordinate based on a preset temporary point location updating rule;
and if the distance between the temporary point location coordinate and the parking coordinate information is greater than a second preset distance, generating a temporary point location coordinate by using the parking coordinate information, wherein the coordinate position of the temporary point location coordinate is the parking coordinate information, and the point location marking frequency is once.
3. The method for determining the garbage collection spot locations according to claim 2, wherein the preset temporary spot location update rule comprises:
determining the calculation weight of the temporary point location coordinate according to the point location marking times of the temporary point location coordinate;
and determining the point location and the point location marking times of the updated temporary point location coordinate according to the point location marking location of the temporary point location coordinate, the parking coordinate information and the calculation weight, wherein the updated point location marking times are equal to the original point location marking times plus one.
4. The method for determining the garbage collection spot locations according to claim 3, wherein the preset temporary spot location update rule comprises:
calling a related temporary point location coordinate set according to the temporary point location coordinates, wherein the temporary point location coordinate set comprises a plurality of sub-coordinate points;
marking the parking coordinate information as a sub-coordinate point position and adding the sub-coordinate point position to the temporary point position coordinate set;
and updating the temporary point location coordinates and the point location marking times according to a plurality of sub-coordinate point locations and a polygon gravity center algorithm, wherein the point location marking times are the number of the sub-coordinate point locations.
5. The garbage collection point location determining method according to claim 3, wherein updating the temporary point location coordinate base according to a magnitude relationship between a distance between the temporary point location coordinate and the parking coordinate information and a second preset distance includes:
and if the point location marking times of the temporary point location coordinate in the second preset time are larger than the second time threshold value, adding the temporary point location coordinate into the recovery point location coordinate library as a recovery point location coordinate.
6. A rubbish recovery point location determination device is characterized by comprising:
the system comprises an acquisition module (201) for acquiring parking time information and parking coordinate information, wherein the parking time information and the parking coordinate information reflect one-time parking record of a vehicle;
the updating module (202) is used for updating a pre-acquired recovery point position coordinate library according to the parking time information and the parking coordinate information based on a preset updating rule;
the preset updating rule comprises the following steps:
acquiring a recovery point location coordinate with the minimum distance from the parking coordinate information;
updating the recovery point location coordinate in the recovery point location coordinate library according to the relation between the distance between the recovery point location coordinate and the parking coordinate information and a first preset distance;
the updating the recovery point location coordinate in the recovery point location coordinate library according to the relationship between the distance between the recovery point location coordinate and the parking coordinate information and the first preset distance comprises:
if the distance between the recovery point location coordinate and the parking coordinate information is not larger than a first preset distance, marking the recovery point location coordinate once;
if the marked times of the recovery point location coordinate in the first preset time are smaller than a first time threshold value, deleting the recovery point location coordinate in the recovery point location coordinate library;
if the distance between the recovery point location coordinate and the parking coordinate information is larger than a first preset distance, acquiring a temporary point location coordinate with the minimum distance between the recovery point location coordinate and the parking coordinate information from a pre-acquired temporary point location coordinate library, wherein the temporary point location coordinate library is generated according to historical parking coordinate information and comprises a plurality of temporary point location coordinates;
updating a temporary point location coordinate library according to the relationship between the distance between the temporary point location coordinate and the parking coordinate information and a second preset distance;
and updating the recovery point location coordinate library according to the updating result of the temporary point location coordinate library.
7. An electronic device comprising a memory and a processor, the memory having a computer program stored thereon, wherein the processor when executing the program implements the method according to any of claims 1 to 5.
8. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1 to 5.
CN202211228761.3A 2022-10-09 2022-10-09 Garbage recovery point location determination method and device, electronic equipment and storage medium Active CN115574828B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211228761.3A CN115574828B (en) 2022-10-09 2022-10-09 Garbage recovery point location determination method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211228761.3A CN115574828B (en) 2022-10-09 2022-10-09 Garbage recovery point location determination method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115574828A CN115574828A (en) 2023-01-06
CN115574828B true CN115574828B (en) 2023-04-14

Family

ID=84585789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211228761.3A Active CN115574828B (en) 2022-10-09 2022-10-09 Garbage recovery point location determination method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115574828B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006027783A (en) * 2004-07-14 2006-02-02 Hitachi Kiden Kogyo Ltd Control device of automatic crane for garbage disposal plant
JP2008305197A (en) * 2007-06-07 2008-12-18 Fuji Heavy Ind Ltd Operation management system of garbage collecting vehicle
CN108763571B (en) * 2018-06-05 2021-02-05 北京智行者科技有限公司 Operation map updating method
CN110428035A (en) * 2019-07-26 2019-11-08 深圳市赛为智能股份有限公司 Municipal refuse working truck management system and its method based on GIS platform
JP2021082485A (en) * 2019-11-20 2021-05-27 トヨタ自動車株式会社 Fuel cell system for vehicle
CN111652783B (en) * 2020-06-11 2023-05-26 贵州小黑科技有限公司 Based on geographical positioning information rural garbage collection and transportation management system
CN112373992A (en) * 2020-11-16 2021-02-19 安徽环城科技有限公司 Intelligent positioning monitoring management system for intelligent environmental sanitation garbage can
CN115027847B (en) * 2022-05-24 2023-09-01 深圳市有方科技股份有限公司 Garbage collection and transportation method, device and medium

Also Published As

Publication number Publication date
CN115574828A (en) 2023-01-06

Similar Documents

Publication Publication Date Title
CN109766362B (en) Data processing method and device
CN110457407B (en) Method and apparatus for processing point cloud data
CN114519061A (en) Map data updating method, device, electronic equipment and medium
CN115574828B (en) Garbage recovery point location determination method and device, electronic equipment and storage medium
CN113918659A (en) Data operation method and device, storage medium and electronic equipment
CN115544128A (en) Generation method of locomotive turnover chart, electronic equipment and storage medium
CN114661736B (en) Electronic map updating method and device, electronic equipment, storage medium and product
CN115115231A (en) Index system construction method and device, electronic equipment and storage medium
CN111367500A (en) Data processing method and device
CN114162184B (en) Train operation plan creating method, device, equipment and storage medium
CN113008246B (en) Map matching method and device
CN114202272A (en) Vehicle and goods matching method and device based on electronic fence, storage medium and terminal
CN113610008A (en) Method, device, equipment and storage medium for acquiring state of slag car
CN110874870A (en) Method and device for calculating taxi taking cost
CN113761306A (en) Vehicle-end data processing method and device
CN112396081A (en) Data fusion method and device
CN110674082A (en) Method and device for removing online document, electronic equipment and computer readable medium
CN111475742A (en) Address extraction method and device
CN115164917B (en) Vehicle map information generation method, device, equipment and computer readable medium
CN113592432B (en) Work order weight judging method and device, electronic equipment and storage medium
CN114091625B (en) Vehicle part failure prediction method and system based on fault code sequence
CN111724002B (en) Method for predicting bus to be taken by user and reminding arrival information based on kNN
CN109798910B (en) Method and equipment for automatically planning bus route
CN113961673A (en) Method, system, device and storage medium for handling urban management cases
CN116308604A (en) Travel service method and device, electronic equipment and storage medium

Legal Events

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