Reservation method, device, equipment and storage medium

By entering the diagnosis and treatment items into the mapping table and merging or sorting according to the mapping relationship, the problem of low appointment efficiency during the diagnosis and treatment process is solved, more efficient appointment time arrangement is achieved, and users are reduced waiting time.

CN114091713BActive Publication Date: 2024-12-13SOUNDAI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111412016.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-25
Publication Date
2024-12-13
Estimated Expiration
2041-11-25

AI Technical Summary

Technical Problem

During the diagnosis and treatment process, when patients need to make appointments for multiple examination items, the existing system leads to inefficient reservations and users need to wait for a long time, which leads to a longer appointment.

Method used

By obtaining multiple appointment items, inputting them into the preset mapping table for query, determining the appointment item collection, and combining or sorting appointment items according to the mapping relationship to avoid conflicts and displaying a reasonable appointment time list.

Benefits of technology

Improve the reservation efficiency, reduce the waiting time of users, and optimize the reservation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114091713B_ABST
    Figure CN114091713B_ABST
Patent Text Reader

Abstract

The present invention provides a reservation method, device, equipment and storage medium. The method includes: obtaining N reservation items; inputting the N reservation items into a preset mapping table for query to determine a reservation item set; determining the first reservation time corresponding to each first reservation item according to the mapping relationship between the first reservation items in the reservation item set; and displaying a reservation item list. In an embodiment of the present invention, after obtaining the user's reservation items, query the reservation items in the preset mapping table to determine the reservation item set; further, according to the mapping relationship between the reservation items in the reservation item set, determine the reservation time corresponding to each reservation item, and display it in the reservation item list, so as to reasonably arrange the reservation time corresponding to each reservation item for the user, avoid conflicts in reservation time between reservation items, reduce the waiting time of the user during the reservation process, and thus improve the efficiency of the reservation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a reservation method, device, equipment and storage medium. Background Art

[0002] At present, the process of patients making appointments for examination items during diagnosis and treatment is usually that patients go to the medical and technical examination departments corresponding to each examination item to make an appointment and register. When the appointment time arrives, the patient goes to the corresponding department for diagnosis and treatment of the examination item.

[0003] However, during the reservation process for the above-mentioned examination items, users need to go to the department to queue up for reservations, and there may be conflicts between the examination items reserved by users. In this way, users need to wait for a long time before they can undergo diagnosis and treatment for the next examination item, resulting in a longer appointment time, which reduces the efficiency of the appointment. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a reservation method, device, equipment and storage medium to solve the technical problem of low reservation efficiency. The specific technical solution is as follows:

[0005] In a first aspect of an embodiment of the present invention, a reservation method is first provided, comprising:

[0006] Get N reservation items, where N is a positive integer greater than 1;

[0007] Input the N reservation items into a preset mapping table for query to determine a reservation item set; any two first reservation items in the reservation item set have a mapping relationship in the mapping table;

[0008] Determining a first reservation time corresponding to each first reservation item according to a mapping relationship between first reservation items in the reservation item set;

[0009] A reservation item list is displayed, wherein the reservation item list includes a first reservation time corresponding to each of the first reservation items.

[0010] In a second aspect of the embodiment of the present invention, a reservation device is also provided, including:

[0011] The acquisition module is used to acquire N reservation items, where N is a positive integer greater than 1;

[0012] A first determination module is used to input the N reservation items into a preset mapping table for query to determine a reservation item set; any two first reservation items in the reservation item set have a mapping relationship in the mapping table;

[0013] A second determining module, configured to determine a first reservation time corresponding to each first reservation item according to a mapping relationship between first reservation items in the reservation item set;

[0014] The first display module is used to display a reservation item list, wherein the reservation item list includes a first reservation time corresponding to each of the first reservation items.

[0015] In a third aspect of the embodiments of the present invention, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer executes the reservation method described in any of the above embodiments.

