Online reservation method and device for offline consumption entity, computer equipment and medium
By detecting online reservation events triggered by user equipment, determining candidate virtual desks and planning mobile paths, the problem of low user viscosity is solved, and the online and offline reservation process is realized, improving user experience in the store and merchant resource utilization efficiency.
Patent Information
- Application Number
- CN202510110305.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-05-30
AI Technical Summary
In the prior art, when users book a dining location online, the viscosity is not high, making it difficult to ensure the user's in-store experience and the effective utilization of merchant resources.
By detecting online reservation events triggered by user equipment, obtaining event triggering information, determining candidate virtual desks, selecting target virtual desks, planning a mobile path, and sending table reservation messages carrying mobile paths to realize the online and offline reservation process.
It improves the convenience of users to choose consumption locations online. The merchant platform provides users with in-store navigation, avoiding the problem that users are not familiar with the traffic conditions and effectively improving user stickiness.
Smart Images

Figure CN120069136A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the technical field of data processing, and specifically, to an online reservation method, device, computer device, and medium applicable to an offline consumption entity. Background Art
[0002] With the continuous improvement of artificial intelligence technology, in daily life, before consuming outside, users can perform corresponding operations through intelligent devices such as mobile phones. For example, before entering a store for a meal, users can enter the merchant system through an online mini-program or other means to pre-reserve dishes or private rooms, etc., so as to directly have a meal after arriving at the store.
[0003] In the related art, before consuming in an online system, users usually manually perform operations such as online reservation of dining positions. After arriving at the store, they can freely select or the service staff can specify a specific position for dining according to the reservation situation.
[0004] However, with the existing method, user viscosity is not high. Summary of the Invention
[0005] Embodiments described herein provide an online reservation method, device, computer device, and medium for an offline consumption entity, which overcome the above problems.
[0006] In a first aspect, according to the content of the present disclosure, an online reservation method for an offline consumption entity is provided, including:
[0007] If an online reservation event triggered by a first user device is detected, obtain event trigger information corresponding to the first user device, where the event trigger information corresponding to the first user device is used to describe the number of event participants, the start time of the event, and the end time of the event corresponding to the online reservation event;
[0008] Based on the event trigger information corresponding to the first user device, determine a corresponding plurality of candidate virtual table tops, so that the first user device selects a target virtual table top from the plurality of candidate virtual table tops;
[0009] In response to an online reservation request of the first user device for the target virtual table top, obtain the device position coordinates of the first user device;
[0010] Based on the device position coordinates of the first user device and the table position coordinates of the target physical table top corresponding to the target virtual table top, plan a movement path between the device position coordinates of the first user device and the table position coordinates of the target physical table top;
[0011] Send a table reservation message carrying the movement path to the first user device.
[0012] Second aspect, according to the content of the present disclosure, there is provided an online reservation device for offline consumption entities, including:
[0013] A first acquisition module, configured to, if an online reservation event triggered by a first user device is detected, acquire event trigger information corresponding to the first user device, where the event trigger information corresponding to the first user device is used to describe the number of event participants, the start time of the event, and the end time of the event corresponding to the online reservation event;
[0014] A determination module, configured to determine a corresponding plurality of candidate virtual tables based on the event trigger information corresponding to the first user device, so that the first user device selects a target virtual table from the plurality of candidate virtual tables;
[0015] A second acquisition module, configured to, in response to an online reservation request of the first user device for the target virtual table, acquire the device position coordinates of the first user device;
[0016] A planning module, configured to plan a movement path between the device position coordinates of the first user device and the table position coordinates of the target physical table corresponding to the target virtual table based on the device position coordinates of the first user device and the table position coordinates of the target physical table;
[0017] A sending module, configured to send a table reservation message carrying the movement path to the first user device.
[0018] Third aspect, there is provided a computer device, including a memory and a processor, where a computer program is stored in the memory, and when the processor executes the computer program, the steps of the online reservation method for offline consumption entities in any one of the above embodiments are implemented.
[0019] Fourth aspect, there is provided a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the online reservation method for offline consumption entities in any one of the above embodiments are implemented.
[0020] The online reservation method for offline consumption entities provided by the embodiments of the present application, if an online reservation event triggered by a first user device is detected, obtains event trigger information corresponding to the first user device, and the event trigger information corresponding to the first user device is used to describe the number of event participants, the start time of the event, and the end time of the event corresponding to the online reservation event; based on the event trigger information corresponding to the first user device, determines a corresponding plurality of candidate virtual tables, so that the first user device selects a target virtual table from the plurality of candidate virtual tables; in response to an online reservation request of the first user device for the target virtual table, obtains the device location coordinates of the first user device; based on the device location coordinates of the first user device and the table location coordinates of the target physical table corresponding to the target virtual table, plans a movement path between the device location coordinates of the first user device and the table location coordinates of the target physical table; sends a table reservation message carrying the movement path to the first user device. In this way, users can select a suitable consumption location through online selection, and the merchant platform provides in-store navigation for users, avoiding the problem that unfamiliar road conditions affect the in-store itinerary of users, and effectively improving user stickiness.
[0021] The above description is only an overview of the technical solutions of the embodiments of the present application. In order to be able to understand the technical means of the embodiments of the present application more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features and advantages of the embodiments of the present application more obvious and understandable, the following specifically gives the specific implementation manners of the present application. Brief Description of the Drawings
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly described below. It should be understood that the following described drawings only relate to some embodiments of the present disclosure and do not limit the present disclosure, where:
[0023] Figure 1 is a flowchart of an online reservation method for an offline consumption entity provided by the present disclosure.
[0024] Figure 2 is a structural diagram of an online reservation device for an offline consumption entity provided by the present disclosure.
[0025] Figure 3 is a structural diagram of a computer device provided by the present disclosure.
[0026] It should be noted that the elements in the drawings are schematic and not drawn to scale. Detailed Description of the Invention
[0027] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings. Apparently, the described embodiments are some, but not all, of the embodiments of the present disclosure. All other embodiments obtained by those skilled in the art based on the described embodiments of the present disclosure without creative efforts also fall within the scope of protection of the present disclosure.
[0028] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the subject matter of the present disclosure belongs. Further, it will be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning that is consistent with their meaning in the context of the specification and the relevant art, and will not be interpreted in an idealized or overly formal manner unless expressly defined herein otherwise. As used herein, a statement that two or more parts are "connected" or "coupled" together shall mean that the parts are directly joined together or joined through one or more intermediate components.
[0029] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present application. The phrase "embodiments" appearing in various places in the specification does not necessarily refer to the same embodiment, nor are they independent or alternative embodiments mutually exclusive of other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0030] As used herein, the term "and / or" is merely a description of an association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent: the existence of A, the simultaneous existence of A and B, and the existence of B. In addition, the character " / " herein generally represents an "or" relationship between the associated objects before and after. Terms such as "first" and "second" are only used to distinguish one component (or a part of a component) from another component (or another part of a component).
[0031] In the description of the present application, unless otherwise specified, the meaning of "a plurality" refers to two or more (including two). Similarly, "a plurality of groups" refers to two or more groups (including two groups).
[0032] To enable those skilled in the art of the present technology to better understand the solution of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
[0033] Figure 1 is a schematic flowchart of an online reservation method for an offline consumption entity provided by an embodiment of the present disclosure, as Figure 1As shown in the figure, the specific process of the online reservation method for offline consumption entities includes:
[0034] S110. If an online reservation event triggered by a first user device is detected, obtain the event trigger information corresponding to the first user device.
[0035] Among them, the online reservation event can be an operation on an online platform by a user accessing a certain merchant / tea house in a way such as a small program. The event trigger information corresponding to the first user device is used to describe the number of event participants, the start time of the event, and the end time of the event corresponding to the online reservation event. For example, the number of event participants is 3, the start time of the event can be a start time estimated in advance by the user, such as 5:00 pm on the same day, and the end time of the event can be an end time estimated in advance by the user, such as 6:00 pm on the same day.
[0036] S120. Based on the event trigger information corresponding to the first user device, determine a corresponding plurality of candidate virtual tables.
[0037] Among them, based on the event trigger information corresponding to the first user device, determine a corresponding plurality of candidate virtual tables from the database, so that the first user device can select a target virtual table from the plurality of candidate virtual tables.
[0038] After determining the corresponding plurality of candidate virtual tables, a plurality of candidate virtual tables can be sent to the first user device, for example, displayed on the merchant platform, so that the user can view them through the first user device; the user can freely select on the first user device to select the target virtual table that wants to be occupied during the consumption process from the plurality of candidate virtual tables.
[0039] In some embodiments, determining a corresponding plurality of candidate virtual tables based on the event trigger information corresponding to the first user device includes:
[0040] Based on the number of event participants, the start time of the event, and the end time of the event in the event trigger information corresponding to the first user device, determine that a plurality of virtual tables with a table scheduling status of idle status are a virtual table matching set; obtain the historical table occupancy data of the first user device; based on the historical table occupancy data of the first user device, determine a corresponding plurality of candidate virtual tables from the virtual table matching set.
[0041] Among them, a plurality of virtual tables are arranged in sequence in the database according to time, and each virtual table corresponds to a table scheduling status, and the table scheduling status is used to represent the occupancy situation of the table.
[0042] Based on the number of event participants, the start time of the event, and the end time of the event in the event trigger information corresponding to the first user device, a plurality of virtual tables determined to be in an idle state in the table scheduling state are in the virtual table matching set. Each virtual table included can accommodate the number of event participants in the event trigger information and is in an idle state between the start time and the end time of the event.
[0043] The historical table occupancy data of the first user device can be used to reflect the virtual tables previously occupied by the first user device. Virtual tables that have a matching relationship with the virtual tables previously occupied by the first user device are matched from the virtual table matching set as the corresponding plurality of candidate virtual tables.
[0044] It should be noted that the virtual tables that have a matching relationship with the virtual tables previously occupied by the first user device are those with the same position, or a similar position, or the same position attribute as the virtual tables previously occupied by the first user device. For example, they all have windows or a certain orientation, etc.
[0045] Therefore, by combining the historical table occupancy data of the first user device, a corresponding plurality of candidate virtual tables are determined from the virtual table matching set, which is convenient for selecting a more satisfactory service table for the user.
[0046] S130. In response to an online reservation request from the first user device for a target virtual table, obtain the device position coordinates of the first user device.
[0047] Among them, the device position coordinates of the first user device can be the specific position coordinates where the first user device is currently located. By sending a position acquisition request to the first user device, it is convenient for the merchant platform to effectively identify the device position coordinates of the first user device.
[0048] S140. Based on the device position coordinates of the first user device and the table position coordinates of the target physical table corresponding to the target virtual table, plan a movement path between the device position coordinates of the first user device and the table position coordinates of the target physical table.
[0049] Among them, the device position coordinates of the first user device are the two-dimensional coordinates of the first user device in the world coordinate system. The table position coordinates of the target physical table corresponding to the target virtual table are the two-dimensional coordinates of the target physical table corresponding to the target virtual table in the world coordinate system.
[0050] The traffic conditions between the device position coordinates of the first user device and the table position coordinates of the target physical table corresponding to the target virtual table can be used to effectively plan a movement path between the device position coordinates of the first user device and the table position coordinates of the target physical table.
[0051] S150. Send a table reservation message carrying a movement path to the first user device.
[0052] Among them, the table reservation message carrying a movement path can be sent to the first user device by means such as text message, pop-up window, mini-program message, etc.
[0053] It should be noted that the table reservation message may include: the movement path between the device position coordinates of the first user device and the table position coordinates of the target entity table, the table reservation device identifier, the table service verification code, the number of event participants, the start time of the event, and the end time of the event.
[0054] In this embodiment, if an online reservation event triggered by the first user device is detected, the event trigger information corresponding to the first user device is obtained. The event trigger information corresponding to the first user device is used to describe the number of event participants, the start time of the event, and the end time of the event corresponding to the online reservation event. Based on the event trigger information corresponding to the first user device, a corresponding plurality of candidate virtual tables are determined, so that the first user device can select a target virtual table from the plurality of candidate virtual tables. In response to the online reservation request of the first user device for the target virtual table, the device position coordinates of the first user device are obtained. Based on the device position coordinates of the first user device and the table position coordinates of the target entity table corresponding to the target virtual table, the movement path between the device position coordinates of the first user device and the table position coordinates of the target entity table is planned. A table reservation message carrying the movement path is sent to the first user device. In this way, the user can select a suitable consumption location through the online selection method, and the merchant platform provides in-store navigation for the user, avoiding the problem that the user's unfamiliarity with the road conditions affects the in-store itinerary, and effectively improving user viscosity.
[0055] In some embodiments, after sending the table reservation message carrying the movement path to the first user device, it further includes: updating the table scheduling status of the target virtual table between the start time and the end time of the event to the pre-occupied state.
[0056] Among them, the pre-occupied state means that the target entity table corresponding to the target virtual table is reserved by the user between the start time and the end time of the event. By recording the table scheduling status of each table, it is convenient to uniformly manage multiple tables.
[0057] In some embodiments, it further includes:
[0058] If an online cancellation request from the first user device for the target virtual table is received, and the reception time of the online cancellation request is earlier than the start time of the event, update the table scheduling status of the target virtual table between the start time and the end time of the event to the locked state.
[0059] Among them, the locked state indicates that the target virtual table is in a state where it is not reserved and cannot be reserved temporarily. If a user initiates an online cancellation request for the target virtual table through the first user device before the start time of the event, the target virtual table can be locked within a certain period of time to reserve a certain duration for the user, facilitating subsequent priority reservation again.
[0060] If a request cancellation instruction for the online cancellation request is received from the first user device, and the time difference between the reception time of the request cancellation instruction and the reception time of the online cancellation request is less than or equal to a preset time threshold, then update the table scheduling state of the target virtual table between the start time and the end time of the event to the preoccupied state.
[0061] Among them, if the time difference between the reception time of the request cancellation instruction initiated by the user and the reception time of the online cancellation request is less than or equal to the preset time threshold, it means that the user has the intention to cancel the online cancellation request of the target virtual table within a short period of time. Then update the table scheduling state of the target virtual table between the start time and the end time of the event to the preoccupied state, facilitating quick reservation for the user.
[0062] If a request cancellation instruction for the online cancellation request is received from the first user device, and the time difference between the reception time of the request cancellation instruction and the reception time of the online cancellation request is greater than the preset time threshold, then update the table scheduling state of the target virtual table between the start time and the end time of the event to the idle state.
[0063] Among them, if the time difference between the reception time of the request cancellation instruction initiated by the user and the reception time of the online cancellation request is greater than the preset time threshold, it means that the user has no intention to cancel the online cancellation request of the target virtual table within a short period of time. Then update the table scheduling state of the target virtual table between the start time and the end time of the event to the idle state to reset the state of the target virtual table and avoid excessive table locking time, which may affect other users' reservations.
[0064] Correspondingly, within a preset duration after receiving the online cancellation request for the target virtual table from the first user device, if the request cancellation instruction for the online cancellation request sent by the first user device is not received, at this time, the table scheduling state of the target virtual table between the start time and the end time of the event can be updated to the idle state, and the table scheduling state of the target virtual table is restored to the unreserved state, facilitating other users to make reservations.
[0065] In some embodiments, after updating the table scheduling state of the target virtual table between the start time and the end time of the event to the idle state, it further includes:
[0066] If a first user device sends an online reservation request for another virtual table, obtain the number of table reservations made by the first user device on the same day. The other virtual table is one of multiple candidate virtual tables. If the number of table reservations made by the first user device on the same day is greater than a preset threshold, send a reservation failure message for the other virtual table to the first user device. If the number of table reservations made by the first user device on the same day is less than or equal to the preset threshold, send a reservation success message for the other virtual table to the first user device.
[0067] Among them, by restricting the number of table reservations made by the first user device in one day, when it is determined that the number of table reservations made by the first user device on the same day is greater than the preset threshold, it indicates that the reservation frequency of this user is too high. A reservation failure message for the other virtual table is sent to the first user device to avoid the problem of malicious reservations occupying table resources and affecting the reservations of other users.
[0068] In some embodiments, it further includes:
[0069] If an online reservation event triggered by a second user device is detected and the detection time of the online reservation event is between the event start time and the event end time, send a table occupancy inquiry message to the first user device. The table occupancy inquiry message is used to obtain whether the first user device performs a delayed occupancy process on the target virtual table. If a delayed occupancy indication sent by the first user device is received, send an occupancy message for the target virtual table to the second user device.
[0070] Correspondingly, if a delayed non-occupancy indication sent by the first user device is received, send a successful reservation message for the target virtual table to the second user device.
[0071] Among them, when other users reserve the target virtual table, the current user is preferentially asked whether there is a delayed demand, which is convenient for preferentially meeting the service needs of the current user.
[0072] The online reservation event triggered by the second user device can be used to describe the online reservation demand of the second user device for the target virtual table. It should be noted that each user can see the reservation status of the virtual table they want to reserve on the corresponding user device. When an online reservation event triggered by the second user device is detected and the detection time of the online reservation event is between the event start time and the event end time, in this case, the second user device knows that the target virtual table has been reserved between the event start time and the event end time, and it is defaulted that the reservation time of the second user device for the target virtual table is after the event end time.
[0073] In some embodiments, the movement path is displayed in the table reservation message through an electronic map link. For example, opening the electronic map link can be redirected to the corresponding navigation application for route viewing.
[0074] After sending the table reservation message carrying the movement path to the first user device, it further includes:
[0075] If a trigger event for the electronic map link of the first user device is detected, obtain the current position coordinates of the first user device; based on the current position coordinates of the first user device and the table position coordinates of the target physical table corresponding to the target virtual table, update the movement path to display the updated movement path through the first user device.
[0076] Among them, if a trigger event for the electronic map link of the first user device is detected, it indicates that the user of the first user device has a movement requirement to go to the target physical table corresponding to the target virtual table. By re-obtaining the current position coordinates of the first user device to update the movement path, it is convenient for the corresponding user to quickly reach the destination.
[0077] Figure 2 The figure is a schematic structural diagram of an online reservation device for an offline consumption entity provided in this embodiment. The online reservation device for an offline consumption entity may include: a first acquisition module 210, a determination module 220, a second acquisition module 230, a planning module 240, and a sending module 250.
[0078] The first acquisition module 210 is configured to, if an online reservation event triggered by the first user device is detected, acquire the event trigger information corresponding to the first user device, and the event trigger information corresponding to the first user device is used to describe the number of event participants, the start time of the event, and the end time of the event corresponding to the online reservation event.
[0079] The determination module 220 is configured to determine a corresponding plurality of candidate virtual tables based on the event trigger information corresponding to the first user device, so that the first user device selects a target virtual table from the plurality of candidate virtual tables.
[0080] The second acquisition module 230 is configured to, in response to an online reservation request of the first user device for the target virtual table, acquire the device position coordinates of the first user device.
[0081] The planning module 240 is configured to plan a movement path between the device position coordinates of the first user device and the table position coordinates of the target physical table corresponding to the target virtual table.
[0082] The sending module 250 is configured to send a table reservation message carrying the movement path to the first user device.
[0083] In this embodiment, optionally, the determining module 220 is specifically configured to:
[0084] Based on the number of event participants, the start time of the event, and the end time of the event in the event trigger information corresponding to the first user device, determine multiple virtual desks with a desk scheduling status of idle status as the virtual desk matching set; obtain the historical desk occupancy data of the first user device; based on the historical desk occupancy data of the first user device, determine multiple corresponding candidate virtual desks from the virtual desk matching set.
[0085] In this embodiment, optionally, it further includes: an updating module.
[0086] The updating module is used to update the desk scheduling status of the target virtual desk between the start time of the event and the end time of the event to the pre-occupied status.
[0087] In this embodiment, optionally, the updating module is further used to: if an online cancellation request for the target virtual desk is received from the first user device, and the reception time of the online cancellation request is earlier than the start time of the event, then update the desk scheduling status of the target virtual desk between the start time of the event and the end time of the event to the locked status; if a request revocation instruction for the online cancellation request is received from the first user device, and the time difference between the reception time of the request revocation instruction and the reception time of the online cancellation request is less than or equal to a preset time threshold, then update the desk scheduling status of the target virtual desk between the start time of the event and the end time of the event to the pre-occupied status; if a request revocation instruction for the online cancellation request is received from the first user device, and the time difference between the reception time of the request revocation instruction and the reception time of the online cancellation request is greater than the preset time threshold, then update the desk scheduling status of the target virtual desk between the start time of the event and the end time of the event to the idle status.
[0088] In this embodiment, optionally, it further includes: a third obtaining module.
[0089] The third obtaining module is used to: if an online reservation request for another virtual desk is received from the first user device, obtain the number of desk reservation times of the first user device on the same day, and the other virtual desk is one of the multiple candidate virtual desks.
[0090] The sending module 250 is further used to: if the number of desk reservation times of the first user device on the same day is greater than a preset number threshold, then send a reservation unsuccessful message for the other virtual desk to the first user device; if the number of desk reservation times of the first user device on the same day is less than or equal to the preset number threshold, then send a reservation successful message for the other virtual desk to the first user device.
[0091] In this embodiment, optionally, it further includes: a sending module 250, further configured to, if it detects an online reservation event triggered by a second user device and the detection moment of the online reservation event is between the event start moment and the event end moment, send a table occupancy inquiry message to the first user device, where the table occupancy inquiry message is used to obtain whether the first user device performs a delayed occupancy process on the target virtual table; if it receives a delayed occupancy indication sent by the first user device, send an occupancy message of the target virtual table to the second user device.
[0092] In this embodiment, optionally, the movement path is displayed in the table reservation message in the form of an electronic map link.
[0093] It further includes: a fourth acquisition module.
[0094] The fourth acquisition module is configured to, if it detects a trigger event of the first user device for the electronic map link, acquire the current position coordinates of the first user device.
[0095] The update module is further configured to update the movement path based on the current position coordinates of the first user device and the table position coordinates of the target physical table corresponding to the target virtual table, so as to display the updated movement path through the first user device.
[0096] The online reservation device for offline consumption entities provided by the present disclosure can execute the above method embodiments, and for its specific implementation principles and technical effects, reference can be made to the above method embodiments, which will not be elaborated herein.
[0097] An embodiment of the present application further provides a computer device. Specifically, please refer to Figure 3 , Figure 3 which is the basic structural block diagram of the computer device in this embodiment.
[0098] The computer device includes a memory 310 and a processor 320 that communicate with each other through a system bus. It should be noted that only the computer device having the memory 310 and the processor 320 is shown in the figure, but it should be understood that it is not required to implement all the shown components, and more or fewer components can be alternatively implemented. Among them, those skilled in the art of the present technology can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0099] A computer device can be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. The computer device can interact with a user through a keyboard, a mouse, a remote control, a touchpad, or a voice control device.
[0100] The memory 310 includes at least one type of readable storage medium. The readable storage medium includes non-volatile memory or volatile memory. For example, flash memory, a hard disk, a multimedia card, a card-type memory (such as an SD or DX memory, etc.), random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, a magnetic disk, an optical disc, etc. The RAM can include static RAM or dynamic RAM. In some embodiments, the memory 310 can be an internal storage unit of the computer device, such as the hard disk or the memory of the computer device. In other embodiments, the memory 310 can also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, or a Flash Card equipped on the computer device. Of course, the memory 310 can also include both the internal storage unit and the external storage device of the computer device. In this embodiment, the memory 310 is generally used to store the operating system and various application software installed on the computer device, such as the program code of the above method. In addition, the memory 310 can also be used to temporarily store various types of data that have been output or will be output.
[0101] The processor 320 is generally used to execute the overall operations of the computer device. In this embodiment, the memory 310 is used to store program code or instructions. The program code includes computer operation instructions. The processor 320 is used to execute the program code or instructions stored in the memory 310 or process data, such as running the program code of the above method.
[0102] In this text, the bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. This bus system can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, only a thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0103] Another embodiment of the present application further provides a computer-readable medium, which can be a computer-readable signal medium or a computer-readable medium. A processor in the computer reads the computer-readable program code stored in the computer-readable medium, enabling the processor to perform the functional actions specified in each step or the combination of steps in the above method; generating a device for performing the functional actions specified in each block or the combination of blocks in the block diagram.
[0104] The computer-readable medium includes but is not limited to electronic, magnetic, optical, electromagnetic, infrared memories or semiconductor systems, devices or apparatuses, or any suitable combination of the foregoing. The memory is used to store program codes or instructions, and the program codes include computer operation instructions. The processor is used to execute the program codes or instructions of the above method stored in the memory.
[0105] For the definitions of the memory and the processor, reference can be made to the description of the foregoing computer device embodiments, which will not be elaborated here.
[0106] In several embodiments provided by the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of the devices or units can be in electrical, mechanical or other forms.
[0107] In each embodiment of the present application, each functional unit or module can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0108] When an integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods of various embodiments of this application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.
[0109] In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The "including" described in this application does not exclude the existence of elements or steps not listed in the claim. The word "a" or "an" preceding an element does not exclude the existence of a plurality of such elements. This application can be implemented by means of hardware including several different elements and by means of a properly programmed computer. In a claim enumerating several units of a device, several of these units of the device can be embodied by the same hardware item. The use of the first, second, and third, etc. does not indicate any order, and these words can be interpreted as names. The steps in the foregoing embodiments, unless otherwise specified, should not be construed as limiting the order of execution.
[0110] The above embodiments are only used to illustrate the technical solutions of this application, rather than to limit it; although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of this application.
Claims
1. An online reservation method for an offline consumption entity, characterized in that: include: If an online scheduled event triggered by a first user device is detected, event triggering information corresponding to the first user device is obtained, where the event triggering information corresponding to the first user device is used to describe the number of event participants, event start time, and event end time corresponding to the online scheduled event; Determine a plurality of corresponding candidate virtual tables based on the event triggering information corresponding to the first user equipment, so that the first user equipment selects a target virtual table from the plurality of candidate virtual tables; In response to an online reservation request of the first user device for the target virtual table, acquiring device location coordinates of the first user device; Planning a moving path between the device location coordinates of the first user device and the table location coordinates of the target physical table corresponding to the target virtual table based on the device location coordinates of the first user device and the table location coordinates of the target physical table; A table reservation message carrying the moving path is sent to the first user equipment.
2. The method according to claim 1, characterized in that The determining a plurality of corresponding candidate virtual tables based on the event triggering information corresponding to the first user equipment includes: Based on the number of event participants, the event start time, and the event end time in the event triggering information corresponding to the first user equipment, determining a plurality of virtual tables whose table scheduling states are in an idle state as a virtual table matching set; Acquire historical table occupancy data of the first user equipment; Based on the historical table occupancy data of the first user equipment, a corresponding plurality of candidate virtual tables are determined from the virtual table matching set.
3. The method according to claim 1, characterized in that After sending the table reservation message carrying the moving path to the first user equipment, the method further includes: The table scheduling state of the target virtual table between the event start time and the event end time is updated to a pre-occupied state.
4. The method according to claim 3, characterized in that Also includes: If an online cancellation request for the target virtual table is received from the first user device, and the receiving time of the online cancellation request is earlier than the event start time, updating the table scheduling state of the target virtual table between the event start time and the event end time to a locked state; If a request cancellation indication for the online cancellation request is received from the first user equipment, and the time difference between the reception time of the request cancellation indication and the reception time of the online cancellation request is less than or equal to a preset time threshold, updating the table scheduling state of the target virtual table between the event start time and the event end time to a pre-occupied state; If a request cancellation indication for the online cancellation request is received from the first user equipment, and the time difference between the reception time of the request cancellation indication and the reception time of the online cancellation request is greater than the preset time threshold, the table scheduling state of the target virtual table between the event start time and the event end time is updated to an idle state.
5. The method according to claim 4, characterized in that After the table scheduling state of the target virtual table between the event start time and the event end time is an idle state, the updating further includes: If an online reservation request for another virtual table is received from the first user device, obtaining the number of table reservations made by the first user device on that day, wherein the other virtual table is one of the multiple candidate virtual tables; If the number of table reservations made by the first user equipment on that day is greater than a preset number threshold, sending a message to the first user equipment that the reservation of the other virtual table is unsuccessful; If the number of table reservations made by the first user equipment on that day is less than or equal to a preset number threshold, a reservation success message of the other virtual table is sent to the first user equipment.
6. The method according to claim 1, characterized in that Also includes: If an online reservation event triggered by a second user device is detected, and the detection time of the online reservation event is between the start time and the end time of the event, a table occupation inquiry message is sent to the first user device, where the table occupation inquiry message is used to obtain whether the first user device performs delayed occupation processing on the target virtual table; If the delayed occupation indication sent by the first user equipment is received, an occupation message of the target virtual table is sent to the second user equipment.
7. The method according to claim 1, characterized in that The moving path is displayed in the table reservation message by means of an electronic map link; After sending the table reservation message carrying the moving path to the first user equipment, the method further includes: If a triggering event of the first user equipment linking to the electronic map is detected, obtaining the current location coordinates of the first user equipment; Based on the current position coordinates of the first user device and the table position coordinates of the target physical table corresponding to the target virtual table, the moving path is updated to display the updated moving path through the first user device.
8. An online reservation device for an offline consumer entity, characterized in that: include: A first acquisition module, configured to acquire event triggering information corresponding to the first user device if an online scheduled event triggered by a first user device is detected, wherein the event triggering information corresponding to the first user device is used to describe the number of event participants, event start time, and event end time corresponding to the online scheduled event; a determination module, configured to determine a plurality of corresponding candidate virtual tables based on the event triggering information corresponding to the first user equipment, so that the first user equipment selects a target virtual table from the plurality of the candidate virtual tables; A second acquisition module, configured to acquire the device location coordinates of the first user device in response to an online reservation request of the first user device to the target virtual table; a planning module, configured to plan a moving path between the device location coordinates of the first user device and the table location coordinates of the target physical table corresponding to the target virtual table based on the device location coordinates of the first user device and the table location coordinates of the target physical table; The sending module is used to send a table reservation message carrying the moving path to the first user equipment.
9. A computer device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, an online reservation method for an offline consumption entity as claimed in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the online reservation method for an offline consumption entity as claimed in any one of claims 1 to 7 is implemented.