Source data updating method, device, server, storage medium and product
By updating the source status and sending the appointment interface information in the health service appointment system in real time, the problem of appointment failure is solved, and the appointment efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202111572241.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-21
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2041-12-21
AI Technical Summary
In the prior art, the health service reservation system has a low frequency of updates to the number source status, which may cause the reservation to fail due to the change in the number source status when making an appointment, which increases the cumbersomeness and inefficiency of the reservation.
In the reservation interface, when the number source status is allowed to be made without reservation, the real-time update source status is prohibited by reservation, and update information is sent within the preset time to avoid repeated reservation failures by users.
The process of making appointments for health services is simplified, the appointment efficiency is improved, the user can obtain accurate source status information, and the appointment failure is avoided.
Smart Images

Figure CN114388110B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a number source data updating method, device, server, storage medium and product. Background Art
[0002] In order to improve the efficiency of health services such as vaccination and nucleic acid testing, people need to make appointments for health services in advance; the process includes: after the manager configures the number source for appointment health services on the management side, it is published to the target platform, and people query the number source on the target platform and make an appointment. The number source on the management side is constantly changing due to people's appointment behavior on the target platform. The server corresponding to the target platform obtains the actual number source status of available or full numbers by counting the number of changing numbers. In order to reduce the high instantaneous performance consumption of the server caused by the constant determination of the number source status, the number source status is generally determined once at a fixed time and updated to the target platform.
[0003] In the related art, the server counts the number of changed number sources through a scheduled task every 30 minutes, determines the number source status every 30 minutes, and updates the determined number source status to the target platform. Since the number source status of the target platform is updated every 30 minutes, if the actual number source status changes from available to fully booked due to the change in the number of number sources within 30 minutes, and the number source status displayed on the target platform does not change, when people make an appointment at a service point that shows available numbers, the appointment will fail due to the actual number source status of being fully booked, and people will need to make an appointment at other service points, which increases the cumbersomeness of people making appointments for health services, thereby reducing the efficiency of appointments. Summary of the invention
[0004] The embodiment of the present application provides a number source data updating method, device, server, storage medium and product, which can improve the efficiency of appointment health service. The technical solution is as follows:
[0005] In one aspect, a method for updating signal source data is provided, the method comprising:
[0006] In response to a reservation request from the first terminal, a health service is reserved for the account logged in to the first terminal at the target service point to obtain a reservation result, wherein the reservation request is triggered when the number source status of the target service point displayed on the reservation interface by the first terminal is that reservation is allowed;
[0007] If the reservation result is a reservation failure, the first interface information of the reservation interface is updated to the second interface information, and the number source status of the target service point in the second interface information is that reservation is prohibited;
[0008] In response to the interface acquisition request of the second terminal, if the current time has not reached the target time point, the second interface information is sent to the second terminal, and the target time point is the next time point for updating the number source status of the target service point displayed on the reservation interface.
[0009] In one implementation, the method further includes:
[0010] If the reservation result is successful, the first interface information is cached, and the effective duration of the first interface information is the target duration, and the target duration is less than the time difference between the target time point and the current time;
[0011] In response to the interface acquisition request of the third terminal, if the current time has not reached the end time point of the target duration, the cached first interface information is sent to the third terminal, and the interface acquisition request of the third terminal is used to request to display the reservation interface of the target service point.
[0012] In one implementation, the method further includes:
[0013] If, based on the first interface information, the result of reserving the health service for the account logged in to the third terminal at the target service point is a reservation failure, the cached first interface information is updated to the second interface information.
[0014] In one implementation, reserving a health service for the account logged in to the first terminal at the target service point to obtain a reservation result includes:
[0015] Obtain the number of numbers allowed to be booked at the target service point;
[0016] The reservation result is determined based on the number of numbers allowed to be reserved.
[0017] In one implementation, before responding to the reservation request of the first terminal and reserving a health service for the account logged in to the first terminal at the target service point and obtaining the reservation result, the method further includes:
[0018] In response to the interface acquisition request of the first terminal, the first interface information is sent to the first terminal, where the first interface information is used by the first terminal to render the reservation interface, where the reservation interface displays the number source status of multiple service points and the reservation controls of the multiple service points;
[0019] A reservation request from the first terminal is received, where the reservation request is triggered based on a reservation control of the target service point.
[0020] In one implementation, the first interface information includes a plurality of sub-interface information, each sub-interface information includes a target number of service points and a number source status of each service point, and sending the first interface information to the first terminal includes:
[0021] Sending sub-interface information to the first terminal, the sub-interface information including the target number of service points and the number source status of each service point, the first terminal being used to display a corresponding reservation sub-interface based on the sub-interface information;
[0022] In response to the interface loading request of the first terminal, next sub-interface information is sent to the first terminal, where the next sub-interface information includes the target number of other service points and the number source status of each service point.
[0023] In an implementation manner, before sending the first interface information to the first terminal, the method further includes:
[0024] Obtaining a number source update status of the target service point, where the number source update status is used to indicate whether the number of number sources of the target service point has been updated;
[0025] If the number source update status of the target service point is that the number source quantity of the target service point is updated, the first interface information is updated based on the updated number of number sources.
[0026] In one implementation, the obtaining of the number source update status of the target service point includes:
[0027] Calling an API interface corresponding to an update control, wherein the update control is used to be triggered to update the number of number sources, and the update control is a control on a fourth terminal, and the fourth terminal is a terminal used by a manager of the number source;
[0028] Through the API interface, based on the triggering state of the update control, the source update state of the target service point is determined, and the triggering state is used to indicate whether the update control is triggered.
[0029] In one implementation, the update control includes a number source initialization button and a number source update button, wherein the number source initialization button is triggered to indicate that the number of number sources is initialized by the manager, and the number source update button is triggered to indicate that the number of number sources is increased or decreased by the manager;
[0030] The determining the source update state of the target service point based on the trigger state of the update control includes:
[0031] If the triggering state of the signal source initialization button is used to indicate that the signal source initialization button is triggered, it is determined that the number source quantity of the target service point is updated; or,
[0032] If the triggering state of the number source update button is used to indicate that the number source update button is triggered, it is determined that the number source quantity of the target service point is updated.
[0033] In one implementation, updating the first interface information based on the updated number of number sources includes:
[0034] If the number source status of the first interface information is prohibited from being booked, and the number of number sources is increased, updating the number source status of the first interface information to allow being booked;
[0035] If the number source status of the first interface information is allowed to be booked, and the number of reduced number sources is equal to the number of remaining number sources that have not been booked, the number source status of the first interface information is updated to be prohibited from being booked. In one implementation, the process of determining that the current time has not reached the target time point includes:
[0036] Determine the last time point when the number source status of the target service point was updated;
[0037] Determine the time difference between the current time and the previous time point;
[0038] In the case where the time difference is less than a preset time difference, it is determined that the current time has not reached the target time point, and the preset time difference is the time difference for regularly updating the signal source status.
[0039] On the other hand, a signal source data updating device is provided, the device comprising:
[0040] A reservation module, configured to respond to a reservation request from a first terminal, reserve a health service for an account logged in to the first terminal at a target service point, and obtain a reservation result, wherein the reservation request is triggered when the number source status of the target service point displayed on the reservation interface by the first terminal is that reservation is allowed;
[0041] A first updating module is used for updating the first interface information of the reservation interface to the second interface information if the reservation result is a reservation failure, wherein the number source status of the target service point in the second interface information is that reservation is prohibited;
[0042] The first sending module is used to respond to the interface acquisition request of the second terminal. If the current time has not reached the target time point, the second interface information is sent to the second terminal. The target time point is the next time point for updating the number source status of the target service point displayed on the reservation interface.
[0043] In one implementation, the device further includes:
[0044] a cache module, configured to cache the first interface information if the reservation result is a successful reservation, and the effective duration of the first interface information is a target duration, and the target duration is less than the time difference between the target time point and the current time;
[0045] The second sending module is used to respond to the interface acquisition request of the third terminal. If the current time has not reached the end time point of the target duration, the cached first interface information is sent to the third terminal. The interface acquisition request of the third terminal is used to request to display the reservation interface of the target service point.
[0046] In one implementation, the device further includes:
[0047] The second updating module is used to update the cached first interface information to the second interface information if the result of booking the health service for the account logged in to the third terminal at the target service point is a failed booking based on the first interface information.
[0048] In one implementation, the reservation module is used to:
[0049] Obtain the number of numbers allowed to be booked at the target service point;
[0050] The reservation result is determined based on the number of numbers allowed to be reserved.
[0051] In one implementation, the device further includes:
[0052] A third sending module is used to send the first interface information to the first terminal in response to the interface acquisition request of the first terminal, where the first interface information is used by the first terminal to render the reservation interface, where the reservation interface displays the number source status of multiple service points and the reservation controls of the multiple service points;
[0053] The receiving module is used to receive a reservation request from the first terminal, where the reservation request is triggered based on a reservation control of the target service point.
[0054] In one implementation, the first interface information includes a plurality of sub-interface information, each sub-interface information includes a target number of service points and a signal source status of each service point, and the third sending module is used to:
[0055] Sending sub-interface information to the first terminal, the sub-interface information including the target number of service points and the number source status of each service point, the first terminal being used to display a corresponding reservation sub-interface based on the sub-interface information;
[0056] In response to the interface loading request of the first terminal, next sub-interface information is sent to the first terminal, where the next sub-interface information includes the target number of other service points and the number source status of each service point.
[0057] In one implementation, the device further includes:
[0058] An acquisition module, used for acquiring a number source update status of the target service point, wherein the number source update status is used to indicate whether the number source quantity of the target service point is updated;
[0059] The third updating module is used to update the first interface information based on the updated number of number sources if the number source update status of the target service point is that the number source number of the target service point is updated.
[0060] In one implementation, the acquisition module includes:
[0061] A calling unit, used to call an API interface corresponding to an update control, wherein the update control is used to be triggered to update the number of number sources, and the update control is a control on a fourth terminal, and the fourth terminal is a terminal used by a manager of the number source;
[0062] A determination unit is used to determine the source update status of the target service point based on the trigger status of the update control through the API interface, and the trigger status is used to indicate whether the update control is triggered.
[0063] In one implementation, the update control includes a number source initialization button and a number source update button, wherein the number source initialization button is triggered to indicate that the number of number sources is initialized by the manager, and the number source update button is triggered to indicate that the number of number sources is increased or decreased by the manager;
[0064] The determining unit is used for:
[0065] If the triggering state of the signal source initialization button is used to indicate that the signal source initialization button is triggered, it is determined that the number source quantity of the target service point is updated; or,
[0066] If the triggering state of the number source update button is used to indicate that the number source update button is triggered, it is determined that the number source quantity of the target service point is updated.
[0067] In one implementation, the third update module is used to:
[0068] If the number source status of the first interface information is prohibited from being booked, and the number of number sources is increased, updating the number source status of the first interface information to allow being booked;
[0069] If the number source status of the first interface information is allowed to be reserved, and the number of reduced number sources is equal to the number of remaining number sources that have not been reserved, the number source status of the first interface information is updated to prohibited from being reserved.
[0070] In one implementation, the device further includes:
[0071] A first determination module, used to determine the last time point when the number source status of the target service point was updated;
[0072] A second determining module, used to determine the time difference between the current time and the previous time point;
[0073] The third determination module is used to determine that the current time has not reached the target time point when the time difference is less than a preset time difference, and the preset time difference is the time difference for regularly updating the signal source status.
[0074] On the other hand, a server is provided, which includes one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the source data updating method described in any of the above-mentioned implementation methods.
[0075] On the other hand, a computer-readable storage medium is provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to implement the source data updating method described in any of the above implementations.
[0076] On the other hand, a computer program product is provided, which includes a computer program code, wherein the computer program code is stored in a computer-readable storage medium, a processor of a server reads the computer program code from the computer-readable storage medium, and the processor executes the computer program code, so that the server executes the source data updating method described in any of the above-mentioned implementations.
[0077] The beneficial effects of the technical solution provided by the embodiments of the present application include at least:
[0078] An embodiment of the present application provides a method for updating number source data. Since the method updates the number source status of the service point to prohibiting reservation after the number source status displayed in the reservation request interface is allowed to be reserved and fails, and when the current time has not reached the time point for the scheduled update of the number source status, the interface information of updating the number source status to prohibiting reservation is sent to the next terminal that requests to obtain the interface information, so that the reservation object of the next terminal can obtain the information prohibiting reservation of the service point based on the reservation interface displayed by the next terminal, avoiding the situation where the reservation object of the next terminal fails to make a reservation for the service point again. The method simplifies the process of making reservations for health services, thereby improving the efficiency of making reservations for health services. BRIEF DESCRIPTION OF THE DRAWINGS
[0079] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0080] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;
[0081] Figure 2 It is a flow chart of a method for updating signal source data provided by an embodiment of the present application;
[0082] Figure 3 It is a flow chart of a method for updating signal source data provided by an embodiment of the present application;
[0083] Figure 4 It is a flow chart of a method for updating signal source data provided by an embodiment of the present application;
[0084] Figure 5 It is a flow chart of a method for updating signal source data provided by an embodiment of the present application;
[0085] Figure 6 It is a block diagram of a signal source data updating device provided in an embodiment of the present application;
[0086] Figure 7 This is a block diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0087] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0088] It should be noted that the user information involved in the present disclosure (including but not limited to user device information, user personal information, etc.) may be information authorized by the user or fully authorized by all parties.
[0089] The terms "first", "second", "third" and "fourth" etc. in the specification and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0090] The present application embodiment provides an implementation environment of a number source data updating method, see Figure 1 The implementation environment includes: a first terminal 10, a second terminal 20, a third terminal 30, a fourth terminal 40 and a server 50, and the server 50 is respectively connected to the first terminal 10, the second terminal 20, the third terminal 30 and the fourth terminal 40 through a network.
[0091] The first terminal 10, the second terminal 20, and the third terminal 30 are terminals used by different reservation objects respectively; the first terminal 10, the second terminal 20, and the third terminal 30 can be at least one of a smart phone, a smart watch, a desktop computer, a laptop, a tablet computer, and the like. A health service reservation platform is respectively running on the first terminal 10, the second terminal 20, and the third terminal 30, and the health service reservation platform is running in the form of an APP or a mini program for making reservations for health services. The first terminal 10, the second terminal 20, and the third terminal 30 are respectively used to send a reservation request for a service point to the server 50, and the reservation request is used to request the server 50 to make reservations for the health services of the service point.
[0092] The fourth terminal 40 is a terminal used by health service managers; the fourth terminal 40 can be at least one of a smart phone, a desktop computer, a laptop, a tablet computer, etc. The fourth terminal 40 is used by managers to configure the number source of the service point and cache it in the database.
[0093] The server 50 is a backend server of the health service reservation platform; the server 50 can be at least one of a single server, a server cluster consisting of multiple servers, a cloud server, a cloud computing platform, and a virtualization center. The server 50 is used to obtain the number of service point numbers from the database of the fourth terminal 40 at regular intervals, obtain the number source status of the service point with or without a number by counting the number of number sources in the database, and publish it to the health service reservation platform. The server is also used to receive a reservation request from the first terminal 10, the second terminal 20, or the third terminal 30, and make a reservation for the health service of the service point for the account logged in to the first terminal 10, the second terminal 20, or the third terminal 30.
[0094] The present application embodiment provides a method for updating source data, the execution subject is a server, see Figure 2 , methods include:
[0095] 201. In response to a reservation request from a first terminal, a health service is reserved for an account logged in to the first terminal at a target service point, and a reservation result is obtained. The reservation request is triggered when the number source status of the target service point displayed on the reservation interface by the first terminal is that reservation is allowed.
[0096] 202. If the reservation result is reservation failure, the first interface information of the reservation interface is updated to the second interface information, and the number source status of the target service point in the second interface information is prohibited from being reserved.
[0097] 203. In response to the interface acquisition request of the second terminal, if the current time has not reached the target time point, send the second interface information to the second terminal, where the target time point is the next time point for updating the number source status of the target service point displayed on the reservation interface.
[0098] In one implementation, the source data updating method further includes:
[0099] If the reservation result is successful, the first interface information is cached, and the effective duration of the first interface information is the target duration, which is less than the time difference between the target time point and the current time;
[0100] In response to the interface acquisition request of the third terminal, if the current time has not reached the end time point of the target duration, the cached first interface information is sent to the third terminal, and the interface acquisition request of the third terminal is used to request the display of the reservation interface of the target service point.
[0101] In one implementation, the source data updating method further includes:
[0102] If, based on the first interface information, the result of the reservation for the health service for the account logged in the third terminal at the target service point is a reservation failure, the cached first interface information is updated to the second interface information.
[0103] In one implementation, reserving a health service for an account logged in to the first terminal at a target service point and obtaining a reservation result includes:
[0104] Get the number of reservations allowed at the target service point;
[0105] The reservation result is determined based on the number of numbers allowed to be reserved.
[0106] In one implementation, in response to the reservation request of the first terminal, reserving a health service for the account logged in to the first terminal at the target service point, before obtaining the reservation result, the number source data updating method further includes:
[0107] In response to the interface acquisition request of the first terminal, first interface information is sent to the first terminal, where the first interface information is used by the first terminal to render a reservation interface, where the reservation interface displays the number source status of multiple service points and reservation controls of multiple service points;
[0108] A reservation request from a first terminal is received, where the reservation request is triggered by a reservation control based on a target service point.
[0109] In one implementation, the first interface information includes a plurality of sub-interface information, each sub-interface information includes a target number of service points and a number source state of each service point, and sending the first interface information to the first terminal includes:
[0110] Sending sub-interface information to the first terminal, the sub-interface information including a target number of service points and a number source status of each service point, the first terminal being used to display a corresponding reservation sub-interface based on the sub-interface information;
[0111] In response to the interface loading request of the first terminal, the next sub-interface information is sent to the first terminal, where the next sub-interface information includes a target number of other service points and a number source status of each service point.
[0112] In one implementation, before sending the first interface information to the first terminal, the number source data updating method further includes:
[0113] Get the number source update status of the target service point, which is used to indicate whether the number of number sources of the target service point has been updated;
[0114] If the number source update status of the target service point is that the number source quantity of the target service point is updated, the first interface information is updated based on the updated number of number sources.
[0115] In one implementation, obtaining the number source update status of the target service point includes:
[0116] Calling an API interface corresponding to an update control, the update control is used to be triggered to update the number of number sources, the update control is a control on the fourth terminal, and the fourth terminal is a terminal used by the administrator of the number source;
[0117] Through the API interface, based on the trigger status of the update control, the source update status of the target service point is determined. The trigger status is used to indicate whether the update control is triggered.
[0118] In one implementation, the update control includes a signal source initialization button and a signal source update button, the signal source initialization button is triggered to indicate that the number of signal sources is initialized by the management personnel, and the signal source update button is triggered to indicate that the number of signal sources is increased or decreased by the management personnel;
[0119] Based on the trigger status of the update control, determine the source update status of the target service point, including:
[0120] If the trigger state of the signal source initialization button is used to indicate that the signal source initialization button is triggered, it is determined that the number of signal sources of the target service point is updated; or,
[0121] If the triggering state of the number source update button is used to indicate that the number source update button is triggered, it is determined that the number source quantity of the target service point is updated.
[0122] In one implementation, updating the first interface information based on the updated number of number sources includes:
[0123] If the number source status of the first interface information is prohibited from being booked, and the number of number sources is increased, the number source status of the first interface information is updated to allow being booked;
[0124] If the number source status of the first interface information is allowed to be reserved, and the number of reduced number sources is equal to the number of remaining number sources that have not been reserved, the number source status of the first interface information is updated to be prohibited from being reserved.
[0125] In one implementation, the process of determining that the current time has not reached the target time point includes:
[0126] Determine the last time point when the number source status of the target service point was updated;
[0127] Determine the time difference between the current time and the previous time point;
[0128] When the time difference is less than the preset time difference, it is determined that the current time has not reached the target time point, and the preset time difference is the time difference for regularly updating the signal source status.
[0129] An embodiment of the present application provides a method for updating number source data. Since the method updates the number source status of the service point to prohibiting reservation after the number source status displayed in the reservation request interface is allowed to be reserved and fails, and when the current time has not reached the time point for the scheduled update of the number source status, the interface information of updating the number source status to prohibiting reservation is sent to the next terminal that requests to obtain the interface information, so that the reservation object of the next terminal can obtain the information prohibiting reservation of the service point based on the reservation interface displayed by the next terminal, avoiding the situation where the reservation object of the next terminal fails to make a reservation for the service point again. The method simplifies the process of making reservations for health services, thereby improving the efficiency of making reservations for health services.
[0130] The present application embodiment provides a method for updating source data. Figure 3 , the source data update method includes:
[0131] 301. A first terminal sends an interface acquisition request to a server.
[0132] In some embodiments, before the first terminal sends an interface acquisition request to the server, the first terminal displays an account input interface, and after the reservation object enters the account number and password in the account input interface, the interface acquisition request is triggered to be sent to the server.
[0133] The interface acquisition request is used to request the acquisition of the first interface information of the reservation interface, and the first interface information includes the number source status of multiple service points. Optionally, the number source status of each service point includes the number available, no number, and full state, the number available indicates that the service point allows reservations, and the full and no number indicates that the service point prohibits reservations. Furthermore, the full means that the number sources configured for the service point are all reserved, and the no number means that the service point is not configured with a number source.
[0134] In some embodiments, a health service reservation platform is running on the first terminal, and the health service reservation platform is running in the form of an APP or a mini program, and the health service reservation platform provides registration and reservation functions. Before the account logs in to the first terminal, the reservation object registers an account on the health service platform of the first terminal, and the server stores and manages the information of the account.
[0135] 302. The server sends first interface information to the first terminal in response to the interface acquisition request of the first terminal.
[0136] In some embodiments, the interface acquisition request carries an area identifier, and the server generates first interface information corresponding to the area identifier in response to the interface acquisition request, and the first interface information includes the number source status of multiple service points corresponding to the area identifier.
[0137] In one implementation, the first interface information includes a plurality of sub-interface information, each sub-interface information includes a target number of service points and a number source status of each service point, and the server sends the first interface information of the reservation interface to the first terminal, including the following steps (1)-(2):
[0138] (1) The server sends sub-interface information to the first terminal, where the sub-interface information includes a target number of service points and a number source status of each service point. The first terminal is configured to display a corresponding reservation sub-interface based on the sub-interface information.
[0139] Among them, each sub-interface information corresponds to a reservation sub-interface, and multiple sub-interface information are sorted according to preset rules. In the embodiment of the present application, there is no specific limitation on this; optionally, multiple sub-interface information are sorted according to distance information, such as sorting the sub-interface information of the service point close to the location of the reservation object first, and the sub-interface information sorted first is sent to the first terminal first.
[0140] (2) In response to the interface loading request of the first terminal, the server sends next sub-interface information to the first terminal, where the next sub-interface information includes a target number of other service points and the number source status of each service point.
[0141] Optionally, the interface loading request is triggered by the first terminal based on a pull-down operation on the displayed reservation sub-interface. The first terminal is configured to display a corresponding next reservation sub-interface based on the next sub-interface information.
[0142] In an embodiment of the present application, by dividing the first interface information into multiple sub-interface information, the reservation interface is divided into multiple reservation sub-interfaces; in this way, when the server sends the first interface information to the first terminal, it can send multiple sub-interface information in batches, which fully reduces the traffic output of the interface for sending the first page information from the server to the first terminal, and avoids the risk of the interface crashing.
[0143] 303. The first terminal receives the first interface information, and renders the first interface information to obtain a reservation interface for display.
[0144] Among them, the reservation interface displays the number source status of multiple service points and the reservation controls of multiple service points. The reservation control of each service point is used to trigger a reservation request after being triggered.
[0145] 304. The first terminal sends a reservation request to the server.
[0146] Among them, the reservation request is used to request a reservation for health services at the target service point. The reservation request is triggered when the number source status of the target service point displayed on the reservation interface by the first terminal is allowed to be booked; optionally, the reservation request is triggered based on the reservation control of the target service point.
[0147] In the embodiment of the present application, by displaying the number source status of multiple service points on the reservation interface, the reservation object can select the target service point from multiple service points that are allowed to be reserved for reservation, thereby enhancing the selectivity of the reservation object. And by setting a reservation control for each service point on the reservation interface, the reservation object can trigger the reservation request corresponding to any service point by triggering the reservation control, thereby improving the flexibility of the reservation object in reserving health services.
[0148] 305. The server receives the reservation request sent by the first terminal, responds to the reservation request of the first terminal, reserves a health service for the account logged in to the first terminal at the target service point, and obtains a reservation result.
[0149] In one implementation, the server obtains the number of numbers that are allowed to be reserved at the target service point; the server determines the reservation result based on the number of numbers that are allowed to be reserved.
[0150] In some embodiments, the server obtains the number of numbers allowed to be booked at the target service point from the number source configuration party; every time an appointment occurs on the health service appointment platform, the number of numbers allowed to be booked in the database of the number source configuration party changes, and the server obtains the number of numbers allowed to be booked from the database; optionally, the database is a redis (Remote Dictionary Server) cache database.
[0151] If the number of numbers allowed to be booked exceeds 0, the server determines that the booking result is a successful booking; if the number of numbers allowed to be booked is 0, the server determines that the booking result is a failed booking. If the booking result is a successful booking, the server books the health service of the target service point for the account logged in to the first terminal, and returns the booking result to the first terminal. If the booking result is a failed booking, the server returns the booking result to the first terminal.
[0152] In one implementation, the reservation result is displayed in a pop-up window on the reservation interface of the first terminal. In another implementation, after receiving the reservation result, the first terminal displays the main page of the target service point, and the reservation result is displayed on the main page.
[0153] 306. If the reservation result is a reservation failure, the server updates the first interface information of the reservation interface to the second interface information.
[0154] The number source status of the target service point in the second interface information is forbidden to be booked. The server updates the number source status of the target service point in the first interface information to forbidden to be booked, and obtains the second interface information.
[0155] 307. The second terminal sends an interface acquisition request to the server.
[0156] This step is the same as the process in step 301 where the first terminal sends an interface acquisition request to the server, and will not be described in detail here.
[0157] 308. The server responds to the interface acquisition request of the second terminal, and if the current time has not reached the target time point, sends the second interface information to the second terminal.
[0158] It should be noted that the server is provided with a timed update task; optionally, the number of the timed update task is one, and the timed update task is used to regularly update the number source status of the multiple service points based on the latest number of number sources of the multiple service points in the database. Optionally, the number of the timed update tasks is multiple, and each service point corresponds to a timed update task, and the timed update task corresponding to each service point is used to regularly update the number source status of the service point based on the latest number of number sources of the service point in the database.
[0159] The target time point is the next time point at which the number source status of the target service point displayed on the reservation interface is updated. The process of the server determining that the current time has not reached the target time point includes:
[0160] The server determines the last time point when the number source status of the target service point was updated; the server determines the time difference between the current time and the last time point; when the time difference is less than the preset time difference, the server determines that the current time has not reached the target time point, and the preset time difference is the time difference for periodically updating the number source status.
[0161] The preset time difference can be set and changed as needed, and is not specifically limited in the embodiment of the present application. Optionally, the preset time difference is 30 minutes, 40 minutes, 50 minutes or 60 minutes.
[0162] 309. The second terminal receives the second interface information, and renders the second interface information to obtain a reservation interface for display.
[0163] The second terminal is a terminal used by other reservation objects, and the number source status of the target service point on the reservation interface is prohibited from being reserved.
[0164] It should be noted that after the reservation control whose number source status is prohibited from being booked is triggered, the reservation request for its service point will be intercepted, avoiding the server from processing the reservation event and reducing the waste of server resources. In this way, by adding logic to the interface where the server processes the request, the number source status can be displayed in real time on the reservation interface without waiting for the scheduled update task to update the number source status, thereby improving the accuracy of the displayed number source status. The method provided in the embodiment of the present application avoids the server from calling the interface corresponding to the reservation request for the service point whose number source status is updated to prohibited from being booked. Even if the interface is idle, the impact range is small and the operation is controllable.
[0165] An embodiment of the present application provides a method for updating number source data. Since the method updates the number source status of the service point to prohibiting reservation after the number source status displayed in the reservation request interface is allowed to be reserved and fails, and when the current time has not reached the time point for the scheduled update of the number source status, the interface information of updating the number source status to prohibiting reservation is sent to the next terminal that requests to obtain the interface information, so that the reservation object of the next terminal can obtain the information prohibiting reservation of the service point based on the reservation interface displayed by the next terminal, avoiding the situation where the reservation object of the next terminal fails to make a reservation for the service point again. The method simplifies the process of making reservations for health services, thereby improving the efficiency of making reservations for health services.
[0166] The present application embodiment provides a method for updating source data. Figure 4 , methods include:
[0167] 401. A first terminal sends an interface acquisition request to a server.
[0168] 402. The server sends first interface information to the first terminal in response to the interface acquisition request of the first terminal.
[0169] 403. The first terminal receives the first interface information and renders the first interface information to obtain a reservation interface for display.
[0170] 404. The first terminal sends a reservation request to the server.
[0171] 405. The server receives the reservation request sent by the first terminal, responds to the reservation request of the first terminal, reserves a health service for the account logged in to the first terminal at the target service point, and obtains a reservation result.
[0172] Steps 401-405 are the same as steps 301-305 and will not be described again here.
[0173] 406. If the reservation result is successful, the first interface information is cached, and the effective time of the first interface information is the target time, and the target time is less than the time difference between the target time point and the current time.
[0174] Among them, the specific duration of the target duration can be set and changed as needed, and in the embodiment of the present application, there is no specific limitation on this; optionally, the target duration is 1 minute, 5 minutes or 10 minutes, etc.
[0175] In some embodiments, the server caches the first interface information in a redis database, so that the server can directly obtain the first interface information from the database and send it to the terminal requesting to obtain the first interface information. Optionally, the cache function is added to the interface of the server for processing interface acquisition requests, which greatly improves the interface's tolerance when there are too many requests for obtaining the first interface information.
[0176] 407. The third terminal sends an interface acquisition request to the server.
[0177] This step is the same as the process in step 301 where the first terminal sends an interface acquisition request to the server, and will not be described in detail here.
[0178] 408. In response to the interface acquisition request of the third terminal, if the current time has not reached the end time point of the target duration, the server sends the cached first interface information to the third terminal.
[0179] The interface acquisition request of the third terminal is used to request to display the reservation interface of the target service point.
[0180] In some embodiments, the server generates and caches different first interface information for different regions; the interface acquisition request of the third terminal carries a region identifier, and the first interface information sent by the server to the third terminal is the first interface information of the region corresponding to the region identifier.
[0181] In some embodiments, the server caches the first interface information in a database, and the terminal requesting to display the reservation interface can directly obtain the first interface information from the database, thereby reducing the interface pressure of the server interface being frequently called.
[0182] In an embodiment of the present application, by caching the first interface information for a target time length, when the next terminal requests to display the appointment interface, the cached first interface information can be directly sent to the terminal, thereby avoiding the need to generate the first interface information again within the target time length, reducing the service pressure of the server, and thereby reducing the risk of server crashes.
[0183] 409. The third terminal sends a reservation request to the server.
[0184] This step is the same as the process of the first terminal sending a reservation request to the server in step 304, and will not be described in detail here.
[0185] 410. If the server determines that the appointment result for the health service for the account logged in to the third terminal at the target service point is a failed appointment based on the first interface information, the server updates the cached first interface information to the second interface information.
[0186] The server updates the cached first interface information to the second interface information, and also realizes active clearing of the cached first interface information, thereby avoiding waste of storage resources.
[0187] In an embodiment of the present application, the cached first interface information is updated to the second interface information when an appointment fails, that is, the number source status that allows appointments is updated to the number source status that prohibits appointments; in this way, when the next terminal requests to display the appointment interface, the updated second interface information can be sent to the terminal, avoiding the appointment failure caused by the next terminal making another appointment at the target service point that is prohibited from being booked, thereby improving the efficiency of appointment health services.
[0188] The present application embodiment provides a method for updating source data. Figure 5 , methods include:
[0189] 501. The server calls the API interface corresponding to the update control.
[0190] The update control is used to be triggered to update the number of number sources. The update control is a control on the fourth terminal, and the fourth terminal is a terminal used by the administrator of the number source.
[0191] The update control includes a signal source initialization button and a signal source update button. The signal source initialization button is triggered to indicate that the signal source quantity is initialized by the administrator, and the signal source update button is triggered to indicate that the signal source quantity is increased or decreased by the administrator. The signal source quantity is initialized by the administrator, which means that after the administrator configures the signal source, the signal source quantity is cached in the database.
[0192] In some embodiments, when the manager increases or decreases the number of numbers at any service point, the reservation service of the service point is suspended by triggering the pause reservation button on the fourth terminal. In response to the number source update button being triggered, the service point restarts the reservation service.
[0193] 502. The server determines the update status of the source of the target service point through the API interface based on the trigger status of the update control.
[0194] The trigger state is used to indicate whether the update control is triggered, and the number source update state is used to indicate whether the number source quantity of the target service point is updated. This step includes the following two implementation methods:
[0195] (1) If the trigger state of the signal source initialization button is used to indicate that the signal source initialization button is triggered, the server determines that the number of signal sources of the target service point is updated. (2) If the trigger state of the signal source update button is used to indicate that the signal source update button is triggered, the server determines that the number of signal sources of the target service point is updated.
[0196] In an embodiment of the present application, through the API interface, the transmission of information about the update control between the fourth terminal and the server can be realized, thereby improving the efficiency of data transmission, enabling the server to respond to the switch status of the update control in a timely manner, and thus realizing timely determination of the number source update status of the service point.
[0197] 503. If the number source update status of the target service point is that the number source quantity of the target service point is updated, the server updates the first interface information based on the updated number of number sources.
[0198] Optionally, if the number source status of the first interface information is prohibited from being booked and the number of number sources is increased, the server updates the number source status of the first interface information to allow being booked; if the number source status of the first interface information is allowed to be booked and the number of reduced number sources is equal to the number of remaining number sources that have not been booked, the server updates the number source status of the first interface information to prohibited from being booked.
[0199] Optionally, if the number source status of the first interface information is allowed to be booked, and the number of number sources is increased, it means that the number source status has not changed, and the server does not update the first interface information. If the number source status of the first interface information is allowed to be booked, and the number of reduced number sources is less than the number of remaining unbooked number sources, it means that the number source status has not changed, and the server does not update the first interface information.
[0200] It should be noted that when the number of number sources is updated due to the initialization, since the numbers have not been issued yet, the number source status of the first interface information is prohibited from being booked. If the number of number sources after initialization is not 0, it means that the number of number sources has been increased, then the server updates the number source status of the first interface information to allow for reservation.
[0201] In some embodiments, multiple service points correspond to an API interface, which identifies the trigger status of the update control of each service point based on the id (Identity document) of each service point, and determines the number source update status of each service point; and when the number source update status of any service point is that the number source quantity is updated, the first interface information is updated based on the updated number of number sources.
[0202] It should be noted that in the prior art, after the manager initializes or updates the number of number sources at the fourth terminal, the number of number sources is cached in the database. Only after the current time reaches the update time point, the number source status of the multiple service points is updated based on the latest number of number sources of the multiple service points in the database through a scheduled update task, so that the number source status displayed on the health service appointment platform cannot respond to the initialized or updated number of number sources in time between the two update time points, making the number source status displayed on the health service appointment platform inaccurate. In the embodiment of the present application, when the number of number sources is initialized or the number of number sources is updated, the number source status is determined based on the updated number of number sources and updated to the interface information. Without waiting for the scheduled task to update the number source, the number source status corresponding to the number source quantity after the number source quantity is initialized or updated can be displayed on the health service appointment platform, which does not affect the original business, reduces server idleness, and greatly improves the experience of the appointment object in making an appointment for health services.
[0203] The present application also provides a signal source data updating device, see Figure 6 , the device comprises:
[0204] The reservation module 601 is used to respond to the reservation request of the first terminal, reserve a health service for the account logged in to the first terminal at the target service point, and obtain a reservation result. The reservation request is triggered when the number source status of the target service point displayed by the first terminal on the reservation interface is allowed to be booked;
[0205] The first updating module 602 is used to update the first interface information of the reservation interface to the second interface information if the reservation result is reservation failure, and the number source status of the target service point in the second interface information is forbidden to be reserved;
[0206] The first sending module 603 is used to respond to the interface acquisition request of the second terminal. If the current time has not reached the target time point, the second interface information is sent to the second terminal. The target time point is the next time point for updating the number source status of the target service point displayed on the reservation interface.
[0207] In one implementation, the apparatus further includes:
[0208] A cache module, for caching the first interface information if the reservation result is successful, and the effective time of the first interface information is the target time, and the target time is less than the time difference between the target time point and the current time;
[0209] The second sending module is used to respond to the interface acquisition request of the third terminal. If the current time has not reached the end time point of the target duration, the cached first interface information is sent to the third terminal. The interface acquisition request of the third terminal is used to request to display the reservation interface of the target service point.
[0210] In one implementation, the apparatus further includes:
[0211] The second updating module is used to update the cached first interface information to the second interface information if the result of booking a health service for the account logged in to the third terminal at the target service point is a failed booking based on the first interface information.
[0212] In one implementation, the reservation module 601 is used to:
[0213] Get the number of reservations allowed at the target service point;
[0214] The reservation result is determined based on the number of numbers allowed to be reserved.
[0215] In one implementation, the apparatus further includes:
[0216] A third sending module is used to respond to the interface acquisition request of the first terminal and send first interface information to the first terminal, where the first interface information is used for the first terminal to render a reservation interface, where the reservation interface displays the number source status of multiple service points and reservation controls of multiple service points;
[0217] The receiving module is used to receive a reservation request from the first terminal, where the reservation request is triggered by a reservation control based on the target service point.
[0218] In one implementation, the first interface information includes a plurality of sub-interface information, each sub-interface information includes a target number of service points and a source status of each service point, and the third sending module is used to:
[0219] Sending sub-interface information to the first terminal, the sub-interface information including a target number of service points and a number source status of each service point, the first terminal being used to display a corresponding reservation sub-interface based on the sub-interface information;
[0220] In response to the interface loading request of the first terminal, the next sub-interface information is sent to the first terminal, where the next sub-interface information includes a target number of other service points and a number source status of each service point.
[0221] In one implementation, the apparatus further includes:
[0222] An acquisition module is used to acquire the number source update status of the target service point, where the number source update status is used to indicate whether the number source quantity of the target service point has been updated;
[0223] The third updating module is used to update the first interface information based on the updated number of number sources if the number source update status of the target service point is that the number source number of the target service point is updated.
[0224] In one implementation, obtaining a module includes:
[0225] A calling unit, used for calling an API interface corresponding to an update control, the update control is used for being triggered to update the number of number sources, the update control is a control on a fourth terminal, and the fourth terminal is a terminal used by a manager of the number source;
[0226] The determination unit is used to determine the source update status of the target service point based on the trigger status of the update control through the API interface, and the trigger status is used to indicate whether the update control is triggered.
[0227] In one implementation, the update control includes a signal source initialization button and a signal source update button, the signal source initialization button is triggered to indicate that the number of signal sources is initialized by the management personnel, and the signal source update button is triggered to indicate that the number of signal sources is increased or decreased by the management personnel;
[0228] Identify units for:
[0229] If the trigger state of the signal source initialization button is used to indicate that the signal source initialization button is triggered, it is determined that the number of signal sources of the target service point is updated; or,
[0230] If the triggering state of the number source update button is used to indicate that the number source update button is triggered, it is determined that the number source quantity of the target service point is updated.
[0231] In one implementation, the third update module is used to:
[0232] If the number source status of the first interface information is prohibited from being booked, and the number of number sources is increased, the number source status of the first interface information is updated to allow being booked;
[0233] If the number source status of the first interface information is allowed to be reserved, and the number of reduced number sources is equal to the number of remaining number sources that have not been reserved, the number source status of the first interface information is updated to be prohibited from being reserved.
[0234] In one implementation, the apparatus further includes:
[0235] A first determination module is used to determine the last time point when the number source status of the target service point is updated;
[0236] A second determination module is used to determine the time difference between the current time and the previous time point;
[0237] The third determination module is used to determine that the current time has not reached the target time point when the time difference is less than a preset time difference, and the preset time difference is the time difference for regularly updating the signal source status.
[0238] Figure 7It is a block diagram of a server provided by an embodiment of the present disclosure. The server 700 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 701 and one or more memories 702, wherein the memory 702 is used to store executable program codes, and the processor 701 is configured to execute the above executable program codes to implement the source data update methods provided by the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The server may also include other components for implementing device functions, which will not be described in detail here.
[0239] In an exemplary embodiment, a storage medium including a program code is also provided, such as a memory 702 including the program code, and the program code can be executed by a processor 701 of a server 700 to complete the above-mentioned source data updating method. Optionally, the storage medium can be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium can be a ROM (Read-Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0240] An embodiment of the present application also provides a computer-readable storage medium, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to implement the source data updating method of any of the above-mentioned implementation modes.
[0241] An embodiment of the present application also provides a computer program product, which includes a computer program code. The computer program code is stored in a computer-readable storage medium. The processor of the server reads the computer program code from the computer-readable storage medium, and the processor executes the computer program code, so that the server executes the number source data updating method of any of the above-mentioned implementation methods.
[0242] In some embodiments, the computer program product involved in the embodiments of the present application may be deployed on a server for execution, or on multiple servers located in one location, or on multiple servers distributed in multiple locations and interconnected by a communication network. Multiple servers distributed in multiple locations and interconnected by a communication network may constitute a blockchain system.
[0243] An embodiment of the present application provides a method for updating number source data. Since the method updates the number source status of the service point to prohibiting reservation after the number source status displayed in the reservation request interface is allowed to be reserved and fails, and when the current time has not reached the time point for the scheduled update of the number source status, the interface information of updating the number source status to prohibiting reservation is sent to the next terminal that requests to obtain the interface information, so that the reservation object of the next terminal can obtain the information prohibiting reservation of the service point based on the reservation interface displayed by the next terminal, avoiding the situation where the reservation object of the next terminal fails to make a reservation for the service point again. The method simplifies the process of making reservations for health services, thereby improving the efficiency of making reservations for health services.
[0244] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for updating signal source data, characterized in that: The method comprises: In response to a reservation request from the first terminal, a health service is reserved for the account logged in to the first terminal at the target service point to obtain a reservation result, wherein the reservation request is triggered when the number source status of the target service point displayed on the reservation interface by the first terminal is that reservation is allowed; If the reservation result is a reservation failure, the first interface information of the reservation interface is updated to the second interface information, and the number source status of the target service point in the second interface information is that reservation is prohibited; In response to the interface acquisition request of the second terminal, if the current time has not reached the target time point, the second interface information is sent to the second terminal, and the target time point is the next time point at which the number source status of the target service point displayed on the reservation interface is updated; after the reservation control whose number source status of any service point is prohibited from being reserved is triggered, the reservation request of the service point is intercepted, and this reservation event is not processed; If the appointment result is a successful appointment, the first interface information is cached, and the effective duration of the first interface information is the target duration, and the target duration is less than the time difference between the target time point and the current time; in response to the interface acquisition request of the third terminal, if the current time has not reached the end time point of the target duration, the cached first interface information is sent to the third terminal, and the interface acquisition request of the third terminal is used to request to display the appointment interface of the target service point; if based on the first interface information, the appointment result of the health service for the account logged in to the third terminal at the target service point is a failed appointment, the cached first interface information is updated to the second interface information.
2. The method according to claim 1, characterized in that The step of reserving a health service for the account logged in the first terminal at the target service point and obtaining a reservation result includes: Obtain the number of numbers allowed to be booked at the target service point; The reservation result is determined based on the number of numbers allowed to be reserved.
3. The method according to claim 1, characterized in that Before responding to the reservation request of the first terminal and reserving a health service for the account logged in to the first terminal at the target service point and obtaining the reservation result, the method further includes: In response to the interface acquisition request of the first terminal, the first interface information is sent to the first terminal, where the first interface information is used by the first terminal to render the reservation interface, where the reservation interface displays the number source status of multiple service points and the reservation controls of the multiple service points; A reservation request from the first terminal is received, where the reservation request is triggered based on a reservation control of the target service point.
4. The method according to claim 3, characterized in that The first interface information includes a plurality of sub-interface information, each sub-interface information includes a target number of service points and a number source status of each service point, and the sending the first interface information to the first terminal includes: Sending sub-interface information to the first terminal, the sub-interface information including the target number of service points and the number source status of each service point, the first terminal being used to display a corresponding reservation sub-interface based on the sub-interface information; In response to the interface loading request of the first terminal, next sub-interface information is sent to the first terminal, where the next sub-interface information includes the target number of other service points and the number source status of each service point.
5. The method according to claim 3, characterized in that: Before sending the first interface information to the first terminal, the method further includes: Obtaining a number source update status of the target service point, where the number source update status is used to indicate whether the number of number sources of the target service point has been updated; If the number source update status of the target service point is that the number source quantity of the target service point is updated, the first interface information is updated based on the updated number of number sources.
6. The method according to claim 5, characterized in that The obtaining of the number source update status of the target service point includes: Calling an API interface corresponding to an update control, wherein the update control is used to be triggered to update the number of number sources, and the update control is a control on a fourth terminal, and the fourth terminal is a terminal used by a manager of the number source; Through the API interface, based on the triggering state of the update control, the source update state of the target service point is determined, and the triggering state is used to indicate whether the update control is triggered.
7. The method according to claim 6, characterized in that The update control includes a number source initialization button and a number source update button, wherein the number source initialization button is triggered to indicate that the number of number sources is initialized by the manager, and the number source update button is triggered to indicate that the number of number sources is increased or decreased by the manager; The determining the source update state of the target service point based on the trigger state of the update control includes: If the triggering state of the number source initialization button is used to indicate that the number source initialization button is triggered, it is determined that the number source quantity of the target service point is updated; or, If the triggering state of the number source update button is used to indicate that the number source update button is triggered, it is determined that the number source quantity of the target service point is updated.
8. The method according to claim 5, characterized in that The updating of the first interface information based on the updated number of number sources includes: If the number source status of the first interface information is prohibited from being booked, and the number of number sources is increased, updating the number source status of the first interface information to allow being booked; If the number source status of the first interface information is allowed to be reserved, and the number of reduced number sources is equal to the number of remaining number sources that have not been reserved, the number source status of the first interface information is updated to prohibited from being reserved.
9. The method according to claim 1, characterized in that: The process of determining that the current time has not reached the target time point includes: Determine the last time point when the number source status of the target service point was updated; Determine the time difference between the current time and the previous time point; In the case where the time difference is less than a preset time difference, it is determined that the current time has not reached the target time point, and the preset time difference is the time difference for regularly updating the signal source status.
10. A signal source data updating device, characterized in that: The device comprises: A reservation module, configured to respond to a reservation request from a first terminal, reserve a health service for an account logged in to the first terminal at a target service point, and obtain a reservation result, wherein the reservation request is triggered when the number source status of the target service point displayed on the reservation interface by the first terminal is that reservation is allowed; A first updating module is used for updating the first interface information of the reservation interface to the second interface information if the reservation result is a reservation failure, wherein the number source status of the target service point in the second interface information is that reservation is prohibited; A first sending module is used to respond to the interface acquisition request of the second terminal, and if the current time does not reach the target time point, send the second interface information to the second terminal, wherein the target time point is the next time point at which the number source status of the target service point displayed on the reservation interface is updated; after the reservation control in which the number source status of any service point is prohibited from being reserved is triggered, the reservation request of the service point is intercepted, and this reservation event is not processed; a cache module, configured to cache the first interface information if the reservation result is a successful reservation, and the effective duration of the first interface information is a target duration, and the target duration is less than the time difference between the target time point and the current time; A second sending module is used to respond to an interface acquisition request of a third terminal, and if the current time has not reached the end time point of the target duration, send the cached first interface information to the third terminal, wherein the interface acquisition request of the third terminal is used to request to display the reservation interface of the target service point; The second updating module is used to update the cached first interface information to the second interface information if the result of booking the health service for the account logged in to the third terminal at the target service point is a failed booking based on the first interface information.
11. A server, characterized in that: The server includes one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the source data updating method as described in any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: At least one program code is stored in the storage medium, and the at least one program code is loaded and executed by the processor to implement the signal source data updating method according to any one of claims 1 to 9.
13. A computer program product, characterized in that The computer program product includes a computer program code, which is stored in a computer-readable storage medium. The processor of the server reads the computer program code from the computer-readable storage medium, and the processor executes the computer program code, so that the server executes the source data updating method as described in any one of claims 1 to 9.