[0016] In a fourth aspect of the implementation of the present invention, a computer program product comprising instructions is also provided, which, when executed on a computer, enables the computer to execute the reservation method described in any of the above embodiments.

[0017] In an embodiment of the present invention, N reservation items are obtained; the N reservation items are input into a preset mapping table for query to determine a reservation item set; the first reservation time corresponding to each first reservation item is determined according to the mapping relationship between the first reservation items in the reservation item set; and a reservation item list is displayed, and the item list includes the first reservation time corresponding to each first reservation item. In an embodiment of the present invention, after obtaining the user's reservation items, the reservation items are queried in the preset mapping table to determine a reservation item set including reservation items with a mapping relationship; further, according to the mapping relationship between the reservation items in the reservation item set, the reservation time corresponding to each reservation item is determined and displayed in the reservation item list, so as to reasonably arrange the reservation time corresponding to each reservation item for the user, avoid conflicts in reservation time between reservation items, reduce the waiting time of the user during the reservation process, and thus improve the efficiency of the reservation. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.

[0019] Figure 1 It is a flowchart of a reservation method in an embodiment of the present invention;

[0020] Figure 2 It is an application flow chart of the reservation method in an embodiment of the present invention;

[0021] Figure 3 It is a structural schematic diagram of a reservation device in an embodiment of the present invention;

[0022] Figure 4 The figure is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0023] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0024] See also Figure 1 , Figure 1 Flow chart of the reservation method in the embodiment of the present invention. The reservation method provided by the embodiment of the present invention includes:

[0025] S101, obtaining N reservation items.

[0026] In this step, N is a positive integer greater than 1. The above-mentioned reservation items can be examination items that the user needs to make an appointment for during the diagnosis and treatment process, or they can be items that need to be reserved in other scenarios, and are not specifically limited here. To facilitate the explanation of the technical solution, the following is an example of an appointment item that the user needs to make an appointment for during the diagnosis and treatment process.

[0027] In this step, the terminal applying the reservation method may obtain N reservation items through user input, or download the N reservation items from the Internet, or obtain the N reservation items through other methods.

[0028] S102: input the N reservation items into a preset mapping table for query to determine a reservation item set.

[0029] The N reservation items mentioned above include the first reservation item. In this step, after the N reservation items are obtained, the N reservation items can be input into a pre-set mapping table for query, and the mapping table stores the mapping relationship between the first reservation items in the reservation item set. It should be understood that the reservation item set includes at least two first reservation items, and any two first reservation items in the reservation item set have a mapping relationship in the mapping table.

[0030] S103: Determine a first reservation time corresponding to each first reservation item according to a mapping relationship between first reservation items in the reservation item set.

[0031] In this step, for the first reservation items included in the reservation item set, the reservation time corresponding to each first reservation item can be determined according to the mapping relationship between the first reservation items, and the reservation time is called the first reservation time. For specific technical solutions, please refer to the subsequent embodiments.

[0032] S104, displaying a list of scheduled items.

[0033] In this step, after determining the first appointment time corresponding to each first appointment item, a list of appointment items is displayed, wherein the list of appointment items includes the first appointment time corresponding to each first appointment item. Optionally, the first appointment times in the list of appointment items can be sorted in chronological order so that the user can make an appointment for the inspection item according to the list of appointment items.

[0034] In an embodiment of the present invention, N reservation items are obtained; the N reservation items are input into a preset mapping table for query to determine a reservation item set; the first reservation time corresponding to each first reservation item is determined according to the mapping relationship between the first reservation items in the reservation item set; and a reservation item list is displayed, and the item list includes the first reservation time corresponding to each first reservation item. In an embodiment of the present invention, after obtaining the user's reservation items, the reservation items are queried in the preset mapping table to determine a reservation item set including reservation items with a mapping relationship; further, according to the mapping relationship between the reservation items in the reservation item set, the reservation time corresponding to each reservation item is determined and displayed in the reservation item list, so as to reasonably arrange the reservation time corresponding to each reservation item for the user, avoid conflicts in reservation time between reservation items, reduce the waiting time of the user during the reservation process, and thus improve the efficiency of the reservation.

