A method, device, server and storage medium for reminding users
By calculating the target idle probability and target arrival probability and triggering reminder operation, the problem of waiting time after the user arrives at the service window is solved, and the user experience and service efficiency are improved.
Patent Information
- Application Number
- CN202111484449.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-07
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2041-12-07
AI Technical Summary
After the user arrives at the service window, it may still have to wait for a while, which will affect the user's service experience.
By determining the target idle probability and the target arrival probability, if the preset conditions are met, a reminder operation is triggered to instruct the user to arrive at the service window during the target period.
It reduces the waiting time after the user arrives at the service window, and improves the user's service experience and service efficiency of the service window.
Smart Images

Figure CN114298352B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of network technology, and in particular to a method, device, server and storage medium for reminding a user. Background Art
[0002] As the pace of life accelerates, people pay more and more attention to time. For example, after arriving at a service unit (such as a barber shop, restaurant, or business hall), users hope to receive service from a service window (such as a barber in a barber shop) in a shorter time. In order to reduce waiting time, users can make an appointment in advance on the appointment system. In this way, they can queue up earlier and reduce the time spent in queuing.
[0003] However, when using the current reservation system, users can only queue up in advance. When the time when users arrive at the service window is not fixed, and the time when the service window provides services to users is not fixed, users may still need to wait for a while after arriving at the service window. This affects the user's service experience. Summary of the invention
[0004] The present disclosure provides a method, device, server and storage medium for reminding users, which can reduce the waiting time of users after arriving at the service window and enhance the service experience of users. The technical solution of the present disclosure is as follows:
[0005] According to a first aspect of the present disclosure, a method for reminding a user is provided, the method comprising:
[0006] A target idle probability and a target arrival probability are determined, wherein the target idle probability is the probability that there is an idle service window in at least one service window within a target time period, and the target arrival probability is the probability that the first user arrives at the target service window within the target time period, and the target service window is any idle service window in the at least one service window. If the target idle probability and the target arrival probability meet a preset condition, a reminder operation is triggered, and the reminder operation is used to instruct the first user to arrive at the target service window within the target time period.
[0007] Optionally, the method for reminding the user also includes: obtaining service information of each service window in at least one service window and a historical arrival rate of the first user, the service information including a historical service rate and a service duration, the historical service rate is used to indicate the historical speed of the service window service, the service duration is used to indicate the duration of the service window serving a second user, the second user is a user being served by the service window, and the historical arrival rate is used to indicate the historical speed of the first user reaching the target service window. Determine the target idle probability based on the service information of each service window. Determine the target arrival probability of the first user based on the historical arrival rate of the first user.
[0008] Optionally, if the target idle probability and the target arrival probability meet the preset conditions, the method for triggering the reminder operation includes: determining the target probability according to the target idle probability and the target arrival probability, the target probability being used to indicate the probability that there is an idle service window in at least one service window within the target time period, and the first user arrives at the target service window within the target time period. If the target probability is greater than a preset probability threshold, the reminder operation is triggered.
[0009] Optionally, the target time period includes a first moment and a second moment, the first moment is the start moment of the target time period, and the second moment is the end moment of the target time period; the service duration includes a first service duration and a second service duration, the first service duration is the duration between the moment when the target service window starts to serve and the first moment, and the second service duration is the duration between the moment when the target service window starts to serve and the second moment. The above-mentioned method of "determining the target idle probability based on the service information of each service window" includes: determining a first busy probability based on the historical service rate of each service window and the first service duration of each service window, the first busy probability being the probability that there is no idle service window in at least one service window at the first moment. Determine a second busy probability based on the historical service rate of each service window and the second service duration of each service window, the second busy probability being the probability that there is no idle service window in at least one service window at the second moment. Determine the target idle probability based on the first busy probability and the second busy probability.
[0010] Optionally, the method for reminding the user further includes: receiving a reservation message from a terminal device, the reservation message being used to instruct the first user to reserve any service window in at least one service window. Adding the first user to a service waiting queue, the service waiting queue being used to record users who have reserved service windows. Detecting whether there is a third user other than the first user in the service waiting queue, the third user being a user that is ranked before the first user in the service waiting queue. If there is a third user in the service waiting queue, obtaining service information of each service window in at least one service window and a historical arrival rate of the first user.
[0011] Optionally, the method for reminding the user further includes: if there is no third user in the service waiting queue, obtaining the service status of each service window, the service status being an idle state or a busy state. If the service status of each service window is a busy state, obtaining the service information of each service window in at least one service window and the historical arrival rate of the first user.
[0012] Optionally, the method for reminding the user further includes: if there is no third user in the service waiting queue, and there is a service window in the at least one service window whose service status is idle, triggering a reminder operation.
[0013] Optionally, the method for reminding the user further includes: receiving a rejection response message from the terminal device, the rejection response message is used to indicate that the user cannot reach the target service window within the target time period. Alternatively, receiving an approval response message from the terminal device, the approval response message is used to indicate that the first user can reach the target service window within the target time period.
[0014] Optionally, the service duration of each service window is subject to the parameter λ n The exponential distribution of n It is used to represent the historical service rate of the nth service window in at least one service window, where n is a positive integer; the time taken by the first user to reach the target service window obeys an exponential distribution with a parameter μ, where μ is used to represent the historical arrival rate.
[0015] According to a second aspect of the present disclosure, a device for reminding a user is provided. The device for reminding a user includes: an acquiring unit, a processing unit, and a sending unit.
[0016] The processing unit is configured to determine a target idle probability and a target arrival probability, wherein the target idle probability is the probability that an idle service window exists in at least one service window within a target time period, and the target arrival probability is the probability that the first user arrives at the target service window within the target time period, and the target service window is any idle service window in the at least one service window. The sending unit is configured to trigger a reminder operation if the target idle probability and the target arrival probability meet a preset condition, and the reminder operation is used to instruct the first user to arrive at the target service window within the target time period.
[0017] Optionally, the acquisition unit is configured to execute the acquisition of service information of each service window in at least one service window and the historical arrival rate of the first user, the service information including the historical service rate and the service duration, the historical service rate is used to indicate the historical speed of the service window service, the service duration is used to indicate the duration of the service window serving the second user, the second user is the user being served by the service window, and the historical arrival rate is used to indicate the historical speed of the first user reaching the target service window. The processing unit is further configured to execute the determination of the target idle probability based on the service information of each service window. The processing unit is further configured to execute the determination of the target arrival probability of the first user based on the historical arrival rate of the first user.
[0018] Optionally, the processing unit is further configured to determine a target probability based on the target idle probability and the target arrival probability, where the target probability is used to indicate the probability that there is an idle service window in at least one service window within the target time period and that the first user arrives at the target service window within the target time period. The sending unit is configured to trigger a reminder operation if the target probability is greater than a preset probability threshold.
[0019] Optionally, the target period includes a first moment and a second moment, the first moment is the start moment of the target period, and the second moment is the end moment of the target period; the service duration includes a first service duration and a second service duration, the first service duration is the duration between the moment when the target service window starts to serve and the first moment, and the second service duration is the duration between the moment when the target service window starts to serve and the second moment. The processing unit is further configured to determine a first busy probability based on the historical service rate of each service window and the first service duration of each service window, the first busy probability being the probability that there is no idle service window in at least one service window at the first moment. The processing unit is further configured to determine a second busy probability based on the historical service rate of each service window and the second service duration of each service window, the second busy probability being the probability that there is no idle service window in at least one service window at the second moment. The processing unit is further configured to determine the target idle probability based on the first busy probability and the second busy probability.
[0020] Optionally, the acquisition unit is further configured to receive a reservation message from a terminal device, the reservation message being used to indicate that the first user has reserved any service window in at least one service window. The processing unit is further configured to add the first user to a service waiting queue, the service waiting queue being used to record users who have reserved service windows. The processing unit is further configured to detect whether there is a third user other than the first user in the service waiting queue, the third user being a user that is ranked before the first user in the service waiting queue. The acquisition unit is further configured to acquire service information of each service window in at least one service window and a historical arrival rate of the first user if there is a third user in the service waiting queue.
[0021] Optionally, the acquisition unit is further configured to execute if there is no third user in the service waiting queue, then acquire the service status of each service window, the service status being an idle state or a busy state. The acquisition unit is further configured to execute if the service status of each service window is a busy state, then acquire the service information of each service window in at least one service window and the historical arrival rate of the first user.
[0022] Optionally, the sending unit is configured to trigger a reminder operation if there is no third user in the service waiting queue and there is a service window in an idle state in at least one service window.
[0023] Optionally, the acquiring unit is further configured to receive a rejection response message from the terminal device, where the rejection response message is used to indicate that the user cannot reach the target service window within the target time period; or,
[0024] The acquisition unit is further configured to receive a consent response message from the terminal device, where the consent response message is used to indicate that the first user can reach the target service window within the target time period.
[0025] Optionally, the service duration of each service window is subject to the parameter λ n The exponential distribution of n It is used to represent the historical service rate of the nth service window in at least one service window, where n is a positive integer; the time taken by the first user to reach the target service window obeys an exponential distribution with a parameter μ, where μ is used to represent the historical arrival rate.
[0026] According to a third aspect of the present disclosure, a server is provided, the server comprising:
[0027] A processor. A memory for storing processor executable instructions. The processor is configured to execute the instructions to implement any one of the methods for optionally reminding a user in the first aspect.
[0028] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which instructions are stored. When the instructions in the computer-readable storage medium are executed by a processor of a server, the server is enabled to execute any one of the methods for optionally reminding a user in the above-mentioned first aspect.
[0029] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising instructions, which, when executed on a computer, enable the computer to execute any method of optionally reminding a user as described in the first aspect.
[0030] According to a sixth aspect of the present disclosure, the present disclosure provides a chip, the chip comprising a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run a computer program or instructions to implement a method of reminding a user as described in the first aspect and any possible implementation of the first aspect.
[0031] The technical solution provided by the present disclosure brings at least the following beneficial effects: according to the service information of each service window, the target idle probability is determined, that is, the probability that there is an idle service window in at least one service window within the target time period, and according to the historical arrival rate of the user, the target arrival probability is determined, that is, the probability that the user arrives at the service window within the target time period. If the preset conditions are met according to the target idle probability and the target arrival probability, a reminder operation is triggered to instruct the user to arrive at the service window during the target time period. It can be understood that, in combination with the target idle probability, it can be guaranteed that the service window has a high probability of providing services to the user during the target time period, and the user is notified of the target time period to arrive at the service window, thereby reducing the probability of the user waiting and improving the user's service experience. Moreover, in combination with the target arrival probability, it can be guaranteed that the user has a high probability of arriving at the service window during the target time period, and the user is notified of the target time period to arrive at the service window. In this way, the time the service window waits for the user can be reduced, and the service efficiency of the service window can be improved.
[0032] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute an improper limitation on the present disclosure;
[0034] Figure 1 is a schematic diagram of a communication system according to an exemplary embodiment;
[0035] Figure 2A is a flow chart showing a method for reminding a user according to an exemplary embodiment;
[0036] Figure 2B is a flow chart showing another method for reminding a user according to an exemplary embodiment;
[0037] Figure 3 is a flow chart showing another method for reminding a user according to an exemplary embodiment;
[0038] Figure 4 is a flow chart showing another method for reminding a user according to an exemplary embodiment;
[0039] Figure 5 is a schematic structural diagram of a device for reminding a user according to an exemplary embodiment;
[0040] Figure 6 The figure is a schematic diagram showing the structure of another device for reminding a user according to an exemplary embodiment. DETAILED DESCRIPTION
[0041] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0042] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0043] First, the application scenarios of the embodiments of the present disclosure are introduced.
[0044] The method for reminding a user in the embodiment of the present disclosure is applied to the scenario in which the user makes an appointment at a service window. It should be noted that in the embodiment of the present disclosure, a service window refers to a service unit in a service unit, and a service unit includes at least one service unit. For example, the service window is each barber in a barber shop. For another example, the service window is each dining table in a restaurant. For another example, the service window is each service counter in a bank. The embodiment of the present disclosure does not limit the service window.
[0045] In the related art, when a user makes an appointment for a service window, the user can select a time period on his own and arrive at the service window within the selected time period. However, when the user selects the time period on his own, the busy time of the service window is not referred to. When the service window is busy, the user will still spend a certain amount of time waiting after arriving at the service window during the agreed time period, which affects the user's service experience. Alternatively, when a user makes an appointment for a service window, the service window allocates time for the user. However, the service window cannot allocate time for the user in combination with the user's time. If the user arrives at the service window late, the waiting time at the service window will be longer, reducing the service efficiency of the service window.
[0046] In order to solve the above problem, the embodiment of the present disclosure provides a method for reminding a user, which obtains the service information of each service window in at least one service window and the historical arrival rate of the user, determines the probability that there is an idle service window in at least one service window within the target period, and the user arrives at the service window within the target period, and when the probability is greater than a preset probability threshold, prompts the user to arrive at the service window within the target period. In this way, the waiting probability of the user and the service window can be reduced, and the service experience of the user and the service efficiency of the service window can be improved.
[0047] Figure 1 is an architecture diagram of an implementation environment according to an exemplary embodiment. Figure 1 As shown, the following method for reminding a user can be applied in the implementation environment. The implementation environment includes a terminal 01 and an electronic device 02. The terminal 01 can establish a communication connection with the electronic device 02.
[0048] The terminal 01 is used to receive the user's operation and send a command message to the electronic device 02. For example, the terminal 01 receives the user's reservation operation and sends a reservation message to the electronic device 02. The terminal 01 is also used to receive a command message from the electronic device 02. For example, the terminal 01 receives a reservation success message from the electronic device 02.
[0049] Electronic device 02 is used to receive instruction messages from terminal 01. Electronic device 02 is also used to obtain parameter information of the service window and parameter information of the user. For example, the parameter information of the service window includes: the service start time of the service window, the service speed of the service window, and the service time of the service window. The parameter information of the user includes the speed at which the user arrives at the service window and the time it takes for the user to arrive at the service window. Electronic device 02 is also used to determine probabilities, such as the idle probability of the service window and the probability of the user arriving at the service window. Electronic device 02 is also used to send instruction messages to terminal 01. For example, the electronic device sends a reservation success message to terminal 01, notifying the user to arrive at the service window within a preset time.
[0050] In an practicable manner, the electronic device 02 may be a server, a server cluster consisting of multiple servers, or a cloud computing service center. The electronic device 02 may include a processor, a memory, a network interface, and the like.
[0051] In an operative manner, the terminal 01 is used to provide voice and / or data connectivity services to the user. The terminal 01 may have different names, such as UE, end, terminal unit, terminal station, mobile station, mobile station, remote station, remote terminal, mobile device, wireless communication device, vehicle user equipment, terminal agent or terminal device, etc.
[0052] Optionally, the terminal 01 may be any handheld device, vehicle-mounted device, wearable device, or computer with communication functions, which is not limited in the embodiments of the present disclosure. For example, the handheld device may be a smart phone. The vehicle-mounted device may be a vehicle-mounted navigation system. The wearable device may be a smart bracelet. The computer may be a personal digital assistant (PDA), a tablet computer, or a laptop computer.
[0053] After introducing the application scenarios and implementation environments of the embodiments of the present disclosure, Figure 1 The implementation environment shown is used to introduce in detail the method for reminding users provided by the embodiment of the present disclosure.
[0054] Figure 2A FIG. 1 is a flow chart showing a method for reminding a user according to an exemplary embodiment. Figure 2A As shown, the method may include steps 101 and 102.
[0055] 101. Determine the target idle probability and the target arrival probability.
[0056] Among them, the target idle probability is the probability that there is an idle service window in at least one service window within the target time period, the target arrival probability is the probability that the first user reaches the target service window within the target time period, and the target service window is any idle service window in at least one service window.
[0057] For example, if the target idle probability is 90%, then the probability that there is an idle service window in at least one service window in the target period is 90%. If the target arrival probability is 95%, then the probability that the first user arrives at the target service window in the target period is 95%.
[0058] As a possible implementation manner, step 101 may include step 202 and step 203.
[0059] 102. If the target idle probability and the target arrival probability meet the preset conditions, a reminder operation is triggered.
[0060] The reminder operation is used to instruct the user to arrive at the service window during the target period.
[0061] It should be noted that the embodiment of the present disclosure does not limit the form of the reminder operation. For example, the reminder operation may be to remind the user through a voice call. For another example, the reminder operation may be to send a reminder message to the terminal device through a text message. For another example, the reminder operation may be to send a reminder message to the terminal device through the reservation system. Exemplarily, the reminder message may be "Please arrive at store A between 17:00 and 17:15."
[0062] As a possible implementation, the target idle probability is compared with a preset probability threshold, and the target arrival probability is compared with a preset probability threshold. If the target idle probability is greater than the preset probability threshold, and the target arrival probability is greater than the preset probability threshold, a reminder message is sent to the terminal device. Exemplarily, if the target idle probability is 90%, the target arrival probability is based on the identifier of the terminal device, and a reminder message is sent to the terminal device.
[0063] The technical solution provided by the above embodiment brings at least the following beneficial effects: combined with the target idle probability, it can ensure that the service window has a high probability of providing services to users during the target period, and notify the user that the service window will arrive during the target period, thereby reducing the probability of users waiting and improving the user's service experience. In addition, combined with the target arrival probability, it can ensure that the user has a high probability of arriving at the service window during the target period, and notify the user that the service window will arrive during the target period. In this way, the time the service window waits for users can be reduced, and the service efficiency of the service window can be improved.
[0064] Figure 2B FIG. 1 is a flow chart of a method for reminding a user according to an exemplary embodiment. Figure 2B As shown, before step 101 , the method may include step 201 .
[0065] 201. Obtain service information of each service window in at least one service window and a historical arrival rate of a first user.
[0066] It should be noted that at least one service window refers to all service windows in the service unit. For example, if there are 5 barbers in a barber shop, then at least one service window includes 5 service windows. For another example, if there is 1 barber in a barber shop, then at least one service window includes 1 service window.
[0067] In the embodiment of the present disclosure, the service information includes a historical service rate and a service duration. The historical service rate is used to indicate the historical speed at which the service window serves a user. The service duration is used to indicate the duration for which the service window serves a second user, where the second user is a user being served by the service window.
[0068] As a possible implementation, historical service data of each service window is obtained, and the historical service data includes the number of service users and the total service duration. According to the historical service data of each service window, the historical service rate is determined. For example, if the number of service users in service window A7 is 100 and the service duration is 1000 minutes, the historical service rate is 1 / 10.
[0069] The service duration is used to indicate the time that the service window has been in service. For example, if service window A starts service at 09:00, the service duration of service window A at 09:10 is 10 minutes.
[0070] In the embodiment of the present disclosure, the historical arrival rate is used to indicate the historical speed at which the first user arrives at the target service window.
[0071] As a possible implementation, the historical arrival time of multiple users is obtained, where the historical arrival time is the time it takes for the user to reach the service window after receiving the reminder message. According to the historical arrival time of multiple users, the historical arrival rate is determined. For example, if the historical arrival time of user A is 10 minutes, the historical arrival time of user B is 20 minutes, and the historical arrival time of user C is 10 minutes, then the historical arrival rate is 1 / 12.
[0072] In one practicable manner, Figure 2B As shown, step 101 may include step 202 and step 203 .
[0073] 202. Determine a target idle probability according to the service information of each service window.
[0074] The target idle probability is the probability that there is an idle service window in at least one service window within the target time period.
[0075] In an implementable manner, the target time period includes a first time and a second time, the first time being earlier than the second time; the service duration includes a first service duration and a second service duration, the first service duration is the duration between the time when the service window starts service and the first time, and the second service duration is the duration between the time when the service window starts service and the second time. For example, if the time when service window A starts service is 09:00, the first time is 09:15, and the second time is 09:20. Then the target time period is 09:15-09:20, the first service duration is 15 minutes, and the second service duration is 20 minutes.
[0076] In a possible implementation, a first busy probability is determined based on a historical service rate of each service window and a first service duration of each service window, where the first busy probability is a probability that there is no idle service window in at least one service window at the first moment. A second busy probability is determined based on a historical service rate of each service window and a second service duration of each service window, where the second busy probability is a probability that there is no idle service window in at least one service window at the second moment. A target idle probability is determined based on the first busy probability and the second busy probability.
[0077] It should be noted that the time when the service window completes the service and the time when the user arrives at the service window both conform to the Poisson distribution. The function formula of the Poisson distribution is expressed by Formula 1.
[0078] f(t)=λe -λt Formula 1.
[0079] In one possible design, the service duration of each service window is subject to the parameter λ n The exponential distribution of nIt is used to represent the historical service rate of the nth service window, where n is a positive integer. The time it takes for a user to reach the service window follows an exponential distribution with parameter μ, where μ is used to represent the historical arrival rate.
[0080] Based on Formula 1, the probability that the service window completes the service within the preset duration (ie, the idle probability within the preset duration) is expressed by Formula 2.
[0081]
[0082] Among them, p n (t) is used to represent the idle probability of the nth service window within the service duration t, λ n Used to represent the historical service rate of the nth service window, t is the service duration, e is a constant, and n is a positive integer.
[0083] Based on formula one, the first busy probability is expressed by formula three.
[0084]
[0085] Wherein, P(T1) is used to represent the probability that there is no idle service window among the n service windows at the first time T1 (i.e., the first busy probability), T1 is the first time, t n The time when the service starts for the nth service window.
[0086] It should be noted that, according to the service start time of the service window and the first time, the service duration of the service window at the first time (ie, the first service duration) can be calculated.
[0087] Based on formula one, the second busy probability is expressed by formula four.
[0088]
[0089] P(T2) is used to represent the probability that there is no idle service window among the n service windows at the second time T2 (ie, the second busy probability), and T2 is the second time.
[0090] It should be noted that, based on the service start time of the service window and the second time, the service duration of the service window at the second time (ie, the second service duration) can be calculated.
[0091] Based on Formula 3 and Formula 4, the target idle probability is expressed by Formula 5.
[0092]
[0093] Among them, P hIt is used to indicate the probability that there is an idle service window (ie, target idle probability) among the n service windows between the first time point T1 and the second time point T2 (ie, within the target time period).
[0094] It is understandable that the time for the service window to complete the service conforms to the Poisson distribution, and the first busy probability and the second busy probability obtained based on the first service duration, the second service duration and the historical service rate of the service window are more accurate. In this way, the target idle probability can be obtained more accurately based on the first busy probability and the second busy probability, thereby reducing the waiting time of the user.
[0095] 203. Determine a target arrival probability of the first user according to a historical arrival rate of the first user.
[0096] The user's target arrival probability is the probability that the user arrives at the service window within the target time period.
[0097] As a possible implementation method, based on Formula 1, the target arrival probability is expressed by Formula 6.
[0098]
[0099] Among them, P g It is used to represent the probability of a user arriving at the service window between the first time T1 and the second time T2 (ie, within the target time period) (ie, the target arrival probability), and μ is used to represent the historical arrival rate of the user.
[0100] Optionally, the first moment may also be the time for notifying the user to go to the service window, that is, the moment for sending the reminder message.
[0101] Optionally, steps 201 to 102 are performed periodically. For example, by setting a timed task, the target idle probability and the target arrival probability are determined every preset time period (e.g., 5 minutes).
[0102] The technical solution provided by the above embodiment brings at least the following beneficial effects: combined with the target idle probability, it can ensure that the service window has a high probability of providing services to users during the target period, and notify the user that the service window will arrive during the target period, thereby reducing the probability of users waiting and improving the user's service experience. In addition, combined with the target arrival probability, it can ensure that the user has a high probability of arriving at the service window during the target period, and notify the user that the service window will arrive during the target period. In this way, the time the service window waits for users can be reduced, and the service efficiency of the service window can be improved.
[0103] In one practicable manner, Figure 3 As shown, step 102 may include steps 301 to 303.
[0104] 301. The target probability is obtained according to the product of the target idle probability and the target arrival probability.
[0105] The target probability is the probability that there is an idle service window in at least one service window within the target time period and that the user reaches the service window within the target time period.
[0106] As a possible implementation method, by combining Formula 5 and Formula 6, the target probability is expressed by Formula 7.
[0107] P f =P h ×P g Formula six.
[0108] Among them, P f Used to represent target probability.
[0109] 302. Determine whether the target probability is greater than a preset probability threshold.
[0110] As a possible implementation, if the target probability is greater than the preset probability threshold, step 303 is executed. If the target probability is less than the preset probability threshold, step 201 is re-executed.
[0111] 303. Trigger reminder operation.
[0112] The technical solution provided by the above embodiment brings at least the following beneficial effects: when the target probability is greater than the preset probability threshold, it means that the service window has a high probability of providing services to the user during the target period. In this way, the probability of the user waiting can be reduced, and the user's service experience can be improved. In addition, when the target probability is greater than the preset probability threshold, it means that the user has a high probability of arriving at the service window during the target period. In this way, the time the service window waits for the user can be reduced, and the service efficiency of the service window can be improved.
[0113] In one practicable manner, Figure 4 As shown, before step S201, steps 401 to 405 are also included.
[0114] 401. Receive a reservation message from a terminal device.
[0115] The reservation message is used to instruct the first user to reserve any service window in at least one service window, and the first user is an account logged in to the terminal device.
[0116] Optionally, the reservation message includes the terminal device identifier and the reservation period. For example, the reservation period is 09:00-09:05. For another example, the reservation period is 09:00-09:15.
[0117] It should be noted that the embodiment of the present disclosure does not limit the identifier of the terminal device. For example, the identifier of the terminal device is the mobile phone number of the terminal device. For another example, the identifier of the terminal device is the Media Access Control Address (MAC) address of the terminal device.
[0118] 402. Add the first user to a service waiting queue.
[0119] Among them, the service waiting queue is used to record users who have made appointments for service windows.
[0120] In the disclosed embodiment, the order of users in the service waiting queue is: sorted from early to late according to the time of the scheduled service window, wherein the user with the earliest scheduled service window in the service waiting queue is the column head element of the service waiting queue. Exemplarily, user A schedules a service window at 19:00, user B schedules a service window at 19:01, and user C schedules a service window at 19:02, then user A is the column head element of the service waiting queue, user B is the second element of the service waiting queue, and user C is the third element of the service waiting queue.
[0121] Optionally, the service waiting queue is a first come first service (FCFS) queue.
[0122] It should be noted that, in the embodiment of the present disclosure, the head element of the service waiting queue, ie, the terminal with the earliest scheduled service window in the service waiting queue, will be reminded first.
[0123] 403. Check whether there is a third user other than the first user in the service waiting queue.
[0124] The third user is a user who is ahead of the first user in the service waiting queue, and the third user is different from the first user.
[0125] As a possible implementation manner, if there is a third user in the service waiting queue, step 201 is executed.
[0126] It is understandable that if there is a third user in the service waiting queue in addition to the first user, it means that there are users waiting in line and the current service windows are all busy. Therefore, it is necessary to obtain the service information of each service window in at least one service window and the historical arrival rate of the user, determine the target idle probability and the target arrival probability, and select a suitable time period for the user to reduce the waiting time of the user.
[0127] As a possible implementation manner, if there is no third user in the service waiting queue, step 404 is executed.
[0128] 404. Get the service status of each service window.
[0129] The service status is an idle state or a busy state. The idle state is used to indicate that the service window is not currently providing services to the user, and the busy state is used to indicate that the service window is currently providing services to the user. For example, if service window A is not providing services to the user, the status of service window A is an idle state; if service window A is providing services to the user, the status of service window A is a busy state.
[0130] 405. Determine whether there is a service window with an idle service status in the at least one service window.
[0131] As a possible implementation, if there is no service window in the at least one service window whose service state is idle, step 201 is executed. That is, if each service window in the at least one service window is in a busy state, step 201 is executed.
[0132] It is understandable that if each service window is busy, it means that the service window is currently unable to provide services to the user. Therefore, it is necessary to obtain the service information of each service window in at least one service window and the historical arrival rate of the user, determine the target idle probability and the target arrival probability, and select a suitable time period for the user to reduce the waiting time of the user.
[0133] As a possible implementation manner, if there is no third user in the service waiting queue and there is a service window in an idle state in at least one service window, step 303 is executed.
[0134] It is understandable that there is no third user in the service waiting queue (i.e., the first user is the column head element), and there is an idle service window, which means that the service window can provide services to the user. Therefore, triggering the reminder operation can reduce the waiting time of the user and the waiting time of the service window, thereby improving the user's service experience and the service efficiency of the service window.
[0135] In an practicable manner, after the terminal device receives the reminder message, in response to the user's consent operation, the terminal device may send a consent response message, the consent response message being used to indicate that the user agrees to arrive at the service window within the target time period. Thereafter, the consent response message from the terminal device is received. Next, the first user is deleted from the service waiting queue.
[0136] In an practicable manner, after the terminal device receives the reminder message, in response to the user's rejection operation, the terminal device can send a rejection response message, which is used to indicate that the user cannot reach the service window during the target time period. Afterwards, the device that reminds the user receives the rejection response message from the terminal device.
[0137] Optionally, after receiving a rejection response message from the terminal device, step 401 is re-executed.
[0138] Optionally, after receiving the rejection response message from the terminal device, a reminder message is sent to the user behind the first user in the service waiting queue. Exemplarily, if the first user is a column head element and the third user is behind the first user, a reminder message is sent to the third user after receiving the rejection response message from the first user.
[0139] The technical solution provided by the above embodiment brings at least the following beneficial effects: receiving a rejection response message from a terminal device can ensure that the user's dynamics can be timely understood when the user cannot reach the service window within the target time period due to some reasons. In this way, other terminals can be notified in time, the waiting time of the service window can be reduced, and the service efficiency of the service window can be improved.
[0140] In one practicable manner, after the terminal device receives the reminder message, in response to the user's consent operation, the terminal device can send a consent response message, which is used to indicate that the user can reach the service window during the target time period. Afterwards, the device that reminds the user receives the consent response message from the terminal device.
[0141] The technical solution provided by the above embodiment brings at least the following beneficial effects: receiving the consent response message from the terminal device can ensure that the user's dynamics can be understood in time when the user can reach the service window within the target time period.
[0142] It is understandable that the above method can be implemented by a device for reminding the user. In order to realize the above functions, the device for reminding the user includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the modules and algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments of the present disclosure.
[0143] The embodiments of the present disclosure may divide the functional modules of the above-mentioned device for reminding the user, etc. according to the above-mentioned method example. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiments of the present disclosure is schematic and is only a logical functional division. There may be other division methods in actual implementation.
[0144] Figure 5 is a structural block diagram of a device for reminding a user according to an exemplary embodiment. Figure 5 The device 50 for reminding the user includes an acquisition unit 51, a processing unit 52 and a sending unit 53.
[0145] The processing unit 52 is configured to determine a target idle probability and a target arrival probability, wherein the target idle probability is the probability that there is an idle service window in at least one service window within a target period, and the target arrival probability is the probability that the first user arrives at the target service window within the target period, and the target service window is any idle service window in at least one service window. The sending unit 53 is configured to trigger a reminder operation if the target idle probability and the target arrival probability meet a preset condition, and the reminder operation is used to instruct the first user to arrive at the target service window within the target period.
[0146] Optionally, the acquisition unit 51 is configured to execute the acquisition of service information of each service window in at least one service window and the historical arrival rate of the first user, the service information includes the historical service rate and the service duration, the historical service rate is used to indicate the historical speed of the service window service, the service duration is used to indicate the duration of the service window serving the second user, the second user is the user being served by the service window, and the historical arrival rate is used to indicate the historical speed of the first user reaching the target service window. The processing unit 52 is also configured to execute the determination of the target idle probability based on the service information of each service window. The processing unit 52 is also configured to execute the determination of the target arrival probability of the first user based on the historical arrival rate of the first user.
[0147] Optionally, the processing unit 52 is further configured to determine a target probability based on the target idle probability and the target arrival probability, where the target probability is used to indicate the probability that there is an idle service window in at least one service window within the target time period and that the first user arrives at the target service window within the target time period. The sending unit 53 is configured to trigger a reminder operation if the target probability is greater than a preset probability threshold.
[0148] Optionally, the target period includes a first moment and a second moment, the first moment is the start moment of the target period, and the second moment is the end moment of the target period; the service duration includes a first service duration and a second service duration, the first service duration is the duration between the moment when the target service window starts to serve and the first moment, and the second service duration is the duration between the moment when the target service window starts to serve and the second moment. The processing unit 52 is also configured to determine a first busy probability based on the historical service rate of each service window and the first service duration of each service window, the first busy probability being the probability that there is no idle service window in at least one service window at the first moment. The processing unit 52 is also configured to determine a second busy probability based on the historical service rate of each service window and the second service duration of each service window, the second busy probability being the probability that there is no idle service window in at least one service window at the second moment. The processing unit 52 is also configured to determine the target idle probability based on the first busy probability and the second busy probability.
[0149] Optionally, the acquisition unit 51 is further configured to receive a reservation message from a terminal device, the reservation message being used to indicate that the first user has reserved any service window in at least one service window. The processing unit 52 is further configured to add the first user to a service waiting queue, the service waiting queue being used to record users who have reserved service windows. The processing unit 52 is further configured to detect whether there is a third user other than the first user in the service waiting queue, the third user being a user that is ranked before the first user in the service waiting queue. The acquisition unit 51 is further configured to obtain service information of each service window in at least one service window and the historical arrival rate of the first user if there is a third user in the service waiting queue.
[0150] Optionally, the acquisition unit 51 is further configured to execute if there is no third user in the service waiting queue, then obtain the service status of each service window, the service status is an idle state or a busy state. The acquisition unit 51 is further configured to execute if the service status of each service window is a busy state, then obtain the service information of each service window in at least one service window and the historical arrival rate of the first user.
[0151] Optionally, the sending unit 53 is configured to trigger a reminder operation if there is no third user in the service waiting queue and there is a service window in an idle state in at least one service window.
[0152] Optionally, the acquisition unit 51 is further configured to receive a rejection response message from the terminal device, where the rejection response message is used to indicate that the user cannot reach the target service window within the target time period; or,
[0153] The acquisition unit 51 is further configured to receive a consent response message from the terminal device, where the consent response message is used to indicate that the first user can reach the target service window within the target time period.
[0154] Optionally, the service duration of each service window is subject to the parameter λ n The exponential distribution of n It is used to represent the historical service rate of the nth service window in at least one service window, where n is a positive integer; the time taken by the first user to reach the target service window obeys an exponential distribution with a parameter μ, where μ is used to represent the historical arrival rate.
[0155] Regarding the device for reminding the user in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.
[0156] Figure 6 60 is a schematic diagram of the structure of a device 60 for reminding a user provided by the present disclosure. Figure 6 The device 60 for reminding a user may include at least one processor 601 and a memory 603 for storing executable instructions of the processor 601. The processor 601 is configured to execute the instructions in the memory 603 to implement the method for reminding a user in the above embodiment.
[0157] In addition, the device 60 for reminding the user may further include a communication bus 602 and at least one communication interface 604 .
[0158] The processor 601 may be a GPU, a microprocessing unit, an ASIC, or one or more integrated circuits for controlling the execution of the program of the disclosed solution.
[0159] Communication bus 602 may include a pathway for transmitting information between the above-mentioned components.
[0160] The communication interface 604 uses any transceiver or other device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.
[0161] The memory 603 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processing unit via a bus. The memory may also be integrated with the processing unit and be a volatile storage medium in the GPU.
[0162] The memory 603 is used to store instructions for executing the solution of the present disclosure, and the execution is controlled by the processor 601. The processor 601 is used to execute the instructions stored in the memory 603, so as to realize the functions in the method of the present disclosure.
[0163] In a specific implementation, as an embodiment, the processor 601 may include one or more GPUs, such as Figure 6 GPU0 and GPU1 in .
[0164] In a specific implementation, as an embodiment, the device 60 for reminding the user may include multiple processors, such as Figure 6 601 and processor 607 in FIG. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-GPU) processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0165] In a specific implementation, as an embodiment, the device 60 for reminding the user may also include an output device 605 and an input device 606. The output device 605 communicates with the processor 601 and can display information in a variety of ways. For example, the output device 605 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device 606 communicates with the processor 601 and can accept user input in a variety of ways. For example, the input device 606 may be a mouse, a keyboard, a touch screen device, or a sensor device.
[0166] Those skilled in the art will understand that Figure 6 The structure shown in the figure does not constitute a limitation on the device 60 for reminding the user, and may include more or less components than those shown in the figure, or combine some components, or adopt a different arrangement of components.
[0167] The present disclosure also provides a computer-readable storage medium having instructions stored thereon. When the instructions in the storage medium are executed by a processor of a server, the server is enabled to execute the group communication method provided by the above-mentioned embodiment of the present disclosure.
[0168] The embodiment of the present disclosure also provides a computer program product including instructions, which, when executed on a server, enables the server to execute the method for reminding a user provided by the embodiment of the present disclosure.
[0169] The present disclosure also provides a communication system. Figure 1 As shown, the system includes a terminal 01 and an electronic device 02. The terminal 01 and the electronic device 02 are respectively used to execute the corresponding steps in the above-mentioned embodiments of the present disclosure, so that the communication system can solve the technical problems solved by the embodiments of the present disclosure and achieve the technical effects achieved by the embodiments of the present disclosure, which will not be repeated here.
[0170] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0171] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for reminding a user, characterized in that: The method comprises: Determine a target idle probability and a target arrival probability, wherein the target idle probability is a probability that an idle service window exists in at least one service window within a target time period, and the target arrival probability is a probability that a first user arrives at a target service window within the target time period, and the target service window is any idle service window in the at least one service window; Determine a target probability according to the target idle probability and the target arrival probability, wherein the target probability is used to indicate the probability that the idle service window exists in the at least one service window within the target time period and that the first user arrives at the target service window within the target time period; If the target probability is greater than a preset probability threshold, a reminder operation is triggered, where the reminder operation is used to instruct the first user to arrive at the target service window within the target time period.
2. The method according to claim 1, characterized in that Before determining the target idle probability and the target arrival probability, the method further includes: acquiring service information of each service window in the at least one service window and a historical arrival rate of the first user, the service information including a historical service rate and a service duration, the historical service rate being used to indicate a historical speed of service provided by the service window, the service duration being used to indicate a duration of service provided by the service window to a second user, the second user being a user being served by the service window, and the historical arrival rate being used to indicate a historical speed of arrival of the first user at the target service window; The determining of the target idle probability and the target arrival probability comprises: Determining the target idle probability according to the service information of each service window; A target arrival probability of the first user is determined according to a historical arrival rate of the first user.
3. The method according to claim 2, characterized in that The target time period includes a first time and a second time, the first time is the start time of the target time period, and the second time is the end time of the target time period; the service duration includes a first service duration and a second service duration, the first service duration is the duration from the time when the target service window starts service to the first time, and the second service duration is the duration from the time when the target service window starts service to the second time; The determining the target idle probability according to the service information of each service window includes: Determine a first busy probability according to a historical service rate of each service window and a first service duration of each service window, where the first busy probability is a probability that the idle service window does not exist in the at least one service window at the first moment; Determine a second busy probability according to a historical service rate of each service window and a second service duration of each service window, where the second busy probability is a probability that the idle service window does not exist in the at least one service window at the second moment; The target idle probability is determined according to the first busy probability and the second busy probability.
4. The method according to claim 2 or 3, characterized in that: Before acquiring the service information of each service window in the at least one service window and the historical arrival rate of the first user, the method further includes: receiving a reservation message from a terminal device, wherein the reservation message is used to instruct the first user to reserve any service window of at least one service window; adding the first user to a service waiting queue, wherein the service waiting queue is used to record users who have reserved a service window; Detecting whether there is a third user other than the first user in the service waiting queue, the third user being a user preceding the first user in the service waiting queue; The acquiring service information of each service window of the at least one service window and the historical arrival rate of the first user includes: If the third user exists in the service waiting queue, service information of each service window in the at least one service window and a historical arrival rate of the first user are obtained.
5. The method according to claim 4, characterized in that The method further comprises: If the third user does not exist in the service waiting queue, obtaining a service status of each service window, where the service status is an idle state or a busy state; The acquiring service information of each service window of the at least one service window and the historical arrival rate of the first user includes: If the service status of each service window is a busy status, the service information of each service window in the at least one service window and the historical arrival rate of the first user are obtained.
6. The method according to claim 5, characterized in that The method further comprises: If the third user does not exist in the service waiting queue and there is a service window in an idle state among the at least one service window, the reminder operation is triggered.
7. The method according to claim 6, characterized in that The method further comprises: receiving a rejection response message from the terminal device, the rejection response message being used to indicate that the user cannot reach the target service window within the target time period; or, A consent response message is received from the terminal device, where the consent response message is used to indicate that the first user can reach the target service window within the target time period.
8. The method according to claim 7, characterized in that The service duration of each service window is subject to the parameter λ n The exponential distribution of n Used to represent the historical service rate of the nth service window in the at least one service window, where n is a positive integer; the time taken by the first user to reach the target service window obeys an exponential distribution with a parameter μ, where μ is used to represent the historical arrival rate.
9. A device for reminding a user, characterized in that: include: a processing unit configured to determine a target idle probability and a target arrival probability, wherein the target idle probability is a probability that an idle service window exists in at least one service window within a target period, and the target arrival probability is a probability that a first user arrives at a target service window within the target period, and the target service window is any idle service window in the at least one service window; The processing unit is further configured to determine a target probability according to the target idle probability and the target arrival probability, wherein the target probability is used to indicate the probability that the idle service window exists in the at least one service window within the target time period and the first user arrives at the target service window within the target time period; The sending unit is configured to trigger a reminder operation if the target probability is greater than a preset probability threshold, wherein the reminder operation is used to instruct the first user to arrive at the target service window within the target time period.
10. The device for reminding a user according to claim 9, characterized in that: The device also includes: an acquiring unit, configured to acquire service information of each service window in the at least one service window and a historical arrival rate of the first user, wherein the service information includes a historical service rate and a service duration, wherein the historical service rate is used to indicate a historical speed of service provided by the service window, and the service duration is used to indicate a duration of service provided by the service window to a second user, wherein the second user is a user being provided by the service window, and the historical arrival rate is used to indicate a historical speed of arrival of the first user at the target service window; The processing unit is further configured to determine the target idle probability according to the service information of each service window; The processing unit is further configured to determine a target arrival probability of the first user according to a historical arrival rate of the first user.
11. The device for reminding a user according to claim 10, characterized in that: The target time period includes a first time and a second time, the first time is the start time of the target time period, and the second time is the end time of the target time period; the service duration includes a first service duration and a second service duration, the first service duration is the duration from the time when the target service window starts service to the first time, and the second service duration is the duration from the time when the target service window starts service to the second time; The processing unit is further configured to determine a first busy probability according to a historical service rate of each service window and a first service duration of each service window, wherein the first busy probability is a probability that the idle service window does not exist in the at least one service window at the first moment; The processing unit is further configured to determine a second busy probability according to a historical service rate of each service window and a second service duration of each service window, wherein the second busy probability is a probability that the idle service window does not exist in the at least one service window at the second moment; The processing unit is further configured to determine the target idle probability according to the first busy probability and the second busy probability.
12. The device for reminding a user according to claim 10 or 11, characterized in that: The acquisition unit is further configured to receive a reservation message from a terminal device, wherein the reservation message is used to instruct the first user to reserve any service window of the at least one service window; The processing unit is further configured to add the first user to a service waiting queue, where the service waiting queue is used to record users who have reserved a service window; The processing unit is further configured to detect whether there is a third user other than the first user in the service waiting queue, the third user being a user that is in front of the first user in the service waiting queue; The acquisition unit is further configured to acquire service information of each service window in the at least one service window and a historical arrival rate of the first user if the third user exists in the service waiting queue.
13. The device for reminding a user according to claim 12, characterized in that: The acquisition unit is further configured to acquire a service state of each service window if the third user does not exist in the service waiting queue, wherein the service state is an idle state or a busy state; The acquisition unit is further configured to acquire the service information of each service window in the at least one service window and the historical arrival rate of the first user if the service status of each service window is a busy status.
14. The device for reminding a user according to claim 13, characterized in that: The sending unit is configured to trigger the reminder operation if the third user does not exist in the service waiting queue and there is a service window in the at least one service window whose service status is idle.
15. The device for reminding a user according to claim 14, characterized in that: The acquisition unit is further configured to receive a rejection response message from the terminal device, wherein the rejection response message is used to indicate that the user cannot reach the target service window within the target time period; or The acquisition unit is further configured to receive a consent response message from the terminal device, where the consent response message is used to indicate that the first user can reach the target service window within the target time period.
16. The device for reminding a user according to claim 15, characterized in that: The service duration of each service window is subject to the parameter λ n The exponential distribution of n Used to represent the historical service rate of the nth service window in the at least one service window, where n is a positive integer; the time taken by the first user to reach the target service window obeys an exponential distribution with a parameter μ, where μ is used to represent the historical arrival rate.
17. A server, characterized in that: The server comprises: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method for reminding a user as described in any one of claims 1-8.
18. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of a server, the server is enabled to execute the method for reminding a user according to any one of claims 1 to 8.
19. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the method for reminding a user according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Acquiring method and system of queuing wait time
CN102129737A