Disclosure of Invention
The present invention is directed to solve at least one of the above technical problems to a certain extent, and the present invention provides a method and a system for managing a shared intelligent cabinet, and an electronic device. Can be according to the demand distribution intelligence cabinet of waiting to distribute the order, when the intelligent cabinet of required temperature is not enough, the accessible reduces or risees the temperature of intelligent cabinet and satisfies the demand.
In order to solve the above technical problem, in one aspect, an embodiment of the present invention provides a management method for a shared intelligent cabinet, where the management method for the shared intelligent cabinet includes:
s10, acquiring the storage state of each intelligent cabinet, acquiring the temperature information of each idle intelligent cabinet if the intelligent cabinet is idle, and acquiring the goods taking time information of the order of each intelligent cabinet which is not idle if the intelligent cabinet is not idle;
s20, obtaining the distribution time information of the order to be distributed;
s30, calculating the difference value between the distribution time of the order to be distributed and the goods taking time of the order of each intelligent cabinet which is not idle, if the difference value is within a preset threshold value, acquiring the temperature information of the corresponding intelligent cabinet which is not idle, and taking the corresponding intelligent cabinet which is not idle as a pre-candidate intelligent cabinet;
s40, taking the idle intelligent cabinet and the pre-selection intelligent cabinet as final alternative intelligent cabinets;
s50, acquiring temperature information required by the order to be distributed;
s60, respectively calculating the temperature difference between the temperature required by the food order to be distributed and the temperature of each final alternative intelligent cabinet, and distributing the target intelligent cabinet to the food order to be distributed according to the temperature difference from small to large; and when the temperature difference value is larger than a preset threshold value, starting a cooling or heating system of the intelligent cabinet, and cooling or heating the intelligent cabinet until the temperature difference value is within the preset threshold value.
In an optional embodiment of the present invention, the method for managing a shared intelligent cabinet further includes the steps of: s70, acquiring the position information of the target intelligent cabinet corresponding to the food order to be distributed; generating goods taking reminding information according to the position information of the target intelligent cabinet; and sending the goods taking reminding information to a user mobile terminal.
In an alternative embodiment of the present invention, step S60 further includes: if the difference value between the temperature required by one food order to be distributed and the temperatures of the plurality of final alternative intelligent cabinets is the same, the temperature information of at least two adjacent intelligent cabinets of the plurality of corresponding final alternative intelligent cabinets is obtained, the difference value between the temperature of each final alternative intelligent cabinet and the temperatures of the at least two adjacent intelligent cabinets is calculated respectively, and the target intelligent cabinet is distributed to the food order to be distributed according to the difference value from small to large.
On the other hand, an embodiment of the present invention provides a management apparatus for a shared intelligent cabinet, where the management apparatus for a shared intelligent cabinet includes:
a first acquisition module; the intelligent cabinet temperature monitoring system is used for acquiring the storage state of each intelligent cabinet, acquiring the temperature information of each idle intelligent cabinet if the intelligent cabinet is idle, and acquiring the goods taking time information of the order of each intelligent cabinet which is not idle if the intelligent cabinet is not idle;
a second acquisition module; the method comprises the steps of obtaining distribution time information of an order to be distributed;
a first calculation module; the intelligent cabinet temperature control system is used for calculating the difference value between the distribution time of an order to be distributed and the goods taking time of the order of each intelligent cabinet which is not idle, acquiring the temperature information of the corresponding intelligent cabinet which is not idle if the difference value is within a preset threshold value, and taking the corresponding intelligent cabinet which is not idle as a pre-candidate intelligent cabinet;
a matching judgment module; the intelligent cabinet selection system is used for taking the idle intelligent cabinet and the pre-selection intelligent cabinet as final alternative intelligent cabinets;
a third obtaining module; the temperature information acquisition module is used for acquiring temperature information required by an order to be distributed;
a second calculation module; the intelligent cabinet temperature control system is used for respectively calculating the temperature difference between the temperature required by the food order to be distributed and the temperature of each final alternative intelligent cabinet and distributing a target intelligent cabinet to the food order to be distributed according to the temperature difference from small to large;
and the judging module starts a cooling or heating system of the intelligent cabinet when the temperature difference value is greater than a preset threshold value, and cools or heats the intelligent cabinet until the temperature difference value is within the preset threshold value.
In another aspect, an embodiment of the present invention provides an electronic device, including: a processor; and a memory having computer program instructions stored therein,
wherein the computer program instructions, when executed by the processor, cause the processor to perform the steps of:
s10, acquiring the storage state of each intelligent cabinet, acquiring the temperature information of each idle intelligent cabinet if the intelligent cabinet is idle, and acquiring the goods taking time information of the order of each intelligent cabinet which is not idle if the intelligent cabinet is not idle;
s20, obtaining the distribution time information of the order to be distributed;
s30, calculating the difference value between the distribution time of the order to be distributed and the goods taking time of the order of each intelligent cabinet which is not idle, if the difference value is within a preset threshold value, acquiring the temperature information of the corresponding intelligent cabinet which is not idle, and taking the corresponding intelligent cabinet which is not idle as a pre-candidate intelligent cabinet;
s40, taking the idle intelligent cabinet and the pre-selection intelligent cabinet as final alternative intelligent cabinets;
s50, acquiring temperature information required by the order to be distributed;
s60, respectively calculating the temperature difference between the temperature required by the food order to be distributed and the temperature of each final alternative intelligent cabinet, and distributing the target intelligent cabinet to the food order to be distributed according to the temperature difference from small to large; and when the temperature difference value is larger than a preset threshold value, starting a cooling or heating system of the intelligent cabinet, and cooling or heating the intelligent cabinet until the temperature difference value is within the preset threshold value.
In another aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the processor is caused to execute the following steps:
s10, acquiring the storage state of each intelligent cabinet, acquiring the temperature information of each idle intelligent cabinet if the intelligent cabinet is idle, and acquiring the goods taking time information of the order of each intelligent cabinet which is not idle if the intelligent cabinet is not idle;
s20, obtaining the distribution time information of the order to be distributed;
s30, calculating the difference value between the distribution time of the order to be distributed and the goods taking time of the order of each intelligent cabinet which is not idle, if the difference value is within a preset threshold value, acquiring the temperature information of the corresponding intelligent cabinet which is not idle, and taking the corresponding intelligent cabinet which is not idle as a pre-candidate intelligent cabinet;
s40, taking the idle intelligent cabinet and the pre-selection intelligent cabinet as final alternative intelligent cabinets;
s50, acquiring temperature information required by the order to be distributed;
s60, respectively calculating the temperature difference between the temperature required by the food order to be distributed and the temperature of each final alternative intelligent cabinet, and distributing the target intelligent cabinet to the food order to be distributed according to the temperature difference from small to large; and when the temperature difference value is larger than a preset threshold value, starting a cooling or heating system of the intelligent cabinet, and cooling or heating the intelligent cabinet until the temperature difference value is within the preset threshold value.
The technical scheme of the invention at least has one of the following beneficial effects:
according to the management method of the shared intelligent cabinet, the target intelligent cabinet is distributed to the food order to be distributed according to the temperature difference from small to large by calculating the temperature difference between the temperature required by the food order to be distributed and the temperature of each final alternative intelligent cabinet; when the temperature difference is large, namely the intelligent cabinet with lower temperature or higher temperature can not meet the requirement, the temperature in the intelligent cabinet is adjusted to meet the requirement. The problem of improper distribution of the corresponding temperature intelligent cabinets with fixed quantity due to different requirements of orders is avoided. The temperature of each intelligent cabinet can be flexibly changed according to the order requirement, and the management and distribution efficiency of the intelligent cabinets is improved.
Detailed Description
The following detailed description of embodiments of the present invention will be made with reference to the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
It should be noted that the intelligent cabinets provided by the embodiments of the present invention are both provided with a cooling system and a heating system, and the temperature in the intelligent cabinet can be reduced or increased by controlling the cooling system or the heating system, so as to meet the temperature requirement of stored articles.
As shown in fig. 1, the management method of a shared intelligent cabinet in the embodiment of the present invention includes the steps of:
and S10, acquiring the storage state of each intelligent cabinet, acquiring the temperature information of each idle intelligent cabinet if the intelligent cabinet is idle, and acquiring the goods taking time information of the order of each intelligent cabinet which is not idle if the intelligent cabinet is not idle.
And S20, obtaining the distribution time information of the order to be distributed.
S30, calculating the difference value between the distribution time of the order to be distributed and the goods taking time of the order of each intelligent cabinet which is not idle, if the difference value is within a preset threshold value, acquiring the temperature information of the corresponding intelligent cabinet which is not idle, and taking the corresponding intelligent cabinet which is not idle as a pre-candidate intelligent cabinet; specifically, the goods taking time information of the order of the intelligent cabinet which is not idle is obtained, the potentially available intelligent cabinet is judged and determined to be used as the pre-selection intelligent cabinet, all the potentially available intelligent cabinets are comprehensively considered, the utilization rate of the intelligent cabinet can be effectively improved, and the distribution efficiency is improved.
And S40, taking the idle intelligent cabinet and the pre-selection intelligent cabinet as final alternative intelligent cabinets.
And S50, acquiring temperature information required by the order to be distributed.
S60, respectively calculating the temperature difference between the temperature required by the food order to be distributed and the temperature of each final alternative intelligent cabinet, and distributing the target intelligent cabinet to the food order to be distributed according to the temperature difference from small to large; and when the temperature difference value is larger than a preset threshold value, starting a cooling or heating system of the intelligent cabinet, and cooling or heating the intelligent cabinet until the temperature difference value is within the preset threshold value. Specifically, when the target intelligent cabinet is allocated to each food order to be allocated, preferably, the food order to be allocated may be sequentially compared with the plurality of final candidate intelligent cabinets according to the order-pressing time sequence, and the remaining food orders are arranged after the food order to be allocated is arranged.
In an alternative embodiment of the present invention, step S60 further includes: if the difference value between the temperature required by one food order to be distributed and the temperatures of the plurality of final alternative intelligent cabinets is the same, the temperature information of at least two adjacent intelligent cabinets of the plurality of corresponding final alternative intelligent cabinets is obtained, the difference value between the temperature of each final alternative intelligent cabinet and the temperatures of the at least two adjacent intelligent cabinets is calculated respectively, and the target intelligent cabinet is distributed to the food order to be distributed according to the difference value from small to large.
In an optional embodiment of the present invention, the method for managing a shared intelligent cabinet further includes the steps of: s70, acquiring the position information of the target intelligent cabinet corresponding to the food order to be distributed; generating goods taking reminding information according to the position information of the target intelligent cabinet; and sending the goods taking reminding information to a user mobile terminal.
As shown in fig. 2, a management apparatus for a shared intelligent cabinet according to an embodiment of the present invention includes:
a first acquisition module; the intelligent cabinet temperature monitoring system is used for acquiring the storage state of each intelligent cabinet, acquiring the temperature information of each idle intelligent cabinet if the intelligent cabinet is idle, and acquiring the goods taking time information of the order of each intelligent cabinet which is not idle if the intelligent cabinet is not idle;
a second acquisition module; the method comprises the steps of obtaining distribution time information of an order to be distributed;
a first calculation module; the intelligent cabinet temperature control system is used for calculating the difference value between the distribution time of an order to be distributed and the goods taking time of the order of each intelligent cabinet which is not idle, acquiring the temperature information of the corresponding intelligent cabinet which is not idle if the difference value is within a preset threshold value, and taking the corresponding intelligent cabinet which is not idle as a pre-candidate intelligent cabinet;
a matching judgment module; the intelligent cabinet selection system is used for taking the idle intelligent cabinet and the pre-selection intelligent cabinet as final alternative intelligent cabinets;
a third obtaining module; the temperature information acquisition module is used for acquiring temperature information required by an order to be distributed;
a second calculation module; the intelligent cabinet temperature control system is used for respectively calculating the temperature difference between the temperature required by the food order to be distributed and the temperature of each final alternative intelligent cabinet and distributing a target intelligent cabinet to the food order to be distributed according to the temperature difference from small to large;
and the judging module starts a cooling or heating system of the intelligent cabinet when the temperature difference value is greater than a preset threshold value, and cools or heats the intelligent cabinet until the temperature difference value is within the preset threshold value.
As shown in fig. 3, an embodiment of the present invention provides an electronic device 200, including: a processor 210 and a memory 220, in which memory 220 computer program instructions are stored, wherein the computer program instructions, when executed by the processor, cause the processor 210 to perform the steps of:
s10, acquiring the storage state of each intelligent cabinet, acquiring the temperature information of each idle intelligent cabinet if the intelligent cabinet is idle, and acquiring the goods taking time information of the order of each intelligent cabinet which is not idle if the intelligent cabinet is not idle;
s20, obtaining the distribution time information of the order to be distributed;
s30, calculating the difference value between the distribution time of the order to be distributed and the goods taking time of the order of each intelligent cabinet which is not idle, if the difference value is within a preset threshold value, acquiring the temperature information of the corresponding intelligent cabinet which is not idle, and taking the corresponding intelligent cabinet which is not idle as a pre-candidate intelligent cabinet;
s40, taking the idle intelligent cabinet and the pre-selection intelligent cabinet as final alternative intelligent cabinets;
s50, acquiring temperature information required by the order to be distributed;
s60, respectively calculating the temperature difference between the temperature required by the food order to be distributed and the temperature of each final alternative intelligent cabinet, and distributing the target intelligent cabinet to the food order to be distributed according to the temperature difference from small to large; and when the temperature difference value is larger than a preset threshold value, starting a cooling or heating system of the intelligent cabinet, and cooling or heating the intelligent cabinet until the temperature difference value is within the preset threshold value.
Further, as shown in fig. 3, the electronic device further includes a network interface 230, an input device 240, a hard disk 250, and a display device 260.
The various interfaces and devices described above may be interconnected by a bus architecture. A bus architecture may be any architecture that may include any number of interconnected buses and bridges. Various circuits of one or more Central Processing Units (CPUs), represented in particular by processor 210, and one or more memories, represented by memory 220, are coupled together. The bus architecture may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like. It will be appreciated that a bus architecture is used to enable communications among the components. The bus architecture includes a power bus, a control bus, and a status signal bus, in addition to a data bus, all of which are well known in the art and therefore will not be described in detail herein.
The network interface 230 may be connected to a network (e.g., the internet, a local area network, etc.), and may obtain relevant data from the network and store the relevant data in the hard disk 1405.
The input device 240 may receive various commands input by an operator and send the commands to the processor 210 for execution. The input device 240 may include a keyboard or a pointing device (e.g., a mouse, a trackball, a touch pad, a touch screen, or the like).
The display device 260 may display the result obtained by the processor 210 executing the instructions.
The memory 220 is used for storing programs and data necessary for operating the operating system, and data such as intermediate results in the calculation process of the processor 210.
It will be appreciated that memory 220 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. The memory 220 of the apparatus and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 220 stores elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 280 and application programs 270.
The operating system 280 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 270 includes various applications, such as a Browser (Browser), and the like, for implementing various application services. The program implementing the method of the embodiment of the present invention may be included in the application 270.
The processor 210 acquires the panoramic image when calling and executing the application program and data stored in the memory 220, specifically, the application program or the instruction stored in the application program 270; preprocessing the panoramic image to obtain a subimage to be processed; inputting the sub-image to be processed into a multi-path convolution neural network to obtain a deep characteristic map of the sub-image to be processed; performing pooling treatment on the deep layer characteristic diagram; and inputting the deep characteristic map subjected to pooling into a full-connected model, and taking the output of the full-connected model as the position information after relocation.
The method disclosed by the above embodiment of the present invention can be applied to the processor 210, or implemented by the processor 210. The processor 210 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 210. The processor 210 may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof, and may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present invention. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules b in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 220, and the processor 210 reads the information in the memory 220 and completes the steps of the method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units designed to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the processor is caused to execute the following steps:
s10, acquiring the storage state of each intelligent cabinet, acquiring the temperature information of each idle intelligent cabinet if the intelligent cabinet is idle, and acquiring the goods taking time information of the order of each intelligent cabinet which is not idle if the intelligent cabinet is not idle;
s20, obtaining the distribution time information of the order to be distributed;
s30, calculating the difference value between the distribution time of the order to be distributed and the goods taking time of the order of each intelligent cabinet which is not idle, if the difference value is within a preset threshold value, acquiring the temperature information of the corresponding intelligent cabinet which is not idle, and taking the corresponding intelligent cabinet which is not idle as a pre-candidate intelligent cabinet;
s40, taking the idle intelligent cabinet and the pre-selection intelligent cabinet as final alternative intelligent cabinets;
s50, acquiring temperature information required by the order to be distributed;
s60, respectively calculating the temperature difference between the temperature required by the food order to be distributed and the temperature of each final alternative intelligent cabinet, and distributing the target intelligent cabinet to the food order to be distributed according to the temperature difference from small to large; and when the temperature difference value is larger than a preset threshold value, starting a cooling or heating system of the intelligent cabinet, and cooling or heating the intelligent cabinet until the temperature difference value is within the preset threshold value.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the transceiving method according to various embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.