[0035] Optionally, the mapping relationship includes a first mapping relationship, and the first mapping relationship is used to represent that the first reservation items in the reservation item set are merged into one first reservation item.

[0036] In this embodiment, the mapping relationship between the first reservation items in the reservation item set can be a first mapping relationship, and the above-mentioned first mapping relationship represents that the first reservation items in the reservation item set are merged into one first reservation item, that is, the first reservation items in the reservation item set belong to the same inspection department. In this case, all the first reservation items in the reservation item set can be merged into one first reservation item. Furthermore, the earliest reservation time corresponding to the first reservation item in the reservation item set is determined as the first reservation time corresponding to the merged first reservation item.

[0037] For example, the set of appointment items includes height check and weight check, and these two appointment items belong to the same examination department. In this case, these two appointment items can be merged into one first appointment item. If the earliest appointment time corresponding to the height check is 8 o'clock, and the earliest appointment time corresponding to the weight check is 9 o'clock, then the first appointment time corresponding to the merged first appointment item is determined to be 8 o'clock.

[0038] In this embodiment, for appointment items belonging to the same examination department, these appointment items are merged, and then the appointment time corresponding to the merged appointment items is determined, so as to reduce the waiting time of users making appointments in the same department and improve the efficiency of appointments.

[0039] Optionally, the mapping relationship includes a second mapping relationship, and the second mapping relationship is used to represent the ordering of the first reservation items in the reservation item set.

[0040] In this embodiment, the mapping relationship between the first reservation items in the reservation item set may be a second mapping relationship, and the second mapping relationship represents the sorting of the first reservation items in the reservation item set, that is, there is a sequence between the first reservation items in the reservation item set. In this case, the first reservation items in the reservation item set may be sorted. Further, the earliest reservation time corresponding to each first reservation item is determined as the first reservation time corresponding to the first reservation item. It should be understood that the first reservation time corresponding to the first reservation item in the front order is prior to the first reservation time corresponding to the first reservation item in the back order.

[0041] For example, the set of appointment items includes blood pressure check and blood test, and there is a second mapping relationship between these two appointment items. In this case, the appointment time for blood pressure check is set before the appointment time for blood test. If the earliest appointment time corresponding to blood pressure check is 8 o'clock, and the appointment time corresponding to blood test is 7 o'clock or 9 o'clock, the first appointment time corresponding to blood pressure check is set to 8 o'clock, and the first appointment time corresponding to blood test is set to 9 o'clock.

[0042] In this embodiment, for the reservation items with the second mapping relationship, these reservation items are sorted, and then the reservation times corresponding to the sorted reservation items are determined, so as to avoid time conflicts between the reservation items and improve the efficiency of reservation.

[0043] Optionally, the determining, according to the mapping relationship between the first reservation items in each reservation item set, the first reservation time corresponding to each first reservation item comprises:

[0044] In a case where the mapping relationship between the first reservation items in the reservation item set is the third mapping relationship, determining the target interval duration corresponding to each first reservation item in the reservation item set;

[0045] A first reservation time corresponding to each first reservation item is determined according to the target interval duration.

[0046] In this embodiment, the mapping relationship between the first reservation items in the reservation item set may be a third mapping relationship, and the third mapping relationship indicates that there is a conflict in reservation time between two adjacent first reservation items in the reservation item set. In this case, the target interval duration between the first reservation items in the reservation item set may be determined based on the third mapping relationship, and the target interval duration is determined according to the inspection time consumed by the first reservation items. Further, the first reservation time corresponding to each first reservation item in the reservation item set is determined, wherein the interval duration between the first reservation items is greater than or equal to the target interval duration.

