Service reservation method and device
By generating target appointment information in the service appointment system and initiating a new appointment request, the appointment failure caused by the service provider system failure is solved, and the user experience and operation efficiency are improved.
Patent Information
- Application Number
- CN202311403666.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-26
- Publication Date
- 2025-04-29
AI Technical Summary
In the prior art In the service reservation system, when the service provider system fails, the user is prone to receive information about the reservation failure, resulting in a bad user experience and adding user operation steps.
When the appointment request is detected that the appointment request has not been successfully received, the information carried by the appointment request is obtained, the appointment conditions are determined, the target appointment information is generated, and a new appointment request is initiated for the new appointment interface until it is successful.
It realizes that users can initiate appointment requests quickly and effectively, reduces user operation steps, optimizes user experience, and avoids appointment failures caused by service provider system failure.
Smart Images

Figure CN119903940A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical health technology, and in particular to a method and device for service reservation. Background Art
[0002] Usually, before enjoying the in-store service, users need to make an appointment in advance in the appointment system for the store and time they want to go to. For example, in the field of consumer healthcare, users need to first purchase a physical examination package, select the physical examination store and physical examination date in the appointment system, and then the appointment system sends the user's appointment request to the service provider system, and the service provider system returns the appointment result. When the service provider system fails, the appointment system will directly return the appointment failure information or return the appointment failure information after waiting for a period of time and still no response.
[0003] In the process of implementing the present invention, the inventors found that the prior art has at least the following problems:
[0004] Directly returning the reservation failure information or returning the reservation failure information after waiting for a period of time is likely to cause a bad user experience. The user needs to repeatedly initiate the reservation request, which increases the user's operation steps. Summary of the invention
[0005] In view of this, an embodiment of the present invention provides a method and apparatus for service reservation, which can help users quickly and effectively initiate reservation requests, reduce user operation steps, and optimize user experience.
[0006] To achieve the above object, according to a first aspect of an embodiment of the present invention, a service reservation method is provided, comprising:
[0007] In response to detecting that the reservation request is not successfully received by the reservation interface, obtaining the reservation information carried by the reservation request;
[0008] Determine reservation conditions according to the reservation information, and generate target reservation information that meets the reservation conditions;
[0009] A new reservation request is initiated to a new reservation interface corresponding to the target reservation information, wherein the new reservation request carries the target reservation information.
[0010] Optionally, the reservation information includes: store information and scheduling information; determining reservation conditions according to the reservation information, and generating target reservation information that meets the reservation conditions, including:
[0011] Determine a reservation location range according to the store information and a preset distance threshold, and use the reservation location range as a first reservation condition;
[0012] Find target store information that meets the first reservation condition;
[0013] Determine an appointment scheduling range according to the scheduling information and a preset time threshold, and use the appointment scheduling range as a second appointment condition;
[0014] Searching for target scheduling information that meets the second reservation condition in the scheduling information associated with the target store information;
[0015] The target appointment information is generated according to the target store information and the target scheduling information.
[0016] Optionally, when no target scheduling information meeting the second reservation condition is found in the scheduling information associated with the target store information, the method further includes:
[0017] Adding the distance threshold, and determining the third reservation condition according to the store information and the modified distance threshold;
[0018] Searching for new target store information that meets the third reservation condition;
[0019] Searching for target scheduling information that meets the second reservation condition in the scheduling information associated with the new target store information;
[0020] The target appointment information is generated according to the new target store information and the target scheduling information.
[0021] Optionally, before searching the schedule information associated with the target store information for target schedule information that meets the second reservation condition, the method further includes:
[0022] It is determined that the target store information and the store information belong to different service providers.
[0023] Optionally, there are multiple target reservation information, and before initiating a new reservation request to a new reservation interface corresponding to the target reservation information, the method further includes:
[0024] Displaying the target reservation information to the initiator of the reservation request;
[0025] In response to receiving the screening instruction, target reservation information for initiating a new reservation request is screened out from the plurality of target reservation information.
[0026] Optionally, before obtaining the reservation information carried in the reservation request, the method further includes:
[0027] The product information corresponding to the reservation request is obtained, and it is determined that the product information meets the reservation information recommendation condition.
[0028] Optionally, before obtaining the reservation information carried in the reservation request, the method further includes:
[0029] Sending an authorization request to the initiator of the reservation request;
[0030] In response to receiving the authorization instruction, it is determined that the initiator of the reservation request has been authorized.
[0031] According to a second aspect of an embodiment of the present invention, there is provided a device for service reservation, comprising:
[0032] An acquisition module, configured to acquire the reservation information carried in the reservation request in response to detecting that the reservation request is not successfully received by the reservation interface;
[0033] A generating module, used for determining a reservation condition according to the reservation information, and generating target reservation information that meets the reservation condition;
[0034] The reservation module is used to initiate a new reservation request to a new reservation interface corresponding to the target reservation information, wherein the new reservation request carries the target reservation information.
[0035] Optionally, the reservation information includes: store information and scheduling information; determining reservation conditions according to the reservation information, and generating target reservation information that meets the reservation conditions, including:
[0036] Determine a reservation location range according to the store information and a preset distance threshold, and use the reservation location range as a first reservation condition;
[0037] Find target store information that meets the first reservation condition;
[0038] Determine an appointment scheduling range according to the scheduling information and a preset time threshold, and use the appointment scheduling range as a second appointment condition;
[0039] Searching for target scheduling information that meets the second reservation condition in the scheduling information associated with the target store information;
[0040] The target appointment information is generated according to the target store information and the target scheduling information.
[0041] Optionally, the device further comprises:
[0042] An adding module, used to add the distance threshold, and determine the third reservation condition according to the store information and the modified distance threshold;
[0043] A first search module, used to search for new target store information that meets the third reservation condition;
[0044] A second search module, used to search for target scheduling information that meets the second reservation condition in the scheduling information associated with the new target store information;
[0045] An information generation module is used to generate the target appointment information according to the new target store information and the target scheduling information.
[0046] Optionally, the device further comprises:
[0047] The first determination module is used to determine that the target store information and the store information belong to different service providers.
[0048] Optionally, there are multiple target reservation information, and the device further includes:
[0049] A display module, used for displaying the target reservation information to the initiator of the reservation request;
[0050] The screening module is used for screening target reservation information for initiating a new reservation request from a plurality of target reservation information in response to receiving a screening instruction.
[0051] Optionally, the device further comprises:
[0052] The second determination module is used to obtain product information corresponding to the reservation request and determine whether the product information meets the reservation information recommendation condition.
[0053] Optionally, the device further comprises:
[0054] An application authorization module, used to send an authorization application to the initiator of the reservation request;
[0055] The authorization module is used to determine whether the initiator of the reservation request has been authorized in response to receiving the authorization instruction.
[0056] According to a third aspect of an embodiment of the present invention, there is provided an electronic device, including:
[0057] one or more processors;
[0058] a storage device for storing one or more programs,
[0059] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any one of the above embodiments.
[0060] According to a fourth aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method described in any one of the above embodiments is implemented.
[0061] An embodiment of the above invention has the following advantages or beneficial effects: generating target reservation information when a reservation request is not successfully initiated, and initiating a new reservation request based on the target reservation information, which can help users to quickly and effectively initiate reservation requests, reduce user operation steps, and optimize user experience; determining reservation conditions based on store information and scheduling information, and determining target store information and target scheduling information based on the reservation conditions, which can generate target reservation information that meets user needs and initiate a new reservation request that meets user needs; adjusting the distance threshold when the target scheduling information is not found, which can more flexibly find the target scheduling information; allowing the user to select when there are multiple target reservation information, and initiating corresponding new reservation information based on the user's selection, which can more flexibly initiate a new reservation request; applying for authorization from the user, and initiating a new reservation request after obtaining the user's authorization, which can more safely initiate a new reservation request; ensuring that the target store information and the store information of the reservation request belong to different service providers, which can avoid the failure of initiating a new reservation request, so that the user receives the reservation success information as soon as possible, and improves the user experience.
[0062] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0064] Figure 1 is a schematic diagram of the main process of the service reservation method according to an embodiment of the present invention;
[0065] Figure 2 is a schematic diagram of a user usage process according to a reference embodiment of the present invention;
[0066] Figure 3 is a schematic diagram of a system interaction process according to a reference embodiment of the present invention;
[0067] Figure 4 is a schematic diagram of the main process of generating target reservation information according to a reference embodiment of the present invention;
[0068] Figure 5 is a schematic diagram of a store screening process according to a reference embodiment of the present invention;
[0069] Figure 6 is a schematic diagram of the main process of a service reservation method according to a reference embodiment of the present invention;
[0070] Figure 7 is a schematic diagram of the main process of a service reservation method according to another reference embodiment of the present invention;
[0071] Figure 8 is a schematic diagram of main modules of a device for service reservation according to an embodiment of the present invention;
[0072] Fig. 9 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;
[0073] Fig.10 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0074] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0075] It should be noted that in the technical solution of the present invention, the collection, use, storage, sharing and transfer of user personal information involved are in compliance with the provisions of relevant laws and regulations, and it is necessary to inform the user and obtain the user's consent or authorization. When applicable, the user's personal information is de-identified and / or anonymized and / or encrypted.
[0076] Usually, before enjoying the in-store service, users need to make an appointment in advance in the appointment system for the store and time they want to go to. For example, in the field of consumer healthcare, users need to first purchase a physical examination package, select the physical examination store and physical examination date in the appointment system, and then the appointment system sends the user's appointment request to the service provider system, and the service provider system returns the appointment result. When the service provider system fails, the appointment system will directly return the appointment failure information or return the appointment failure information after waiting for a period of time and still no response.
[0077] Directly returning the reservation failure information or returning the reservation failure information after waiting for a period of time can easily cause a bad user experience. The user needs to repeatedly initiate the reservation request, which increases the user's operation steps. In addition, during the waiting period, the user may mistakenly believe that the reservation has been successful, so the user directly consults the service provider for related service matters. However, due to the failure of the service provider's system, there is a data inconsistency between the service provider and the reservation system. The service provider cannot answer the user's questions. After the user finds that the reservation was not successful, there is a risk of customer complaints.
[0078] In view of this, according to a first aspect of an embodiment of the present invention, a service reservation method is provided.
[0079] Figure 1 FIG. 1 is a schematic diagram of the main process of the service reservation method according to an embodiment of the present invention. Figure 1 As shown, the service reservation method according to the embodiment of the present invention mainly includes the following steps S101 to S103.
[0080] Step S101: in response to detecting that a reservation request is not successfully received by a reservation interface, obtaining reservation information carried in the reservation request.
[0081] The execution subject of the embodiment of the present invention receives the reservation information sent by the user, generates a reservation request carrying the reservation information, and sends the reservation request to the reservation interface provided by the service provider. The execution subject of the embodiment of the present invention monitors the reception of the reservation request. For example, when the reservation interface returns information such as "the service provider system is faulty and the reservation request is not received temporarily" or "the reservation request fails to be sent", it is determined that the reservation request has not been successfully received by the reservation interface; for another example, if the reservation result returned by the reservation interface is not received within a preset time range, it is determined that the reservation interface is faulty or the service provider system providing the reservation interface fails to send, and the reservation request has not been successfully received by the reservation interface.
[0082] It should be noted that the reservation information is associated with the service provider. Specifically, the execution subject of the embodiment of the present invention displays the service information provided by the service provider to the user. The user selects the service information that meets his or her needs from the displayed service information, adds the user information and sends it to the execution subject of the embodiment of the present invention. In addition, the reservation request is generated based on the reservation information, and the reservation interface is provided by the service provider, so the reservation request and the reservation interface are also associated. For example, the reservation request generated based on the reservation information provided by service provider A should be sent to the reservation interface provided by service provider A.
[0083] If it is determined that the reservation request is not successfully received by the reservation interface, the reservation request is parsed to obtain the reservation information carried by the reservation request. The reservation information includes: service information provided by the service provider and user information filled in by the user, wherein the service information includes: service location, service time, service content, precautions, etc., and the user information includes: user name, contact information, remarks, etc.
[0084] Exemplarily, the execution subject of the embodiment of the present invention sends a reservation request to the reservation interface, and the preset waiting time is 5 seconds. If no reservation result is received from the reservation interface after 5 seconds, it is determined that the service provider system fails and the reservation request is not successfully received by the reservation interface; the reservation request is parsed to obtain reservation information including "{'serveLoc':'cityB1blockB2#3';'serveTime':'y1-m1-d1';'serveContent':'tryCar';'userId':'user004'}", wherein "'serveLoc':'cityB1roadB2#3'" indicates that the service location is Courtyard No. 3, Road B2, City B1, "'serveTime':'y1-m1-d1'" indicates that the service time is y1 year m1 month d1 day, "'serveContent':'tryCar'" indicates that the service content is a test drive, and "'userId':'user002'" indicates that the user code is "user002".
[0085] When the reservation request is not successfully received by the reservation interface, obtaining the reservation information can provide a data basis for automatically initiating a new reservation request, which is conducive to promptly resolving the problem of failed reservation requests, avoiding users from directly receiving reservation failure information, and improving user experience.
[0086] According to a reference embodiment of the present invention, before obtaining the reservation information carried by the reservation request, the method further includes: obtaining product information corresponding to the reservation request, specifically, the user purchased a service provided by the service provider, and the service, as a product of the service provider, has an associated relationship with the reservation request. For example, the user information is determined according to the reservation request, the service purchased by the user is determined according to the user information, and the product information corresponding to the service is obtained. For another example, the service code or service name is determined according to the reservation request, the service purchased by the user is determined according to the service code or service name, and the product information corresponding to the service is obtained.
[0087] Query product information and determine if the product information meets the appointment information recommendation conditions. Appointment information recommendation conditions are conditions for recommending new appointment information to users and initiating appointment requests on behalf of users, that is, only when the appointment information recommendation conditions are met can a new service appointment request be automatically initiated on behalf of the user. For example, if a recommendation logo is found in the product information, the product information is determined to meet the appointment information recommendation conditions; for another example, the product information specifies the store information applicable to the service, and when the number of store information is greater than 1, the product information is determined to meet the appointment information recommendation conditions; for another example, obtain the product code from the product information, query the pre-set product code set, and determine whether the obtained product code exists. If the product code set includes the obtained product code, the product information is determined to meet the appointment information recommendation conditions.
[0088] Exemplarily, the product information of the appointment request is obtained, and "{'productId':'pro001'; 'price':'1000'; 'recommend':'1'}" is obtained, wherein "'productId':'pro001'" indicates that the product code is "pro001", "'price':'1000'" indicates that the product price is 1,000 yuan, and "'recommend':'1'" indicates that the product information has a recommendation mark; because the product has a recommendation mark, it is determined that the product information meets the appointment information recommendation conditions.
[0089] When the product information meets the recommended conditions for appointment information, a new appointment request will be automatically initiated on behalf of the user, which can ensure that the service the user has booked is suitable for service appointment, ensure the validity of the new appointment request, and meet the user's service appointment needs within the scope of application of the service.
[0090] According to another reference embodiment of the present invention, before obtaining the reservation information carried by the reservation request, the method further includes: sending an authorization application to the initiator of the reservation request, prompting the user to grant the execution subject of the embodiment of the present invention the right to automatically initiate the reservation request on behalf of the user. Exemplarily, after obtaining the reservation information carried by the reservation request, the authorization page of the service reservation is displayed to the user, and the rights and user instructions granted by the user to the execution subject of the embodiment of the present invention are stated on the authorization page, and a confirmation button and a cancel button are set on the authorization page; after the user clicks the confirmation button, an authorization instruction is generated, and after the user clicks the cancel button, a non-authorization instruction is generated.
[0091] In response to receiving the authorization instruction, it is determined that the initiator of the reservation request has been authorized, that is, the execution subject of the embodiment of the present invention has the right to automatically initiate the reservation request on behalf of the user. Specifically, the authorization instruction is parsed, the validity period of the authorization instruction is obtained, and the authorization instruction is stored within the validity period; before each execution of the service reservation, the authorization instruction of the initiator of the reservation request is first searched, and if the authorization instruction is found, the subsequent operations are continued, and if the authorization instruction is not found, an authorization application is sent to the initiator of the reservation request, prompting the initiator of the reservation request to grant the execution subject of the embodiment of the present invention the right to make the service reservation.
[0092] Exemplarily, before obtaining the reservation information carried in the reservation request, the authorization instruction of the initiator of the reservation request is queried in the database to determine whether the current time has exceeded the validity period of the authorization instruction. If the current time has not exceeded the validity period of the authorization instruction, it is determined that the initiator of the reservation request has been authorized and the subsequent steps can continue.
[0093] Apply for authorization from the initiator of the reservation request, and then obtain the reservation information, generate the target reservation information, and initiate a new reservation request after obtaining the authorization instruction. This can avoid the leakage of the user's reservation information, protect the user's right to know, and initiate a new reservation request more safely.
[0094] Step S102: determining reservation conditions according to the reservation information, and generating target reservation information that meets the reservation conditions.
[0095] The reservation information includes the service information provided by the service provider and the user information filled in by the user, wherein, due to a failure of the reservation interface or a failure of the service provider's system, the service information in the reservation information should be modified, thereby calling other reservation interfaces provided by the same service provider or reservation interfaces provided by other service providers, and the initiator of the reservation request has not changed, so the user information in the reservation information should be retained. The reservation conditions are determined according to the reservation information, specifically, the reservation conditions are determined according to the service information in the reservation information. For example, the service information includes: service location, service time, the district or city where the service location is located is used as the location reservation condition, the date corresponding to the service time is used as the time reservation condition, and the above-mentioned location reservation condition and time reservation condition are used as the reservation condition; for another example, the service information includes modifiable service information and unmodifiable service information, wherein the service location is modifiable service information, and the service time is unmodifiable service information, then the city or district and county where the service location is located is used as the location reservation condition, and the service time is used as the time reservation condition, that is, the service time in the target reservation information is the same as the service time in the reservation information.
[0096] After determining the reservation conditions, search for new service information that meets the reservation conditions in the service information provided by the service provider. It should be noted that there are multiple service providers, and each service provider provides multiple service information. In the case of multiple new service information, select the new service information that best meets the reservation conditions from the multiple new service information. For example, among the multiple new service information that meet the location reservation conditions, select the new service information that is closest to the service location of the service information; among the multiple new service information that meet the time reservation conditions, select the new service information that is closest to the service time of the service information. Integrate and assemble the new service information that meets the reservation conditions and the user information to generate the target reservation information.
[0097] Exemplarily, the service information includes: the service location is: Courtyard 5, D1, C1 street, city, and the service time is: m2 / d2 / y2; the service provider provides other service information including: service information E1: the service location is: Courtyard 7, D1, C1 street, city, and the service time is: m2 / d2 / y2; service information E2: the service location is: Courtyard 3, D2, C1 street, city, and the service time is: m2 / d3 / y2; since the service location is changeable information and the service time is non-changeable information; therefore, it is determined that the service information E1 meets the reservation conditions, and the target reservation information is generated based on the service information E1 and the user information.
[0098] Determining reservation conditions according to reservation information and generating target reservation information that meets the reservation conditions can make the target reservation information meet the reservation needs of users, flexibly and accurately generate target reservation information, and facilitate timely initiation of new reservation requests.
[0099] According to a reference embodiment of the present invention, the reservation information includes: store information and scheduling information, wherein the store information indicates the store information that provides services to the initiator of the reservation request, and the scheduling information indicates the service time selected by the initiator of the reservation request in the service time associated with the store information. When determining the reservation conditions according to the reservation information and generating target reservation information that meets the reservation conditions, first determine the reservation location range according to the store information and a preset distance threshold. Specifically, determine the reservation location range with the location corresponding to the store information as the center and the preset distance threshold as the radius, and use the reservation location range as the first reservation condition. Then search for the target store information that meets the first reservation condition, that is, search for the target store information within the reservation location range.
[0100] Then, the appointment scheduling range is determined according to the scheduling information and the preset time threshold. Specifically, the scheduling information is added to the preset time threshold to obtain the maximum value of the appointment scheduling range, and the preset time threshold is subtracted from the scheduling information to obtain the minimum value of the appointment scheduling range, thereby obtaining the appointment scheduling range, and the appointment scheduling range is used as the second appointment condition. The target scheduling information that meets the second appointment condition is searched in the scheduling information associated with the target store information, that is, the target scheduling information within the appointment scheduling range is searched. After determining the target store information and the target scheduling information, the target appointment information is generated according to the target store information, the target scheduling information and the user information.
[0101] Exemplarily, the reservation information includes store information and scheduling information. The preset distance threshold is 2 kilometers. The target store information that is no more than 2 kilometers away from the store information is obtained, and the target store information F1, target store information F2 and target store information F3 are obtained; the preset time threshold is 2 hours, and the scheduling information associated with each target store information is obtained in turn, and it is determined whether the time difference between the associated scheduling information and the scheduling information included in the reservation information is greater than or equal to 2 hours, and the target scheduling information whose time difference with the scheduling information included in the reservation information is less than 2 hours is obtained; when there are multiple target scheduling information, the target scheduling information closest to the scheduling information included in the reservation information is selected. When multiple target scheduling information are the same, the target store information closest to the store information of the reservation information is determined, and then the target scheduling information associated with the target store information is determined.
[0102] The first reservation condition is determined based on the store information, and then the target store information is determined. The second reservation condition is determined based on the scheduling information, and then the target scheduling information is determined. This enables the target reservation information to meet the user's reservation needs, flexibly and accurately generates the target reservation information, and is conducive to timely initiating new reservation requests.
[0103] According to another reference embodiment of the present invention, when the target scheduling information that meets the second reservation condition is not found in the scheduling information associated with the target store information, the method also includes: adding a pre-set distance threshold, and determining the third reservation condition based on the store information and the modified distance threshold, that is, determining a new reservation location range with the position corresponding to the store information as the center and the modified distance threshold as the radius, the new reservation location range is larger than the previous reservation location range, the new reservation location range includes more store information, and the new reservation location range is used as the third reservation condition.
[0104] Search for new target store information that meets the third reservation condition, that is, search for target store information within the new reservation location range. Search for target scheduling information that meets the second reservation condition in the scheduling information associated with the new target store information, and the second reservation condition for searching the target scheduling information is not changed here. Generate target reservation information based on the new target store information, target scheduling information and user information. It should be noted that there is no limit on the number of times the distance threshold is increased, that is, before the target scheduling information that meets the second reservation condition is found, continue to increase the distance threshold until the target scheduling information that meets the second reservation condition is found.
[0105] For example, the preset distance threshold is 3 kilometers, that is, the target store information within 3 kilometers of the store information is searched, and the target store information G1, the target store information G2 and the target store information G3 are obtained; the preset time threshold is 0, that is, the target scheduling information is the same as the scheduling information included in the reservation information; the scheduling information associated with each target store information is obtained, and it is determined whether the scheduling information associated with the target store information is the same as the scheduling information included in the reservation information. Since the scheduling information associated with each target store information is different from the scheduling information included in the reservation information or there is no free inventory (that is, the same If the appointment information is full), the distance threshold is increased by 1 km to 4 km, and then the target store information between 3 km and 4 km from the store information is obtained again, because the target store information within 3 km has been judged and there is no need to judge again; then continue to associate the appointment information to determine whether the associated appointment information is the same as the appointment information; repeat the steps of increasing the distance threshold, obtaining the target store information, and judging the appointment information associated with the target store information until the target appointment information is determined.
[0106] When the target scheduling information is not found, the distance threshold is modified and new reservation conditions are generated. The reservation conditions can be flexibly adjusted, the efficiency of obtaining the target scheduling information is improved, and the target reservation information is generated in a timely and accurate manner.
[0107] According to another reference embodiment of the present invention, before searching for the target scheduling information that meets the second reservation condition in the scheduling information associated with the target store information, the method also includes: determining that the target store information and the store information belong to different service providers. The reservation request is not successfully received by the reservation interface, indicating that the reservation interface fails or the system of the service provider providing the reservation interface fails. In the event that the system of the service provider providing the reservation interface fails, sending reservation requests to all reservation interfaces provided by the system of the service provider will fail. Therefore, a new reservation request should be sent to the reservation interfaces provided by the systems of other service providers. Each store information belongs to a service provider, and a service provider has one or more store information. Before searching for the scheduling information associated with the target store information, determine the service provider corresponding to the target store information, and determine whether the service provider corresponding to the target store information is different from the service provider corresponding to the store information. When the service provider corresponding to the target store information is different from the service provider corresponding to the store information, it is determined that the target store information and the store information belong to different service providers, and the subsequent process continues; when the service provider corresponding to the target store information is the same as the service provider corresponding to the store information, it is determined that the target store information and the store information belong to the same service provider, then the target store information is ignored, and it is continued to be determined whether the service providers corresponding to other target store information are the same as the service providers corresponding to the store information.
[0108] It should be noted that when all target store information and store information belong to the same service provider, new reservation requests carrying these target store information will still be sent to the malfunctioning service provider system. Therefore, the pre-set distance threshold is increased, the reservation location range is expanded, and then the target store information with different service providers and store information is searched within the expanded reservation location range.
[0109] Exemplarily, the service provider to which store information J1 belongs is service provider H1, and the target store information found includes: target store information J2 (belonging to service provider H1), target store information J3 (belonging to service provider H1) and target store information J4 (belonging to service provider H2). Since target store information J4 and store information J1 belong to different service providers, when executing subsequent steps, only the target scheduling information that meets the second reservation condition is searched in the scheduling information associated with target store information J4, and target store information J2 and target store information J3 are ignored.
[0110] By making the target store information and the store information of the appointment request belong to different service providers, it can ensure that the new appointment request is sent to the appointment interface provided by other service providers, avoid the failure of the new appointment request to be initiated again, enable the user to receive the appointment success information as soon as possible, and improve the user experience.
[0111] Step S103: Initiate a new reservation request to the new reservation interface corresponding to the target reservation information, wherein the new reservation request carries the target reservation information.
[0112] After obtaining the target appointment information, determine the new appointment interface corresponding to the target appointment information. For example, search for a matching new appointment interface in the pre-set appointment interface set based on the target store information and target scheduling information included in the target appointment information. It should be noted that the new appointment interface is a different interface from the appointment interface that previously received the appointment information. Specifically, in the case where only the appointment interface fails, the new appointment interface may be another appointment interface provided by the service provider that provides the appointment interface, or may be an appointment interface provided by other service providers. In the case where the system of the service provider that provides the appointment interface fails, the new appointment interface is an appointment interface provided by other service providers. Send a new appointment request to the new appointment interface, and use the target appointment information as a parameter of the new appointment request.
[0113] Exemplarily, the pre-set reservation interface set includes "{'interface.com / 1':'store information 1'; 'interface.com / 2':'store information 2'; 'interface.com / 3':'store information 3'}", where "'interface.com / 1':'store information 1'" indicates that the store information associated with the reservation interface "interface.com / 1" is "store information 1". When the target store information is "store information 1", the new reservation interface is determined to be "interface.com / 1", and other associations in the reservation interface set are similar.
[0114] Determine the new reservation interface according to the target reservation information, and send the new reservation request including the target reservation information to the new reservation interface. This can quickly and accurately initiate the new reservation request, so that the new reservation request is successfully received by the new reservation interface, thereby optimizing the user experience.
[0115] According to a reference embodiment of the present invention, there are multiple target appointment information, for example, there are multiple groups of target store information and target scheduling information that meet the appointment conditions, and the corresponding target appointment information is generated according to each group of target store information and target scheduling information. Before initiating a new appointment request for the new appointment interface corresponding to the target appointment information, the method also includes: displaying the target appointment information to the initiator of the appointment request, rendering multiple target appointment information that meet the appointment conditions to the front-end page for the initiator of the appointment request to select, and prompting the initiator of the appointment request to select one or more target appointment information. It should be noted that the step of applying for authorization to the initiator of the appointment request can also be performed here, that is, after obtaining the target appointment information, applying for authorization to the initiator of the appointment request and displaying multiple target appointment information to the initiator of the appointment request for the initiator of the appointment request to select, when the execution subject of the embodiment of the present invention receives the selected target appointment information returned by the initiator of the appointment request, it is determined that the initiator of the appointment request has been authorized, that is, the execution subject of the embodiment of the present invention is allowed to replace the initiator of the appointment request to make a service appointment.
[0116] In response to receiving the screening instruction, the target reservation information for initiating the new reservation request is screened out from the multiple target reservation information according to the screening instruction. In the case where the initiator of the reservation request selects a target reservation information, a new reservation request is initiated for the new reservation interface corresponding to the target reservation information; in the case where the initiator of the reservation request selects multiple target reservation information, a new reservation request is initiated for the new reservation interface corresponding to each target reservation information in turn according to the order of the multiple target reservation information until a reservation result returned by the new reservation interface corresponding to the target reservation information is received.
[0117] Exemplarily, there are multiple target reservation requests, including: target reservation request K1, target reservation request K2, and target reservation request K3; the above three target reservation requests and the information for applying for authorization from the initiator of the reservation request are rendered to the front-end page, and the initiator of the reservation request selects the target reservation request; when the target reservation information K1 selected by the initiator of the reservation request is received, it is determined that the initiator of the reservation request has authorized the execution subject of the embodiment of the present invention to make a service reservation; a new reservation request is generated according to the target reservation request K1, and the new reservation request is sent to the new reservation interface corresponding to the target reservation request K1.
[0118] When there are multiple target appointment information, the user is allowed to make a selection, and the corresponding new appointment information is initiated according to the target appointment information selected by the user. This can flexibly, accurately and safely initiate a new appointment request, thereby optimizing the user experience.
[0119] Figure 2 FIG. 1 is a schematic diagram of a user usage process according to a reference embodiment of the present invention. Figure 2As shown, the user first selects goods on the e-commerce platform, adds the goods to the shopping cart, and places an order to purchase the goods in the shopping cart; the goods purchased by the user are a kind of in-store service, such as physical examination service, test drive service, medical treatment service, etc.; the user continues to select the store information and scheduling information that provides in-store services, and then submits the appointment information including the store information and scheduling information, sends the appointment request, and ends the appointment process if the appointment request is successfully sent; if the appointment request fails to be sent, the execution subject of the embodiment of the present invention executes the service appointment step, specifically, obtains the target store information and target scheduling information according to the appointment information, and then obtains the user authorization. After obtaining the user authorization, submits the new appointment information including the target store information and the target scheduling information, sends the new appointment request, and ends the appointment process if the new appointment request is successfully sent. The steps included in the dotted box 201 are the main steps for the execution subject of the embodiment of the present invention to execute the service appointment.
[0120] Figure 3 FIG. 1 is a schematic diagram of a system interaction process according to a reference embodiment of the present invention. Figure 3 As shown, the system interaction process is completed by the collaboration of multiple systems such as the user end, the consumption reservation system, the basic data system and the service provider system, among which the consumption reservation system is the execution subject of the embodiment of the present invention; first, the user end receives the user's instruction, executes operations such as selecting goods, adding carts to place orders, selecting stores, selecting schedules, and submitting reservation information, among which, when selecting stores, the service provider system heterogeneously structures the store information, and sends the heterogeneous store information to the basic data system, and the consumption reservation system queries the store information from the basic data system, and sends the queried store information to the user end for the user to select, and the process of obtaining the schedule information is similar; the consumption reservation system receives the reservation information sent by the user end, generates a reservation request carrying the reservation information, and sends the reservation request to the corresponding service provider system The consumer reservation system uses a reservation interface provided by the system; if the consumer reservation system receives the reservation result within a period of time, it determines that the reservation is successful, and sends the reservation success information to the user end; if the consumer reservation system does not receive the reservation result within a period of time, it determines that the reservation request has not been successfully received, queries the target store information in the store information, queries the target scheduling information in the scheduling information, generates the target reservation information according to the target store information and the target scheduling information, and then sends the authorization application and the target reservation information to the user end. After the consumer reservation system receives the target reservation information, it determines that the authorization application has been passed, and then generates a new reservation request carrying the target reservation information, and sends the new reservation request to the new reservation interface provided by the corresponding service provider system; after the new reservation request is received by the new reservation interface, the reservation success information is sent to the user end.
[0121] Figure 4FIG. 1 is a schematic diagram of the main process of generating target reservation information according to a reference embodiment of the present invention. Figure 4 As shown, the store information and scheduling information in the reservation information are obtained, the reservation location range is determined according to the store information, and the target store information that meets the reservation location range is searched; if the target store information is not found, the reservation location range is re-determined, that is, the reservation location range is expanded; if the target store information is found, the reservation scheduling range is determined according to the scheduling information, and the target scheduling information that meets the reservation scheduling range is searched; if the target scheduling information is not found, the reservation location range is re-determined, that is, the reservation location range is expanded, and then the target store information and target scheduling information are searched again; if the target scheduling information is found, the target reservation information is generated according to the target store information and the target scheduling information.
[0122] Figure 5 FIG. 1 is a schematic diagram of a store screening process according to a reference embodiment of the present invention. Figure 5 As shown, the reservation information includes store information scheduling information. The reservation location range surrounded by the dotted line is determined based on the store information and a preset distance threshold. The reservation location range includes multiple target store information such as store information 1, store information 2 and store information 3. Each target store information corresponds to a supplier information and multiple scheduling information. For example, the scheduling information associated with store information 1 includes multiple scheduling information such as scheduling information 1-1 and scheduling information 1-2. The target store information whose supplier information is different from the supplier information of the reservation information is selected, and the target scheduling information is determined in the scheduling information included in the target store information with different supplier information.
[0123] Figure 6 FIG. 1 is a schematic diagram of the main process of a service reservation method according to a reference embodiment of the present invention. Figure 6 As shown, the service reservation method may include:
[0124] Step S601, in response to detecting that the reservation request is not successfully received by the reservation interface, obtaining product information corresponding to the reservation request;
[0125] Step S602, determine whether the product information meets the reservation information recommendation conditions, if yes, jump to step S603, otherwise, jump to step S610;
[0126] Step S603, obtaining the reservation information carried in the reservation request;
[0127] Step S604, determining a reservation location range according to the store information and a preset distance threshold, and using the reservation location range as a first reservation condition;
[0128] Step S605, searching for target store information that meets the first reservation condition;
[0129] Step S606, determining an appointment scheduling range according to the scheduling information and a preset time threshold, and using the appointment scheduling range as a second appointment condition;
[0130] Step S607, searching the schedule information associated with the target store information for target schedule information that meets the second reservation condition;
[0131] Step S608, generating target appointment information according to the target store information and the target schedule information;
[0132] Step S609, initiating a new reservation request to the new reservation interface corresponding to the target reservation information;
[0133] Step S610, returning the reservation failure information, prompting the initiator of the reservation request to initiate the reservation again.
[0134] The specific implementation content of the service reservation method of the above-mentioned reference embodiment of the present invention has been described in detail in the service reservation method described above, so the repeated content will not be described again here.
[0135] Figure 7 FIG. 2 is a schematic diagram of the main process of a service reservation method according to another reference embodiment of the present invention. Figure 7 As shown, the service reservation method may include:
[0136] Step S701, in response to detecting that the reservation request is not successfully received by the reservation interface, obtaining product information corresponding to the reservation request;
[0137] Step S702, determine whether the product information meets the reservation information recommendation conditions, if yes, jump to step S703, otherwise, jump to step S713;
[0138] Step S703, determine whether an authorization instruction is received, if so, jump to step S704, otherwise, jump to step S714;
[0139] Step S704, obtaining the reservation information carried in the reservation request;
[0140] Step S705, determining a reservation location range according to the store information and a preset distance threshold, and using the reservation location range as a first reservation condition;
[0141] Step S706, searching for target store information that meets the first reservation condition;
[0142] Step S707, determining an appointment scheduling range according to the scheduling information and a preset time threshold, and using the appointment scheduling range as a second appointment condition;
[0143] Step S708, searching the schedule information associated with the target store information for target schedule information that meets the second reservation condition;
[0144] Step S709, generating target appointment information according to the target store information and the target schedule information;
[0145] Step S710, displaying the target reservation information to the initiator of the reservation request;
[0146] Step S711, in response to receiving the screening instruction, screening out target reservation information for initiating a new reservation request from a plurality of target reservation information;
[0147] Step S712, initiating a new reservation request to the new reservation interface corresponding to the target reservation information;
[0148] Step S713, returning the reservation failure information, prompting the initiator of the reservation request to initiate the reservation again;
[0149] Step S714: Apply for authorization from the initiator of the reservation request.
[0150] The specific implementation content of the service reservation method of another reference embodiment of the present invention has been described in detail in the service reservation method described above, so the repeated content will not be described here.
[0151] According to a second aspect of an embodiment of the present invention, a device for service reservation is provided.
[0152] Figure 8 is a schematic diagram of the main modules of the service reservation device according to an embodiment of the present invention, such as Figure 8 As shown, the service reservation device 800 mainly includes:
[0153] An acquisition module 801 is used for acquiring the reservation information carried in the reservation request in response to detecting that the reservation request is not successfully received by the reservation interface;
[0154] A generating module 802, configured to determine a reservation condition according to the reservation information, and generate target reservation information that meets the reservation condition;
[0155] The reservation module 803 is used to initiate a new reservation request to the new reservation interface corresponding to the target reservation information, and the new reservation request carries the target reservation information.
[0156] According to a reference embodiment of the present invention, the reservation information includes: store information and scheduling information; determining reservation conditions according to the reservation information, and generating target reservation information that meets the reservation conditions, including:
[0157] Determine a reservation location range according to the store information and a preset distance threshold, and use the reservation location range as a first reservation condition;
[0158] Find target store information that meets the first reservation condition;
[0159] Determine an appointment scheduling range according to the scheduling information and a preset time threshold, and use the appointment scheduling range as a second appointment condition;
[0160] Searching for target scheduling information that meets the second reservation condition in the scheduling information associated with the target store information;
[0161] The target appointment information is generated according to the target store information and the target scheduling information.
[0162] According to another reference embodiment of the present invention, the service reservation device 800 further includes:
[0163] An adding module, used to add the distance threshold, and determine the third reservation condition according to the store information and the modified distance threshold;
[0164] A first search module, used to search for new target store information that meets the third reservation condition;
[0165] A second search module, used to search for target scheduling information that meets the second reservation condition in the scheduling information associated with the new target store information;
[0166] An information generation module is used to generate the target appointment information according to the new target store information and the target scheduling information.
[0167] According to another reference embodiment of the present invention, the service reservation device 800 further includes:
[0168] The first determination module is used to determine that the target store information and the store information belong to different service providers.
[0169] According to another reference embodiment of the present invention, the target reservation information has multiple items, and the service reservation device 800 further includes:
[0170] A display module, used for displaying the target reservation information to the initiator of the reservation request;
[0171] The screening module is used for screening target reservation information for initiating a new reservation request from a plurality of target reservation information in response to receiving a screening instruction.
[0172] According to another reference embodiment of the present invention, the service reservation device 800 further includes:
[0173] The second determination module is used to obtain product information corresponding to the reservation request and determine whether the product information meets the reservation information recommendation condition.
[0174] According to a reference embodiment of the present invention, the service reservation device 800 further includes:
[0175] An application authorization module, used to send an authorization application to the initiator of the reservation request;
[0176] The authorization module is used to determine whether the initiator of the reservation request has been authorized in response to receiving the authorization instruction.
[0177] It should be noted that the specific implementation content of the service reservation device in the embodiment of the present invention has been described in detail in the service reservation method described above, so the repeated content will not be described again here.
[0178] According to the technical solution of the embodiment of the present invention, when the reservation request is not successfully initiated, the target reservation information is generated, and a new reservation request is initiated according to the target reservation information, which can help the user to quickly and effectively initiate the reservation request, reduce the user operation steps, and optimize the user experience; the reservation conditions are determined according to the store information and the scheduling information, and the target store information and the target scheduling information are determined according to the reservation conditions, so that the target reservation information that meets the user's needs can be generated, and a new reservation request that meets the user's needs can be initiated; when the target scheduling information is not found, the distance threshold is adjusted, so that the target scheduling information can be found more flexibly; when there are multiple target reservation information, the user is allowed to make a selection, and the corresponding new reservation information is initiated according to the user's selection, so that the new reservation request can be initiated more flexibly; applying for authorization from the user, and then initiating a new reservation request after obtaining the user's authorization, can more safely initiate the new reservation request; ensuring that the target store information and the store information of the reservation request belong to different service providers can avoid the failure of initiating the new reservation request, so that the user receives the reservation success information as soon as possible, and improves the user experience.
[0179] According to a third aspect of an embodiment of the present invention, there is provided an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method provided by the first aspect of the embodiment of the present invention.
[0180] According to a fourth aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method provided by the first aspect of the embodiment of the present invention is implemented.
[0181] Fig. 9An exemplary system architecture 900 is shown to which the service reservation method or service reservation apparatus according to an embodiment of the present invention can be applied.
[0182] like Fig. 9 As shown, system architecture 900 may include terminal devices 901, 902, 903, network 904 and server 905. Network 904 is used to provide a medium for communication links between terminal devices 901, 902, 903 and server 905. Network 904 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0183] The user can use the terminal devices 901, 902, 903 to interact with the server 905 through the network 904 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 901, 902, 903, such as service reservation applications, reservation query applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).
[0184] The terminal devices 901 , 902 , and 903 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.
[0185] The server 905 may be a server that provides various services, such as a background management server (for example only) that provides support for service reservation requests sent by the upstream terminal devices 901, 902, and 903. In response to detecting that the reservation request is not successfully received by the reservation interface, the background management server may obtain the reservation information carried by the reservation request; determine the reservation conditions according to the reservation information, and generate target reservation information that meets the reservation conditions; initiate a new reservation request to the new reservation interface corresponding to the target reservation information, and the new reservation request carries the target reservation information; and feedback the reservation status (for example only) to the terminal device.
[0186] It should be noted that the service reservation method provided in the embodiment of the present invention is generally executed by the server 905, and accordingly, the service reservation device is generally set in the server 905. The service reservation method provided in the embodiment of the present invention can also be executed by the terminal devices 901, 902, and 903, and accordingly, the service reservation device can be set in the terminal devices 901, 902, and 903.
[0187] It should be understood that Fig. 9 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.
[0188] Reference below Fig.10, which shows a schematic diagram of the structure of a computer system 1000 of a terminal device suitable for implementing an embodiment of the present invention. Fig.10 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0189] like Fig.10 As shown, the computer system 1000 includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1008 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the system 1000 are also stored. The CPU 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0190] The following components are connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage section 1008 as needed.
[0191] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1009, and / or installed from the removable medium 1011. When the computer program is executed by the central processing unit (CPU) 1001, the above-mentioned functions defined in the system of the embodiment of the present invention are executed.
[0192] It should be noted that the computer-readable medium shown in the embodiment of the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In an embodiment of the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In an embodiment of the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0193] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0194] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor, for example, it may be described as: a processor includes an acquisition module, a generation module, and a reservation module, wherein the names of these modules do not constitute a limitation on the modules themselves under certain circumstances, for example, the acquisition module may also be described as a "module for acquiring reservation information".
[0195] As another aspect, an embodiment of the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device implements the following method: in response to detecting that the reservation request is not successfully received by the reservation interface, obtaining the reservation information carried by the reservation request; determining the reservation condition according to the reservation information, and generating the target reservation information that meets the reservation condition; initiating a new reservation request to the new reservation interface corresponding to the target reservation information, and the new reservation request carries the target reservation information.
[0196] According to the technical solution of the embodiment of the present invention, when the reservation request is not successfully initiated, the target reservation information is generated, and a new reservation request is initiated according to the target reservation information, which can help the user to quickly and effectively initiate the reservation request, reduce the user operation steps, and optimize the user experience; the reservation conditions are determined according to the store information and the scheduling information, and the target store information and the target scheduling information are determined according to the reservation conditions, so that the target reservation information that meets the user's needs can be generated, and a new reservation request that meets the user's needs can be initiated; when the target scheduling information is not found, the distance threshold is adjusted, so that the target scheduling information can be found more flexibly; when there are multiple target reservation information, the user is allowed to make a selection, and the corresponding new reservation information is initiated according to the user's selection, so that the new reservation request can be initiated more flexibly; applying for authorization from the user, and then initiating a new reservation request after obtaining the user's authorization, can more safely initiate the new reservation request; ensuring that the target store information and the store information of the reservation request belong to different service providers can avoid the failure of initiating the new reservation request, so that the user receives the reservation success information as soon as possible, and improves the user experience.
[0197] The above specific implementations do not constitute a limitation on the protection scope of the embodiments of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the embodiments of the present invention.
Claims
1. A service reservation method, characterized in that: include: In response to detecting that the reservation request is not successfully received by the reservation interface, obtaining the reservation information carried by the reservation request; Determine reservation conditions according to the reservation information, and generate target reservation information that meets the reservation conditions; A new reservation request is initiated to a new reservation interface corresponding to the target reservation information, wherein the new reservation request carries the target reservation information.
2. The method according to claim 1, characterized in that The appointment information includes: store information and scheduling information; determining appointment conditions according to the appointment information, and generating target appointment information that meets the appointment conditions, including: Determine a reservation location range according to the store information and a preset distance threshold, and use the reservation location range as a first reservation condition; Find target store information that meets the first reservation condition; Determine an appointment scheduling range according to the scheduling information and a preset time threshold, and use the appointment scheduling range as a second appointment condition; Searching for target scheduling information that meets the second reservation condition in the scheduling information associated with the target store information; The target appointment information is generated according to the target store information and the target scheduling information.
3. The method according to claim 2, characterized in that In the case that the target scheduling information that meets the second reservation condition is not found in the scheduling information associated with the target store information, the method further includes: Adding the distance threshold, and determining the third reservation condition according to the store information and the modified distance threshold; Searching for new target store information that meets the third reservation condition; Searching for target scheduling information that meets the second reservation condition in the scheduling information associated with the new target store information; The target appointment information is generated according to the new target store information and the target scheduling information.
4. The method according to claim 2, characterized in that: Before searching the schedule information associated with the target store information for target schedule information that meets the second reservation condition, the method further includes: It is determined that the target store information and the store information belong to different service providers.
5. The method according to claim 1, characterized in that There are multiple target reservation information. Before initiating a new reservation request to a new reservation interface corresponding to the target reservation information, the method further includes: Displaying the target reservation information to the initiator of the reservation request; In response to receiving the screening instruction, target reservation information for initiating a new reservation request is screened out from the plurality of target reservation information.
6. The method according to claim 1, characterized in that Before obtaining the reservation information carried in the reservation request, the method further includes: The product information corresponding to the reservation request is obtained, and it is determined that the product information meets the reservation information recommendation condition.
7. The method according to claim 1, characterized in that Before obtaining the reservation information carried in the reservation request, the method further includes: Sending an authorization request to the initiator of the reservation request; In response to receiving the authorization instruction, it is determined that the initiator of the reservation request has been authorized.
8. A device for service reservation, characterized in that: include: An acquisition module, configured to acquire the reservation information carried in the reservation request in response to detecting that the reservation request is not successfully received by the reservation interface; A generating module, used for determining a reservation condition according to the reservation information, and generating target reservation information that meets the reservation condition; The reservation module is used to initiate a new reservation request to a new reservation interface corresponding to the target reservation information, wherein the new reservation request carries the target reservation information.
9. An electronic device, characterized in that: include: One or more processors; A storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.