Reservation method and device, electronic equipment and medium

The invention discloses a reservation method and device, electronic equipment and a medium. In the reservation method, after a first reservation request for a target user is obtained, locking operation can be carried out in a distributed deployment database by utilizing a distributed lock based on a...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: FENG YACHAO, ZHANG WEIDONG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a reservation method and device, electronic equipment and a medium. In the reservation method, after a first reservation request for a target user is obtained, locking operation can be carried out in a distributed deployment database by utilizing a distributed lock based on a reservation time point and a reservation object carried in the first reservation request, and whenit is detected that the locking operation is successful, reservation is carried out for the target user based on the first reservation request. By applying the technical scheme of the invention, whether to reserve for the target user can be determined by detecting whether the distributed lock is successfully locked at the lesson giving resource corresponding to the reservation object and the reservation time point in the distributed database. Therefore, the problem of low efficiency caused by manual reservation for each user in related technologies can be avoided. 本申请公开了一种预约方法、装置、电子设备及介质。其中,本申请中,当获取针对目标用户的第一预约请求之后,可以基