[0047] For example, the set of appointment items includes appointment item A and appointment item B, and the target interval between the two appointment items is 1 hour of inspection time for appointment item A or half an hour of inspection time for appointment item B. After determining the appointment time corresponding to appointment item A, the appointment time corresponding to appointment item B should be 1 hour later than the appointment time corresponding to appointment item A; after determining the appointment time corresponding to appointment item B, the appointment time corresponding to appointment item A should be half an hour later than the appointment time corresponding to appointment item B.

[0048] In this embodiment, for the first reservation item in the reservation item set, the target interval time between these reservation items is determined, and then the reservation time corresponding to each reservation item is determined, so as to avoid reservation time conflicts between reservation items and improve reservation efficiency.

[0049] In other embodiments, the acquired N reservation items may contain the first mapping relationship and the third mapping relationship.

[0050] For example, the N reservation items are Project 1, Project 2 and Project 3, where the mapping relationship between Project 1 and Project 2 is the first mapping relationship, the earliest reservation time corresponding to Project 1 is 8 o'clock, the earliest reservation time corresponding to Project 2 is 9 o'clock, and the optional reservation times corresponding to Project 3 are 8:15 and 9 o'clock.

[0051] In this case, Project 1 and Project 2 are merged into one project, and the appointment time of the merged project is set to 8 o'clock. The inspection time of Project 1 and Project 2 is half an hour. Based on the above target interval of half an hour, the appointment time of Project 3 is set to 9 o'clock; or the inspection time of Project 3 is half an hour, then the appointment time of Project 3 is set to 8:15, and Project 1 and Project 2 are merged into one project, and the appointment time of the merged project is set to 9 o'clock.

[0052] In other embodiments, the acquired N reservation items may contain a second mapping relationship and a third mapping relationship.

[0053] For example, the N appointment items are item 1, item 2 and item 3, among which the mapping relationship between item 1 and item 2 is the second mapping relationship, the sorting of item 1 precedes the sorting of item 2, the earliest appointment time corresponding to item 1 is 8 o'clock, the earliest appointment time corresponding to item 2 is 9 o'clock, and the optional appointment times corresponding to item 3 are 9:15 and 10 o'clock, among which the inspection time consumed by item 2 is half an hour, that is, the target interval duration corresponding to item 2 is half an hour.

[0054] In this case, based on the second mapping relationship, the appointment time for Project 1 is set to 8 o'clock, and the appointment time for Project 2 is set to 9 o'clock. Based on the target interval of half an hour corresponding to Project 2, the appointment time for Project 3 is set to 10 o'clock.

[0055] In other embodiments, the first mapping relationship, the second mapping relationship, and the third mapping relationship may exist simultaneously in the N acquired reservation items.

[0056] For example, N reservation items are item 1, item 2, item 3 and item 4, wherein the mapping relationship between item 1 and item 2 is the first mapping relationship, the mapping relationship between item 2 and item 3 is the second mapping relationship, and the order corresponding to item 2 is prior to the order corresponding to item 3. The earliest reservation time corresponding to item 1 is 8 o'clock, the earliest reservation time corresponding to item 2 is 9 o'clock, the earliest reservation time corresponding to item 3 is 10 o'clock, and the selectable reservation times corresponding to item 4 are 10:15 and 11 o'clock.

[0057] In this case, merge Project 1 and Project 2, and set the appointment time for the merged project to 8 o'clock; set the appointment time corresponding to Project 3 to 10 o'clock. The inspection time of Project 3 is half an hour, so set the appointment time corresponding to Project 4 to 11 o'clock.

[0058] Optionally, determining the first reservation time corresponding to each first reservation item according to the target interval duration includes:

[0059] Determine the earliest reservation time corresponding to the first target item in the reservation item set as the first reservation time corresponding to the first target item;

[0060] According to the target interval duration corresponding to each first reservation item and the selectable reservation time of each second target item, the first reservation time corresponding to each second target item in the reservation item set is determined.

[0061] In this embodiment, the first scheduled item with the earliest corresponding scheduled time in the scheduled item set may be understood as the first target item, and the first scheduled items other than the first target item in the scheduled item set may be understood as the second target item.

