Shared cleaning equipment reservation method, device and equipment
By monitoring the status of shared washing machines and pushing preemption reminders, it solves the problem of low user reservation efficiency and improves equipment usage and user waiting time.
Patent Information
- Application Number
- CN202310296931.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-09-24
AI Technical Summary
It is inefficient for users to manually reserve shared washing machines, resulting in reduced equipment usage and increased waiting time.
By monitoring the status of shared cleaning equipment in cleaning points, when the equipment changes from occupied to idle, preemption reminders are pushed to reservation users, allowing other users to discover and preempt idle equipment in a timely manner, improving equipment usage and user reservation efficiency.
It increases the utilization rate of shared cleaning equipment, reduces users' waiting time, and improves reservation and usage efficiency.
Smart Images

Figure CN118690879A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of clothing processing equipment, and in particular to a method, device and equipment for booking a shared washing device. Background Art
[0002] With the development of technology, shared washing machines have been widely used in public accommodation places such as apartments and dormitories to facilitate the residents to wash clothes. At present, when users use shared washing machines, they select the washing point where the shared washing machine is deployed, and the shared washing machine in the washing point to use or make an appointment. However, the current manual reservation method of users has the problem of low reservation efficiency.
[0003] Therefore, how to improve the efficiency of users' reservations for shared washing machines is an urgent problem that needs to be solved. Summary of the invention
[0004] The present application provides a method, device and equipment for booking a shared washing machine, which are used to solve the problem of how to improve the efficiency of users booking a shared washing machine in the prior art.
[0005] In a first aspect, the present application provides a shared cleaning equipment reservation method, comprising:
[0006] Monitoring the status of N shared cleaning devices included in the cleaning point, where N is an integer greater than or equal to 2;
[0007] If it is determined according to the states of the N shared cleaning devices that there is a target shared cleaning device among the N shared cleaning devices that has been converted from an occupied state to an idle state, a first target reserved user is determined from the reserved users of the cleaning point;
[0008] Push a preemption reminder of the target shared cleaning device to the terminal of the first target reservation user.
[0009] Optionally, determining a first target reserved user from the reserved users at the cleaning point includes:
[0010] According to the reservation queue information of the target shared cleaning device, a first target reservation user is determined from the reservation users of the cleaning point.
[0011] Optionally, determining a first target reserved user from reserved users of the cleaning point according to the reservation queue information of the target shared cleaning device includes:
[0012] If the reservation queue information of the target shared cleaning device indicates that there is a reservation user of the target shared cleaning device, determining a first target reservation user from the reservation users of the cleaning point according to the reservation information of the reservation user of the target shared cleaning device and the reservation information of the reservation users of other shared cleaning devices;
[0013] If the reservation queue information of the target shared cleaning device indicates that there is no reservation user for the target shared cleaning device, a first target reservation user is determined from the reservation users queuing at the cleaning point according to reservation information of reservation users of other shared cleaning devices.
[0014] Optionally, the reservation information includes: reservation authority, scheduled washing start time, and scheduled washing duration;
[0015] The step of determining a first target reserved user from the reserved users of the cleaning point according to the reservation information of the reserved user of the target shared cleaning device and the reservation information of the reserved users of other shared cleaning devices includes:
[0016] According to the reservation authority of the reservation user of the cleaning point, determining whether there is a reservation user with priority reservation preemption authority;
[0017] If there is a reservation user with priority reservation preemption authority, a first target reservation user is determined from the reservation users with priority reservation preemption authority at the cleaning point according to the reservation washing time of the reservation user with priority reservation preemption authority at the cleaning point;
[0018] If there is no scheduled user with priority preemption authority, a first target scheduled user is determined from the scheduled users at the cleaning point according to the scheduled washing duration of the scheduled users at the cleaning point.
[0019] Optionally, determining the first target reservation user from the reservation users who have priority reservation preemption authority at the cleaning point includes:
[0020] According to the reservation time of the first reservation user of the target shared cleaning device, the idle time of the target shared cleaning device is obtained;
[0021] Determine the reservable duration of the target shared cleaning device according to the idle duration; the reservable duration is less than or equal to the idle duration;
[0022] The first target reservation user is determined from reservation users with priority reservation preemption rights and whose reservation washing time is less than the available reservation time.
[0023] Optionally, determining the first target reservation user from reservation users with priority reservation preemption rights and whose reservation washing time is less than the available reservation time includes:
[0024] Determine the reserved time of the reserved user which is less than the available reservation time according to the reserved time of the shared cleaning device of the reserved user which is less than the available reservation time;
[0025] The reserved users whose reserved time period is longer than the first preset time period are taken as the first target reserved users.
[0026] Optionally, the method further includes:
[0027] If preemption responses returned by terminals of multiple first target reservation users are received, determining a second target reservation user from the multiple first target reservation users according to the time when each of the preemption responses is received;
[0028] The target shared cleaning device is set as the reserved device of the second target reserved user, and the preemption success information is pushed to the terminal of the second target reserved user.
[0029] Optionally, the method further includes:
[0030] If no preemption response is received from the terminal of any first target reserved user when the second preset time period is reached, a new first target reserved user is determined from the remaining reserved users.
[0031] In a second aspect, the present application provides a shared cleaning equipment reservation device, comprising:
[0032] A monitoring module, used to monitor the status of N shared cleaning devices included in the cleaning point, where N is an integer greater than or equal to 2;
[0033] a processing module, configured to determine a first target reserved user from the reserved users of the cleaning point if it is determined according to the states of the N shared cleaning devices that there is a target shared cleaning device among the N shared cleaning devices that has been converted from an occupied state to an idle state;
[0034] The sending module is used to push the preemption reminder of the target shared cleaning device to the terminal of the first target reservation user.
[0035] In a third aspect, the present application provides an electronic device, comprising: a processor, a communication interface, and a memory; the processor is communicatively connected to the communication interface and the memory respectively;
[0036] The memory stores computer-executable instructions;
[0037] The communication interface communicates and interacts with external devices;
[0038] The processor executes the computer-executable instructions stored in the memory to implement the method as described in any one of the first aspects.
[0039] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method as described in any one of the first aspects.
[0040] In a fifth aspect, the present application provides a computer program product, which, when executed by a processor, is used to implement the shared cleaning equipment reservation method as described in any one of the first aspects.
[0041] The shared cleaning equipment reservation method, device and equipment provided by the present application monitor the status of the shared cleaning equipment in the cleaning point. When there is a device that changes from an occupied state to an idle state, it is considered that the device may be temporarily idle due to user reasons. At this time, the preemption reminder of the device is pushed to the reservation user of the cleaning point, so that other users in the reservation queue can find the idle device in time, thereby improving the utilization rate of the device, reducing the waiting time of users, and improving the efficiency of user reservation and use. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The accompanying drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the description are used to explain the principles of the present application:
[0043] Figure 1 A schematic diagram of the current scenario of the reservation method for shared cleaning equipment;
[0044] Figure 2 A schematic diagram of a flow chart of a shared cleaning equipment reservation method provided in an embodiment of the present application;
[0045] Figure 3 A flowchart of another method for booking a shared cleaning device provided in an embodiment of the present application;
[0046] Figure 4 A schematic diagram of a flow chart of another shared cleaning equipment reservation method provided in an embodiment of the present application;
[0047] Figure 5 A schematic diagram of the structure of a shared cleaning equipment reservation device provided in an embodiment of the present application;
[0048] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0049] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0050] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0051] First, the current method of booking shared cleaning equipment is explained in detail. Figure 1 The following is a schematic diagram of the current method of booking shared cleaning equipment. Figure 1 As shown, the scenario may include: a user terminal, a server, and N shared washing machines in a cleaning point, where N is an integer greater than or equal to 2.
[0052] The server is connected to each shared washing machine in the cleaning point through the cleaning point or directly, and is used to obtain the user's reservation request from the user terminal, and reserve the corresponding shared washing machine in the corresponding cleaning point for the user according to the reservation request.
[0053] Users can obtain cleaning point information and shared washing machine information in the cleaning point from the server through applications (APP), mini-programs, web pages, etc. on the user terminal. For example, they can obtain information such as the location of the cleaning point, the opening hours of the cleaning point, the number of devices in the cleaning point, the current status of the shared washing machine, and the available reservation time for the shared washing machine. Figure 1 As shown, the APP can display information about the available reservation time for the shared washing machine in the cleaning point.
[0054] Currently, users mainly use user terminals to view the above-mentioned cleaning point information and the shared washing machine information in the cleaning point, select the corresponding reserved shared washing machine according to actual needs, and then start the shared washing machine for clothes washing by manually verifying the reserved shared washing machine at the cleaning point after payment. Figure 1 The user reserves the shared cleaning device 5 in the cleaning point 1 through the terminal. After receiving the reservation request, the server allocates the shared cleaning device 5 to the user, uses the shared cleaning device 5 as the user's reservation device, and returns a device reservation response to the user, such as a successful reservation or a failed reservation.
[0055] However, after a user completes a reservation for a shared washing machine, other shared washing machines in the same washing station may become idle because the corresponding reserved users fail to verify or pay in time, or give up using the washing machines. At this time, other users in the reservation queue cannot find the idle equipment in time, which leads to a decrease in the utilization rate of the equipment and a low efficiency of user reservation and use.
[0056] In view of this, the present application provides a shared cleaning equipment reservation method, which monitors the status of shared cleaning equipment in a cleaning point. When there is a device that changes from an occupied state to an idle state, it is considered that the device may be temporarily idle due to user reasons. At this time, the preemption reminder of the device is pushed to the reservation user of the cleaning point, so that other users in the reservation queue can find the idle device in time, thereby improving the utilization rate of the device, reducing the waiting time of users, and improving the efficiency of users' reservation and use of shared cleaning equipment.
[0057] The execution subject of the present application may be a cloud platform or server that is in communication with the shared cleaning device. The cloud platform or server obtains the required information or data through interaction with the shared cleaning device and the user terminal to make judgments and processes, thereby implementing the method of the present application. The shared cleaning device may be, for example, a shared washing machine, a shared drying machine, a shared washing and drying machine, etc.
[0058] The following uses the shared washing machine as an example. Figure 1 The technical solutions of the embodiments of the present application are described in detail in combination with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0059] Figure 2 A flowchart of a method for booking a shared cleaning device provided in an embodiment of the present application is shown below. Figure 2 As shown, the method includes:
[0060] S201. Monitor the status of N shared cleaning devices included in the cleaning point.
[0061] The states of the N shared cleaning devices may include an occupied state and an idle state. The occupied state means that the shared cleaning device is currently in use, for example, it may be in a state of washing clothes, or in a state of waiting for user verification, or in a state of being operated by a user, etc.; the idle state means that the shared cleaning device is currently in a state of no user using it, that is, no user is currently using the device for cleaning, or the device is not in a state of waiting for user verification, or is not in a state of being operated by a user, etc. A shared cleaning device in an idle state can be preempted by a user, and the user who preempts the device can immediately use the device to wash clothes.
[0062] The cloud platform can monitor the shared cleaning devices in the cleaning point by acquiring the status identifier of each shared cleaning device, and the status identifier can be, for example, "occupied state", "idle state", or identifiers representing different states, such as "1" representing occupied state, "0" representing idle state, etc. The cloud platform can monitor the status of the N shared cleaning devices in real time, and can also acquire the status of the N shared cleaning devices according to a preset time interval, etc.
[0063] S202: If it is determined according to the states of the N shared cleaning devices that there is a target shared cleaning device among the N shared cleaning devices that has been converted from an occupied state to an idle state, a first target reserved user is determined from the reserved users of the cleaning point.
[0064] The conversion of the shared washing equipment from the occupied state to the idle state may indicate that the shared washing equipment becomes idle during the reservation period corresponding to the user because the user who has reserved the current time has given up using the equipment, or the user fails to arrive at the laundry point in time and misses the verification time. At this time, the equipment can be preempted by other users to avoid the problem of low efficiency of the equipment.
[0065] The reservation users of the cleaning point may include, for example, all reservation users of the cleaning point sharing the cleaning equipment, or only all reservation users of the cleaning equipment, or reservation users within a preset time period, etc. For example, if the preset time period is 1 day, the reservation users of the cleaning point may include all subsequent reservation users within the opening time period of the cleaning point today.
[0066] The first target reservation user is a user who can preempt the target shared cleaning device according to the preemption rule of the cleaning point, and the preemption rule can be determined according to actual needs. For example, it can be a user whose reservation washing time is less than the idle time of the device among the reservation users, or a user whose reservation time is earlier among the reservation users (for example, the first five users, or a user whose reservation time is within 2 hours after the current time, etc.), or a user determined according to the user's reservation authority (for example, whether he is a member user) or priority, etc.
[0067] S203: Push a preemption reminder of the target shared cleaning device to the terminal of the first target reservation user.
[0068] The preemption reminder is used to remind the first target reservation user to preempt the target shared cleaning device, so that the target shared cleaning device can be used directly for laundry without waiting for the originally reserved shared cleaning device. The preemption reminder can be implemented through APP reminder, phone reminder (such as artificial intelligence phone service), SMS reminder, etc.
[0069] The shared cleaning equipment reservation method provided in the embodiment of the present application monitors the status of the shared cleaning equipment in the cleaning point through the cloud platform, determines the target shared cleaning equipment that is converted from an occupied state to an idle state, and pushes the preemption reminder that can preempt the target shared cleaning equipment to the first target reservation user among the reservation users of the cleaning point, so that the first target reservation user can preempt the target shared cleaning equipment, thereby avoiding the target shared cleaning equipment from being idle for a long time, increasing the frequency of use of the equipment, reducing the waiting time for user reservations, and improving the efficiency of user reservations.
[0070] Next, how to determine the first target reserved user from the reserved users at the cleaning point in step S202 is described in detail.
[0071] The cloud platform determines the first target reservation user from the reservation users of the cleaning point according to the reservation queue information of the target shared cleaning device. The reservation queue information is the information of the user queue that has reserved the target shared cleaning device, and the reservation queue information can be shown in the following table 1, for example: Table 1 Booking User Appointment time Appointment duration User 1 15:00 50 minutes User 2 16:00 45 minutes User 3 16:55 60 minutes …… …… ……
[0072] As shown in Table 1, assuming that user 1 fails to verify the target shared cleaning device in time, causing the device to be idle, the cloud platform can determine the first target reservation user from the reservation users at the cleaning point according to the reservation queue information.
[0073] Implementation method A: There are still subsequent reservation users in the reservation queue information.
[0074] If the reservation queue information of the target shared cleaning device indicates that there is a reservation user for the target shared cleaning device, then the first target reservation user is determined from the reservation users of the cleaning point according to the reservation information of the reservation user of the target shared cleaning device and the reservation information of the reservation users of other shared cleaning devices.
[0075] The reservation user of the target shared cleaning device refers to the subsequent reservation user in the reservation queue information after the current user causes the device to be in an idle state, such as user 2 and user 3 in Table 1. When there are still subsequent reservation users in the reservation queue information, the reservation users representing the cleaning point include the reservation user of the target shared cleaning device and the reservation users of other shared cleaning devices, that is, the first target reservation user can be determined from the reservation users of the target shared cleaning device and other shared cleaning devices.
[0076] The reservation information may include the reservation authority, reservation priority, etc. of the reservation user, and may also include the scheduled washing start time, the scheduled washing duration, the scheduled washing program information, etc. The cloud platform may determine the first target reservation user from the reservation users of the cleaning point according to one or more items of the reservation information.
[0077] Among them, the reservation authority can, for example, indicate whether the user has the priority reservation preemption authority. Only when the user has the reservation authority can the reservation preemption behavior be performed. The reservation authority can, for example, be determined according to whether the user is a member user, for example, a member user has the reservation authority, and a non-member user does not have the reservation authority. Alternatively, the reservation authority can be determined according to the user's historical reservation situation, and the historical reservation situation can, for example, include the number of verification timeouts and the number of cancellations of the user. The user can be scored according to these situations. Users with scores greater than or equal to the preset score have the reservation authority, and users with scores lower than the preset score do not have the reservation authority. The reservation priority can, for example, indicate the priority of the user's reservation preemption. When preempting the target shared cleaning equipment, the user's priority reservation preemption authority is released according to the priority. Only when the users of the previous priority do not preempt the target shared cleaning equipment, or when the users of the previous priority have all preempted the timeout, the user of the next priority can obtain the priority reservation preemption authority. The priority can, for example, be determined according to whether the user is a member, or the membership level, or it can be determined according to the historical reservation situation, etc.
[0078] The scheduled washing start time is the start time that the user reserves for using the shared cleaning device, and the scheduled washing duration is the duration required for the user to use the shared cleaning device. The duration can be directly input by the user or obtained based on the information of the user's scheduled washing program.
[0079] Below, taking the reservation information including reservation authority, scheduled washing start time, and scheduled washing duration as an example, a detailed introduction is given on how to determine the first target reservation user from the reservation users of the cleaning point based on the reservation information of the target shared cleaning device and the reservation information of the reservation users of other shared cleaning devices. Figure 3 A flow chart of another method for booking a shared cleaning device provided in an embodiment of the present application. Figure 3 As shown, the method may include:
[0080] S301. According to the reservation authority of the reservation user of the cleaning point, determine whether there is a reservation user with priority reservation preemption authority.
[0081] The reservation queue information of all shared cleaning devices of the cleaning point is obtained, and the account information of the reservation user is obtained from the reservation queue information, so as to determine the reservation authority of each reservation user, such as the user's membership ID, membership level ID, historical reservation status score, etc. According to the reservation authority of all reservation users in the cleaning point, it is determined whether there is a reservation user with priority reservation preemption authority. If there is a reservation user with priority reservation preemption authority, it indicates the reservation user with priority reservation preemption authority, and step S302 is executed; if there is no reservation user with priority reservation preemption authority, it indicates the reservation user without priority reservation preemption authority, and step S303 is executed.
[0082] S302: According to the scheduled washing duration of the scheduled users who have priority reservation preemption authority at the cleaning point, determine a first target scheduled user from the scheduled users who have priority reservation preemption authority at the cleaning point.
[0083] In a possible implementation, the reservation user with the priority reservation preemption right at the cleaning point and whose reservation washing time is the shortest is selected as the first target reservation user.
[0084] Another possible implementation is to determine the first target reservation user according to the reservation time of the first reservation user of the target shared cleaning device and the reservation washing duration of the reservation user with priority reservation preemption authority. The first reservation user of the target shared cleaning device is a reservation user who cancels the use of the device in the reservation queue or whose verification has timed out, such as user 1 in Table 1.
[0085] S3021. Obtain the idle time of the target shared cleaning device according to the reservation time of the first reservation user of the target shared cleaning device.
[0086] Among them, the appointment time is the appointment usage time of the target shared cleaning device reserved by the first appointment user to use the device, or the appointment start time and the appointment end time. According to the appointment usage time, or the appointment start time and the appointment end time, the time the user uses the device is obtained, and the idle time of the target shared cleaning device is determined according to the time when the user cancels the use, or the time when the verification times out. For example, the user's appointment time is 9:00-10:00, and the verification time is at the latest 9:05. If the user's verification times out (that is, the verification has not been completed at 9:05), the idle time of the target shared cleaning device can be determined to be 55 minutes through the verification timeout time 9:05 and the appointment time.
[0087] S3022. Determine the available reservation time of the target shared cleaning device according to the idle time.
[0088] The reservable time is less than or equal to the idle time. For example, if the idle time of the target shared cleaning device is 55 minutes, the reservable time can be 55 minutes. Alternatively, the reservable time is determined according to the preset reserved time and the idle time. The reserved time is used to reserve time for the preempting user to reach the cleaning point after the preemption. For example, if the preset reserved time is 5 minutes and the idle time can be 55 minutes, the reservable time is 50 minutes.
[0089] S3023: Determine the first target reservation user from reservation users with priority reservation preemption rights whose reservation washing time is less than the available reservation time.
[0090] If the scheduled washing time is longer than the available time, it means that the scheduled users corresponding to the scheduled washing time cannot complete the washing that meets their actual needs within the available time. If these users successfully preempt, it will affect the subsequent scheduled users of the target shared washing device to use the target shared washing device. Therefore, it is necessary to determine the first target scheduled user from the scheduled users whose scheduled washing time is less than the available time.
[0091] In one possible implementation, the first target reservation user may be determined according to the reservation time sequence of reservation users with priority reservation preemption rights whose reservation washing time is less than the available reservation time. For example, a preset number of reservation users may be determined as the first target reservation users, or a preset proportion of reservation users may be determined as the first target reservation users, etc., according to the reservation time sequence.
[0092] Another possible implementation method is to determine the first target reservation user according to the reservation time of the reservation user whose reservation washing time is less than the available reservation time among the reservation users with priority reservation preemption rights. For example, the reservation time of the reservation user whose reservation washing time is less than the available reservation time can be determined according to the reservation time of the reservation user whose reservation washing time is less than the available reservation time, and the reservation user whose reservation time is greater than the first preset time is taken as the first target reservation user. The first preset time can be determined according to actual needs.
[0093] S303: Determine a first target scheduled user from the scheduled users of the cleaning point according to the scheduled washing duration of the scheduled users of the cleaning point.
[0094] If there is no reservation user with priority preemption authority, it means that all reservation users in the cleaning point can preempt the target shared cleaning device at the first time, and the first target reservation user can be directly determined from all reservation users sharing the cleaning device in the cleaning point. In this case, how to determine the first target reservation user from all reservation users sharing the cleaning device in the cleaning point is similar to step S3023, and will not be repeated here.
[0095] Implementation method B: There is no subsequent reservation user in the reservation queue information.
[0096] If the reservation queue information of the target shared cleaning device indicates that there is no reservation user for the target shared cleaning device, it indicates that there is no subsequent reservation user in the reservation queue information of the target shared cleaning device. For example, Table 1 only contains user 1, and does not contain user 2 and user 3. At this time, the first target reservation user can be determined only from the reservation users of other shared cleaning devices in the cleaning point.
[0097] In this case, there is no limit on the available reservation time of the target shared cleaning device, and any other reservation users of the shared cleaning device in the cleaning point can be used as the first target reservation user. How to determine the first target reservation user from the reservation users of other shared cleaning devices in the cleaning point is similar to step S3023 and will not be repeated here.
[0098] The method provided by the present application selects the scheduled users who meet the reservation time requirements of the target shared cleaning equipment at the cleaning point through the idle time of the target shared cleaning equipment, so that these scheduled users who meet the requirements can seize the idle time of the target shared cleaning equipment for washing without affecting the use of the equipment by subsequent scheduled users in the reservation queue of the target shared cleaning equipment, thereby increasing the frequency of use of the target shared cleaning equipment, reducing the waiting time of the scheduled users, and improving the efficiency of users' reservations for shared cleaning equipment.
[0099] For the method in the above embodiment, the first target reservation user may be multiple reservation users. When multiple first target reservation users preempt the target shared cleaning device, the user who successfully preempts the device may be determined by the following method.
[0100] Figure 4 A flowchart of another method for booking a shared cleaning device provided in an embodiment of the present application is shown below. Figure 4 As shown, the method may include:
[0101] S401: If preemption responses returned by terminals of multiple first target reserved users are received, determine a second target reserved user from the multiple first target reserved users according to the time when each preemption response is received.
[0102] The second target reservation user is the reservation user who successfully preempts. When receiving the preemption response, the cloud platform can determine the second target reservation user by recording the reception time of each preemption response. For example, the reservation user corresponding to the preemption response with the earliest reception time can be used as the second target reservation user.
[0103] Optionally, if no preemption response is received from the terminal of any first target reservation user when the second preset time is reached, a new first target reservation user is determined from the remaining reservation users. For example, if after the second preset time, no preemption behavior occurs among the reservation users whose reservation time is longer than the first preset time, the reservation users whose reservation time is longer than the second preset time can be taken as the first target reservation users, and the second preset time is shorter than the first preset time; or, the new first target reservation user is directly determined from all the remaining reservation users at the cleaning point, etc. The method of determining the new first target reservation user from the remaining reservation users is similar to that of Figure 3 The contents are similar and will not be repeated here.
[0104] S402: Set the target shared cleaning device as a reserved device of the second target reserved user, and push the information of successful seizure to the terminal of the second target reserved user.
[0105] The successful seizure information is used to notify the second target reservation user that the target shared cleaning device has been successfully seized. The successful seizure information can be pushed to the terminal of the second target reservation user by APP push information, phone call, SMS, etc. This application does not limit the specific content of the successful seizure information.
[0106] Figure 5 This is a schematic diagram of the structure of a shared cleaning equipment reservation device provided in an embodiment of the present application. Figure 5 As shown, the device may include: a monitoring module 11, a processing module 12, and a sending module 13.
[0107] The monitoring module 11 is used to monitor the status of N shared cleaning devices included in the cleaning point, where N is an integer greater than or equal to 2.
[0108] The processing module 12 is configured to determine a first target reserved user from the reserved users of the cleaning point if it is determined according to the states of the N shared cleaning devices that there is a target shared cleaning device that has been converted from an occupied state to an idle state among the N shared cleaning devices.
[0109] The sending module 13 is used to push the preemption reminder of the target shared cleaning device to the terminal of the first target reservation user.
[0110] In a possible implementation, the processing module 12 is specifically configured to determine a first target reservation user from the reservation users of the cleaning point according to the reservation queue information of the target shared cleaning device.
[0111] In this implementation, the processing module 12 is specifically configured to determine the first target reservation user from the reservation users of the cleaning point according to the reservation information of the reservation user of the target shared cleaning device and the reservation information of the reservation users of other shared cleaning devices if the reservation queue information of the target shared cleaning device indicates that there is a reservation user of the target shared cleaning device. If the reservation queue information of the target shared cleaning device indicates that there is no reservation user of the target shared cleaning device, determine the first target reservation user from the reservation users queuing at the cleaning point according to the reservation information of the reservation users of other shared cleaning devices.
[0112] If the reservation information includes: reservation authority, scheduled washing start time, and scheduled washing duration, the processing module 12 is specifically used to determine whether there is a reservation user with priority reservation preemption authority according to the reservation authority of the reservation user of the cleaning point. If there is a reservation user with priority reservation preemption authority, the first target reservation user is determined from the reservation users with priority reservation preemption authority at the cleaning point according to the scheduled washing duration of the reservation user with priority reservation preemption authority at the cleaning point. If there is no reservation user with priority preemption authority, the first target reservation user is determined from the reservation users at the cleaning point according to the scheduled washing duration of the reservation users at the cleaning point.
[0113] Optionally, the processing module 12 is specifically configured to obtain the idle time of the target shared cleaning device according to the reservation time of the first reservation user of the target shared cleaning device. Determine the available reservation time of the target shared cleaning device according to the idle time. The available reservation time is less than or equal to the idle time. Determine the first target reservation user from reservation users with priority reservation preemption rights whose reservation washing time is less than the available reservation time.
[0114] In the implementation mode, the processing module 12 is specifically used to determine the reserved time of the reservation user less than the available reservation time according to the reservation time of the reservation user less than the available reservation time, and to take the reservation user whose reserved time is greater than the first preset time as the first target reservation user.
[0115] Optionally, the processing module 12 is further configured to, if receiving a preemption response returned by the terminals of multiple first target reservation users, determine the second target reservation user from the multiple first target reservation users according to the time when each of the preemption responses is received. The sending module 13 is further configured to set the target shared cleaning device as the reservation device of the second target reservation user, and push the preemption success information to the terminal of the second target reservation user.
[0116] The processing module 12 is further configured to determine a new first target reserved user from the remaining reserved users if no preemption response is received from the terminal of any first target reserved user when the second preset time period is reached.
[0117] The shared cleaning equipment reservation device provided in the embodiment of the present application can execute the shared cleaning equipment reservation method in the above method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.
[0118] Figure 6 The structure diagram of an electronic device provided in an embodiment of the present application. The electronic device is used to execute the aforementioned shared cleaning device reservation method, for example, it can be a server of the aforementioned cloud platform. Figure 6 As shown, the electronic device 600 may include: at least one processor 601 , a memory 602 , and a communication interface 603 .
[0119] The memory 602 is used to store programs. Specifically, the programs may include program codes, and the program codes include computer operation instructions.
[0120] The memory 602 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0121] The processor 601 is used to execute the computer-executable instructions stored in the memory 602 to implement the method described in the above method embodiment. The processor 601 may be a CPU, or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0122] The processor 601 can communicate and interact with external devices through the communication interface 603. The external devices can be, for example, the user terminal devices, shared cleaning devices, etc. mentioned above. In specific implementation, if the communication interface 603, the memory 602 and the processor 601 are implemented independently, the communication interface 603, the memory 602 and the processor 601 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.
[0123] Optionally, in a specific implementation, if the communication interface 603, the memory 602 and the processor 601 are integrated on a chip, the communication interface 603, the memory 602 and the processor 601 can communicate through an internal interface.
[0124] The present application also provides a computer-readable storage medium, which may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes. Specifically, the computer-readable storage medium stores program instructions, and the program instructions are used for the methods in the above embodiments.
[0125] The present application also provides a program product, which includes an execution instruction stored in a readable storage medium. At least one processor of a computing device can read the execution instruction from the readable storage medium, and at least one processor executes the execution instruction so that the computing device implements the actions of the above-mentioned shared cleaning equipment reservation device.
[0126] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for booking a shared cleaning device, characterized in that: The method comprises: Monitoring the status of N shared cleaning devices included in the cleaning point, where N is an integer greater than or equal to 2; If it is determined according to the states of the N shared cleaning devices that there is a target shared cleaning device among the N shared cleaning devices that has been converted from an occupied state to an idle state, a first target reserved user is determined from the reserved users of the cleaning point; A preemption reminder for the target shared cleaning device is pushed to the terminal of the first target reservation user.
2. The method according to claim 1, characterized in that The step of determining a first target reserved user from the reserved users at the cleaning point includes: According to the reservation queue information of the target shared cleaning device, a first target reservation user is determined from the reservation users of the cleaning point.
3. The method according to claim 2, characterized in that The step of determining a first target reservation user from reservation users at the cleaning point according to the reservation queue information of the target shared cleaning device comprises: If the reservation queue information of the target shared cleaning device indicates that there is a reservation user of the target shared cleaning device, determining a first target reservation user from the reservation users of the cleaning point according to the reservation information of the reservation user of the target shared cleaning device and the reservation information of the reservation users of other shared cleaning devices; If the reservation queue information of the target shared cleaning device indicates that there is no reservation user for the target shared cleaning device, a first target reservation user is determined from the reservation users queuing at the cleaning point according to reservation information of reservation users of other shared cleaning devices.
4. The method according to claim 3, characterized in that The reservation information includes: reservation authority, scheduled washing start time, and scheduled washing duration; The step of determining a first target reserved user from the reserved users of the cleaning point according to the reservation information of the reserved user of the target shared cleaning device and the reservation information of the reserved users of other shared cleaning devices includes: According to the reservation authority of the reservation user of the cleaning point, determining whether there is a reservation user with priority reservation preemption authority; If there is a reservation user with priority reservation preemption authority, a first target reservation user is determined from the reservation users with priority reservation preemption authority at the cleaning point according to the reservation washing time of the reservation user with priority reservation preemption authority at the cleaning point; If there is no scheduled user with priority preemption authority, a first target scheduled user is determined from the scheduled users at the cleaning point according to the scheduled washing duration of the scheduled users at the cleaning point.
5. The method according to claim 4, characterized in that The step of determining a first target reservation user from reservation users who have priority reservation preemption rights at the cleaning point includes: According to the reservation time of the first reservation user of the target shared cleaning device, the idle time of the target shared cleaning device is obtained; Determine the reservable duration of the target shared cleaning device according to the idle duration; the reservable duration is less than or equal to the idle duration; The first target reservation user is determined from reservation users with priority reservation preemption rights and whose reservation washing time is less than the available reservation time.
6. The method according to claim 5, characterized in that The step of determining the first target reservation user from reservation users with priority reservation preemption rights whose reservation washing time is less than the available reservation time includes: Determine the reserved time of the reserved user which is less than the available reservation time according to the reserved time of the shared cleaning device of the reserved user which is less than the available reservation time; The reserved users whose reserved time period is longer than the first preset time period are taken as the first target reserved users.
7. The method according to claim 6, characterized in that The method further comprises: If preemption responses returned by terminals of multiple first target reservation users are received, determining a second target reservation user from the multiple first target reservation users according to the time when each of the preemption responses is received; The target shared cleaning device is set as the reserved device of the second target reserved user, and the preemption success information is pushed to the terminal of the second target reserved user.
8. The method according to claim 7, characterized in that The method further comprises: If no preemption response is received from the terminal of any first target reserved user when the second preset time period is reached, a new first target reserved user is determined from the remaining reserved users.
9. A shared cleaning equipment reservation device, characterized in that: include: A monitoring module, used to monitor the status of N shared cleaning devices included in the cleaning point, where N is an integer greater than or equal to 2; a processing module, configured to determine a first target reserved user from the reserved users of the cleaning point if it is determined according to the states of the N shared cleaning devices that there is a target shared cleaning device among the N shared cleaning devices that has been converted from an occupied state to an idle state; The sending module is used to push the preemption reminder of the target shared cleaning device to the terminal of the first target reservation user.
10. An electronic device, characterized in that: include: A processor, a communication interface, and a memory; the processor is communicatively connected to the communication interface and the memory respectively; The memory stores computer-executable instructions; The communication interface communicates and interacts with external devices; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.
