CN111815088B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN111815088B
CN111815088B CN201910290082.0A CN201910290082A CN111815088B CN 111815088 B CN111815088 B CN 111815088B CN 201910290082 A CN201910290082 A CN 201910290082A CN 111815088 B CN111815088 B CN 111815088B
Authority
CN
China
Prior art keywords
determining
garbage
garbage cans
type
information
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
CN201910290082.0A
Other languages
Chinese (zh)
Other versions
CN111815088A (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.)
Shenzhen Jiajia Classification Technology Co ltd
Original Assignee
Shenzhen Jiajia Classification 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 Shenzhen Jiajia Classification Technology Co ltd filed Critical Shenzhen Jiajia Classification Technology Co ltd
Priority to CN201910290082.0A priority Critical patent/CN111815088B/en
Publication of CN111815088A publication Critical patent/CN111815088A/en
Application granted granted Critical
Publication of CN111815088B publication Critical patent/CN111815088B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants
    • 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/06315Needs-based resource requirements planning or analysis

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Tourism & Hospitality (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Primary Health Care (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application discloses a data processing method and device, wherein the method comprises the following steps: acquiring historical data of registered users, wherein the historical data comprises the number of garbage cans and load information of the garbage cans in a preset time period; acquiring the restaurant type corresponding to the registered user; determining the number of target garbage cans according to the number of garbage cans, the load information and the date information of the garbage cans in the preset time period, wherein the number of the garbage cans corresponds to the restaurant type; transmitting the number of the target garbage cans to a device corresponding to the registered user; receiving information of the feedback; and determining the delivery quantity of the garbage bin according to the feedback information. Therefore, by the technical scheme provided by the embodiment of the invention, the number of the required garbage cans can be determined by combining the type of each restaurant and the historical operation data, so that the garbage cans are configured for each restaurant according to the number, and the management efficiency is improved while the normal operation of the restaurants is ensured.

Description

Data processing method and device
Technical Field
The application relates to the technical field of the internet of things, in particular to a data processing method and device.
Background
A trash can having a water filtering function (hereinafter simply referred to as trash can) is basically a necessity for each restaurant. However, each restaurant has different daily operation conditions, and sometimes generates more kitchen waste (wherein the kitchen waste can be understood as leftovers or household waste), and sometimes generates less kitchen waste. The number of bins required per day cannot be accurately determined. When the generated kitchen garbage is less, but the garbage bin required to be configured on the same day is more, additional consumption is generated; when the generated kitchen garbage is more, but the garbage bin required to be configured on the same day is less, the operation of the restaurant is troublesome; therefore, how to accurately configure the garbage can is important.
Disclosure of Invention
The embodiment of the application provides a data processing method and device, which can be used for determining the number of required garbage cans according to the type and the historical operation data of each restaurant, so that the garbage cans are configured for each restaurant according to the number, and the management efficiency is improved while the normal operation of the restaurants is ensured.
In a first aspect, an embodiment of the present application provides a method for data processing, where the method includes:
acquiring historical data of registered users, wherein the historical data comprises the number of garbage cans and load information of the garbage cans in a preset time period;
Acquiring the restaurant type corresponding to the registered user;
determining the number of target garbage cans according to the number of garbage cans, the load information and the date information of the garbage cans in the preset time period, wherein the number of the garbage cans corresponds to the restaurant type;
transmitting garbage can configuration information to a device corresponding to the registered user, wherein the garbage can configuration information comprises the number of the target garbage cans;
receiving information fed back by a device corresponding to the registered user;
and determining the delivery quantity of the garbage bin according to the feedback information.
Optionally, the number of the target garbage cans is determined according to the number of the garbage cans, the load information and the date information of the garbage cans in the preset time period, which correspond to the restaurant types of the registered users;
judging the increment of kitchen waste according to the date information and the restaurant type corresponding to the registered user;
and determining the number of the target garbage cans according to the number of the garbage cans in the preset time period, the load information of the garbage cans and the increment of the kitchen waste.
Optionally, the determining the number of the target garbage cans according to the number of the garbage cans in the preset time period, the load information of the garbage cans and the increment of the kitchen waste includes:
Judging whether a garbage can needs to be newly added or not according to the load information of the garbage can and the increment of the kitchen garbage;
and if no new garbage can is needed, determining the number of the garbage cans in the preset time period as the target number of the garbage cans.
Optionally, the determining the number of bins for the preset time period as the target number of bins includes:
sequencing the number of the garbage cans used every day in the preset time period to obtain a sequencing result;
obtaining a median value in the sequencing result;
and determining the median value as the target number of the garbage cans.
Optionally, the determining the increment of the kitchen waste according to the date information and the restaurant type corresponding to the registered user includes:
determining the date type of tomorrow according to the date information;
judging whether the date type of the tomorrow is a holiday type or not;
if the date type of the tomorrow is a holiday type, acquiring a person trip rate matched with the holiday type;
and determining the increment of kitchen waste according to the personnel travel rate and the restaurant type corresponding to the registered user.
Optionally, the determining the increment of the kitchen waste according to the date information and the restaurant type corresponding to the registered user includes:
Determining the weather type of tomorrow according to the date information;
and determining the increment of kitchen waste according to the weather type and the restaurant type corresponding to the registered user.
Optionally, the determining the increment of the kitchen waste according to the date information and the restaurant type corresponding to the registered user includes:
determining a season type according to the date information;
and determining the increment of the kitchen waste according to the season type and the restaurant type corresponding to the registered user.
The second aspect of the present invention discloses a data processing apparatus, the apparatus comprising:
an acquisition unit, configured to acquire historical data of a registered user, where the historical data includes the number of garbage cans and load information of the garbage cans in a preset time period; acquiring the restaurant type corresponding to the registered user;
the first determining unit is used for determining the number of the target garbage cans according to the number of the garbage cans, the load information and the date information of the garbage cans in the preset time period, which correspond to the restaurant types of the registered users;
a sending unit, configured to send, to a device corresponding to the registered user, configuration information of a trash can, where the configuration information of the trash can includes the number of the target trash cans;
The receiving unit is used for receiving the information fed back by the device corresponding to the registered user;
and the second receiving unit is used for determining the delivery quantity of the garbage can according to the feedback information.
A third aspect of the present invention discloses a data processing apparatus, the apparatus comprising a processor and a memory, the memory having program code stored therein; the processor performs the method of any of the first aspects when the program code is run.
A fourth aspect of the present invention discloses a storage medium having program code stored therein; when the program code is executed, the processor performs any of the methods of the first aspect when the program code is executed.
A fifth aspect of the invention provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in the method according to any one of the first aspects of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, history data of a registered user is obtained, where the history data includes the number of the garbage cans and the load information of the garbage cans in a preset time period; acquiring the restaurant type corresponding to the registered user; determining the number of target garbage cans according to the number of garbage cans, the load information and the date information of the garbage cans in the preset time period, wherein the number of the garbage cans corresponds to the restaurant type; transmitting the number of the target garbage cans to a device corresponding to the registered user; receiving information of the feedback; and determining the delivery quantity of the garbage bin according to the feedback information. Therefore, by the technical scheme provided by the embodiment of the invention, the number of the required garbage cans can be determined by combining the type of each restaurant and the historical operation data, so that the garbage cans are configured for each restaurant according to the number, and the management efficiency is improved while the normal operation of the restaurants is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is an exemplary system architecture diagram of a wireless communication system in which an electronic device is located according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for data processing according to an embodiment of the present application;
FIG. 3 is a flow chart of another method for data processing according to an embodiment of the present application;
FIG. 4 is a flow chart of another method for data processing according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will clearly and completely describe the technical solution in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims of the present application and in the above-described figures, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The electronic apparatus according to the embodiments of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), mobile Stations (MSs), terminal devices (terminal devices), and so on. For convenience of description, the above-mentioned apparatuses are collectively referred to as an electronic device.
For a better understanding of a data processing method provided in the embodiments of the present application, a brief description of the data processing method is provided below. Referring to fig. 1, fig. 1 is a schematic application scenario diagram of a data processing method according to an embodiment of the present application. As shown in fig. 1, the data processing system 100 includes a server 110 and a user device 120, a user device 130, a user device 140, and so on (it is understood that the number of user devices included in the embodiment of the present invention may be N, where N is a positive integer greater than zero, and the present invention is illustrated by the user device 120). Specifically, the server 110 obtains historical data of the registered user, where the historical data includes the number of the garbage cans and the load information of the garbage cans in a preset time period; server 110 obtains the restaurant type corresponding to the registered user; the server 110 determines the number of target garbage cans according to the number of garbage cans, the load information and the date information of the garbage cans in the preset time period, which correspond to the restaurant types of the registered users; the server 110 sends garbage can configuration information to the device corresponding to the registered user, wherein the garbage can configuration information comprises the number of the target garbage cans; after receiving the configuration information, the user device 120 sends a reminder to the user to determine whether the number of trash cans is needed; if feedback of the user is not received within the preset time, the default user agrees to use the garbage cans; the user equipment 120 transmits feedback information to the server 110; the server 110 receives information fed back by the device corresponding to the registered user; and determining the delivery quantity of the garbage bin according to the feedback information. According to the technical scheme provided by the embodiment of the invention, the number of the required garbage cans can be determined by combining the type of each restaurant and the historical operation data, so that the garbage cans are configured for each restaurant according to the number, and the management efficiency is improved while the normal operation of the restaurants is ensured.
Referring to fig. 2, fig. 2 is a flowchart of a method for processing data according to an embodiment of the present application, and as shown in fig. 2, the method for processing data includes:
s201, acquiring historical data of registered users, wherein the historical data comprises the number of garbage cans and load information of the garbage cans in a preset time period;
it will be appreciated that when a user needs to use a life service, an application may be downloaded or information registered on a website. For example, the registered information may include a name of a restaurant, business registration information, a name of a legal person or holder, a telephone number, a restaurant business scope (restaurant type), and the like.
In addition, it will be appreciated that after registration of the user, an order may be placed on the web site user application to enjoy life services. For example, a living service company may be required to send out garbage cans and recycle garbage every day, and then serve for example to send out and recycle sterilized tableware.
S202, acquiring a restaurant type corresponding to the registered user;
it will be appreciated that the server may obtain the type of restaurant from the user's registration information. For example, the type of restaurant may be a hot pot type, a roast type, a Sichuan dish type, a Hunan dish type, etc.
In addition, the service range of the user can be obtained from the registration information of the user; and determining the type of the restaurant according to the service range of the user.
S203, determining the number of target garbage cans according to the number of garbage cans, the load information and the date information of the garbage cans in the preset time period, wherein the number of the garbage cans corresponds to the restaurant type of the registered user;
it will be appreciated that different restaurant types may have different turnover at different time periods, and accordingly, if the turnover is different, the kitchen waste produced may be different.
In one possible implementation manner of the present invention, the determining, according to the number of the garbage cans, the load information and the date information of the garbage cans in the preset time period and the number of the target garbage cans corresponding to the restaurant type of the registered user includes: judging the increment of kitchen waste according to the date information and the restaurant type corresponding to the registered user; and determining the number of the target garbage cans according to the number of the garbage cans in the preset time period, the load information of the garbage cans and the increment of the kitchen waste.
For example, the determining the increment of the kitchen waste according to the date information and the restaurant type corresponding to the registered user includes: determining the date type of tomorrow according to the date information; judging whether the date type of the tomorrow is a holiday type or not; if the date type of the tomorrow is a holiday type, acquiring a person trip rate matched with the holiday type; and determining the increment of kitchen waste according to the personnel travel rate and the restaurant type corresponding to the registered user.
For example, the date information is in the form of year, month, and day. Specifically, for example, tomorrow's date is 2018, 5, 1. Then the date is the national legal holiday. If the tomorrow date type is holiday type, then the flow of people is increased, and the business of the restaurant may be quite good. For example, the server may obtain a person trip rate published by the government 5 months 1 day in the last year, and use the person trip rate in the last year as a person trip rate matched with the holiday type; for example, the server may obtain the government published person trip rates 5 months 1 day a year over the last three years, and then average the person trip rates for the three years to be the person trip rates for the present year. And then, determining the increment of kitchen waste according to the personnel travel rate and the restaurant type corresponding to the registered user. For example, if the person trip rate is 120%, the turnover of the chafing dish may be 120%, and the increment of kitchen waste is 20%. For example, the person trip rate may be understood as a ratio of the number of persons in the 5 month 1 japan region to the number of resident population in the local region. It will be appreciated that the sales of restaurants has a great relationship with the population of services, and the greater the population of services, the higher the sales of restaurants will be, and the greater the amount of garbage produced will be. Of course, the degree of match between different restaurant types and the number of service demographics is different. For example, the person travel rate is 120%, the sales of hotpot type restaurants may be 120%, the sales of barbecue type restaurants may be 150%, the sales of Sichuan type restaurants may be 110%, etc., which are not listed here. The corresponding relation between the personnel travel rate and the restaurant type can be obtained through classified calculation according to the data of the historical statistics.
For example, the determining the increment of the kitchen waste according to the date information and the restaurant type corresponding to the registered user includes: determining the weather type of tomorrow according to the date information; and determining the increment of kitchen waste according to the weather type and the restaurant type corresponding to the registered user. Wherein, it should be noted that the server may query the weather type corresponding to the date information. For example, when the date information shows that tomorrow is 2018, 12 and 30, then the weather forecast corresponding to the date or local weather information can be queried to obtain the weather type corresponding to the date. For example. Common weather types include sunny days, rainy days, snowy days, foggy days, and the like. It will be appreciated that the impact of different weather types on different restaurant types is different, such as heavy rain, and that sales recycling of restaurants of the barbecue type is severely affected, and correspondingly, kitchen waste produced is also greatly reduced.
For example, the determining the increment of the kitchen waste according to the date information and the restaurant type corresponding to the registered user includes: determining a season type according to the date information; and determining the increment of the kitchen waste according to the season type and the restaurant type corresponding to the registered user. For example, if the business of the restaurants of different types is low in the business period and the sales of the restaurants of barbecue type is low in the winter, a smaller value is obtained, and similarly, the produced kitchen waste is less stable.
For example, the date information may also include both season information and weather information.
For example, the date information may also include information on whether it is holiday or not and weather information at the same time.
The date information may also include, for example, whether local custom information. For example, the custom information may be a temple, sacrifice, or a flower, etc. performed on a specific date.
For example, the date information may further include season information, holiday information, weather information, and the like.
In addition, it is further noted that the determining the number of the target trash cans according to the number of trash cans in the preset time period, the load information of the trash cans and the increment of the kitchen waste includes: judging whether a garbage can needs to be newly added or not according to the load information of the garbage can and the increment of the kitchen garbage; and if no new garbage can is needed, determining the number of the garbage cans in the preset time period as the target number of the garbage cans. For example, the determining the number of bins for the preset time period as the target number of bins includes: sequencing the number of the garbage cans used every day in the preset time period to obtain a sequencing result; obtaining a median value in the sequencing result; and determining the median value as the target number of the garbage cans.
Further, for example, the load information according to the trash can may be a specific use condition of the trash can. For example, restaurant A uses three garbage cans altogether, two of which are filled with garbage and the other of which is only half. The compliance information of the trash can is 2.5. Then the currently configured three bins are satisfactory when the a restaurant is at a 10% trash increment, i.e., approximately 2.75 bins are required, but are not satisfactory when the a restaurant is at a 40% trash increment, i.e., approximately 3.5 bins are required.
S204, sending garbage can configuration information to a device corresponding to the registered user, wherein the garbage can configuration information comprises the number of the target garbage cans;
it can be understood that the garbage can configuration information can be pushed and the reason for the configuration can be carried, for example, when holidays are considered, corresponding kitchen garbage can be increased, and then one more garbage can be considered to be configured for preventing accidents.
It can be appreciated that after receiving the configuration information of the trash can, the user terminal sends a reminder to the user, and the reminding mode includes but is not limited to vibration, text and voice modes. If the reply of the user is not received within the preset time, the default user agrees to the current configuration, and information agreeing to the current configuration is sent to the server. If feedback information of the user is received; editing the feedback information of the user according to a preset format, and then sending the edited information to the server.
S205, receiving information fed back by a device corresponding to the registered user;
s206, determining the delivery quantity of the garbage can according to the feedback information.
For example, the server has the act of pushing the trash can configuration information, but the amount of final delivery is based on the feedback information received.
For example, the server may distribute the configuration information if the received feedback is different from the transmitted configuration information, but may charge a fee for the restaurant's actual use.
From the above, by implementing the technical scheme provided by the invention, the history data of the registered user is obtained, wherein the history data comprises the number of the garbage cans and the load information of the garbage cans in a preset time period; acquiring the restaurant type corresponding to the registered user; determining the number of target garbage cans according to the number of garbage cans, the load information and the date information of the garbage cans in the preset time period, wherein the number of the garbage cans corresponds to the restaurant type; transmitting the number of the target garbage cans to a device corresponding to the registered user; receiving information of the feedback; and determining the delivery quantity of the garbage bin according to the feedback information. Therefore, by the technical scheme provided by the embodiment of the invention, the number of the required garbage cans can be determined by combining the type of each restaurant and the historical operation data, so that the garbage cans are configured for each restaurant according to the number, and the management efficiency is improved while the normal operation of the restaurants is ensured.
Referring to fig. 3, fig. 3 is a flowchart of another method for processing data according to an embodiment of the present application, and as shown in the drawing, the method for processing data includes:
s301, acquiring historical data of registered users, wherein the historical data comprises the number of garbage cans and load information of the garbage cans in a preset time period;
s302, acquiring a restaurant type corresponding to the registered user;
s303, judging the increment of kitchen waste according to the date information and the restaurant type corresponding to the registered user;
for example, the determining the increment of the kitchen waste according to the date information and the restaurant type corresponding to the registered user includes: determining the date type of tomorrow according to the date information; judging whether the date type of the tomorrow is a holiday type or not; if the date type of the tomorrow is a holiday type, acquiring a person trip rate matched with the holiday type; and determining the increment of kitchen waste according to the personnel travel rate and the restaurant type corresponding to the registered user.
For example, the determining the increment of the kitchen waste according to the date information and the restaurant type corresponding to the registered user includes: determining the weather type of tomorrow according to the date information; and determining the increment of kitchen waste according to the weather type and the restaurant type corresponding to the registered user.
For example, the determining the increment of the kitchen waste according to the date information and the restaurant type corresponding to the registered user includes:
determining a season type according to the date information; determining the increment of kitchen waste according to the season type and the restaurant type corresponding to the registered user
S304, determining the number of the target garbage cans according to the number of the garbage cans in the preset time period, the load information of the garbage cans and the increment of the kitchen waste;
wherein, according to the quantity of the garbage cans of the preset time period, the load information of the garbage cans and the increment of the kitchen garbage, the quantity of the target garbage cans is determined, and the method comprises the following steps: judging whether a garbage can needs to be newly added or not according to the load information of the garbage can and the increment of the kitchen garbage; and if no new garbage can is needed, determining the number of the garbage cans in the preset time period as the target number of the garbage cans. For example, the determining the number of bins for the preset time period as the target number of bins includes: sequencing the number of the garbage cans used every day in the preset time period to obtain a sequencing result; obtaining a median value in the sequencing result; and determining the median value as the target number of the garbage cans.
S305, sending garbage can configuration information to a device corresponding to the registered user, wherein the garbage can configuration information comprises the number of the target garbage cans;
s306, receiving information fed back by the device corresponding to the registered user;
s307, determining the delivery quantity of the garbage can according to the feedback information.
In addition, it should be noted that the relevant explanation of the present invention can be described with reference to the above embodiments.
From the above, by implementing the technical scheme provided by the invention, the history data of the registered user is obtained, wherein the history data comprises the number of the garbage cans and the load information of the garbage cans in a preset time period; acquiring the restaurant type corresponding to the registered user; judging the increment of kitchen waste according to the date information and the restaurant type corresponding to the registered user; determining the number of the target garbage cans according to the number of the garbage cans in the preset time period, the load information of the garbage cans and the increment of the kitchen waste; transmitting the number of the target garbage cans to a device corresponding to the registered user; receiving information of the feedback; and determining the delivery quantity of the garbage bin according to the feedback information. Therefore, by the technical scheme provided by the embodiment of the invention, the number of the required garbage cans can be determined by combining the type of each restaurant and the historical operation data, so that the garbage cans are configured for each restaurant according to the number, and the management efficiency is improved while the normal operation of the restaurants is ensured.
The foregoing description of the embodiments of the present application has been presented primarily in terms of a method-side implementation. It will be appreciated that the electronic device, in order to achieve the above-described functions, includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied as hardware or a combination of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application may divide the functional units of the electronic device according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated in one processing unit. The integrated units may be implemented in hardware or in software functional units. It should be noted that, in the embodiment of the present application, the division of the units is schematic, which is merely a logic function division, and other division manners may be implemented in actual practice.
Fig. 4 is a functional unit composition block diagram of the intelligent garbage can according to the embodiment of the application. The intelligent garbage can 400 comprises the following logic units:
an obtaining unit 401, configured to obtain historical data of a registered user, where the historical data includes the number of garbage cans and load information of the garbage cans in a preset time period; acquiring the restaurant type corresponding to the registered user;
a first determining unit 402, configured to determine, according to the number of the garbage cans, the load information of the garbage cans, and the date information of the garbage cans in the preset time period, the number of target garbage cans corresponding to the restaurant type of the registered user;
a sending unit 403, configured to send, to a device corresponding to the registered user, trash can configuration information, where the trash can configuration information includes the number of the target trash cans;
a receiving unit 404, configured to receive information fed back by a device corresponding to the registered user;
and the second receiving unit 405 is configured to determine the delivery amount of the trash can according to the feedback information.
Optionally, the first determining unit 402 is specifically configured to determine an increment of the kitchen waste according to the date information and the restaurant type corresponding to the registered user; and determining the number of the target garbage cans according to the number of the garbage cans in the preset time period, the load information of the garbage cans and the increment of the kitchen waste.
Wherein, according to the quantity of the garbage cans of the preset time period, the load information of the garbage cans and the increment of the kitchen garbage, the quantity of the target garbage cans is determined, and the method comprises the following steps: judging whether a garbage can needs to be newly added or not according to the load information of the garbage can and the increment of the kitchen garbage; and if no new garbage can is needed, determining the number of the garbage cans in the preset time period as the target number of the garbage cans.
The determining the number of the garbage cans in the preset time period as the target number of the garbage cans comprises the following steps: sequencing the number of the garbage cans used every day in the preset time period to obtain a sequencing result; obtaining a median value in the sequencing result;
and determining the median value as the target number of the garbage cans.
Optionally, the determining the increment of the kitchen waste according to the date information and the restaurant type corresponding to the registered user includes: determining the date type of tomorrow according to the date information; judging whether the date type of the tomorrow is a holiday type or not; if the date type of the tomorrow is a holiday type, acquiring a person trip rate matched with the holiday type; and determining the increment of kitchen waste according to the personnel travel rate and the restaurant type corresponding to the registered user.
Optionally, the determining the increment of the kitchen waste according to the date information and the restaurant type corresponding to the registered user includes: determining the weather type of tomorrow according to the date information; and determining the increment of kitchen waste according to the weather type and the restaurant type corresponding to the registered user.
Optionally, the determining the increment of the kitchen waste according to the date information and the restaurant type corresponding to the registered user includes: determining a season type according to the date information; and determining the increment of the kitchen waste according to the season type and the restaurant type corresponding to the registered user.
Thus, it can be known that the device provided by the embodiment of the invention acquires the historical data of the registered user, wherein the historical data comprises the number of the garbage cans and the load information of the garbage cans in the preset time period; acquiring the restaurant type corresponding to the registered user; determining the number of target garbage cans according to the number of garbage cans, the load information and the date information of the garbage cans in the preset time period, wherein the number of the garbage cans corresponds to the restaurant type; transmitting the number of the target garbage cans to a device corresponding to the registered user; receiving information of the feedback; and determining the delivery quantity of the garbage bin according to the feedback information. Therefore, by the technical scheme provided by the embodiment of the invention, the number of the required garbage cans can be determined by combining the type of each restaurant and the historical operation data, so that the garbage cans are configured for each restaurant according to the number, and the management efficiency is improved while the normal operation of the restaurants is ensured.
Fig. 5 is a functional unit block diagram of a user terminal 500 according to an embodiment of the present application, including the following logic units:
a receiving unit 501, configured to receive the garbage can configuration information sent by the server; the information comprises the number and the model of the garbage cans;
the reminding unit 502 is configured to send a reminder to a user, where the content of the reminder includes the number, model number and distribution time of the trash cans;
the reminding mode includes but is not limited to vibration, text and voice modes.
A sending unit 503, configured to send information for agreeing to the current configuration to the server if no reply is received from the user within a preset time, where the default user agrees to the current configuration;
the processing unit 504 is further configured to, if feedback information of the user is received; editing the feedback information of the user according to a preset format.
The sending unit 503 is further configured to send the edited information to the server.
It should be noted that, the logic unit in this embodiment may execute the steps corresponding to the ue in the method embodiment.
Referring to fig. 6, consistent with the embodiment shown in fig. 4, fig. 6 is a schematic structural diagram of an electronic device 600 provided in the embodiment of the present application, as shown in the fig. 6, the electronic device 600 includes an application processor 610, a memory 620, a communication interface 630, and one or more programs 621, where the one or more programs 621 are stored in the memory 620 and configured to be executed by the application processor 610, and when the one or more programs 621 are executed, the processor 610 performs the following operations:
Acquiring historical data of registered users, wherein the historical data comprises the number of garbage cans and load information of the garbage cans in a preset time period;
acquiring the restaurant type corresponding to the registered user;
determining the number of target garbage cans according to the number of garbage cans, the load information and the date information of the garbage cans in the preset time period, wherein the number of the garbage cans corresponds to the restaurant type;
transmitting garbage can configuration information to a device corresponding to the registered user, wherein the garbage can configuration information comprises the number of the target garbage cans;
receiving information fed back by a device corresponding to the registered user;
and determining the delivery quantity of the garbage bin according to the feedback information.
Optionally, the determining the number of the target garbage cans according to the number of the garbage cans, the load information and the date information of the garbage cans in the preset time period according to the restaurant type corresponding to the registered user includes:
judging the increment of kitchen waste according to the date information and the restaurant type corresponding to the registered user;
and determining the number of the target garbage cans according to the number of the garbage cans in the preset time period, the load information of the garbage cans and the increment of the kitchen waste.
Optionally, the determining the number of the target garbage cans according to the number of the garbage cans in the preset time period, the load information of the garbage cans and the increment of the kitchen waste includes:
judging whether a garbage can needs to be newly added or not according to the load information of the garbage can and the increment of the kitchen garbage;
and if no new garbage can is needed, determining the number of the garbage cans in the preset time period as the target number of the garbage cans.
Optionally, the determining the number of bins for the preset time period as the target number of bins includes:
sequencing the number of the garbage cans used every day in the preset time period to obtain a sequencing result;
obtaining a median value in the sequencing result;
and determining the median value as the target number of the garbage cans.
Optionally, the determining the increment of the kitchen waste according to the date information and the restaurant type corresponding to the registered user includes:
determining the date type of tomorrow according to the date information;
judging whether the date type of the tomorrow is a holiday type or not;
if the date type of the tomorrow is a holiday type, acquiring a person trip rate matched with the holiday type;
And determining the increment of kitchen waste according to the personnel travel rate and the restaurant type corresponding to the registered user.
Optionally, the determining the increment of the kitchen waste according to the date information and the restaurant type corresponding to the registered user includes:
determining the weather type of tomorrow according to the date information;
and determining the increment of kitchen waste according to the weather type and the restaurant type corresponding to the registered user.
Optionally, the determining the increment of the kitchen waste according to the date information and the restaurant type corresponding to the registered user includes:
determining a season type according to the date information;
and determining the increment of the kitchen waste according to the season type and the restaurant type corresponding to the registered user.
From the above, by implementing the technical scheme provided by the invention, the history data of the registered user is obtained, wherein the history data comprises the number of the garbage cans and the load information of the garbage cans in a preset time period; acquiring the restaurant type corresponding to the registered user; determining the number of target garbage cans according to the number of garbage cans, the load information and the date information of the garbage cans in the preset time period, wherein the number of the garbage cans corresponds to the restaurant type; transmitting the number of the target garbage cans to a device corresponding to the registered user; receiving information of the feedback; and determining the delivery quantity of the garbage bin according to the feedback information. Therefore, by the technical scheme provided by the embodiment of the invention, the number of the required garbage cans can be determined by combining the type of each restaurant and the historical operation data, so that the garbage cans are configured for each restaurant according to the number, and the management efficiency is improved while the normal operation of the restaurants is ensured.
Referring to fig. 7, consistent with the embodiment shown in fig. 5, fig. 7 is a schematic structural diagram of an electronic device 700 provided in the embodiment of the present application, as shown in the fig. 7, the electronic device 700 includes an application processor 710, a memory 720, a communication interface 730, and one or more programs 721, where the one or more programs 721 are stored in the memory 720 and configured to be executed by the application processor 710, and when the one or more programs 721 are executed, the processor 710 performs the following operations:
receiving garbage can configuration information sent by a server; the information comprises the number and the model of the garbage cans;
sending a reminder to a user, wherein the content of the reminder comprises the number, the model number and the delivery time of the garbage cans;
the reminding mode includes but is not limited to vibration, text and voice modes.
If the reply of the user is not received within the preset time, the default user agrees to the current configuration, and information agreeing to the current configuration is sent to the server;
if feedback information of the user is received; editing the feedback information of the user according to a preset format; and sending the edited information to the server.
From the above, by implementing the technical scheme provided by the invention, the user can determine the number of the target garbage cans according to the prompt information and the analysis content. Therefore, the technical scheme provided by the embodiment of the invention can accurately determine the number of the required garbage cans, so that the management efficiency is improved and the operation cost is reduced while the normal operation of restaurants is ensured.
The embodiment of the application also provides a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, where the computer program causes a computer to execute part or all of the steps of any one of the methods described in the embodiments of the method, where the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any one of the methods described in the method embodiments above. The computer program product may be a software installation package, said computer comprising an electronic device.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, such as the above-described division of units, merely a division of logic functions, and there may be additional manners of dividing in actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, or may be in electrical or other forms.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a memory, including several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the above-mentioned method of the various embodiments of the present application. And the aforementioned memory includes: a U-disk, a read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be implemented by a program that instructs associated hardware, and the program may be stored in a computer readable memory, which may include: flash disk, read-Only Memory (ROM), random access Memory (RanPom Access Memory, RAM), magnetic disk or optical disk.
The foregoing has outlined rather broadly the more detailed description of embodiments of the present application, wherein specific examples are provided herein to illustrate the principles and embodiments of the present application, the above examples being provided solely to assist in the understanding of the methods of the present application and the core ideas thereof; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. A method of data processing, the method comprising:
acquiring historical data of registered users, wherein the historical data comprises the number of garbage cans and load information of the garbage cans in a preset time period;
Acquiring the restaurant type corresponding to the registered user;
determining the number of target garbage cans according to the number of garbage cans, the load information and the date information of the garbage cans in the preset time period, wherein the number of the garbage cans corresponds to the restaurant type;
transmitting garbage can configuration information to a device corresponding to the registered user, wherein the garbage can configuration information comprises the number of the target garbage cans;
receiving information fed back by a device corresponding to the registered user;
and determining the delivery quantity of the garbage bin according to the feedback information.
2. The method of claim 1, wherein determining the number of target trash cans according to the number of trash cans, the load information of trash cans, and the date information of the preset time period according to the type of restaurant corresponding to the registered user comprises:
judging the increment of kitchen waste according to the date information and the restaurant type corresponding to the registered user;
and determining the number of the target garbage cans according to the number of the garbage cans in the preset time period, the load information of the garbage cans and the increment of the kitchen waste.
3. The method of claim 2, wherein the determining the number of the target trash cans according to the number of trash cans for the preset time period, the load information of the trash cans, and the increment of the kitchen waste comprises:
Judging whether a garbage can needs to be newly added or not according to the load information of the garbage can and the increment of the kitchen garbage;
and if no new garbage can is needed, determining the number of the garbage cans in the preset time period as the target number of the garbage cans.
4. A method according to claim 3, wherein said determining the number of bins for the preset time period as the target number of bins comprises:
sequencing the number of the garbage cans used every day in the preset time period to obtain a sequencing result;
obtaining a median value in the sequencing result;
and determining the median value as the target number of the garbage cans.
5. The method of claim 4, wherein said determining the increment of kitchen waste based on the date information and the type of restaurant corresponding to the registered user comprises:
determining the date type of tomorrow according to the date information;
judging whether the date type of the tomorrow is a holiday type or not;
if the date type of the tomorrow is a holiday type, acquiring a person trip rate matched with the holiday type;
and determining the increment of kitchen waste according to the personnel travel rate and the restaurant type corresponding to the registered user.
6. The method of claim 4, wherein said determining the increment of kitchen waste based on the date information and the type of restaurant corresponding to the registered user comprises:
determining the weather type of tomorrow according to the date information;
and determining the increment of kitchen waste according to the weather type and the restaurant type corresponding to the registered user.
7. The method of claim 4, wherein said determining the increment of kitchen waste based on the date information and the type of restaurant corresponding to the registered user comprises:
determining a season type according to the date information;
and determining the increment of the kitchen waste according to the season type and the restaurant type corresponding to the registered user.
8. A data processing apparatus, the apparatus comprising:
an acquisition unit, configured to acquire historical data of a registered user, where the historical data includes the number of garbage cans and load information of the garbage cans in a preset time period; acquiring the restaurant type corresponding to the registered user;
the first determining unit is used for determining the number of the target garbage cans according to the number of the garbage cans, the load information and the date information of the garbage cans in the preset time period, which correspond to the restaurant types of the registered users;
A sending unit, configured to send, to a device corresponding to the registered user, configuration information of a trash can, where the configuration information of the trash can includes the number of the target trash cans;
the receiving unit is used for receiving the information fed back by the device corresponding to the registered user;
and the second receiving unit is used for determining the delivery quantity of the garbage can according to the feedback information.
9. A data processing apparatus, the apparatus comprising a processor and a memory, the memory having program code stored therein; when the program code is run, the processor performs any of the methods of claims 1 to 7.
10. A storage medium having program code stored therein; when the program code is run, the method of any of claims 1 to 7 is performed.
CN201910290082.0A 2019-04-11 2019-04-11 Data processing method and device Active CN111815088B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910290082.0A CN111815088B (en) 2019-04-11 2019-04-11 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910290082.0A CN111815088B (en) 2019-04-11 2019-04-11 Data processing method and device

Publications (2)

Publication Number Publication Date
CN111815088A CN111815088A (en) 2020-10-23
CN111815088B true CN111815088B (en) 2023-12-22

Family

ID=72843612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910290082.0A Active CN111815088B (en) 2019-04-11 2019-04-11 Data processing method and device

Country Status (1)

Country Link
CN (1) CN111815088B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112758553A (en) * 2021-01-11 2021-05-07 江苏地风环卫有限公司 Method and system for automatically allocating storage boxes in garbage station
CN115924354A (en) * 2022-11-03 2023-04-07 杭州尚杰环保科技有限公司 Urban building garbage treatment method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105631546A (en) * 2015-12-25 2016-06-01 湖南大学科技园有限公司 Waste collection and transportation system based on big data processing and method thereof
CN106022486A (en) * 2016-05-18 2016-10-12 广东信兴科技有限公司 Control method for dustbin logistics control system for household garbage recycling
CN107169587A (en) * 2017-03-31 2017-09-15 威德环境科技股份有限公司 Garbage collecting and transportation method based on dustbin information
CN107809454A (en) * 2017-09-14 2018-03-16 深圳市盛路物联通讯技术有限公司 A kind of resource allocation methods and relevant device based on Internet of Things

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115660217B (en) * 2022-11-14 2023-06-09 成都秦川物联网科技股份有限公司 Smart city garbage cleaning amount prediction method and Internet of things system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105631546A (en) * 2015-12-25 2016-06-01 湖南大学科技园有限公司 Waste collection and transportation system based on big data processing and method thereof
CN106022486A (en) * 2016-05-18 2016-10-12 广东信兴科技有限公司 Control method for dustbin logistics control system for household garbage recycling
CN107169587A (en) * 2017-03-31 2017-09-15 威德环境科技股份有限公司 Garbage collecting and transportation method based on dustbin information
CN107809454A (en) * 2017-09-14 2018-03-16 深圳市盛路物联通讯技术有限公司 A kind of resource allocation methods and relevant device based on Internet of Things

Also Published As

Publication number Publication date
CN111815088A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
Ercan et al. Life cycle assessment of a smartphone
CN105879386B (en) Game gift package issuing method and system based on user attributes
CN111815088B (en) Data processing method and device
CN108696420A (en) Information push method in communication network and device
CN102724738A (en) Multimode terminal and method and device for selecting resident network for multimode terminal
ATE383039T1 (en) METHOD FOR DETERMINING THE PERFORMANCE OF MOBILE RADIO TERMINALS IN AN OPERATIONAL MOBILE RADIO NETWORK
CN102769838A (en) Mobile terminal charge acquisition method, mobile terminal and charge acquisition system
CN101378404A (en) Delivery system and method for mobile terminal directional advertisement
CN104021486A (en) Advertisement pushing service system
CN105306426A (en) Customer service method of cooperative communication and customer service system
EP1422645A3 (en) Article information providing system and article information providing server
EP1191776A3 (en) Method for automatically changing an access contract between a prepaid contract and a postpaid contract
CN101600191A (en) roaming service processing method and system
CN101917279B (en) Broadcast information transmission system and method for transmitting broadcast information by using same
CN103716223A (en) Information pushing method and system
CN107395377A (en) A kind of broadcast lists method for pushing
CN204204033U (en) Based on the e-commerce system of wireless network
CN102497482A (en) Traffic information short message service system
CN111815091B (en) Garbage cooperative treatment method and related equipment
CN101370184A (en) Consumer information transmitting and receiving system and method based on short message platform
CN101227517A (en) Method for replacing short message
CN106875242A (en) Second-hand flow software
CN202143211U (en) System for informing remaining sum of cell-phone fee
CN201307934Y (en) Consumer information receiving-sending system based on short message platform
CN105590204A (en) Information management system on the basis of WeChat

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