[0062] In this embodiment, the earliest appointment time corresponding to the first target item is determined as the first appointment time corresponding to the first target item. Further, according to the target interval duration corresponding to each first appointment item and the selectable appointment time corresponding to each second target item, the first appointment time corresponding to each second target item is determined. It should be understood that the above target interval duration is related to the inspection duration corresponding to the first appointment item. For example, if the inspection duration of the first appointment item is 1 hour, the target interval duration of the first appointment item should be greater than or equal to 1 hour.

[0063] To understand this, see the following example:

[0064] Project 1 is the first target project, Project 2 is the second target project, and the earliest appointment time corresponding to Project 1 is 8 o'clock. The inspection time consumed by Project 1 is 1 hour, that is, the target interval duration corresponding to Project 1 is 1 hour, and the optional appointment times corresponding to Project 2 are 8:15 and 9:20. In this case, set the appointment time corresponding to Project 1 to 8 o'clock, and set the appointment time corresponding to Project 2 to 9:20.

[0065] Optionally, determining the earliest reservation time corresponding to the first target item in the reservation item set as the first reservation time corresponding to the first target item includes:

[0066] When there are at least two first reservation items in the reservation item set with the same earliest reservation time, obtaining a target distance between the positions corresponding to the at least two first reservation items and the preset position;

[0067] The first reservation with the shortest target distance is determined as the first target item.

[0068] In one embodiment, if there are multiple first reservation items with the same earliest reservation time in the reservation item set, the target distance between the position corresponding to each first reservation item and the preset position is obtained, and the first reservation item with the smallest target distance is determined as the first target item, and the earliest reservation time corresponding to the first target item is determined as the first reservation time corresponding to the first target item. The preset position may be the user's starting position.

[0069] In another embodiment, if there are multiple first reservation items in the reservation item set whose corresponding earliest reservation times are within the preset duration, the target distance between the location corresponding to each first reservation item and the preset location is obtained, and the first reservation item with the smallest target distance is determined as the first target item.

[0070] For example, the earliest appointment time corresponding to Project 1 is 8 o'clock, the earliest appointment time corresponding to Project 2 is 8:05, and the preset duration is 10 minutes. In this case, the distance between the location corresponding to Project 1 and the preset location, and the distance between the location corresponding to Project 2 and the preset location are obtained. If the distance between the location corresponding to Project 1 and the preset location is 100 meters (for example, the department corresponding to Project 1 is on the 3rd floor), and the distance between the location corresponding to Project 2 and the preset location is 130 meters (for example, the department corresponding to Project 2 is on the 4th floor), then Project 1 is determined as the first target project, and Project 2 is determined as the second target project, and the first appointment time corresponding to the first target project is set to 8 o'clock. Furthermore, the inspection duration corresponding to the first target project is 30 minutes, and the distance between the location of the first target project and the location of the second target is 25 minutes. The target interval duration corresponding to the first target project can be set to be greater than or equal to 55 minutes. At this time, the target interval duration not only considers the inspection time consumed by the scheduled project, but also considers the distance time consumed to the next scheduled project. Exemplarily, the target interval duration corresponding to the first target project is set to 1 hour, and the selectable appointment times corresponding to Project 2 are 8:50 and 9:10. In this case, the first appointment time corresponding to the second target project is set to 9:10.

[0071] Optionally, determining the first appointment time corresponding to each second target item in the appointment item set according to the target interval duration corresponding to each first appointment item and the selectable appointment time of each second target item includes:

[0072] In the case that there are at least two second target items in the set of scheduled items, the first scheduled time of each second target item is determined in sequence according to the position corresponding to each first scheduled item and the corresponding target interval duration.

[0073] In this embodiment, if there are at least two second target items in the reservation item set, the first reservation time of each second target item can be determined in sequence according to the target interval duration corresponding to each first reservation item, and the distance between the location of each first reservation item and the location of the second target item corresponding to the first reservation item.

