Order processing method and device, equipment and storage medium
By receiving the target orders sent by the user terminal and uniformly allocating them according to the order reservation time and the working status of the laundry equipment, the problem of uneven order distribution in the laundry room is solved, the processing efficiency of laundry orders and the utilization rate of equipment are improved, and the User experience.
Patent Information
- Application Number
- CN202310281400.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-21
- Publication Date
- 2024-09-24
AI Technical Summary
The uneven distribution of orders in existing laundry rooms leads to the problem of ‘first come, first served’, affecting user experience and equipment usage.
By receiving the target orders sent by the user terminal, the orders are uniformly distributed to the equipment in the laundry room according to the order reservation time and the working status of the laundry equipment, ensuring that orders are processed in chronological order and avoiding equipment being idle or overloaded.
It improves the processing efficiency of laundry orders and equipment utilization, and improves the user experience.
Smart Images

Figure CN118691189A
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electrical technology, and specifically relates to an order processing method, device, equipment and storage medium. Background Art
[0002] With the rise of the sharing economy, various shared facilities have brought great convenience to people's lives. Among them, laundry rooms have also become popular among renters and students due to their convenience and economy.
[0003] The current laundry queue system mostly involves users using a mobile app to select a specific laundry machine in a specific laundry room and schedule a queue. Users can use the mobile app to schedule laundry orders with the machine. The machine then sorts the orders based on their scheduled times and processes them in that order.
[0004] However, the existing technology has the problem of uneven distribution of laundry orders for different laundry equipment in the same laundry room. For example, one laundry equipment may have three laundry orders, while another laundry equipment may have only one order or be idle. As a result, some orders are processed quickly while others are processed slowly, resulting in a "first come, last washed" problem, which seriously affects the user experience. Summary of the Invention
[0005] The present application provides an order processing method, apparatus, device and storage medium to solve the defect of uneven distribution of laundry orders in the prior art, which leads to "first come, last washed".
[0006] In a first aspect, the present application provides an order processing method, comprising:
[0007] Receive a target order sent by a user terminal, wherein the target order includes: an order reservation time and a laundry room tag;
[0008] According to the order reservation time, the target order is added to the order list of the laundry room corresponding to the laundry room tag to obtain a new order list;
[0009] The target order is processed according to the new order list and the working status of the laundry appliances in the laundry room, wherein the laundry room includes at least two laundry appliances.
[0010] Optionally, the step of adding the target order to an order list of the laundry room corresponding to the laundry room tag according to the order reservation time to obtain a new order list includes:
[0011] Obtaining an order from the laundry room's order list;
[0012] Determine the target number of the target order according to the order reservation time and the orders in the order list;
[0013] According to the target number, the target order is added to the order list to obtain a new order list.
[0014] Optionally, processing the target order according to the new order list and the working status of the laundry equipment in the laundry room includes:
[0015] Acquisition process: Get the working status of each laundry device;
[0016] Determination process: Determine the target laundry equipment based on the working status of each laundry equipment;
[0017] Allocation process: determining whether there is a first order with an order number smaller than the target order number in the new order list;
[0018] If not, the target order is assigned to the target laundry appliance.
[0019] Optionally, if the new order list contains a first order with a number smaller than the target order, the method further includes:
[0020] assigning the first order to the target laundry appliance;
[0021] The acquisition process, the determination process and the allocation process are repeatedly executed until the target order is allocated to the laundry equipment.
[0022] Optionally, the working status includes: working, not working, and about to end work; and determining the target laundry appliance according to the working status of each laundry appliance includes:
[0023] The laundry appliances whose working status is not working or about to end working are determined as target laundry appliances.
[0024] Optionally, allocating the target order to the target laundry appliance includes:
[0025] Sending order allocation information to the user terminal, the order allocation information including: the target laundry appliance and the washing start time.
[0026] Optionally, after allocating the target order to the target laundry appliance, the method further includes:
[0027] detecting the working status of the target laundry appliance in real time;
[0028] Determining whether the target laundry appliance is in a first working state after a preset time period;
[0029] If so, cancel the target order and assign a second order to the target laundry appliance, wherein the second order is an order with an order number greater than the target order number;
[0030] If not, an order completion message is sent to the user terminal, where the order completion message is used to indicate that the target order has been completed.
[0031] In a second aspect, the present application provides an order processing device, comprising:
[0032] A receiving module, configured to receive a target order sent by a user terminal, wherein the target order includes: an order reservation time and a laundry room tag;
[0033] An adding module, configured to add the target order to the order list of the laundry room corresponding to the laundry room tag according to the order reservation time, to obtain a new order list;
[0034] A processing module is used to process the target order according to the new order list and the working status of the laundry equipment in the laundry room.
[0035] In a third aspect, the present application provides an order processing device, comprising:
[0036] Memory;
[0037] processor;
[0038] wherein the memory stores computer-executable instructions;
[0039] The processor executes the computer-executable instructions stored in the memory to implement the order processing method as described in the first aspect and various possible implementations of the first aspect.
[0040] In a fourth aspect, the present application provides a computer storage medium having computer execution instructions stored thereon, wherein the computer execution instructions are executed by a processor to implement the order processing method as described in the first aspect and various possible implementations of the first aspect.
[0041] The order processing method provided by the present application receives a target order sent by a user terminal, wherein the target order includes: an order appointment time and a laundry room tag; according to the order appointment time, the target order is added to the order list of the laundry room corresponding to the laundry room tag to obtain a new order list; according to the new order list and the working status of the laundry equipment in the laundry room, the target order is processed; this method avoids the uneven distribution of laundry orders in the prior art, which leads to the defect of "first come, last washed", and not only improves the processing efficiency of laundry orders, but also ensures the utilization rate of laundry equipment and improves user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0043] Figure 1 This is a scenario diagram of the order processing method provided by this application;
[0044] Figure 2 This is the process of the order processing method provided by this application Figure 1 ;
[0045] Figure 3 This is the process of the order processing method provided by this application Figure 2 ;
[0046] Figure 4 This is the process of the order processing method provided by this application Figure 3 ;
[0047] Figure 5 A schematic diagram of the structure of the order processing device provided in this application;
[0048] Figure 6 A schematic diagram of the structure of the order processing equipment provided for this application.
[0049] The above drawings illustrate specific embodiments of the present application, which will be described in more detail below. These drawings and the textual description are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION
[0050] To make the objectives, technical solutions, and advantages of this application more clear, the technical solutions in this application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0051] The terms "first," "second," "third," "fourth," and so forth (if any) in the description and claims of the present invention and the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or sequential sequence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of the present invention described herein can, for example, be implemented in sequences other than those illustrated or described herein.
[0052] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0053] With the rise of the sharing economy, various shared facilities have brought great convenience to people's lives. Among them, laundry rooms have also become popular among renters and students due to their convenience and economy.
[0054] The current laundry queue system mostly involves users using a mobile app to select a specific laundry machine in a specific laundry room and schedule a queue. Users can use the mobile app to schedule laundry orders with the machine. The machine then sorts the orders based on their scheduled times and processes them in that order.
[0055] However, the existing technology has the problem of uneven distribution of laundry orders for different laundry equipment in the same laundry room. For example, one laundry equipment may have three laundry orders, while another laundry equipment may have only one order or be idle. As a result, some orders are processed quickly while others are processed slowly, resulting in a "first come, last washed" problem, which seriously affects the user experience.
[0056] In response to the above problems, this application provides an order processing method. Figure 1 This is a scenario diagram of the order processing method provided by this application. Figure 1 As shown, there are multiple laundry machines in the laundry room 1, including laundry machine 11, laundry machine 12, and laundry machine 13. Laundry machine 11, laundry machine 12, and laundry machine 13 are respectively connected to a server 2 for communication, and server 2 is connected to multiple user terminals 3 for communication.
[0057] The server 2 can receive orders from the user terminal 3 and distribute the received orders to the laundry machines 11 , 12 , and 13 in the laundry room 1 .
[0058] The order processing method provided by the present application adds the order to the order list of the corresponding laundry room according to the order reservation time, and then dispatches the orders in the order list in chronological order according to the working status of all the laundry equipment in the corresponding laundry room. By dispatching orders uniformly to the laundry equipment in the laundry room, the problem of "first come, last washed" existing in the prior art is avoided, which not only improves the processing efficiency of laundry orders, but also ensures the utilization rate of laundry equipment and improves user experience.
[0059] The following specific embodiments are used to describe in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The following embodiments of the present application will be described in conjunction with the accompanying drawings.
[0060] Figure 2 This is the process of the order processing method provided by this application Figure 1 The execution subject of this embodiment can be, for example, Figure 1 The server shown in the embodiment. Figure 1 As shown, the order processing method provided in this embodiment includes:
[0061] S101: Receive a target order sent by a user terminal, where the target order includes an order reservation time and a laundry room tag.
[0062] The order reservation time may be, for example, the time when the server receives the target order. The laundry room tag is used to indicate the corresponding laundry room, and different laundry rooms have different tags.
[0063] When a user wants to make an appointment for laundry, the user can send a target order including the order appointment time and the laundry room tag to the server.
[0064] For example, a user can send a laundry order to the server by scanning the reservation QR code on the laundry room; at this time, the laundry room tag indicates the laundry room.
[0065] For another example, a user can open a laundry reservation application on a terminal, select a target laundry room from the laundry rooms recommended by the server based on distance and queue time, and then send the target order to the server.
[0066] The server receives the target order sent by the user terminal, and also identifies the order, thereby obtaining the order reservation time and laundry room tag of the target order.
[0067] Optionally, when the user selects a corresponding laundry room through an application on the terminal, the terminal will display the working status and estimated waiting time of the laundry equipment in the corresponding laundry room.
[0068] For example, if the user selects laundry room 1 as the target laundry room in the application, the server will display the working status of multiple laundry appliances in laundry room 1 and the estimated waiting time.
[0069] S102: According to the order reservation time, the target order is added to the order list of the laundry room corresponding to the laundry room tag to obtain a new order list.
[0070] Each laundry room has a corresponding order list, which contains the laundry orders currently scheduled for that laundry room.
[0071] After receiving the target order, the server can add the order to the order list of the laundry room corresponding to the laundry room tag according to the order reservation time of the target order. For example, the order can be added to the order list in chronological order to obtain a new order list.
[0072] It is understandable that the server obtains the laundry order list in real time, and when there are situations where an order is completed, an order is canceled, an order is invalid, or an order is added, the server can adjust the order in the order list.
[0073] In this step, the new order list differs from the old order list in that the target order is added.
[0074] S103: Processing the target order according to the new order list and the working status of the laundry appliances in the laundry room, wherein the laundry room includes at least two laundry appliances.
[0075] The laundry room includes at least two laundry appliances, and the working status of each laundry appliance includes: working, not working, and about to finish working.
[0076] After the new order list is obtained, the target order may be processed according to the new order list and the working status of each laundry appliance.
[0077] For example, a laundry room includes three laundry machines, and the working status of laundry machine 2 is: not working or about to finish working; the target order in the new order list can be assigned to laundry machine 2, so that the user corresponding to the target order can complete the laundry process through laundry machine 2.
[0078] It can be understood that in this step, orders are processed according to the working status of multiple laundry appliances in the laundry room, that is, when there is a laundry appliance in the laundry room that is not working or is about to finish working, a new order is assigned to the laundry appliance, thereby avoiding the uneven distribution of laundry orders in the prior art, which leads to the "first come, last washed" situation.
[0079] The order processing method provided in this embodiment receives a target order sent by a user terminal, wherein the target order includes: an order appointment time and a laundry room tag; according to the order appointment time, the target order is added to the order list of the laundry room corresponding to the laundry room tag to obtain a new order list; according to the new order list and the working status of the laundry equipment in the laundry room, the target order is processed, wherein the laundry room includes at least two laundry appliances, thereby avoiding the uneven distribution of laundry orders in the prior art, which leads to the "first come, last washed" situation. This not only improves the processing efficiency of laundry orders, but also ensures the utilization rate of laundry appliances and improves user experience.
[0080] Figure 3 This is the process of the order processing method provided by this application Figure 2 The execution subject of this embodiment can be, for example, Figure 1 The server shown in the embodiment. Figure 3 As shown, this embodiment Figure 2 Based on the embodiment, the order processing method is described in detail. The order processing method shown in this embodiment includes:
[0081] S201: Receive a target order sent by a user terminal, where the target order includes an order reservation time and a laundry room tag.
[0082] Step S201 is similar to the above-mentioned step S101 and will not be described again here.
[0083] S202: Obtain orders from the laundry room's order list.
[0084] The order list is organized by laundry room. For each laundry room, after receiving a laundry order from a user terminal, the server adds the laundry order to the order list in chronological order, updating the order list in real time. The server also updates the order list in real time based on the operating status of the laundry equipment in the laundry room and the status of the laundry orders in the order list.
[0085] After receiving the target order from the user terminal, the server obtains the orders in the order list of the laundry room. For example, if the laundry room tag in the target order corresponds to laundry room 1, the server obtains the existing orders in the order list corresponding to laundry room 1.
[0086] It is understandable that the server can also obtain the working status of all laundry appliances in the laundry room 1 and the waiting time of the user terminal, and display the working status of all laundry appliances in the laundry room 1 and the waiting time on the display screen of the user terminal.
[0087] S203: Determine the target number of the target order according to the order reservation time and the orders in the order list.
[0088] Each order in the order list has a corresponding number, which is used to indicate the order of the order in the order list. The order number can be, for example, a number, an alphabetical number, or a Chinese character number.
[0089] The target number of the target order can be determined based on the order number and order appointment time in the order list. For example, obtain the order appointment time of the order with the highest order number in the order list, compare the order appointment time of the highest order number with the order appointment time of the target order. If the order appointment time of the target order is later than the order appointment time of the highest order number, use the highest order number in the order list plus one as the target number.
[0090] It is understandable that there is a correlation between the order number and the order reservation time of the order. The order reservation time of the order in the order list obtained by the server is earlier than the order reservation time of the target order. Therefore, the order numbers in the order list are all smaller than the target number.
[0091] S204: Add the target order to the order list according to the target number to obtain a new order list.
[0092] The order list is updated in real time. Adding a target order to the order list does not change the order order ranking. However, when a new order is added to the order list, the order list will also change, resulting in a new order list.
[0093] It is understandable that the orders in the order list can be sorted by order number. Since the order numbers in the order list are all smaller than the target number, when the target order is added to the order list according to the target number, the target order is placed after the existing orders in the order list.
[0094] S205: Acquire the working status of each laundry appliance, and determine the target laundry appliance according to the working status of each laundry appliance.
[0095] The working status of the laundry equipment includes: working, not working, and about to end. When the working status of the laundry equipment is working, it means that the laundry equipment is currently running; when the working status of the laundry equipment is not working, it means that the laundry equipment is not currently running and is in an idle state; when the working status of the laundry equipment is about to end, it means that the laundry equipment is currently running and will soon be completed.
[0096] For example, when the remaining time for the laundry appliance to execute the current program is less than a preset time, the working state of the laundry appliance is updated from "working" to "about to end working".
[0097] After obtaining the working status of each laundry appliance, the target laundry appliance can be determined based on the working status. The working status of the target laundry appliance can be, for example, not working. That is, the laundry appliance currently in an idle state is determined as the target laundry appliance.
[0098] Optionally, a specific implementation method of determining the target laundry appliance according to the working status of each laundry appliance may be, for example, determining a laundry appliance whose working status is not working or about to end working as the target laundry appliance.
[0099] Among them, a laundry appliance that is not in operation or is about to finish operation may be determined as a target laundry appliance.
[0100] The target laundry device refers to the laundry device to which the order will be assigned, that is, the laundry device to which the washing program will be executed. Therefore, in this step, the laundry device that is not in operation needs to be determined as the target laundry device.
[0101] At the same time, since the laundry equipment that is about to finish working is about to enter the idle state, the laundry equipment that is about to finish working can also be determined as the target laundry equipment; doing so can improve the utilization rate of the laundry equipment, thereby saving the user's time.
[0102] S206: Determine whether there is a first order in the new order list whose order number is smaller than the target number; if not, execute step S207; if so, execute step S208.
[0103] The order number of the first order is smaller than the target number. For example, the first order may be the first order in the order list that is not assigned a target laundry appliance. After obtaining the target laundry appliance, an order needs to be assigned to the target laundry appliance. At this time, it is necessary to determine whether there is an order in the order list with an order reservation time earlier than the target order, that is, to determine whether there is a first order in the new order list with an order number smaller than the target number.
[0104] S207: Allocate the target order to the target laundry appliance.
[0105] If there is no first order with an order number smaller than the target number, the target order is assigned to the target laundry appliance.
[0106] It can be understood that when there is no order with an order number smaller than the target order, the target order is the order with the earliest order reservation time in the order list, that is, the first order in the order list that has not been assigned a target laundry appliance. At this time, the target order can be assigned to the target laundry appliance.
[0107] Optionally, a specific implementation method of allocating the target order to the target laundry appliance may be, for example, sending order allocation information to the user terminal.
[0108] The order allocation information may include, for example, a target laundry appliance and a wash start time. If it is determined that there is no first order with an order number less than the target number, the order allocation information may be sent to a user terminal corresponding to the target order, so that the user arrives at the target laundry appliance based on the wash start time in the order allocation information and performs the corresponding wash cycle on the laundry at the target laundry appliance.
[0109] S208: Allocate the first order to the target laundry appliance.
[0110] If there is a first order whose order number is smaller than the target number, the first order is assigned to the target laundry appliance.
[0111] It can be understood that when there is an order with an order number smaller than the target order, it means that the first order is the order with the earliest order reservation time in the order list, that is, the first order in the order list that has not been assigned to the target laundry equipment. At this time, the first order can be assigned to the target laundry equipment.
[0112] It can be understood that after the first order is assigned to the target laundry appliance, the above steps S205-S206 are re-executed until the target order is assigned to the target laundry appliance whose working status is not working or is about to end working.
[0113] It is understood that the number of target laundry appliances determined in step S205 may be one or more. When there is one target laundry appliance, the number of allocated orders is also one; when there are multiple target laundry appliances, the number of allocated orders is also multiple. The multiple allocated orders may or may not include the target order.
[0114] The order processing method provided in this embodiment determines the target laundry appliance according to the working status of each laundry appliance in the laundry room and assigns corresponding orders to the target laundry appliance, thereby improving the utilization rate of the laundry appliances and saving user time. At the same time, the method uniformly dispatches the orders in the order list in chronological order, thereby avoiding the "first come, last washed" problem existing in the prior art by uniformly dispatching orders to the laundry appliances in the laundry room. This not only improves the processing efficiency of laundry orders, but also ensures the utilization rate of the laundry appliances and improves the user experience.
[0115] Figure 4 This is the process of the order processing method provided by this application Figure 3 The execution subject of this embodiment can be, for example, Figure 1 The server shown in the embodiment. Figure 4 As shown, this embodiment is an explanation of processing the target order after assigning the target order to the target laundry appliance. The order processing method shown in this embodiment includes:
[0116] S301: Detecting the working status of the target laundry appliance in real time.
[0117] After the target order is assigned to the target laundry appliance, the working status of the target laundry appliance needs to be detected in real time. The current working status of the target laundry appliance can be, for example, not working or about to end working.
[0118] S302: Determine whether the target laundry appliance is in the first working state after the preset time period; if so, execute step S303; if not, execute step S304.
[0119] The starting time of the preset duration may be, for example, the time when a new order is assigned to the target laundry appliance. The first working state may be, for example, not working.
[0120] After obtaining in real time the working state of the target laundry appliance for a preset period of time after the order is assigned, it is necessary to determine whether the working state of the target laundry appliance after the preset period of time is the first working state.
[0121] The purpose of this step is to determine whether the target laundry appliance performs the washing program after the preset time, thereby determining whether the target order is successfully completed.
[0122] For example, if the preset duration is 20 minutes, and the start time of the preset duration is when the target laundry machine is assigned a new order, and the first working state is not working, then this step determines whether the target laundry machine has executed a wash program 20 minutes after the target laundry machine receives the target order.
[0123] S303: Cancel the target order and assign a second order to the target laundry appliance.
[0124] The second order is an order with an order number greater than the target order number. For example, the second order may be the first order listed after the target order in the order list. When the target laundry machine returns to the first operating state after the preset time period, it indicates that the user did not arrive at the target laundry machine on time and did not place the laundry in the target laundry machine on time for the target laundry machine to execute the washing cycle.
[0125] Therefore, it is necessary to cancel the target order of the user terminal and assign the second order to the target laundry appliance so that the user of the second order can use the target laundry appliance to complete the laundry order.
[0126] S304: Send order completion information to the user terminal.
[0127] The order completion information is used to indicate that the target order has been completed.
[0128] When the target laundry machine is not in the first working state after the preset time, it indicates that the user has arrived at the target laundry machine on time and placed the laundry in the target laundry machine on time, so that the target laundry machine executes the corresponding washing program on time.
[0129] At this time, it can be determined that the target laundry appliance has entered the operating state, that is, the target order has been completed, so order completion information can be sent to the user terminal corresponding to the target order.
[0130] The order processing method provided in this embodiment obtains the working status of the target laundry order in real time and determines whether the working status of the target laundry equipment is the first working status after a preset period of time, so as to accurately determine whether the target order is completed on time. If it is not completed on time, the target order is canceled and other orders are assigned to the target laundry equipment. When the target order is completed on time, order completion information is sent to the user. This improves the utilization rate of the laundry equipment, improves the processing efficiency of the laundry orders, and improves the user experience.
[0131] Figure 5 This is a schematic diagram of the structure of the order processing device provided in this application. Figure 5 As shown, the present application provides an order processing device, and the order processing device 300 includes:
[0132] Receiving module 301, configured to receive a target order sent by a user terminal, the target order including: order reservation time and laundry room tag;
[0133] An adding module 302 is configured to add the target order to the order list of the laundry room corresponding to the laundry room tag according to the order reservation time, thereby obtaining a new order list;
[0134] The processing module 303 is used to process the target order according to the new order list and the working status of the laundry equipment in the laundry room.
[0135] Optionally, the apparatus further includes: an acquisition module 304 and a determination module 305;
[0136] The acquisition module 304 is used to acquire orders from the laundry order list;
[0137] The determining module 305 is configured to determine a target number of the target order based on the order reservation time and the orders in the order list;
[0138] The adding module 302 is specifically configured to add the target order to the order list to obtain a new order list.
[0139] Optionally, the order processing device further includes: a judgment module 306;
[0140] The acquisition module 304 is further used to obtain the working status of each laundry device;
[0141] The determination module 305 is further configured to determine a target laundry appliance based on the working status of each laundry appliance;
[0142] The determining module 306 is further configured to determine whether there is a first order in the new order list with an order number smaller than the target order number;
[0143] The processing module 303 is specifically configured to allocate the target order to the target laundry appliance when there is no first order with an order number smaller than the target number in the new order list.
[0144] Optionally, the processing module 303 is further configured to allocate a first order to the target laundry appliance when there is a first order with an order number smaller than the target number in the new order list.
[0145] Optionally, the working status includes: working, not working, and about to end working; the determining module 305 is specifically configured to determine the laundry appliance with the working status of not working or about to end working as the target laundry appliance.
[0146] Optionally, the processing module 303 is specifically configured to send order allocation information to the user terminal, where the order allocation information includes: the target laundry appliance and the washing start time.
[0147] Optionally, the device further includes: a detection module 307;
[0148] The detection module is used to detect the working status of the target laundry device in real time;
[0149] The judging module 304 is further configured to judge whether the working state of the target laundry appliance is the first working state after a preset time period;
[0150] The processing module 303 is also used to cancel the target order and assign a second order to the target laundry appliance when the working status of the target laundry appliance is the first working status after a preset period of time, wherein the second order is an order with an order number greater than the target number; when the working status of the target laundry appliance is not the first working status after the preset period of time, send order completion information to the user terminal, and the order completion information is used to indicate that the target order has been completed.
[0151] Figure 6 This is a schematic diagram of the structure of the order processing equipment provided in this application. Figure 6 As shown, the present application provides an order processing device, which includes an order processing device 400 including a receiver 401 , a transmitter 402 , a processor 403 and a memory 404 .
[0152] Receiver 401, for receiving instructions and data;
[0153] Transmitter 402, used to send instructions and data;
[0154] Memory 404, for storing computer-executable instructions;
[0155] The processor 403 is configured to execute the computer-executable instructions stored in the memory 404 to implement the various steps of the order processing method in the above embodiment. For details, please refer to the relevant description in the above embodiment of the order processing method.
[0156] Optionally, the memory 404 may be independent or integrated with the processor 403 .
[0157] When the memory 404 is independently provided, the electronic device further includes a bus for connecting the memory 404 and the processor 403 .
[0158] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the order processing method executed by the above-mentioned order processing device is implemented.
[0159] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As is well known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable, and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media generally embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0160] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the scope of protection of the present application is obviously not limited to these specific embodiments. The above embodiments are only used to illustrate the technical solution of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, ordinary technicians in this field should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solution to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. An order processing method, characterized in that: The method comprises: Receive a target order sent by a user terminal, the target order including: order reservation time and laundry room tag; According to the order reservation time, the target order is added to the order list of the laundry room corresponding to the laundry room tag to obtain a new order list; The target order is processed according to the new order list and the working status of the laundry equipment in the laundry room, wherein the laundry room includes at least two laundry equipments.
2. The method according to claim 1, characterized in that The method of adding the target order to the order list of the laundry room corresponding to the laundry room tag according to the order reservation time to obtain a new order list includes: Obtaining an order from an order list of the laundry room; Determine the target number of the target order according to the order reservation time and the orders in the order list; According to the target number, the target order is added to the order list to obtain a new order list.
3. The method according to claim 2, characterized in that The processing of the target order according to the new order list and the working status of the laundry equipment in the laundry room includes: Acquisition process: obtain the working status of each laundry equipment; Determine the process: determine the target laundry equipment according to the working status of each laundry equipment; Allocation process: determining whether there is a first order with an order number smaller than the target order number in the new order list; If not, the target order is assigned to the target laundry appliance.
4. The method according to claim 3, characterized in that If the new order list contains a first order whose number is smaller than the target number, the method further includes: assigning the first order to the target laundry appliance; The acquisition process, the determination process and the allocation process are repeatedly executed until the target order is allocated to the laundry equipment.
5. The method according to claim 3, characterized in that: The working status includes: working, not working, and about to end working; the target laundry equipment is determined according to the working status of each laundry equipment, including: A laundry appliance whose working status is not working or about to end working is determined as a target laundry appliance.
6. The method according to claim 3, characterized in that: The allocating the target order to the target laundry appliance comprises: Sending order allocation information to the user terminal, the order allocation information including: the target laundry device and the washing start time.
7. The method according to claim 3, characterized in that After allocating the target order to the target laundry appliance, the method further includes: Detecting the working status of the target laundry equipment in real time; Determining whether the working state of the target laundry appliance after a preset time period is a first working state; If yes, cancel the target order and assign a second order to the target laundry appliance, wherein the second order is an order with an order number greater than the target order number; If not, an order completion message is sent to the user terminal, where the order completion message is used to indicate that the target order has been completed.
8. An order processing device, characterized in that: include: A receiving module, configured to receive a target order sent by a user terminal, wherein the target order includes: an order reservation time and a laundry room tag; An adding module, used for adding the target order to the order list of the laundry room corresponding to the laundry room tag according to the order reservation time, to obtain a new order list; A processing module is used to process the target order according to the new order list and the working status of the laundry equipment in the laundry room.
9. An order processing device, characterized in that: include: Memory; processor; Wherein, the memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the order processing method according to any one of claims 1 to 7.
10. A computer storage medium, characterized in that: The computer storage medium stores computer executable instructions, which, when executed by a processor, are used to implement the order processing method according to any one of claims 1 to 7.
