CN110765371A - Position selection method and system of movable garbage can and storage medium - Google Patents

Position selection method and system of movable garbage can and storage medium Download PDF

Info

Publication number
CN110765371A
CN110765371A CN201910911242.9A CN201910911242A CN110765371A CN 110765371 A CN110765371 A CN 110765371A CN 201910911242 A CN201910911242 A CN 201910911242A CN 110765371 A CN110765371 A CN 110765371A
Authority
CN
China
Prior art keywords
garbage
request
movable
server
trash
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.)
Pending
Application number
CN201910911242.9A
Other languages
Chinese (zh)
Inventor
朱伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Evergrande Intelligent Technology Co Ltd
Original Assignee
Evergrande Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Evergrande Intelligent Technology Co Ltd filed Critical Evergrande Intelligent Technology Co Ltd
Priority to CN201910911242.9A priority Critical patent/CN110765371A/en
Publication of CN110765371A publication Critical patent/CN110765371A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06313Resource planning in a project environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Educational Administration (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Refuse Collection And Transfer (AREA)

Abstract

The invention provides a position selection method of a movable garbage can, which comprises the following steps: the client monitors a garbage throwing request triggered by a user and sends the triggered garbage throwing request to a server; the server receives the garbage throwing request, analyzes client position information in the request and searches for a movable garbage can closest to the position; sending a moving instruction to the movable garbage can, wherein the moving instruction comprises a target user position; according to the invention, after the whole system does not receive the garbage throwing request and changes into the idle state, the server can obtain the high-frequency point required to be triggered according to the triggering position of each historical request, drive the movable garbage can to move to the high-frequency point, adapt to the triggering request point which possibly appears next time with high probability, and improve the garbage throwing efficiency.

Description

Position selection method and system of movable garbage can and storage medium
Technical Field
The embodiment of the invention relates to the field of signal control, in particular to a position selection method and system of a movable garbage can and a storage medium.
Background
At present, the garbage cans in scenic spots are all fixedly thrown, but due to cost consideration, the number and the coverage area of the garbage cans are limited, the garbage cans are usually concentrated in catering centers in scenic spots, and many marginal areas or specific zones are not provided with the garbage cans, so that the problem of how visitors can throw garbage into the garbage cans on the premise of not increasing cost is continuously solved.
Disclosure of Invention
In order to solve the above problem, an embodiment of the present invention provides a method for selecting a position of a movable trash can, including the following steps:
the client monitors a garbage throwing request triggered by a user and sends the triggered garbage throwing request to a server;
the server receives the garbage throwing request, analyzes client position information in the request and searches for a movable garbage can closest to the position;
sending a moving instruction to the movable garbage can, wherein the moving instruction comprises a target user position;
and the movable garbage can receives the movement instruction and drives a motor of the movable garbage can to move along the laid track until the position of a target user is reached.
The movable garbage can detects the saturation of garbage contained in the movable garbage can through an infrared sensor of the movable garbage can, if the saturation is larger than a threshold value, the movable garbage can drives the movable garbage can to go to a garbage recovery site and sends a pause signal to the server, and after the server receives the pause signal, the server caches and marks a request user who does not finish garbage recovery and a request user who subsequently submits garbage recovery until a garbage emptying signal fed back by the movable garbage can is received;
the server receives a garbage emptying signal fed back by the movable garbage can, if no request user needing to throw garbage exists, the server pulls historical garbage throwing request data, calculates a high-frequency position point initiating a request according to the trigger position of each request in the historical garbage throwing request data, and sends a related instruction to the movable garbage can to go to the high-frequency position point to wait.
Preferably, the client monitors a user-triggered spam delivery request, and the step of sending the triggered spam delivery request to the server includes:
the client monitors a garbage putting request triggered by a user, acquires current position information if the garbage putting request is monitored, defines the current position information as first position information, adds the first position information to the garbage putting request and sends the request to the server.
Preferably, the step of acquiring the current location information includes:
and querying a position providing function preset by the equipment, further selecting a position providing interface with the optimal precision, and pulling the current equipment position information to the pointed background server by using the interface.
Preferably, before the step of receiving the request for trash placement, analyzing the client location information in the request, and finding the movable trash can closest to the location, the server includes:
and the server acquires the position information of each mobile garbage can in real time and stores and updates the position information.
Preferably, the step of the server receiving the request for trash placement, analyzing the client location information in the request, and finding the movable trash can closest to the location includes:
the server receives the garbage putting request, analyzes a data packet requested by the garbage putting request and extracts client position information of a requester;
and traversing the stored position information of each mobile garbage can, calculating the position distance between the position of each mobile garbage can and the position of the requester, and selecting the mobile garbage can with the closest distance as a responder.
Preferably, the step of the server pulling historical garbage throwing request data, further calculating to obtain a high-frequency location point initiating the request according to the trigger location of each request in the historical garbage throwing request data, and sending a relevant instruction to the movable garbage bin to go to the high-frequency location point for standby includes:
the server pulls locally stored historical junk placement request data, the placement request data comprise geographical position information uploaded by a client of a requesting party, and the geographical position information is defined as a trigger position of the request;
extracting the triggering positions in the requests, forming the triggering position points into classes with the same number by using a clustering algorithm according to the number of the garbage cans, and obtaining the central point in each class as the high-frequency position point of the triggering request;
and the server randomly selects a movable garbage can as a staying object aiming at the high-frequency position point, and sends the high-frequency position point to the corresponding movable garbage can so that the movable garbage can goes to the high-frequency position point to be ready.
Preferably, the step of receiving the moving command and driving the movable garbage bin to move along the laid track until reaching the target user position comprises the following steps;
the movable garbage can receives the moving instruction, analyzes the position of a target user contained in the moving instruction, calculates the moving direction, and drives a motor per se to move along the laid track according to the moving direction;
and calculating the distance position between the target user and the target user in real time, and stopping the self-movement if the distance position is smaller than a preset threshold value.
Preferably, after the step of receiving the moving command and driving the motor to move along the laid track to the target user position, the movable trash can comprises:
and if the movable garbage can receives the next target user position sent by the server in the moving process, the movable garbage can stores the next target user position.
The embodiment of the invention also provides a garbage can position selection system, which comprises;
the request module monitors a garbage throwing request triggered by a user and sends the triggered garbage throwing request to the server;
the analysis module is used for receiving the garbage throwing request by the server, analyzing the client position information in the request and searching a movable garbage can closest to the position;
the moving module is used for sending a moving instruction to the movable garbage can, and the moving instruction comprises a target user position;
and the driving module is used for receiving the moving instruction by the movable garbage bin and driving the motor to move along the laid track until the position of a target user is reached.
The recovery module is used for detecting the saturation of the garbage contained in the movable garbage bin through an infrared sensor of the movable garbage bin, driving the movable garbage bin to go to a garbage recovery site and sending a pause signal to the server if the saturation is larger than a threshold value, and after receiving the pause signal, the server caches and marks the request users who do not finish garbage recovery and the request users who subsequently submit garbage recovery until receiving a garbage emptying signal fed back by the movable garbage bin;
the queue module is used for extracting the marked positions of the requesting users after the server receives the garbage emptying signal, calculating a sequence queue of the movable garbage can to each target user according to a preset path algorithm, and sending the sequence queue to the movable garbage can;
and the return module is used for finishing garbage throwing according to the queue sequence after the movable garbage can receives the sequence queue and reaches the target user position corresponding to each cis position in sequence.
Embodiments of the present invention further provide a computer storage medium storing a computer program, where the computer program can be executed by at least one processor to perform the method for selecting a position of a movable trash can.
The position selection method, the system and the storage medium of the movable garbage can provided by the embodiment of the invention enable tourists to call the movable garbage can to the front of the tourists through the mobile client, so that the phenomenon that the tourists randomly lose garbage or cannot find the garbage can is avoided, the cleanliness of a garden is improved, and after the whole system is changed into an idle state without receiving a garbage throwing request, the server can obtain a high-frequency point of request triggering according to the triggering position of each historical request, drive the movable garbage can to a high-frequency point, adapt to a triggering request point which possibly appears next time with high probability, and improve the garbage throwing efficiency.
Drawings
FIG. 1 is a flow chart illustrating the steps of the method for selecting the position of a movable trash can according to the present invention;
FIG. 2 is a schematic diagram of the program modules of the position selection method for the movable trash can according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of the computer device of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. 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 invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that although the terms first, second, etc. may be used to describe the designated key in embodiments of the present invention, the designated key should not be limited to these terms. These terms are only used to distinguish specified keywords from each other. For example, the first specified keyword may also be referred to as the second specified keyword, and similarly, the second specified keyword may also be referred to as the first specified keyword, without departing from the scope of embodiments of the present invention.
The word "if" as used herein may be interpreted as referring to "at … …" or "when … …" or "corresponding to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (a stated condition or time)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
Referring to fig. 1, an embodiment of the present invention provides a method for selecting a position of a movable trash can, including:
step S100, the client monitors a garbage putting request triggered by a user and sends the triggered garbage putting request to a server.
Specifically, the junk placement request is triggered by clicking a button preset in a client interface by a user, after the triggering, the client generates a related junk placement request and sends the request to a server in the background, and the request format and related content of the request are preset by technicians.
Step S200, the server receives the garbage throwing request, analyzes the client position information in the request and searches for the movable garbage can closest to the position.
Specifically, the reported junk placement request includes a geographic position of a requester, that is, a client sending the request, and the server receives the geographic position, searches for position information of a mobile trash can stored in the server, and obtains the mobile trash can closest to the requester through calculation and comparison.
Step S300 is to send a moving instruction to the movable garbage bin, wherein the moving instruction comprises a target user position.
Specifically, a broadcast instruction or a directional paging instruction is sent to a movable trash can closest to the requester, and the position of the target user is used as a content field to be stuffed into a mobile instruction message before sending.
And S400, the movable garbage can receives the movement instruction and drives a motor of the movable garbage can to move along the laid track until the position of a target user.
After the movable garbage can receives the moving instruction, the direction to be moved can be obtained by comparing the position of the movable garbage can with the position of a target user contained in the instruction, because the movable garbage can is paved on a garden and moves through the rail, the movement only has two directions and is very easy to calculate, after the direction is obtained, the movable garbage can drives the movable garbage can to move, namely, the movable garbage can is driven forwards or backwards, the distance between the movable garbage can and the target user is periodically calculated, and the movable garbage can stop moving when the distance is less than 1 m.
Step S500, the movable garbage can detects the saturation of the garbage contained in the movable garbage can through an infrared sensor of the movable garbage can, if the saturation is larger than a threshold value, the movable garbage can drives the movable garbage can to go to a garbage recovery site and sends a pause signal to the server, and after the server receives the pause signal, the server caches and marks the request users who do not finish garbage recovery and the request users who subsequently submit garbage recovery until the movable garbage can feeds back garbage emptying signals.
Specifically, portable garbage bin is provided with infrared module, utilizes infrared module can the whole garbage of perception to pile up the height, and then learns the rubbish saturation of garbage bin, in addition, still is provided with a recovery threshold value to rubbish saturation, if the saturation exceeds the threshold value, then the garbage bin will halt the execution of each rubbish input request, and then go to rubbish recycle bin and carry out rubbish and empty, the preferred value of threshold value is 90%, if set to 100%, then the garbage bin takes place to overflow easily in the track removal in-process and drops.
In addition, when the saturation of the trash can exceeds the threshold value, a pause signal is fed back to be uploaded to the server, after the server receives the pause signal, caching and labeling are carried out on uncompleted trash recycling request users and subsequent request users submitting trash recycling, and the labeling is exemplarily as follows:
requestor A, < Undo >
Requestor B, < Undo >
Step S600, the server receives a garbage emptying signal fed back by the movable garbage can, if there is no request user needing to throw garbage, the server pulls historical garbage throwing request data, calculates a high-frequency position point initiating a request according to trigger positions of requests in the historical garbage throwing request data, and sends a related instruction to the movable garbage can to the high-frequency position point to wait.
Illustratively, the server has currently stored history requests that,
10:11 request A (a1, b 1);
10:12 request A (a2, b 2);
10:22 request A (a3, b 3);
10:23 request A (a4, b 4);
10:25 request A (a5, b 5);
10:26 request A (a6, b 6);
10:28 request A (a7, b 7);
10:29 request A (a8, b 8);
10:30 request A (a9, b 9);
the method comprises the steps of clustering the 10 positions by using a kmeans clustering algorithm, carrying out iterative operation, further obtaining a region class and a central point corresponding to each class, and taking the central point as a high-frequency position point of a request, wherein the garbage can is intelligently stopped at one position, and the garbage can is stopped at the high-frequency position, so that the request possibly occurring in the whole region class can reach the high-frequency position point for garbage collection only by taking a few steps, and the central point, namely the high-frequency position point, is located in the center of the region class and has the shortest distance from all the possible points in the region class.
The position selection method, the system and the storage medium of the movable garbage can provided by the embodiment of the invention enable tourists to call the movable garbage can to the front of the tourists through the mobile client, so that the phenomenon that the tourists randomly lose garbage or cannot find the garbage can is avoided, the cleanliness of a garden is improved, and after the whole system is changed into an idle state without receiving a garbage throwing request, the server can obtain a high-frequency point of request triggering according to the triggering position of each historical request, drive the movable garbage can to a high-frequency point, adapt to a triggering request point which possibly appears next time with high probability, and improve the garbage throwing efficiency.
Optionally, the step S100 of the client monitoring a user-triggered spam delivery request, and sending the triggered spam delivery request to the server includes:
the client monitors a garbage putting request triggered by a user, acquires current position information if the garbage putting request is monitored, defines the current position information as first position information, adds the first position information to the garbage putting request and sends the request to the server.
Optionally, the step of obtaining the current location information includes:
and querying a position providing function preset by the equipment, further selecting a position providing interface with the optimal precision, and pulling the current equipment position information to the pointed background server by using the interface.
Specifically, taking the android system as an example, a system interface location provider (location provider) is called, an optimal location provider is queried, for example, a GPS in a place with a poor signal provides an optimal location providing mode, a place with a good signal is located by using a mobile network, the optimal location providing mode is selected, a corresponding background provider is accessed, that is, a background server pulls location information identifying its own location,
optionally, before the step of receiving the request for trash placement by the server in step S200, analyzing the client location information in the request, and finding the movable trash can closest to the location, the method includes:
and the server acquires the position information of each mobile garbage can in real time and stores and updates the position information.
Specifically, the mobile trash can periodically reports the position information of the mobile trash can to the server, the server stores the position information of all the mobile trash cans as basic data so that a user can select the trash can with the closest distance, preferably, the mobile trash can uploads the position information data of the mobile trash can to the server once in 2S, and the server updates the data after receiving the position information data.
Optionally, in step S200, the step of receiving, by the server, the garbage throwing request, analyzing client location information in the request, and finding a movable garbage can closest to the location includes:
step S210, the server receives the garbage release request, analyzes the data packet requested by the garbage release request, and extracts the client location information of the requester.
Step S220 traverses the stored position information of each mobile trash can, calculates the distance between the position of each mobile trash can and the position of the requester, and selects the mobile trash can closest to the requester as the responder.
Optionally, the step of calculating the distance between the position of each mobile trash can and the requester in step S220 includes:
Figure BDA0002214801790000101
wherein d is a record value of the mobile garbage can and the requester, x and y are respectively the longitude and the latitude of the requester, and xn and yn are respectively the longitude and the latitude of each mobile garbage can.
Specifically, the invention adopts the longitude and latitude of the plane, so the calculation of the distance does not relate to the calculation of the center of the earth, and only needs to directly calculate through the Euclidean distance.
Optionally, the step S600 of pulling, by the server, the historical trash throwing request data, and further calculating a high-frequency location point initiating the request according to the trigger location of each request in the historical trash throwing request data, and the step of sending a relevant instruction to the movable trash can to go to the high-frequency location point to wait for the request includes:
step S610, the server pulls locally stored historical junk placement request data, the placement request data comprises geographical location information uploaded by a client of a requesting party, and the geographical location information is defined as a trigger location of the request;
step S620, extracting the triggering positions in the requests, forming the triggering position points into classes with the same number by using a clustering algorithm according to the number of the garbage cans, and obtaining the central point in each class as the high-frequency position point of the triggering request;
in step S630, the server randomly selects a movable trash can as a staying object for the high-frequency location point, and sends the high-frequency location point to a corresponding movable trash can, so that the movable trash can goes to the high-frequency location point to be ready.
Specifically, the server performs definition of the number of clusters according to the number of the trash cans, for example, if there are 7 movable trash cans, the server aggregates the position points of the historical requests into 7 clusters by using a Kmeans algorithm, obtains a central point in each cluster, the central point is the minimum distance sum between the store and the rest sample points in the cluster, uses the central point as a high-frequency position point, randomly configures one movable trash can for the high-frequency position point, correspondingly configures 7 movable trash cans for the 7 high-frequency position points, the configurations are not repeated, encapsulates the high-frequency position point to a driving instruction of the movable trash can, sends the driving instruction to the corresponding movable trash can according to the configured corresponding relationship, and sends the driving instruction to the allocated high-frequency position point to wait for a possible trash throwing event after the movable trash can obtains the instruction.
Optionally, the step S400 of receiving the moving instruction and driving the movable trash can to move along the laid track by the motor thereof until the target user position is reached includes;
and S410, the movable garbage can receives the moving instruction, analyzes the position of a target user contained in the moving instruction, calculates the moving direction, and drives a motor of the movable garbage can to move along the laid track according to the moving direction.
Step S420 calculates the distance position to the target user in real time, and stops moving itself if the distance position is smaller than a preset threshold.
Specifically, the distance position between the movable garbage can and the target user is calculated once by 1S during the movement of the movable garbage can, and once the calculated value is lower than 1m, the garbage can is determined to reach the vicinity of the target user, and then the motor can be turned off.
Optionally, after the step of receiving the moving command and driving the motor to move along the laid track to the target user position, the step S of the movable trash can includes:
and if the movable garbage can receives the next target user position sent by the server in the moving process, the movable garbage can stores the next target user position.
Specifically, when the mobile trash can responds to a trash release request once, requests of other target users forwarded by the server may still be received, after the trash can receives the requests, an execution queue is created, the requests are sorted according to the time of receiving the requests, and after the current trash release request is executed, the position heading and trash release of the target users are sequentially completed according to the queue sorting.
The embodiment of the invention also provides a garbage can position selection system, which comprises;
a request module 100, which monitors a user-triggered garbage throwing request and sends the triggered garbage throwing request to a server;
the analysis module 200 is configured to receive the garbage throwing request, analyze client location information in the request, and find a movable garbage can closest to the location;
the moving module 300 is configured to send a moving instruction to the movable trash can, where the moving instruction includes a target user location;
and the driving module 400 is used for receiving the moving instruction and driving the motor of the movable garbage bin to move along the laid track until the position of the target user is reached.
The recycling module 500 is used for detecting the saturation of the mobile garbage bin for accommodating the garbage by the mobile garbage bin through an infrared sensor of the mobile garbage bin, driving the mobile garbage bin to go to a garbage recycling site and sending a pause signal to the server if the saturation is greater than a threshold value, and caching and labeling a request user who does not finish garbage recycling and a request user who subsequently submits garbage recycling after the server receives the pause signal until the mobile garbage bin feeds back a garbage emptying signal;
a location module 600, configured to receive a garbage emptying signal fed back by the movable garbage can, if there is no request user needing to throw garbage, pull historical garbage throwing request data by the server, calculate a high-frequency location point initiating the request according to a trigger location of each request in the historical garbage throwing request data, and send a related instruction to the movable garbage can to go to the high-frequency location point to wait.
Please refer to fig. 3, which is a schematic diagram of a hardware architecture of a computer device according to an embodiment of the present invention. In the present embodiment, the computer device 2 is a device capable of automatically performing numerical calculation and/or information processing in accordance with a preset or stored instruction. The computer device 2 may be a personal computer, a tablet computer, a mobile phone, a smartphone, or a rack server, a blade server, a tower server, or a cabinet server (including an independent server or a server cluster composed of a plurality of servers), and the like, and is configured to provide a virtual client. As shown, the computer device 2 includes, but is not limited to, at least a memory 21, a processor 22, a network interface 23, and a trash can location selection system 20 communicatively connected to each other via a system bus, wherein:
in this embodiment, the memory 21 includes at least one type of computer-readable storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the storage 21 may be an internal storage unit of the computer device 2, such as a hard disk or a memory of the computer device 2. In other embodiments, the memory 21 may also be an external storage device of the computer device 2, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (Secure Digital) SD Card, a Flash memory Card (Flash Card), etc. provided on the computer device 20, and of course, the memory 21 may also include both an internal storage unit and an external storage device of the computer device 2. In this embodiment, the memory 21 is used for storing an operating system installed in the computer device 2 and various types of application software, such as program codes of the trash can position selecting system 20. Further, the memory 21 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip in some embodiments. The processor 22 is typically used to control the overall operation of the computer device 2. In this embodiment, the processor 22 is configured to execute program codes stored in the memory 21 or process data, such as the trash can position selecting system 20, to implement the position selecting method of the movable trash can.
The network interface 23 may comprise a wireless network interface or a limited network interface, and the network interface 23 is typically used for establishing a communication connection between the computer device 2 and other electronic apparatuses. For example, the network interface 23 is used to connect the computer device 2 with an external terminal necklace, establish a data transmission channel and a communication connection between the computer device 2 and an external interrupt, and the like via a network. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth (Bluetooth), Wi-Fi, and the like.
In this embodiment, the garbage bin position selecting system 20 stored in the memory 21 can be further divided into one or more program modules, and the one or more program modules are stored in the memory 21 and executed by one or more processors (in this embodiment, the processor 22) to complete the present invention.
In addition, the present embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, which when executed by a processor implements a corresponding function. The computer readable storage medium of the embodiment is used for the trash can position selecting system 20, and when being executed by the processor, the trash can position selecting method of the invention is realized.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method of selecting a position of a movable trashcan, comprising:
the client monitors a garbage throwing request triggered by a user and sends the triggered garbage throwing request to a server;
the server receives the garbage throwing request, analyzes client position information in the request and searches for a movable garbage can closest to the position;
sending a moving instruction to the movable garbage can, wherein the moving instruction comprises a target user position;
the movable garbage can receives the moving instruction and drives a motor of the movable garbage can to move along the laid track until the position of a target user is reached;
the movable garbage can detects the saturation of garbage contained in the movable garbage can through an infrared sensor of the movable garbage can, if the saturation is larger than a threshold value, the movable garbage can drives the movable garbage can to go to a garbage recovery site and sends a pause signal to the server, and after the server receives the pause signal, the server caches and marks a request user who does not finish garbage recovery and a request user who subsequently submits garbage recovery until a garbage emptying signal fed back by the movable garbage can is received;
the server receives a garbage emptying signal fed back by the movable garbage can, if no request user needing to throw garbage exists, the server pulls historical garbage throwing request data, calculates a high-frequency position point initiating a request according to the trigger position of each request in the historical garbage throwing request data, and sends a related instruction to the movable garbage can to go to the high-frequency position point to wait.
2. The method of claim 1, wherein the client monitors a user-triggered request for trash placement, and the step of sending the triggered request for trash placement to the server comprises:
the client monitors a garbage putting request triggered by a user, acquires current position information if the garbage putting request is monitored, defines the current position information as first position information, adds the first position information to the garbage putting request and sends the request to the server.
3. The method of claim 2, wherein the step of obtaining the current location information comprises:
and querying a position providing function preset by the equipment, further selecting a position providing interface with the optimal precision, and pulling the current equipment position information to the pointed background server by using the interface.
4. The method of claim 1, wherein the step of the server receiving the request for trash placement, analyzing the client location information in the request, and finding the nearest movable trash can to the location is preceded by the step of:
and the server acquires the position information of each mobile garbage can in real time and stores and updates the position information.
5. The method of claim 4, wherein the step of the server receiving the request for trash placement, analyzing the client location information in the request, and finding the nearest movable trash can to the location comprises:
the server receives the garbage putting request, analyzes a data packet requested by the garbage putting request and extracts client position information of a requester;
and traversing the stored position information of each mobile garbage can, calculating the position distance between the position of each mobile garbage can and the position of the requester, and selecting the mobile garbage can with the closest distance as a responder.
6. The method for selecting the position of a movable trash can according to claim 1, wherein the step of the server pulling historical trash launch request data, further calculating a high-frequency position point for initiating the request according to a trigger position of each request in the historical trash launch request data, and sending a relevant instruction to the movable trash can to go to the high-frequency position point for standby includes:
the server pulls locally stored historical junk placement request data, the placement request data comprise geographical position information uploaded by a client of a requesting party, and the geographical position information is defined as a trigger position of the request;
extracting the triggering positions in the requests, forming the triggering position points into classes with the same number by using a clustering algorithm according to the number of the garbage cans, and obtaining the central point in each class as the high-frequency position point of the triggering request;
and the server randomly selects a movable garbage can as a staying object aiming at the high-frequency position point, and sends the high-frequency position point to the corresponding movable garbage can so that the movable garbage can goes to the high-frequency position point to be ready.
7. The method of selecting a position of a movable trash can according to claim 1, wherein the step of the movable trash can receiving the movement command and driving its own motor to move along the paved track until reaching the target user position comprises;
the movable garbage can receives the moving instruction, analyzes the position of a target user contained in the moving instruction, calculates the moving direction, and drives a motor per se to move along the laid track according to the moving direction;
and calculating the distance position between the target user and the target user in real time, and stopping the self-movement if the distance position is smaller than a preset threshold value.
8. The method of selecting the position of a movable trash can of claim 1, wherein the step of receiving the movement command and driving its own motor to move along the paved track until the target user position is followed by the step of:
and if the movable garbage can receives the next target user position sent by the server in the moving process, the movable garbage can stores the next target user position.
9. A trash can position selection system, comprising;
the request module monitors a garbage throwing request triggered by a user and sends the triggered garbage throwing request to the server;
the analysis module is used for receiving the garbage throwing request by the server, analyzing the client position information in the request and searching a movable garbage can closest to the position;
the moving module is used for sending a moving instruction to the movable garbage can, and the moving instruction comprises a target user position;
and the driving module is used for receiving the moving instruction by the movable garbage bin and driving the motor to move along the laid track until the position of a target user is reached.
The recovery module is used for detecting the saturation of the garbage contained in the movable garbage bin through an infrared sensor of the movable garbage bin, driving the movable garbage bin to go to a garbage recovery site and sending a pause signal to the server if the saturation is larger than a threshold value, and after receiving the pause signal, the server caches and marks the request users who do not finish garbage recovery and the request users who subsequently submit garbage recovery until receiving a garbage emptying signal fed back by the movable garbage bin;
and the position module is used for receiving a garbage emptying signal fed back by the movable garbage can by the server, pulling historical garbage throwing request data by the server if no request user needing to throw garbage exists, further calculating to obtain a high-frequency position point initiating the request according to the trigger position of each request in the historical garbage throwing request data, and sending a related instruction to the movable garbage can to the high-frequency position point for standby.
10. A computer storage medium, characterized in that it stores a computer program that can be executed by at least one processor to perform the method of position selection of a movable trash can of claims 1-8.
CN201910911242.9A 2019-09-25 2019-09-25 Position selection method and system of movable garbage can and storage medium Pending CN110765371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910911242.9A CN110765371A (en) 2019-09-25 2019-09-25 Position selection method and system of movable garbage can and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910911242.9A CN110765371A (en) 2019-09-25 2019-09-25 Position selection method and system of movable garbage can and storage medium

Publications (1)

Publication Number Publication Date
CN110765371A true CN110765371A (en) 2020-02-07

Family

ID=69329953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910911242.9A Pending CN110765371A (en) 2019-09-25 2019-09-25 Position selection method and system of movable garbage can and storage medium

Country Status (1)

Country Link
CN (1) CN110765371A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111443614A (en) * 2020-03-27 2020-07-24 珠海格力电器股份有限公司 Smart home control method and device, electronic equipment and storage medium
CN111459162A (en) * 2020-04-07 2020-07-28 珠海格力电器股份有限公司 Standby position planning method and device, storage medium and computer equipment
CN113093731A (en) * 2021-03-12 2021-07-09 广东来个碗网络科技有限公司 Mobile control method and device for intelligent recycling bin
CN114418250A (en) * 2022-04-01 2022-04-29 城云科技(中国)有限公司 Method, device and application for setting environmental sanitation facilities

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109063795A (en) * 2018-07-11 2018-12-21 北京绿博伟业环保科技有限责任公司 Garbage truck, garbage disposal background server and garbage classification system
CN109760975A (en) * 2019-03-29 2019-05-17 深圳中科云海科技有限公司 A kind of system of intelligence recycling rubbish

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109063795A (en) * 2018-07-11 2018-12-21 北京绿博伟业环保科技有限责任公司 Garbage truck, garbage disposal background server and garbage classification system
CN109760975A (en) * 2019-03-29 2019-05-17 深圳中科云海科技有限公司 A kind of system of intelligence recycling rubbish

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111443614A (en) * 2020-03-27 2020-07-24 珠海格力电器股份有限公司 Smart home control method and device, electronic equipment and storage medium
CN111443614B (en) * 2020-03-27 2021-07-23 珠海格力电器股份有限公司 Smart home control method and device, electronic equipment and storage medium
CN111459162A (en) * 2020-04-07 2020-07-28 珠海格力电器股份有限公司 Standby position planning method and device, storage medium and computer equipment
WO2021203745A1 (en) * 2020-04-07 2021-10-14 格力电器(武汉)有限公司 Standby position planning method and apparatus, and storage medium and computer device
CN111459162B (en) * 2020-04-07 2021-11-16 珠海格力电器股份有限公司 Standby position planning method and device, storage medium and computer equipment
CN113093731A (en) * 2021-03-12 2021-07-09 广东来个碗网络科技有限公司 Mobile control method and device for intelligent recycling bin
CN114418250A (en) * 2022-04-01 2022-04-29 城云科技(中国)有限公司 Method, device and application for setting environmental sanitation facilities

Similar Documents

Publication Publication Date Title
CN110730218A (en) Intelligent garbage putting method and system and storage medium
CN110765371A (en) Position selection method and system of movable garbage can and storage medium
US20210191979A1 (en) Distributed video storage and search with edge computing
US10715949B2 (en) Determining timing for determination of applicable geo-fences
US10733641B2 (en) Parking management method, server, user terminal and system
CN103714112B (en) The event of customization and sight spot suggestion
CN108257378B (en) Traffic flow prediction method and device
CN110490246B (en) Garbage category determination method and device, storage medium and electronic equipment
US10794714B2 (en) Self-driving vehicle systems and methods
CN109556612B (en) Navigation information processing method, device, server, terminal and storage medium
US10466057B1 (en) Self-driving vehicle systems and methods
US20160066135A1 (en) Service processing method and apparatus based on location information
CN108234282B (en) Feedback information processing method based on social tool and vehicle-mounted terminal
US20070294222A1 (en) On-demand news service based on end-user requested and generated content
US11240777B2 (en) Device positioning method and apparatus
CN111597445A (en) Information recommendation method and device
CN1900657A (en) Navigation system with function of destination search using synchronization service of home telematics system, and method thereof
WO2022206591A1 (en) Delivery order processing methods and apparatuses, and computer device
CN113449207A (en) Method, device, server, system and storage medium for positioning electronic equipment
CN111105641A (en) BIM model-based vehicle searching method and device and readable storage medium
CN110730223A (en) Garbage throwing method and system based on movable garbage can
US20180330318A1 (en) Systems and Methods for Dynamically Updating Stored Lists Based on Contemporaneous Location Data Associated with Client Devices
CN112883291B (en) Destination position recommendation method and device and server
KR102366773B1 (en) Electronic business card exchanging system using mobile terminal and method thereof
CN107454258A (en) The method to set up of mobile terminal and its contextual model, computer-readable recording 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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200207