[0074] For example, the first target project is Project 1, and the first appointment time corresponding to Project 1 is 8 o'clock. Project 2 and Project 3 are the second target projects, and the earliest appointment times corresponding to Project 2 and Project 3 are both 9 o'clock. In this case, the first distance between the location of Project 2 and the location of Project 1, and the second distance between the location of Project 3 and the location of Project 1 are obtained. If the first distance is greater than the second distance, the first appointment time corresponding to Project 2 is determined to be 9 o'clock. Furthermore, if the target interval duration corresponding to Project 2 is 30 minutes, and the selectable appointment times corresponding to Project 3 include 9 o'clock, 9:20 and 10 o'clock, in this case, the first appointment time corresponding to Project 3 is set to 10 o'clock.

[0075] Optionally, the N reservation items include a second reservation item, and after obtaining the N reservation items, the method further includes:

[0076] Display the appointment time corresponding to each second appointment item;

[0077] receiving a user input of a reservation time corresponding to each second reservation item;

[0078] In response to the input, a second appointment time corresponding to each second appointment item is determined, and the second appointment time corresponding to each second appointment item is displayed in the appointment item list.

[0079] The N appointment items mentioned above also include second appointment items, and there is no mapping relationship between the second appointment items. In this way, the appointment time corresponding to each second appointment item can be directly displayed, and when the user inputs the appointment time corresponding to each second appointment item, the second appointment time corresponding to each second appointment item is determined, and the second appointment time corresponding to each second appointment item is displayed in the appointment item list, so that the user can arrange the appointment items reasonably.

[0080] Optionally, in the case that N appointment items include a first appointment item and a second appointment item, after determining the first appointment time corresponding to each first appointment item and the second appointment time corresponding to each second appointment item, the first appointment time and the second appointment time are sorted in order from the earliest to the last time, so that the user can make an appointment for the inspection item according to the appointment item list.

[0081] To understand the overall technical solution, please refer to Figure 2 , Figure 2 It is an application flow chart of the reservation method in an embodiment of the present invention.

[0082] like Figure 2As shown, after obtaining N reservation items, the reservation items with the first mapping relationship are first merged, and then it is determined whether there are any reservation items with the second mapping relationship and / or the third mapping relationship among the above N reservation items. If not, the reservation time corresponding to each reservation item is directly determined to be the earliest reservation time corresponding to the reservation item, and further, the reservation item list is displayed. If so, the reservation items with the second mapping relationship are sorted, and / or the target interval duration between the reservation items with the third mapping relationship is determined, and then the reservation time corresponding to each reservation item is determined, and further, the reservation item list is displayed.

[0083] like Figure 3 As shown, the embodiment of the present invention further provides a reservation device 200, and the reservation device 200 includes:

[0084] An acquisition module 201 is used to acquire N reservation items;

[0085] A first determination module 202 is used to input the N reservation items into a preset mapping table for query to determine a reservation item set;

[0086] A second determining module 203, configured to determine a first reservation time corresponding to each first reservation item according to a mapping relationship between first reservation items in the reservation item set;

[0087] The first display module 204 is used to display a reservation item list, where the item list includes a first reservation time corresponding to each of the first reservation items.

[0088] Optionally, the second determining module 203 is further specifically configured to:

[0089] In a case where the mapping relationship between the first reservation items in the reservation item set is the third mapping relationship, determining the target interval duration corresponding to each first reservation item in the reservation item set;

[0090] A first reservation time corresponding to each first reservation item is determined according to the target interval duration.

[0091] Optionally, the second determining module 203 is further specifically configured to:

[0092] Determine the earliest reservation time corresponding to the first target item in the reservation item set as the first reservation time corresponding to the first target item;

[0093] According to the target interval duration corresponding to each first reservation item and the selectable reservation time of each second target item, the first reservation time corresponding to each second target item in the reservation item set is determined.

[0094] Optionally, the second determining module 203 is further specifically configured to:

[0095] When there are at least two first reservation items in the reservation item set with the same earliest reservation time, obtaining a target distance between the positions corresponding to the at least two first reservation items and the preset position;

[0096] The first scheduled item with the smallest target distance is determined as the first target item.

[0097] Optionally, the second determining module 203 is further specifically configured to:

[0098] In the case that there are at least two second target items in the set of scheduled items, the first scheduled time of each second target item is determined in sequence according to the position corresponding to each first scheduled item and the corresponding target interval duration.

[0099] Optionally, the reservation device 200 further includes:

[0100] Display the appointment time corresponding to each second appointment item;

[0101] receiving a user input of a reservation time corresponding to each second reservation item;

[0102] In response to the input, a second appointment time corresponding to each second appointment item is determined, and the second appointment time corresponding to each second appointment item is displayed in the appointment item list.

[0103] The embodiment of the present invention further provides an electronic device, such as Figure 4 As shown, it includes a processor 301 , a communication interface 302 , a memory 303 and a communication bus 304 , wherein the processor 301 , the communication interface 302 , and the memory 303 communicate with each other via the communication bus 304 .

[0104] Wherein, the memory 303 is used to store computer programs;

[0105] The processor 301 is configured to execute a program stored in the memory 303, wherein the computer program is configured to obtain N reservation items when executed by the processor 301;

[0106] Input the N reservation items into a preset mapping table for query to determine a reservation item set;

[0107] Determining a first reservation time corresponding to each first reservation item according to a mapping relationship between first reservation items in the reservation item set;

[0108] Displays a list of reservation items.

[0109] When the computer program is executed by the processor 301, the computer program is further configured to determine the target interval duration corresponding to each first reservation item in the reservation item set when the mapping relationship between the first reservation items in the reservation item set is the third mapping relationship;

[0110] A first reservation time corresponding to each first reservation item is determined according to the target interval duration.

[0111] When the computer program is executed by the processor 301, the computer program is further configured to determine the earliest reservation time corresponding to the first target item in the reservation item set as the first reservation time corresponding to the first target item;

[0112] According to the target interval duration corresponding to each first reservation item and the selectable reservation time of each second target item, the first reservation time corresponding to each second target item in the reservation item set is determined.

[0113] When the processor 301 executes the computer program, the computer program is further configured to obtain a target distance between the positions corresponding to the at least two first scheduled items and the preset position when there are at least two first scheduled items in the scheduled item set with the same earliest scheduled time;

[0114] The first scheduled item with the smallest target distance is determined as the first target item.

[0115] When the processor 301 executes the computer program, the computer program is further configured to, when there are at least two second target items in the set of scheduled items,

[0116] According to the location corresponding to each second reservation item and the corresponding target interval duration, the first reservation time of each second target item is determined in sequence.

[0117] When the computer program is executed by the processor 301, it is further used to display the reservation time corresponding to each second reservation item;

[0118] receiving a user input of a reservation time corresponding to each second reservation item;

[0119] In response to the input, a second appointment time corresponding to each second appointment item is determined, and the second appointment time corresponding to each second appointment item is displayed in the appointment item list.

[0120] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0121] The communication interface is used for communication between the above terminal and other devices.

[0122] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0123] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0124] In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium stores instructions. When the instructions are executed on a computer, the computer executes the reservation method described in any of the above embodiments.

[0125] In another embodiment of the present invention, a computer program product including instructions is provided. When the computer program product is run on a computer, the computer executes the reservation method described in any one of the above embodiments.

[0126] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0127] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0128] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0129] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A reservation method, characterized in that: include: Get N reservation items, where N is a positive integer greater than 1; Input the N reservation items into a preset mapping table for query to determine a reservation item set; any two first reservation items in the reservation item set have a mapping relationship in the mapping table, wherein the mapping relationship includes at least one of the following: a first mapping relationship, a second mapping relationship, and a third mapping relationship, wherein the first mapping relationship is used to represent that the first reservation items in the reservation item set are merged into one first reservation item, the second mapping relationship is used to represent that the first reservation items in the reservation item set are sorted, and the third mapping relationship is used to represent that the first reservation time corresponding to each first reservation item in the reservation item set is determined according to the target interval duration corresponding to each first reservation item in the reservation item set; Determining a first reservation time corresponding to each first reservation item according to a mapping relationship between first reservation items in the reservation item set; A reservation item list is displayed, wherein the reservation item list includes a first reservation time corresponding to each of the first reservation items.

2. The method according to claim 1, characterized in that The determining, according to the mapping relationship between the first reservation items in the reservation item set, the first reservation time corresponding to each first reservation item comprises: In the case where the mapping relationship between the first reservation items in the reservation item set is the third mapping relationship, determining the target interval duration corresponding to each first reservation item in the reservation item set; the third mapping relationship is used to characterize the target interval duration between two adjacent first reservation items in the reservation item set; Determining a first appointment time corresponding to each first appointment item according to the target interval duration; The interval duration between two adjacent first scheduled items is greater than or equal to the target interval duration.

3. The method according to claim 2, characterized in that Determining the first reservation time corresponding to each first reservation item according to the target interval duration includes: The earliest reservation time corresponding to the first target item in the reservation item set is determined as the first reservation time corresponding to the first target item; the first target item is the first reservation item with the earliest reservation time in the reservation item set; According to the target interval duration corresponding to each first reservation item and the selectable reservation time of each second target item, the first reservation time corresponding to each second target item in the reservation item set is determined; the second target item is the first reservation item in the reservation item set except the first target item.

4. The method according to claim 3, characterized in that The step of determining the earliest reservation time corresponding to the first target item in the reservation item set as the first reservation time corresponding to the first target item comprises: When there are at least two first reservation items in the reservation item set with the same earliest reservation time, obtaining a target distance between the positions corresponding to the at least two first reservation items and the preset position; The first scheduled item with the smallest target distance is determined as the first target item.

5. The method according to claim 3, characterized in that: The step of determining the first appointment time corresponding to each second target item in the appointment item set according to the target interval duration corresponding to each first appointment item and the selectable appointment time of each second target item comprises: In the case that there are at least two second target items in the set of scheduled items, the first scheduled time of each second target item is determined in sequence according to the position corresponding to each first scheduled item and the corresponding target interval duration.

6. The method according to claim 1, characterized in that The N reservation items include a second reservation item. After obtaining the N reservation items, the method further includes: Display the appointment time corresponding to each second appointment item; receiving a user input of a reservation time corresponding to each second reservation item; In response to the input, a second appointment time corresponding to each second appointment item is determined, and the second appointment time corresponding to each second appointment item is displayed in the appointment item list.

7. A reservation device, characterized in that: include: The acquisition module is used to acquire N reservation items, where N is a positive integer greater than 1; A first determination module is used to input the N reservation items into a preset mapping table for query to determine a reservation item set; any two first reservation items in the reservation item set have a mapping relationship in the mapping table, wherein the mapping relationship includes at least one of the following: a first mapping relationship, a second mapping relationship, and a third mapping relationship, wherein the first mapping relationship is used to represent that the first reservation items in the reservation item set are merged into one first reservation item, the second mapping relationship is used to represent that the first reservation items in the reservation item set are sorted, and the third mapping relationship is used to represent that the first reservation time corresponding to each first reservation item in the reservation item set is determined according to the target interval duration corresponding to each first reservation item in the reservation item set; A second determining module, configured to determine a first reservation time corresponding to each first reservation item according to a mapping relationship between first reservation items in the reservation item set; The first display module is used to display a reservation item list, wherein the reservation item list includes a first reservation time corresponding to each of the first reservation items.

8. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor is used to implement the reservation method described in any one of claims 1 to 6 when executing the program stored in the memory.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the reservation method according to any one of claims 1 to 6 is implemented.