WO2022068203A1 - 用于确定预约信息的方法和装置 - Google Patents

用于确定预约信息的方法和装置 Download PDF

Info

Publication number
WO2022068203A1
WO2022068203A1 PCT/CN2021/092018 CN2021092018W WO2022068203A1 WO 2022068203 A1 WO2022068203 A1 WO 2022068203A1 CN 2021092018 W CN2021092018 W CN 2021092018W WO 2022068203 A1 WO2022068203 A1 WO 2022068203A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
unit
period
time
time unit
Prior art date
Application number
PCT/CN2021/092018
Other languages
English (en)
French (fr)
Inventor
郭彦涛
Original Assignee
北京京东拓先科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京京东拓先科技有限公司 filed Critical 北京京东拓先科技有限公司
Priority to EP21873866.4A priority Critical patent/EP4224384A1/en
Priority to JP2023518050A priority patent/JP7549139B2/ja
Priority to US18/026,011 priority patent/US20230368083A1/en
Publication of WO2022068203A1 publication Critical patent/WO2022068203A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/02Reservations, e.g. for tickets, services or events
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting

Definitions

  • the present disclosure relates to the field of computer technology, in particular to the technical field of information management, and in particular, to a method and apparatus for determining reservation information.
  • the method of determining the reservation information is to reduce the number of reservations for a service provided by the service provider after the reservation is made.
  • the present disclosure provides a method, apparatus, electronic device, and computer-readable storage medium for determining reservation information.
  • a method for determining reservation information comprising: acquiring service time data of each service set by a service provider, wherein the service time data includes services corresponding to each service time period; according to the service period of each service, determine the time unit for the service provider to provide the service; divide the service time data into at least one service time unit according to the time unit, and store the data of each service time unit in the storage unit; In response to receiving the service request of the first service sent by the service requester, the storage units corresponding to each service time unit within the service period of the first service are set as read-only storage units.
  • the method for determining subscription information further includes outputting first subscription information to the service provider, wherein the first subscription information includes information indicating that the service period of the first service is reserved.
  • the method for determining reservation information further includes: for each service time unit within the service time unit of the first service, setting the service status of the service corresponding to the service time unit to which the service time unit belongs, to Not available by appointment.
  • determining the time unit for providing the service by the service provider according to the service period of each service includes: determining the greatest common divisor of the service period of each service as the time unit for providing the service by the service provider.
  • a method for determining subscription information comprising: acquiring a service acquisition request sent by a service requester, wherein the service acquisition request is used to request various services of a presence service provider and Corresponding to the service period of each service; in response to detecting that the storage unit corresponding to at least one service time unit in the service period of the second service in each service is a read-only storage unit, present each service provider's each service to the service requester.
  • the second service is presented as a non-reservable service; wherein, the step of determining the service time unit includes: acquiring each service and the service period of each service set by the service provider; The service period is to determine the service time data of the service provider; according to the service period of each service, the duration unit of the service provided by the service provider is determined; according to the duration unit, the service time data is divided into at least one service time unit, and each said service The data of the time unit is stored in the storage unit.
  • the method for determining reservation information further includes: in response to detecting that the storage unit corresponding to each service time unit in the service period of the third service in each service is a readable and writable storage unit, sending the service to the service When the requester presents each service of the service provider and the service period corresponding to each service, the third service is presented as a reservationable service.
  • the method for determining subscription information further includes: in response to receiving a service cancellation request for the fourth service, revoking an occupancy operation associated with the fourth service; wherein the occupancy operation associated with the fourth service includes: According to the service request received for the fourth service, it is determined that the storage unit corresponding to each service time unit within the service period of the fourth service is a read-only storage unit.
  • an apparatus for determining reservation information comprising: a first acquiring unit configured to acquire service time data of each service set by a service provider, wherein the service time The data includes the service period corresponding to each service; the determining unit, according to the service period of each service, determines the time unit of the service provided by the service provider; the dividing unit is configured to divide the service time data into at least one service time unit according to the time unit , and store the data of each service time unit in the storage unit; the time unit setting unit is configured to set the service period of the first service in response to receiving the service request of the first service sent by the service requester
  • the storage unit corresponding to each service time unit is a read-only storage unit.
  • the apparatus for determining reservation information further includes: an output unit configured to output first reservation information to the service provider, wherein the first reservation information includes indicating that the service period of the first service is reserved information.
  • the apparatus for determining reservation information further includes: a service state setting unit, configured to, for each service time unit within the service time unit of the first service, set the service time unit to the service time unit to which the service time unit belongs. The service status of the corresponding service is set to unavailable.
  • the determining unit includes: a determining module configured to determine the unit of time duration for providing the service to the service provider by using the greatest common divisor of the service period of each service.
  • an apparatus for determining reservation information comprising: a second obtaining unit configured to obtain a service obtaining request sent by a service requester, wherein the service obtaining request is used for requesting Present each service of the service provider and the service period corresponding to each service; the first presentation unit is configured to respond to detecting that the storage unit corresponding to at least one service time unit in the service period of the second service in each service is: a read-only storage unit, when presenting each service of the service provider and the service period corresponding to each service to the service requester, presenting the second service as a non-reservable service; wherein, the step of determining the service time unit includes: obtaining the service provider Set each service and the service period of each service; according to the service period of each service, determine the service time data of the service provider; according to the service period of each service, determine the time unit for the service provider to provide the service; The time data is divided into at least one service time unit, and the data of each service time unit
  • the apparatus for determining reservation information further includes: a second presentation unit, configured in response to detecting that the storage unit corresponding to each service time unit in the service period of the third service in each service is available
  • the read-write storage unit when presenting each service of the service provider and the service period corresponding to each service to the service requester, presents the third service as a reservationable service.
  • the apparatus for determining subscription information further comprises: a revocation unit, configured to revoke the occupancy operation associated with the fourth service in response to receiving the service cancellation request for the fourth service; wherein the occupancy operation associated with the fourth service is The associated occupation operation includes: according to the service request received for the fourth service, determining that the storage unit corresponding to each service time unit within the service period of the fourth service is a read-only storage unit.
  • an embodiment of the present disclosure provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are stored by one or more A plurality of processors execute such that one or more processors implement the method for determining subscription information as provided in the first aspect or implement the method for determining subscription information as provided in the second aspect.
  • an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored, wherein, when the program is executed by a processor, the method for determining reservation information provided in the first aspect is implemented. The method or the method for determining reservation information provided by the second aspect is implemented.
  • the method and device for determining reservation information obtained by the present disclosure obtain the service time data including the service period of each service set by the service provider, determine the time unit for the service provider to provide the service according to the service period of each service, and then The service time data is divided into at least one service time unit according to the duration unit, and when a service request for a service sent by the service requester is received, the time information of each service time unit within the service period of the service in the service time data is determined as Occupied, so that other services that overlap with the time unit of the service cannot be reserved.
  • This method has wide applicability.
  • the technology according to the present application solves the problem of poor applicability of the method for determining the reservation information for reducing the number of reservations of the service according to the reservation situation of the service.
  • FIG. 1 is an exemplary system architecture diagram to which embodiments of the present application may be applied;
  • FIG. 2 is a flowchart of one embodiment of a method for determining reservation information according to the present application
  • FIG. 3 is a flowchart of another embodiment of a method for determining reservation information according to the present application.
  • FIG. 4 is a schematic structural diagram of an embodiment of an apparatus for determining reservation information according to the present application.
  • FIG. 5 is a schematic structural diagram of another embodiment of an apparatus for determining reservation information according to the present application.
  • FIG. 6 is a block diagram of an electronic device used to implement the method for determining reservation information according to an embodiment of the present application.
  • FIG. 1 illustrates an exemplary system architecture 100 to which embodiments of the method for determining appointment information or the apparatus for determining appointment information of the present application may be applied.
  • the system architecture 100 may include terminal devices 101 , 102 , and 103 , a network 104 and a server 105 .
  • the network 104 is a medium used to provide a communication link between the terminal devices 101 , 102 , 103 and the server 105 .
  • the network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
  • the user can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages and the like.
  • the terminal devices 101, 102, and 103 may be installed with various client applications for receiving push services, such as service reservations, consultation applications, shopping applications, chat applications, web page applications, game applications, and financial applications. Wait.
  • the terminal devices 101, 102, and 103 may be various electronic devices that have a display screen and support receiving push services, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Compression Standard Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) Players, Laptops and Desktops, etc.
  • MP3 players Moving Picture Experts Group Audio Layer III, Moving Picture Experts Compression Standard Audio Layer 3
  • MP4 Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4
  • Players Laptops and Desktops, etc.
  • the terminal devices 101, 102, and 103 may be hardware or software.
  • the terminal devices 101, 102, and 103 are hardware, they can be various electronic devices, and when the terminal devices 101, 102, and 103 are software, they can be installed in the above-mentioned electronic devices. It can be implemented as multiple software or software modules (eg, multiple software modules for providing distributed services), or as a single software or software module. There is no specific limitation here.
  • the server 105 can obtain the service time data including the service period of each service set by the service provider from the terminal devices 101, 102, and 103, and then determine the time unit for the service provided by the service provider according to the service period of each service, and according to the time period The unit divides the service time data into at least one service time unit.
  • the server 105 receives the service request from the service requester collected by the terminal devices 101, 102, and 103, the server 105 can The time information of each service time unit within the time period is set as occupied.
  • the server 105 may acquire the service acquisition request sent by the service requester from the terminal devices 101, 102, and 103, and the service acquisition request is used to request each service of the presentation service provider and the service period corresponding to each service.
  • the server 105 detects each service
  • the storage unit corresponding to any service time unit within the service period of a certain service is a read-only storage unit
  • the corresponding information is sent to the terminal equipment 101, 102, 103, and based on the information, the terminal equipment 101, 102, 103 indicates that the service is an unreservable service.
  • the method for determining reservation information provided by the embodiments of the present disclosure is generally performed by the server 105 , and accordingly, the apparatus for determining the reservation information is generally provided in the server 105 .
  • the terminal devices 101, 102, and 103 can be applied to collect data of service providers, and the terminal devices 101, 102, and 103 can also be applied to collect data of service requesters.
  • terminal devices, networks and servers in FIG. 1 are merely illustrative. There can be any number of terminal devices, networks and servers according to implementation needs.
  • a method for determining appointment information comprising the following steps:
  • Step 201 Acquire service time data of each service set by the service provider, wherein the service time data includes a service period corresponding to each service.
  • the executing subject (for example, the server shown in FIG. 1 ) of the method for determining reservation information may acquire the settings of the service provider (or the administrator of the service provider) collected by the terminal in a wired or wireless manner.
  • the service time data of each service is determined, and the service time data includes each service period corresponding to each service provided by the service provider.
  • the service provider refers to the party who provides the service, which may be a provider of a certain service (for example, a doctor who provides consultation services, a driver who provides driving services, a lawyer who provides consulting services, etc.), or a A resource that provides a service (for example, a server that provides storage services, a cloud computing platform that provides computing services, a warehouse that provides storage services for items, etc.).
  • a provider of a certain service for example, a doctor who provides consultation services, a driver who provides driving services, a lawyer who provides consulting services, etc.
  • a resource that provides a service for example, a server that provides storage services, a cloud computing platform that provides computing services, a warehouse that provides storage services for items, etc.
  • Step 202 according to the service period of each service, determine the time unit for the service provider to provide the service.
  • the time unit for the service provided by the service provider may be determined according to the service period of each service set by the service provider. For example, if the service period of each service is in hours, that is, the service period of each service is a positive integer multiple of 1 hour, then 1 hour can be determined as the unit of time for the service provider to provide services; or, if In the service period of each service, the minimum time unit of the service period with the most accurate time is minutes, and then 1 minute may be determined as the time unit for the service provider to provide the service.
  • Step 203 Divide the service time data into at least one service time unit according to the duration unit, and store the data of each service time unit in a storage unit.
  • the service time data can be divided into a plurality of service time units by using the time length unit, that is, the service period of each service in the service time data includes a positive integer number of service time units, and each service time unit is divided into multiple service time units.
  • the data indicating the time information of the unit (for example, data such as the start and end times of the service time unit) are stored in each storage unit of the server. For example, if the service time data includes that the service period of service A is 6:00-8:00 am on January 1, 2020, the service period of service B is 7:00-8:00 am on January 1, 2020, and the service period of service B is 7:00-8:00 am on January 1, 2020.
  • the service period of C is from 7:30 am to 8:00 am on January 1, 2020, and the unit is 30 minutes.
  • the divided service time data can be:
  • the service period of service A includes the morning of January 1, 2020. 4 service time units of 6:00-6:30, 6:30-7:00, 7:00-7:30, 7:30-8:00, the service time of service B includes January 2020 The two service time units are 7:00-7:30 and 7:30-8:00 in the morning of the 1st.
  • the service period of service C includes the service of 7:30-8:00 in the morning of January 1, 2020. time unit.
  • Step 204 In response to receiving the service request for the first service sent by the service requester, determine that the storage units corresponding to each service time unit within the service period of the first service are read-only storage units.
  • the read/write mode of the storage unit corresponding to each time unit included in the service period of the first service is set/adjusted to only A read memory cell, that is, a memory cell in which the data within the memory cell cannot be overwritten.
  • the first service may be any service provided by the service provider.
  • the service time data including the service period of each service set by the service provider is obtained, and according to the service period of each service, the unit of the time length of the service provided by the service provider is determined, and then according to the service period of each service.
  • the duration unit divides the service time data into at least one service time unit.
  • the method can determine the reservation information of the single service in the scenario that a single service provider provides a single service; the method can determine the reservation information of the multiple services in the scenario that the single service provider provides multiple services, and the multiple services can be determined.
  • the service may or may not have conflict in the service period; the method can also determine the reservation information of the service in the scenario where multiple service providers provide a single service; the method can also be provided by multiple service providers.
  • the reservation information of the multiple services is determined. This method has broad applicability.
  • the method for determining reservation information further includes: outputting first reservation information to the service provider, wherein the first reservation information includes information indicating that the service period of the first service is reserved.
  • information indicating that the service period of the first service has been reserved or that the first service has been reserved may be output to the service provider.
  • the service or service period of a service provided by the service provider is requested by the service requester, the corresponding information is output to the service provider, so that the service provider can know the relevant information in time and provide convenience for the service provider .
  • the method for determining reservation information further includes: for each service time unit within the service period of the first service, setting the service status of the service corresponding to the service period to which the service time unit belongs to as unavailable. reserve.
  • the service status of each service corresponding to each service period to which each service time unit within the service period of the first service reserved by the service requester belongs may be set to a non-reservable status.
  • the service period of the first service is 6:00-9:00 am on a certain day, it includes service time unit 6:00-7:00, service time unit 7:00-8:00, service time unit 8: 00-9:00;
  • the service period of the second service is 7:00-10:00 am on the day, including service time unit 7:00-8:00, service time unit 8:00-9:00, service time Unit 9:00-10:00;
  • the service period of the third service is 8:00-11:00 am on the day, including service time unit 8:00-9:00, service time unit 9:00-10:00 , service time unit 10:00-11:00;
  • the service period of the fourth service is 6:00-7:00 am on the day, including the service time unit 6:00-7:00; then when the first service is reserved Then, for the time unit 6:00-7:00 within the service period 6:00-9:00 of the first service, the time unit also belongs to the service
  • the service status of each service to which the service time unit included in the service period of the reserved service belongs is set as non-reservable, and the service period and the service period of the reserved service may overlap/conflict
  • the service status of the service is set to non-reservable, so that when a service of the service provider is reserved, the reservation status of other services whose service period overlaps with the service period of the service can be updated.
  • the reservation information of the multi-service is determined.
  • determining the duration unit of the service provided by the service provider according to the service period of each service includes: determining the greatest common divisor of the service period of each service as The unit of time for which the service provider provides the service.
  • the unit of the duration of the service provided by the service provider may be the greatest common divisor of the service period of each service provided by the service provider.
  • the service provider provides three services, namely service A, service B, and service C.
  • the service period of service A is 1:15-1:45 pm on a certain day
  • the service period of service B is 1 pm on that day.
  • the service period of service C is 3:00-4:00 pm on the day, then 15 minutes can be determined as the unit of time for the service provider to provide services.
  • the service provider provides three services, namely service D, service E, and service F, wherein the service period of service D is 1:20-1:50 pm on a certain day, and the service period of service E is the afternoon of that day. 1:35-2:45, the service time of service F is 3:00-4:00 pm on the day, then due to 1:20-1:45, 1:35-2:45, 3:00-4:00
  • These three time periods can be simultaneously composed of a positive integer number of time units in the same time axis consisting of time units every 5 minutes (one time unit is 5 minutes), therefore, providing service D, service E, service
  • the time unit for the service provided by the service provider of F is 5 minutes.
  • the greatest common divisor of the service period of each service provided by the service provider is used as the service time unit of the service provided by the service provider, so as to ensure that the service period of each service can be divided into each service time unit at the same time.
  • the number of divided service time units is reduced, thereby improving the computing efficiency of the system.
  • a flow 300 of another embodiment of a method for determining subscription information in accordance with the present disclosure is shown.
  • a method for determining appointment information comprising the following steps:
  • Step 301 Acquire a service acquisition request sent by a service requester, wherein the service acquisition request is used to request each service of a presentation service provider and a service period corresponding to each service.
  • the execution body of the method for determining reservation information may acquire the service acquisition request of the service requester collected by the terminal in a wired or wireless manner, and the service acquisition request uses Each service provided by the service provider and the service period of each service are presented upon request.
  • Step 302 in response to detecting that the storage unit corresponding to at least one service time unit in the service period of the second service in each service is a read-only storage unit, present each service of the service provider to the service requester and corresponding to each service time unit.
  • the second service is presented as an unreservable service; wherein, the step of determining the service time unit includes: acquiring each service set by the service provider and the service period of each service; and determining the service according to the service period of each service.
  • the service time data of the provider according to the service period of each service, determine the time unit for the service provider to provide the service; divide the service time data into at least one service time unit according to the time unit.
  • the service provider when it is detected that in the time unit included in the service period of any service provided by the service provider, there is a time unit whose corresponding storage unit is a read-only storage unit.
  • the party presents each service provided by the service provider and the service time period of each service, the service will be presented as a non-reservable service.
  • the second service may be any one of the various services provided by the service party.
  • the service time unit may be determined according to the following steps: obtain service time data of each service set by the service provider, and the service time data includes each service period corresponding to each service provided by the service provider; The service period of each service set by the service provider determines the duration unit of the service provided by the service provider; using the duration unit, the service time data is divided into multiple service time units, that is, the service time of each service in the service time data. Each period contains a positive integer number of service time units.
  • the method for determining reservation information acquires a service acquisition request sent by a service requester for requesting each service of a presence service provider and a service period corresponding to each service, and when detecting a service acquisition request in each service
  • the service period of a service includes the time information of the occupied service time unit, the service is presented as an unreservable service, so that when a service is reserved, the service period and the reserved service can be updated.
  • the method for determining reservation information further includes:
  • each service of the service provider and the service corresponding to each service are presented to the service requester.
  • the third service is presented as an appointmentable service.
  • each service when it is detected that the storage units corresponding to each service time unit in the service period of a certain service of the various services provided by the service provider are all readable and writable storage units, each service is presented to the service requester. and the service period of each service, the service is presented as an appointmentable service.
  • the reservation status of the service is determined by detecting the time information of each service time unit included in the service period of the service, so that the reservation status of two services with the same service name and non-overlapping service periods can be prevented from affecting each other, and the service The appointment status of two services with different names and overlapping service periods cannot be updated in linkage. This appointment method has wider applicability.
  • the method for determining subscription information further includes: in response to receiving a service cancellation request for the fourth service, canceling an occupation operation associated with the fourth service; wherein the occupation operation associated with the fourth service includes: according to the reception To the service request of the fourth service, it is determined that the storage units corresponding to each service time unit within the service period of the fourth service are read-only storage units.
  • the storage units corresponding to all the service time units in the service period of the service are set as readable when the service is reserved.
  • Write storage unit may be any one of the various services.
  • the storage unit corresponding to the service time unit included in the service period of the service can be cancelled and set as a readable and writable storage unit, so that the service period and the service period
  • the services with overlapping service periods are updated to the reservation status, realizing the linkage update of the reservation status of multiple services.
  • methods such as read-write permission control can be used to control the multiple requests received.
  • the time when the requesting party sends the request, and the requesting party who first made the request is allowed to operate, that is, the operation authority of the service will be granted to the requester who made the first request, so as to avoid operation conflicts caused by multiple parties operating the same service at the same time, etc. question.
  • the service provider may be a doctor who provides consultation services, and each service provided by the service provider may be a telephone consultation service (30 minutes) and a video consultation service (45 minutes).
  • the service time data set by the doctor on June 22, 2020 is: telephone consultation service 1, service period 9:00-9:30, telephone consultation service 2, service period 11:00-11 :30, video consultation service 3, service time 9:00-9:45, video consultation service 4, service time 10:00-10:45, video consultation service 5, service time 11:15-12:00 .
  • the doctor's service time data can be divided into multiple service time units according to the time unit, and it can be known that the telephone consultation service 1 includes service time units 9:00-9:15, service time units 9:15-9:30, Telephone consultation service 2 includes service time unit 11:00-11:15, service time unit 11:15-11:30, video consultation service 3 includes service time unit 9:00-9:15, service time unit 9: 15-9:30, service time unit 9:30-9:45, video consultation service 4 includes service time unit 10:00-10:15, service time unit 10:15-10:30, service time unit 10: 30-10:45, video consultation service 5 includes service time unit 11:15-11:30, service time unit 11:30-11:45, and service time unit 11:45-12:00.
  • the telephone consultation service 1 and the video consultation service 3 have the same service time unit, and the telephone consultation service 2 and the video consultation service 5 have the same time unit, (that is, the two have overlapping service time/ conflict), when one of the services is booked, it will affect the booking of the other service.
  • the unit information of the service time unit is generated, that is, each service time unit is stored corresponding to the service to which the service time unit belongs or the service period of the service to which it belongs, for example: the unit of the service time unit 9:00-9:15
  • the information can be ⁇ unit id/service id, doctor id, 9:00 (start time of service period of telephone consultation service 1), 9:30 (end time of service period of telephone consultation service 1) ⁇ and ⁇ unit id/ Service ID, Doctor ID, 9:00 (start time of service period of video consultation service 3), 9:45 (end time of service period of video consultation service 3) ⁇
  • service time unit 9:15-9:30 Unit information can be ⁇ unit ID, doctor ID, 9:00, 9:30 ⁇ and ⁇ unit ID/service ID, doctor ID, 9:00, 9:45 ⁇
  • service time unit 9:30-9:45 Unit information can be ⁇ unit ID, doctor ID, 9:00, 9:45 ⁇ .
  • the corresponding service time unit can be determined according to the service identifier of the service or the start-end time of the service period of the service, and the corresponding service time unit Time information is set to occupied.
  • the present disclosure provides an embodiment of an apparatus for determining reservation information, and the apparatus embodiment corresponds to the method embodiment shown in FIG. 2 , Specifically, the device can be applied to various electronic devices.
  • the apparatus 400 for determining reservation information in this embodiment includes: a first acquiring unit 401 , a determining unit 402 , a dividing unit 403 , and a time unit setting unit 404 .
  • the first obtaining unit is configured to obtain service time data of each service set by the service provider, wherein the service time data includes the service period corresponding to each service;
  • the determining unit is configured to determine the service according to the service period of each service The time unit for the provider to provide the service;
  • the division unit is configured to divide the service time data into at least one service time unit according to the time unit, and store the data of each service time unit in the storage unit;
  • the time unit setting unit is It is configured to, in response to receiving the service request of the first service sent by the service requester, determine that the storage unit corresponding to each service time unit within the service period of the first service is a read-only storage unit.
  • the apparatus for determining reservation information further includes: an output unit configured to output first reservation information to the service provider, wherein the first reservation information includes indicating that the service period of the first service is reserved information.
  • the apparatus for determining reservation information further includes: a service state setting unit, configured to, for each service time unit within the service time unit of the first service, set the service time unit to the service time unit to which the service time unit belongs. The service status of the corresponding service is set to unavailable.
  • the determining unit includes: a determining module configured to determine the unit of time duration for providing the service to the service provider by using the greatest common divisor of the service period of each service.
  • Each unit in the above-mentioned apparatus 400 corresponds to the steps in the method described with reference to FIG. 2 . Therefore, the operations, features, and achievable technical effects described above with respect to the method for determining reservation information are also applicable to the apparatus 400 and the units included therein, and details are not described herein again.
  • the present disclosure provides an embodiment of an apparatus for determining reservation information, and the apparatus embodiment corresponds to the method embodiment shown in FIG. 3 , Specifically, the device can be applied to various electronic devices.
  • the apparatus 500 for pushing information in this embodiment includes: a second acquiring unit 501 and a first presenting unit 502 .
  • the second obtaining unit is configured to obtain the service obtaining request sent by the service requester, wherein the service obtaining request is used for requesting to present each service of the service provider and the service period corresponding to each service; It is configured that, in response to detecting that the storage unit corresponding to at least one service time unit in the service period of the second service in each service is a read-only storage unit, each service of the service provider and corresponding to each service are presented to the service requester.
  • the second service is presented as a non-reservable service when the service period of the service is set; wherein, the step of determining the service time unit includes: acquiring each service set by the service provider and the service period of each service; and determining the service provider according to the service period of each service. According to the service period of each service, determine the time unit of the service provided by the service provider; according to the time unit, divide the service time data into at least one service time unit.
  • the apparatus for determining reservation information further includes: a second presentation unit, configured in response to detecting that the storage unit corresponding to each service time unit in the service period of the third service in each service is available
  • the read-write storage unit when presenting each service of the service provider and the service period corresponding to each service to the service requester, presents the third service as a reservationable service.
  • the apparatus for determining subscription information further comprises: a revocation unit, configured to revoke the occupancy operation associated with the fourth service in response to receiving the service cancellation request for the fourth service; wherein the occupancy operation associated with the fourth service is The associated occupation operation includes: according to the service request received for the fourth service, determining that the storage unit corresponding to each service time unit within the service period of the fourth service is a read-only storage unit.
  • Each unit in the above-mentioned apparatus 500 corresponds to the steps in the method described with reference to FIG. 3 . Therefore, the operations, features, and achievable technical effects described above with respect to the method for determining reservation information are also applicable to the apparatus 500 and the units included therein, and will not be repeated here.
  • the present application further provides an electronic device and a readable storage medium.
  • FIG. 6 it is a block diagram of an electronic device 600 for a method for determining reservation information according to an embodiment of the present application.
  • Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers.
  • Electronic devices may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smart phones, wearable devices, and other similar computing devices.
  • the components shown herein, their connections and relationships, and their functions are by way of example only, and are not intended to limit implementations of the application described and/or claimed herein.
  • the electronic device includes: one or more processors 601, a memory 602, and interfaces for connecting various components, including a high-speed interface and a low-speed interface.
  • the various components are interconnected using different buses and may be mounted on a common motherboard or otherwise as desired.
  • the processor may process instructions executed within the electronic device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface.
  • multiple processors and/or multiple buses may be used with multiple memories and multiple memories, if desired.
  • multiple electronic devices may be connected, each providing some of the necessary operations (eg, as a server array, a group of blade servers, or a multiprocessor system).
  • a processor 601 is taken as an example in FIG. 6 .
  • the memory 602 is the non-transitory computer-readable storage medium provided by the present application.
  • the memory stores instructions executable by at least one processor, so that the at least one processor executes the method for determining reservation information provided by the present application.
  • the non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to perform the method for determining reservation information provided by the present application.
  • the memory 602 can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as program instructions/modules corresponding to the method for determining reservation information in the embodiments of the present application (For example, the first obtaining unit 401, the determining unit 402, the dividing unit 403, and the time unit setting unit 404 shown in FIG. 4).
  • the processor 601 executes various functional applications and data processing of the server by running the non-transitory software programs, instructions and modules stored in the memory 602, that is, implementing the method for determining reservation information in the above method embodiments.
  • the memory 602 may include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function; data etc. Additionally, memory 602 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 602 may optionally include memory located remotely from processor 601 that may be connected via a network to an electronic device for determining appointment information. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the electronic device for the method of determining reservation information may further include: an input device 603 , an output device 604 and a bus 605 .
  • the processor 601, the memory 602, the input device 603, and the output device 604 may be connected through a bus 605 or other means, and the connection through the bus 605 is taken as an example in FIG. 6 .
  • the input device 603 can receive input numerical or character information, and generate key signal input related to user settings and function control of the electronic device used to determine the reservation information, such as touch screen, keypad, mouse, trackpad, touchpad, pointer A stick, one or more mouse buttons, a trackball, a joystick, and other input devices.
  • Output devices 604 may include display devices, auxiliary lighting devices (eg, LEDs), haptic feedback devices (eg, vibration motors), and the like.
  • the display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some implementations, the display device may be a touch screen.
  • Various implementations of the systems and techniques described herein can be implemented in digital electronic circuitry, integrated circuit systems, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpretable on a programmable system including at least one programmable processor that The processor, which may be a special purpose or general-purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device an output device.
  • the processor which may be a special purpose or general-purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device an output device.
  • machine-readable medium and “computer-readable medium” refer to any computer program product, apparatus, and/or apparatus for providing machine instructions and/or data to a programmable processor ( For example, magnetic disks, optical disks, memories, programmable logic devices (PLDs), including machine-readable media that receive machine instructions as machine-readable signals.
  • machine-readable signal refers to any signal used to provide machine instructions and/or data to a programmable processor.
  • the systems and techniques described herein may be implemented on a computer having a display device (eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user ); and a keyboard and pointing device (eg, a mouse or trackball) through which a user can provide input to the computer.
  • a display device eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor
  • a keyboard and pointing device eg, a mouse or trackball
  • Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (eg, visual feedback, auditory feedback, or tactile feedback); and can be in any form (including acoustic input, voice input, or tactile input) to receive input from the user.
  • the systems and techniques described herein may be implemented on a computing system that includes back-end components (eg, as a data server), or a computing system that includes middleware components (eg, an application server), or a computing system that includes front-end components (eg, a user's computer having a graphical user interface or web browser through which a user may interact with implementations of the systems and techniques described herein), or including such back-end components, middleware components, Or any combination of front-end components in a computing system.
  • the components of the system may be interconnected by any form or medium of digital data communication (eg, a communication network). Examples of communication networks include: Local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
  • a computer system can include clients and servers.
  • Clients and servers are generally remote from each other and usually interact through a communication network.
  • the relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Tourism & Hospitality (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本申请公开了用于确定预约信息的方法和装置,涉及计算机技术领域。该方法包括: 获取服务提供方设定的各个服务的服务时间数据,其中,服务时间数据包括对应于各个服务的服务时段; 根据各个服务的服务时段,确定服务提供方提供服务的时长单位; 根据时长单位将服务时间数据分割为至少一个服务时间单元,并将各个服务时间单元的数据存储于存储单元中; 响应于接收到服务请求方发送的第一服务的服务请求,设定第一服务的服务时段内各个服务时间单元对应的存储单元为只读存储单元。该方法具有广泛的适用性。

Description

用于确定预约信息的方法和装置
交叉引用
本专利申请要求于2020年09月29日提交的、申请号为202011050506.5、发明名称为“用于确定预约信息的方法和装置”的中国专利申请的优先权,该申请的全文以引用的方式并入本申请中。
技术领域
本公开涉及计算机技术领域,具体涉信息管理技术领域,尤其涉及用于确定预约信息的方法和装置。
背景技术
随着人们生活节奏的加快,线上预约业务成为服务提供方普遍应用的业务。目前,确定预约信息的方法是当服务提供方提供的一项服务被预约后,减少该项服务的可预约数量。
然而,根据服务的预约情况减少服务的可预约数量的确定预约信息的方法存在适用性差的问题。
发明内容
本公开提供了一种用于确定预约信息的方法、装置、电子设备以及计算机可读存储介质。
根据本公开的第一方面,提供了一种用于确定预约信息的方法,该方法包括:获取服务提供方设定的各个服务的服务时间数据,其中,服务时间数据包括对应于各个服务的服务时段;根据各个服务的服务时段,确定服务提供方提供服务的时长单位;根据时长单位将服务时间数据分割为至少一个服务时间单元,并将各个所述服务时间单元的数据存储于存储单元中;响应于接收到服务请求方发送的第一服务的服务请求,设定第一服务 的服务时段内各个服务时间单元对应的存储单元为只读存储单元。
在一些实施例中,用于确定预约信息的方法还包括:向服务提供方输出第一预约信息,其中,第一预约信息包括指示第一服务的服务时段为已预约的信息。
在一些实施例中,用于确定预约信息的方法还包括:针对第一服务的服务时段内的每一个服务时间单元,将与该服务时间单元所属的服务时段对应的服务的服务状态,设定为不可预约。
在一些实施例中,根据各个服务的服务时段,确定服务提供方提供服务的时长单位,包括:将各个服务的服务时段的最大公约数,确定为服务提供方提供服务的时长单位。
根据本公开的第二方面,提供了一种用于确定预约信息的方法,该方法包括:获取服务请求方发送的服务获取请求,其中,服务获取请求用于请求呈现服务提供方的各个服务和对应于各个服务的服务时段;响应于检测到各个服务中的第二服务的服务时段中的至少一个服务时间单元对应的存储单元为只读存储单元,在向服务请求方呈现服务提供方的各个服务和对应于各个服务的服务时段时,呈现第二服务为不可预约服务;其中,服务时间单元的确定步骤包括:获取服务提供方设定的各个服务和各个服务的服务时段;根据各个服务的服务时段,确定服务提供方的服务时间数据;根据各个服务的服务时段,确定服务提供方提供服务的时长单位;根据时长单位将服务时间数据分割为至少一个服务时间单元,并将各个所述服务时间单元的数据存储于存储单元中。
在一些实施例中,用于确定预约信息的方法还包括:响应于检测到各个服务中的第三服务的服务时段中的各个服务时间单元对应的存储单元为可读写存储单元,在向服务请求方呈现服务提供方的各个服务和对应于各个服务的服务时段时,呈现第三服务为可预约服务。
在一些实施例中,用于确定预约信息的方法还包括:响应于接收到第四服务的服务取消请求,撤销与第四服务关联的占用操作;其中,与第四服务关联的占用操作包括:根据接收到第四服务的服务请求,确定第四服务的服务时段内各个服务时间单元对应的存储单元为只读存储单元。
根据本公开的第三方面,提供了一种用于确定预约信息的装置,该装 置包括:第一获取单元,被配置为获取服务提供方设定的各个服务的服务时间数据,其中,服务时间数据包括对应于各个服务的服务时段;确定单元,根据各个服务的服务时段,确定服务提供方提供服务的时长单位;划分单元,被配置为根据时长单位将服务时间数据分割为至少一个服务时间单元,并将各个所述服务时间单元的数据存储于存储单元中;时间单元设定单元,被配置为响应于接收到服务请求方发送的第一服务的服务请求,设定第一服务的服务时段内各个服务时间单元对应的存储单元为只读存储单元。
在一些实施例中,用于确定预约信息的装置还包括:输出单元,被配置为向服务提供方输出第一预约信息,其中,第一预约信息包括指示第一服务的服务时段为已预约的信息。
在一些实施例中,用于确定预约信息的装置还包括:服务状态设定单元,被配置为针对第一服务的服务时段内的每一个服务时间单元,将与该服务时间单元所属的服务时段对应的服务的服务状态,设定为不可预约。
在一些实施例中,确定单元,包括:确定模块,被配置为将各个服务的服务时段的最大公约数,确定为服务提供方提供服务的时长单位。
根据本公开的第四方面,提供了一种用于确定预约信息的装置,该装置包括:第二获取单元,被配置为获取服务请求方发送的服务获取请求,其中,服务获取请求用于请求呈现服务提供方的各个服务和对应于各个服务的服务时段;第一呈现单元,被配置为响应于检测到各个服务中的第二服务的服务时段中的至少一个服务时间单元对应的存储单元为只读存储单元,在向服务请求方呈现服务提供方的各个服务和对应于各个服务的服务时段时,呈现第二服务为不可预约服务;其中,服务时间单元的确定步骤包括:获取服务提供方设定的各个服务和各个服务的服务时段;根据各个服务的服务时段,确定服务提供方的服务时间数据;根据各个服务的服务时段,确定服务提供方提供服务的时长单位;根据时长单位将服务时间数据分割为至少一个服务时间单元,并将各个所述服务时间单元的数据存储于存储单元中。
在一些实施例中,用于确定预约信息的装置还包括:第二呈现单元,被配置为响应于检测到各个服务中的第三服务的服务时段中的各个服务 时间单元对应的存储单元为可读写存储单元,在向服务请求方呈现服务提供方的各个服务和对应于各个服务的服务时段时,呈现第三服务为可预约服务。
在一些实施例中,用于确定预约信息的装置还包括:撤销单元,被配置为响应于接收到第四服务的服务取消请求,撤销与第四服务关联的占用操作;其中,与第四服务关联的占用操作包括:根据接收到第四服务的服务请求,确定第四服务的服务时段内各个服务时间单元对应的存储单元为只读存储单元。
根据本公开的第五方面,本公开的实施例提供了一种电子设备,包括:一个或多个处理器:存储装置,用于存储一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如第一方面提供的用于确定预约信息的方法或实现如第二方面提供的用于确定预约信息的方法。
根据本公开的第六方面,本公开的实施例提供了一种计算机可读存储介质,其上存储有计算机程序,其中,程序被处理器执行时实现第一方面提供的用于确定预约信息的方法或实现第二方面提供的用于确定预约信息的方法。
本公开提供的用于确定预约信息的方法、装置,获取服务提供方设定的包含各个服务的服务时段的服务时间数据,根据各个服务的服务时段,确定服务提供方提供服务的时长单位,然后根据时长单位将服务时间数据分割为至少一个服务时间单元,当接收到服务请求方发送的服务的服务请求时,将服务时间数据中该服务的服务时段内的各个服务时间单元的时间信息确定为已占用,使与该服务存在时间单元重叠的其他服务无法被预约,该方法具有广泛的适用性。
根据本申请的技术解决了根据服务的预约情况减少服务的可预约数量的预约信息确定的方法存在的适用性差的问题。
应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。
附图说明
附图用于更好地理解本方案,不构成对本申请的限定。其中:
图1是本申请的实施例可以应用于其中的示例性系统架构图;
图2是根据本申请的用于确定预约信息的方法的一个实施例的流程图;
图3是根据本申请的用于确定预约信息的方法的另一个实施例的流程图;
图4是根据本申请的用于确定预约信息的装置的一个实施例的结构示意图;
图5是根据本申请的用于确定预约信息的装置的另一个实施例的结构示意图;
图6是用来实现本申请实施例的用于确定预约信息的方法的电子设备的框图。
具体实施方式
以下结合附图对本申请的示范性实施例做出说明,其中包括本申请实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本申请的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。
图1示出了可以应用本申请的用于确定预约信息的方法或用于确定预约信息的装置的实施例的示例性系统架构100。
如图1所示,系统架构100可以包括终端设备101、102、103,网络104和服务器105。网络104用以在终端设备101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。
用户可以使用终端设备101、102、103通过网络104与服务器105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种接收推送服务的客户端应用,例如服务预约类、问诊类应用、购物类应用、聊天类应用、网页类应用、游戏类应用、金融类应用等。
终端设备101、102、103可以是具有显示屏并且支持接收推送服务的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机和台式计算机等等。
终端设备101、102、103可以是硬件,也可以是软件。当终端设备101、102、103为硬件时,可以是各种电子设备,当终端设备101、102、103为软件时,可以安装在上述电子设备中。其可以实现成多个软件或软件模块(例如用来提供分布式服务的多个软件模块),也可以实现成单个软件或软件模块。在此不做具体限定。
服务器105可以从终端设备101、102、103获取服务提供方设定的包含各个服务的服务时段的服务时间数据,然后,根据各个服务的服务时段确定服务提供方提供服务的时长单位,并根据时长单位将服务时间数据分割为至少一个服务时间单元,当服务器105接收到终端设备101、102、103采集的服务请求方的服务请求时,服务器105可以将服务时间数据中的被请求的服务的服务时段内各个服务时间单元的时间信息设定为已占用。
服务器105可以从终端设备101、102、103获取服务请求方发送的服务获取请求,该服务获取请求用于请求呈现服务提供方的各个服务和对应各个服务的服务时段,当服务器105检测到各个服务中的某项服务的服务时段内的任一服务时间单元对应的存储单元为只读存储单元时,向终端设备101、102、103发送相对应的信息,基于该信息,终端设备101、102、103呈现该项服务为不可预约服务。
需要说明的是,本公开的实施例所提供用于确定预约信息的方法一般由服务器105执行,相应地,用于确定预约信息的装置一般设置于服务器105中。终端设备101、102、103可以应用于采集服务提供方的数据,终端设备101、102、103也可以应用于采集服务请求方的数据。
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。
继续参考图2,示出了根据本公开的用于确定预约信息的方法的一个 实施例的流程200。用于确定预约信息的方法,包括以下步骤:
步骤201,获取服务提供方设定的各个服务的服务时间数据,其中,服务时间数据包括对应于各个服务的服务时段。
在本实施例中,用于确定预约信息的方法的执行主体(例如图1所示的服务器)可以通过有线或者无线的方式获取终端采集到的服务提供方(或者服务提供方的管理员)设定的各个服务的服务时间数据,服务时间数据中,包括服务提供方提供的各个服务对应的各个服务时段。本实施例中,服务提供方是指提供服务的一方,可以是某项服务的提供者(例如,提供问诊服务的医生、提供驾驶服务的司机、提供咨询服务的律师等),也可以是提供某项服务的资源(例如,提供存储服务的服务器、提供计算服务的云计算平台、提供物品存放服务的仓储间等)。
步骤202,根据各个服务的服务时段,确定服务提供方提供服务的时长单位。
在本实施例中,可以根据服务提供方设定的各个服务的服务时段,确定出服务提供方提供服务的时长单位。例如,若各个服务的服务时段是以小时为单位的,即,各个服务的服务时段均为1小时的正整数倍,则可以将1小时确定为服务提供方提供服务的时长单位;或者,若各个服务的服务时段中,时间最精确的服务时段的最小时间单位是分钟,则可以将1分钟确定为服务提供方提供服务的时长单位。
步骤203,根据时长单位将服务时间数据分割为至少一个服务时间单元,并将各个服务时间单元的数据存储于存储单元中。
在本实施例中,可以利用时长单位,将服务时间数据分割为多个服务时间单元,即,服务时间数据中的各个服务的服务时段内均包含正整数个服务时间单元,并将各个服务时间单元的指示时间信息的数据(例如,该服务时间单元的起止时间等数据)存储于服务器的各个存储单元中。例如,若服务时间数据包括服务A的服务时段为2020年1月1日上午6:00-8:00、服务B的服务时段为2020年1月1日上午7:00-8:00、服务C的服务时段为2020年1月1日上午7:30-8:00,时长单位为30分钟,则分割后的服务时间数据可以是:服务A的服务时段内包括2020年1月1日上午的6:00-6:30、6:30-7:00、7:00-7:30、7:30-8:00这4个服务时间单元,服务B 的服务时段内包括2020年1月1日上午的7:00-7:30,7:30-8:00这两个服务时间单元,服务C的服务时段内包括2020年1月1日上午的7:30-8:00这个服务时间单元。
步骤204,响应于接收到服务请求方发送的第一服务的服务请求,确定第一服务的服务时段内各个服务时间单元对应的存储单元为只读存储单元。
在本实施例中,当接收到服务请求方发送的第一服务的服务请求时,将第一服务的服务时段内的包括的每一个时间单元对应的存储单元的读写模式设置/调整为只读存储单元,即,存储单元内的数据不能被改写的存储单元。需要说明的是,第一服务可以是服务提供方提供的任一项服务。
本实施例提供的用于确定预约信息的方法,获取服务提供方设定的包含各个服务的服务时段的服务时间数据,根据各个服务的服务时段,确定服务提供方提供服务的时长单位,然后根据时长单位将服务时间数据分割为至少一个服务时间单元,当接收到服务请求方发送的服务的服务请求,将服务时间数据中该服务的服务时段内的各个服务时间单元对应的存储单元为只读存储单元,使与该服务存在时间单元重叠的其他服务无法被预约/信息无法被写入。该方法可以在单一服务提供方提供单一服务的场景下,确定该单一服务的预约信息;该方法可以在单一服务提供方提供多种服务的场景下,确定该多种服务的预约信息,该多种服务在服务时段上可以有冲突、也可以没有冲突;该方法也可以在多个服务提供方提供单一服务的场景下,确定该服务的预约信息;该方法也可以在多个服务提供方提供多种服务的场景下,确定该多种服务的预约信息。该方法具有广泛的适用性。
可选地,用于确定预约信息的方法还包括:向服务提供方输出第一预约信息,其中,第一预约信息包括指示第一服务的服务时段为已预约的信息。
在本实施例中,接收到服务请求方发送的第一服务请求后,可以向服务提供方输出用于指示第一服务的服务时段已经被预约、或者第一服务已经被预约的信息。本实施中,当服务提供方提供的一项服务的服务或服务时段被服务请求方请求之后,向服务提供方输出相应的信息,可以使服务 提供方及时知晓相关信息,为服务提供方提供便利。
可选地,用于确定预约信息的方法还包括:针对第一服务的服务时段内的每一个服务时间单元,将与该服务时间单元所属的服务时段对应的服务的服务状态,设定为不可预约。
在本实施例中,可以将已被服务请求方预约的第一服务的服务时段内的每一个服务时间单元所属的各个服务时段对应的各个服务的服务状态,均设定为不可预约状态。例如,若第一服务的服务时段为某日上午6:00-9:00,其中包括服务时间单元6:00-7:00、服务时间单元7:00-8:00、服务时间单元8:00-9:00;第二服务的服务时段为该日上午7:00-10:00,其中包括服务时间单元7:00-8:00、服务时间单元8:00-9:00、服务时间单元9:00-10:00;第三服务的服务时段为该日上午8:00-11:00,其中包括服务时间单元8:00-9:00、服务时间单元9:00-10:00、服务时间单元10:00-11:00;第四服务的服务时段为该日上午6:00-7:00,其中包括服务时间单元6:00-7:00;则当第一服务被预约后,针对第一服务的服务时段6:00-9:00内的时间单元6:00-7:00,该时间单元还属于第四服务的服务时段6:00-7:00;针对第一服务的服务时段6:00-9:00内的时间单元7:00-8:00,该时间单元还属于第二服务的服务时段7:00-10:00;针对第一服务的服务时段6:00-9:00内的时间单元8:00-9:00,该时间单元还属于第二服务的服务时段7:00-10:00,以及还属于第三服务的服务时段8:00-11:00;由此,可以将服务时段7:00-10:00对应的第二服务、服务时段8:00-11:00对应的第三服务、以及服务时段6:00-7:00对应的第四服务的服务状态均设定为不可预约。
本实施例中,将已被预约的服务的服务时段所包括的服务时间单元所属的各个服务的服务状态设定为不可预约,可以将服务时段与已被预约的服务的服务时段有重叠/冲突的服务的服务状态设定为不可预约,实现当服务提供者的一项服务被预约后,更新服务时段与该项服务的服务时段产生重叠的其他服务的预约状态,可以实现在多业务预约的场景下,确定多业务的预约信息。
在上述结合图2描述的实施例的一些可选的实现方式中,根据各个服务的服务时段,确定服务提供方提供服务的时长单位,包括:将各个服务 的服务时段的最大公约数,确定为服务提供方提供服务的时长单位。
在本实施例中,服务提供方提供服务的时长单位可以是服务提供方提供的各个服务的服务时段的最大公约数。例如,服务提供方提供三种服务,分别为服务A、服务B、服务C,其中,服务A的服务时段为某日下午1:15-1:45、服务B的服务时段为该日下午1:30-2:45、服务C的服务时段为该日下午3:00-4:00,则可以将15分钟确定为服务提供方提供服务的时长单位。再如,服务提供方提供三种服务,分别为服务D、服务E、服务F,其中,服务D的服务时段为某日下午1:20-1:50、服务E的服务时段为该日下午1:35-2:45、服务F的服务时段为该日下午3:00-4:00,则由于1:20-1:45、1:35-2:45、3:00-4:00这三个时段均可以同时由同一个由每5分钟一间隔的时间单元(一个时间单元为5分钟)组成的时间轴中的正整数个时间单元组成,因此,提供服务D、服务E、服务F的服务提供方提供服务的时长单位为5分钟。
本实施例中,将服务提供方提供的各个服务的服务时段的最大公约数作为服务提供方提供服务的服务时间单元,可以在确保各个服务的服务时段均能被划分为各个服务时间单元的同时减少划分出的服务时间单元的数量,从而提高系统计算效率。
进一步参考图3,示出了根据本公开的用于确定预约信息的方法的另一个实施例的流程300。用于确定预约信息的方法,包括以下步骤:
步骤301,获取服务请求方发送的服务获取请求,其中,服务获取请求用于请求呈现服务提供方的各个服务和对应于各个服务的服务时段。
在本实施例中,用于确定预约信息的方法的执行主体(例如图1所示的服务器)可以通过有线或者无线的方式获取终端采集到的服务请求方的服务获取请求,该服务获取请求用于请求呈现服务提供方提供的各个服务、以及各个服务的服务时段。
步骤302,响应于检测到各个服务中的第二服务的服务时段中的至少一个服务时间单元对应的存储单元为只读存储单元,在向服务请求方呈现服务提供方的各个服务和对应于各个服务的服务时段时,呈现第二服务为不可预约服务;其中,服务时间单元的确定步骤包括:获取服务提供方设定的各个服务和各个服务的服务时段;根据各个服务的服务时段,确定服 务提供方的服务时间数据;根据各个服务的服务时段,确定服务提供方提供服务的时长单位;根据时长单位将服务时间数据分割为至少一个服务时间单元。
在本实施例中,当检测到服务提供方提供的各个服务中的任一项服务的服务时段包含的时间单元中,存在其对应的存储单元为只读存储单元的时间单元,在向服务请求方呈现服务提供方提供的各个服务、以及各个服务的服务时间段时,将呈现该项服务为不可预约服务。需要说明的是第二服务可以是服务方提供的各个服务中的任一项服务。
在本实施例中,服务时间单元可以按照如下步骤进行确定:获取服务提供方设定的各个服务的服务时间数据,服务时间数据中,包括服务提供方提供的各个服务对应的各个服务时段;根据服务提供方设定的各个服务的服务时段,确定出服务提供方提供服务的时长单位;利用时长单位,将服务时间数据分割为多个服务时间单元,即,服务时间数据中的各个服务的服务时段内均包含正整数个服务时间单元。
本实施例提供的用于确定预约信息的方法,获取服务请求方发送的用于请求呈现服务提供方的各个服务和对应于各个服务的服务时段的服务获取请求,并且当检测到各个服务中的某项服务的服务时段包含时间信息为已占用的服务时间单元时,将该项服务的呈现为不可预约服务,可以实现当一项服务被预约后,更新服务时段与该项已被预约的服务的服务时段有时间重叠/冲突的服务的预约信息,从而实现预约状态的联动更新。
可选地,用于确定预约信息的方法还包括:
响应于检测到各个服务中的第三服务的服务时段中的各个服务时间单元对应的存储单元为可读写存储单元,在向服务请求方呈现服务提供方的各个服务和对应于各个服务的服务时段时,呈现第三服务为可预约服务。
在本实施例中,当检测到服务提供方提供的各个服务中的某项服务的服务时段中的各个服务时间单元对应的存储单元均为可读写存储单元,在向服务请求方呈现各个服务以及各个服务的服务时段时,呈现该项服务为可预约服务。本实施例通过检测服务的服务时段包含的各个服务时间单元的时间信息确定该项服务的预约状态,可以避免服务名称相同、服务时段 不重叠的两个服务的预约状态相互影响,以及可以避免服务名称不同,服务时段有重叠的两个服务的预约状态无法联动更新,该预约方法的适用性更广泛。
可选地,用于确定预约信息的方法还包括:响应于接收到第四服务的服务取消请求,撤销与第四服务关联的占用操作;其中,与第四服务关联的占用操作包括:根据接收到第四服务的服务请求,确定第四服务的服务时段内各个服务时间单元对应的存储单元为只读存储单元。
在本实施例中,当接收到服务请求方取消某项服务的取消请求时,,将由于预约该项服务时将该项服务的服务时段中的全部服务时间单元对应的存储单元设置为可读写存储单元。需要说明的是,第四服务可以是各个服务中的任一项服务。本实施例中,当服务请求方取消某项服务预约后,可以撤销对该项服务的服务时段包含的服务时间单元对应的存储单元设置为可读写存储单元,使服务时段与该项服务的服务时段有重叠的服务更新为可预约状态,实现多项服务的预约状态的联动更新。
在上述结合图3描述的实施例的一些可选的实现方式中,当接收到多个服务请求方针对同一项服务进行操作时,可以通过读写权限控制等方法,根据接收到的多个请求方发出请求的时间,允许最先发出请求的请求方进行操作,即,将对该项服务的操作权限授予最先发出请求的请求方,避免多方对同一项服务同时进行操作产生的操作冲突等问题。
在一些应用场景中,服务提供方可以是提供问诊服务的医生,服务提供方提供的各个服务可以是电话问诊服务(时长30分钟)、视频问诊服务(时长45分钟),首先,获取医生设定的其在2020年6月22日这一天提供的服务时间数据为:电话问诊服务1、服务时段9:00-9:30,电话问诊服务2、服务时段11:00-11:30,视频问诊服务3、服务时段9:00-9:45,视频问诊服务4、服务时段10:00-10:45,视频问诊服务5、服务时段11:15-12:00。
其次,根据该医生设定的上述5个服务的服务时段,确定出该医生提供服务的时长单位为15分钟。根据时长单位可将该医生的服务时间数据分割为多个服务时间单元,并且可知:电话问诊服务1包含服务时间单元9:00-9:15、服务时间单元9:15-9:30,电话问诊服务2包含服务时间单元 11:00-11:15、服务时间单元11:15-11:30,视频问诊服务3包含服务时间单元9:00-9:15、服务时间单元9:15-9:30、服务时间单元9:30-9:45,视频问诊服务4包含服务时间单元10:00-10:15、服务时间单元10:15-10:30、服务时间单元10:30-10:45,视频问诊服务5包含服务时间单元11:15-11:30、服务时间单元11:30-11:45、服务时间单元11:45-12:00。可以理解,电话问诊服务1与视频问诊服务3存在相同的服务时间单元,电话问诊服务2与视频问诊服务5存在相同的时间单元,(即,二者在服务时间上有重叠/冲突),当其中一项服务被预约后,会影响到另一项服务的预约。
然后,生成服务时间单元的单元信息,即,将每一个服务时间单元与该服务时间单元所属的服务或所属的服务的服务时段对应存储,例如:服务时间单元9:00-9:15的单元信息可以是{单元标识/服务标识,医生标识,9:00(电话问诊服务1的服务时段开始时间),9:30(电话问诊服务1的服务时段结束时间)}以及{单元标识/服务标识,医生标识,9:00(视频问诊服务3的服务时段开始时间),9:45(视频问诊服务3的服务时段结束时间)}、服务时间单元9:15-9:30的单元信息可以是{单元标识,医生标识,9:00,9:30}以及{单元标识/服务标识,医生标识,9:00,9:45},服务时间单元9:30-9:45的单元信息可以是{单元标识,医生标识,9:00,9:45}。生成各个服务时间单元的单元信息后,将其存储于数据库中。
当医生提供的某项服务被预约后,可以根据该项服务的服务标识、或者根据该项服务的服务时段的开始-结束时间,确定出相应的服务时间单元,并将相应的服务时间单元的时间信息设定为已占用。
进一步参考图4,作为对上述各图所示方法的实现,本公开提供了一种用于确定预约信息的装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。
如图4所示,本实施例的用于确定预约信息的装置400包括:第一获取单元401、确定单元402、划分单元403、时间单元设定单元404。其中,第一获取单元,被配置为获取服务提供方设定的各个服务的服务时间数据,其中,服务时间数据包括对应于各个服务的服务时段;确定单元,根据各个服务的服务时段,确定服务提供方提供服务的时长单位;划分单元,被配置为根据时长单位将服务时间数据分割为至少一个服务时间单元,并 将各个服务时间单元的数据存储于存储单元中;时间单元设定单元,被配置为响应于接收到服务请求方发送的第一服务的服务请求,确定第一服务的服务时段内各个服务时间单元对应的存储单元为只读存储单元。
在一些实施例中,用于确定预约信息的装置还包括:输出单元,被配置为向服务提供方输出第一预约信息,其中,第一预约信息包括指示第一服务的服务时段为已预约的信息。
在一些实施例中,用于确定预约信息的装置还包括:服务状态设定单元,被配置为针对第一服务的服务时段内的每一个服务时间单元,将与该服务时间单元所属的服务时段对应的服务的服务状态,设定为不可预约。
在一些实施例中,确定单元,包括:确定模块,被配置为将各个服务的服务时段的最大公约数,确定为服务提供方提供服务的时长单位。
上述装置400中的各单元与参考图2描述的方法中的步骤相对应。由此上文针对用于确定预约信息的方法描述的操作、特征及所能达到的技术效果同样适用于装置400及其中包含的单元,在此不再赘述。
进一步参考图5,作为对上述各图所示方法的实现,本公开提供了一种用于确定预约信息的装置的一个实施例,该装置实施例与图3所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。
如图5所示,本实施例的用于推送信息的装置500包括:第二获取单元501、第一呈现单元502。其中,第二获取单元,被配置为获取服务请求方发送的服务获取请求,其中,服务获取请求用于请求呈现服务提供方的各个服务和对应于各个服务的服务时段;第一呈现单元,被配置为响应于检测到各个服务中的第二服务的服务时段中的至少一个服务时间单元对应的存储单元为只读存储单元,在向服务请求方呈现服务提供方的各个服务和对应于各个服务的服务时段时,呈现第二服务为不可预约服务;其中,服务时间单元的确定步骤包括:获取服务提供方设定的各个服务和各个服务的服务时段;根据各个服务的服务时段,确定服务提供方的服务时间数据;根据各个服务的服务时段,确定服务提供方提供服务的时长单位;根据时长单位将服务时间数据分割为至少一个服务时间单元。
在一些实施例中,用于确定预约信息的装置还包括:第二呈现单元,被配置为响应于检测到各个服务中的第三服务的服务时段中的各个服务 时间单元对应的存储单元为可读写存储单元,在向服务请求方呈现服务提供方的各个服务和对应于各个服务的服务时段时,呈现第三服务为可预约服务。
在一些实施例中,用于确定预约信息的装置还包括:撤销单元,被配置为响应于接收到第四服务的服务取消请求,撤销与第四服务关联的占用操作;其中,与第四服务关联的占用操作包括:根据接收到第四服务的服务请求,确定第四服务的服务时段内各个服务时间单元对应的存储单元为只读存储单元。
上述装置500中的各单元与参考图3描述的方法中的步骤相对应。由此上文针对用于确定预约信息的方法描述的操作、特征及所能达到的技术效果同样适用于装置500及其中包含的单元,在此不再赘述。
根据本申请的实施例,本申请还提供了一种电子设备和一种可读存储介质。
如图6所示,是根据本申请实施例的用于确定预约信息的方法的电子设备600的框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本申请的实现。
如图6所示,该电子设备包括:一个或多个处理器601、存储器602,以及用于连接各部件的接口,包括高速接口和低速接口。各个部件利用不同的总线互相连接,并且可以被安装在公共主板上或者根据需要以其它方式安装。处理器可以对在电子设备内执行的指令进行处理,包括存储在存储器中或者存储器上以在外部输入/输出装置(诸如,耦合至接口的显示设备)上显示GUI的图形信息的指令。在其它实施方式中,若需要,可以将多个处理器和/或多条总线与多个存储器和多个存储器一起使用。同样,可以连接多个电子设备,各个设备提供部分必要的操作(例如,作为服务器阵列、一组刀片式服务器、或者多处理器系统)。图6中以一个处理器601为例。
存储器602即为本申请所提供的非瞬时计算机可读存储介质。其中,该存储器存储有可由至少一个处理器执行的指令,以使该至少一个处理器执行本申请所提供的用于确定预约信息的方法。本申请的非瞬时计算机可读存储介质存储计算机指令,该计算机指令用于使计算机执行本申请所提供的用于确定预约信息的方法。
存储器602作为一种非瞬时计算机可读存储介质,可用于存储非瞬时软件程序、非瞬时计算机可执行程序以及模块,如本申请实施例中的用于确定预约信息的方法对应的程序指令/模块(例如,附图4所示的第一获取单元401、确定单元402、划分单元403、时间单元设定单元404)。处理器601通过运行存储在存储器602中的非瞬时软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例中的用于确定预约信息的方法。
存储器602可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据用于确定预约信息的电子设备的使用所创建的数据等。此外,存储器602可以包括高速随机存取存储器,还可以包括非瞬时存储器,例如至少一个磁盘存储器件、闪存器件、或其他非瞬时固态存储器件。在一些实施例中,存储器602可选包括相对于处理器601远程设置的存储器,这些远程存储器可以通过网络连接至用于确定预约信息的电子设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
用于确定预约信息的方法的电子设备还可以包括:输入装置603、输出装置604以及总线605。处理器601、存储器602、输入装置603和输出装置604可以通过总线605或者其他方式连接,图6中以通过总线605连接为例。
输入装置603可接收输入的数字或字符信息,以及产生与用于确定预约信息的电子设备的用户设置以及功能控制有关的键信号输入,例如触摸屏、小键盘、鼠标、轨迹板、触摸板、指示杆、一个或者多个鼠标按钮、轨迹球、操纵杆等输入装置。输出装置604可以包括显示设备、辅助照明装置(例如,LED)和触觉反馈装置(例如,振动电机)等。该显示设备可以包括但不限于,液晶显示器(LCD)、发光二极管(LED)显示器和 等离子体显示器。在一些实施方式中,显示设备可以是触摸屏。
此处描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、专用ASIC(专用集成电路)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。
这些计算程序(也称作程序、软件、软件应用、或者代码)包括可编程处理器的机器指令,并且可以利用高级过程和/或面向对象的编程语言、和/或汇编/机器语言来实施这些计算程序。如本文使用的,术语“机器可读介质”和“计算机可读介质”指的是用于将机器指令和/或数据提供给可编程处理器的任何计算机程序产品、设备、和/或装置(例如,磁盘、光盘、存储器、可编程逻辑装置(PLD)),包括,接收作为机器可读信号的机器指令的机器可读介质。术语“机器可读信号”指的是用于将机器指令和/或数据提供给可编程处理器的任何信号。
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、 中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本申请中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本申请公开的技术方案所期望的结果,本文在此不进行限制。
上述具体实施方式,并不构成对本申请保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本申请的精神和原则之内所作的修改、等同替换和改进等,均应包含在本申请保护范围之内。

Claims (16)

  1. 一种用于确定预约信息的方法,包括:
    获取服务提供方设定的各个服务的服务时间数据,其中,所述服务时间数据包括对应于所述各个服务的服务时段;
    根据所述各个服务的服务时段,确定所述服务提供方提供服务的时长单位;
    根据所述时长单位将所述服务时间数据分割为至少一个服务时间单元,并将各个所述服务时间单元的数据存储于存储单元中;以及
    响应于接收到服务请求方发送的第一服务的服务请求,确定所述第一服务的服务时段内各个服务时间单元对应的存储单元为只读存储单元。
  2. 根据权利要求1所述的方法,其中,所述方法还包括:
    向所述服务提供方输出第一预约信息,其中,所述第一预约信息包括指示所述第一服务的服务时段为已预约的信息。
  3. 根据权利要求1-2任一项所述的方法,其中,所述方法还包括:
    针对所述第一服务的服务时段内的每一个服务时间单元,将与该服务时间单元所属的服务时段对应的服务的服务状态,设定为不可预约。
  4. 根据权利要求1-3任一项所述的方法,其中,所述根据所述各个服务的服务时段,确定所述服务提供方提供服务的时长单位,包括:
    将所述各个服务的服务时段的最大公约数,确定为所述服务提供方提供服务的时长单位。
  5. 一种用于确定预约信息的方法,包括:
    获取服务请求方发送的服务获取请求,其中,所述服务获取请求用于请求呈现服务提供方的各个服务和对应于所述各个服务的服务时段;以及
    响应于检测到所述各个服务中的第二服务的服务时段中的至少一个服务时间单元对应的存储单元为只读存储单元,在向所述服务请求方呈现 所述服务提供方的各个服务和对应于所述各个服务的服务时段时,呈现所述第二服务为不可预约服务;
    其中,所述服务时间单元的确定步骤包括:获取所述服务提供方设定的所述各个服务和所述各个服务的服务时段;根据所述各个服务的服务时段,确定所述服务提供方的服务时间数据;根据所述各个服务的服务时段,确定所述服务提供方提供服务的时长单位;根据所述时长单位将所述服务时间数据分割为至少一个服务时间单元,并将各个所述服务时间单元的数据存储于存储单元中。
  6. 根据权利要求5所述的方法,其中,所述方法还包括:
    响应于检测到所述各个服务中的第三服务的服务时段中的各个服务时间单元对应的存储单元为可读写存储单元,在向所述服务请求方呈现所述服务提供方的各个服务和对应于所述各个服务的服务时段时,呈现所述第三服务为可预约服务。
  7. 根据权利要求5-6任一项所述的方法,其中,所述方法还包括:
    响应于接收到第四服务的服务取消请求,撤销与所述第四服务关联的占用操作;
    其中,所述与所述第四服务关联的占用操作包括:根据接收到所述第四服务的服务请求,确定所述第四服务的服务时段内各个服务时间单元对应的存储单元为只读存储单元。
  8. 一种用于确定预约信息的装置,包括:
    第一获取单元,被配置为获取服务提供方设定的各个服务的服务时间数据,其中,所述服务时间数据包括对应于所述各个服务的服务时段;
    确定单元,根据所述各个服务的服务时段,确定所述服务提供方提供服务的时长单位;
    划分单元,被配置为根据所述时长单位将所述服务时间数据分割为至少一个服务时间单元,并将各个所述服务时间单元的数据存储于存储单元中;以及
    时间单元设定单元,被配置为响应于接收到服务请求方发送的第一服务的服务请求,确定所述第一服务的服务时段内各个服务时间单元对应的存储单元为只读存储单元。
  9. 根据权利要求8所述的装置,其中,所述装置还包括:
    输出单元,被配置为向所述服务提供方输出第一预约信息,其中,所述第一预约信息包括指示所述第一服务的服务时段为已预约的信息。
  10. 根据权利要求8-9任一项所述的装置,其中,所述装置还包括:
    服务状态设定单元,被配置为针对所述第一服务的服务时段内的每一个服务时间单元,将与该服务时间单元所属的服务时段对应的服务的服务状态,设定为不可预约。
  11. 根据权利要求8-10任一项所述的装置,其中,所述确定单元,包括:
    确定模块,被配置为将所述各个服务的服务时段的最大公约数,确定为所述服务提供方提供服务的时长单位。
  12. 一种用于确定预约信息的装置,包括:
    第二获取单元,被配置为获取服务请求方发送的服务获取请求,其中,所述服务获取请求用于请求呈现服务提供方的各个服务和对应于各个服务的服务时段;以及
    第一呈现单元,被配置为响应于检测到所述各个服务中的第二服务的服务时段中的至少一个服务时间单元对应的存储单元为只读存储单元,在向所述服务请求方呈现所述服务提供方的各个服务和对应于所述各个服务的服务时段时,呈现所述第二服务为不可预约服务;
    其中,所述服务时间单元的确定步骤包括:获取所述服务提供方设定的所述各个服务和所述各个服务的服务时段;根据所述各个服务的服务时段,确定所述服务提供方的服务时间数据;根据所述各个服务的服务时段,确定所述服务提供方提供服务的时长单位;根据所述时长单位将所述服务 时间数据分割为至少一个服务时间单元,并将各个所述服务时间单元的数据存储于存储单元中。
  13. 根据权利要求12所述的装置,其中,所述装置还包括:
    第二呈现单元,被配置为响应于检测到所述各个服务中的第三服务的服务时段中的各个服务时间单元对应的存储单元为可读写存储单元,在向所述服务请求方呈现所述服务提供方的各个服务和对应于所述各个服务的服务时段时,呈现所述第三服务为可预约服务。
  14. 根据权利要求12-13任一项所述的装置,其中,所述装置还包括:
    撤销单元,被配置为响应于接收到第四服务的服务取消请求,撤销与所述第四服务关联的占用操作;
    其中,所述与所述第四服务关联的占用操作包括:根据接收到所述第四服务的服务请求,确定所述第四服务的服务时段内各个服务时间单元对应的存储单元为只读存储单元。
  15. 一种电子设备,包括:
    至少一个处理器;以及
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-7中任一项所述的方法。
  16. 一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行权利要求1-7中任一项所述的方法。
PCT/CN2021/092018 2020-09-29 2021-05-07 用于确定预约信息的方法和装置 WO2022068203A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP21873866.4A EP4224384A1 (en) 2020-09-29 2021-05-07 Method and apparatus for determining reservation information
JP2023518050A JP7549139B2 (ja) 2020-09-29 2021-05-07 予約情報を確定するための方法および装置、電子機器、記憶媒体並びにコンピュータプログラム
US18/026,011 US20230368083A1 (en) 2020-09-29 2021-05-07 Method and apparatus for determining reservation information

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011050506.5A CN112308258A (zh) 2020-09-29 2020-09-29 用于确定预约信息的方法和装置
CN202011050506.5 2020-09-29

Publications (1)

Publication Number Publication Date
WO2022068203A1 true WO2022068203A1 (zh) 2022-04-07

Family

ID=74488155

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/092018 WO2022068203A1 (zh) 2020-09-29 2021-05-07 用于确定预约信息的方法和装置

Country Status (5)

Country Link
US (1) US20230368083A1 (zh)
EP (1) EP4224384A1 (zh)
JP (1) JP7549139B2 (zh)
CN (1) CN112308258A (zh)
WO (1) WO2022068203A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112308258A (zh) * 2020-09-29 2021-02-02 北京京东拓先科技有限公司 用于确定预约信息的方法和装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070265933A1 (en) * 2006-05-12 2007-11-15 Steigelfest David J System and method for selling time-based inventory
CN103150602A (zh) * 2013-03-04 2013-06-12 黄晓惠 一种预约系统及预约方法
CN103236010A (zh) * 2013-05-14 2013-08-07 杨林 网上的交易方法及网上交易系统
CN104573835A (zh) * 2015-01-09 2015-04-29 西安融成科技有限公司 一种在线知识交易的预约系统和方法
CN112308258A (zh) * 2020-09-29 2021-02-02 北京京东拓先科技有限公司 用于确定预约信息的方法和装置

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3128583B1 (ja) 2000-01-31 2001-01-29 サンテクニカル株式会社 予約受付システム
JP4836105B2 (ja) 2001-08-20 2011-12-14 サン電子株式会社 予約システム
JP2012226702A (ja) 2011-04-22 2012-11-15 Glorious Field Co Ltd 予約管理装置、予約管理方法、およびプログラム
WO2016098585A1 (ja) 2014-12-17 2016-06-23 伸子 町田 美容サロン予約管理装置
JP5952462B1 (ja) 2015-05-25 2016-07-13 株式会社リクルートホールディングス 予約管理装置、予約管理方法および予約管理プログラム
CN105321063A (zh) * 2015-10-10 2016-02-10 北京齐尔布莱特科技有限公司 生成排期数据的方法、客户端及计算设备
JP6503003B2 (ja) 2017-04-26 2019-04-17 株式会社ゴルトベルク サービス提供管理システム
JP6306254B1 (ja) 2017-08-28 2018-04-04 株式会社FiNC 予約支援方法およびプログラム
CN109784515B (zh) * 2017-11-10 2023-09-26 阿里巴巴集团控股有限公司 服务预约方法、提供方法、资源获取方法、终端及服务器
CN109978206B (zh) * 2017-12-27 2022-01-07 北京嘀嘀无限科技发展有限公司 用于请求服务资源的方法及装置
US10848596B2 (en) * 2018-03-05 2020-11-24 Readyb, Inc. Methods and systems for dynamic matching and communication between service providers and service requesters
CN109657829A (zh) * 2018-12-20 2019-04-19 泰康保险集团股份有限公司 服务请求处理方法、装置、电子设备及计算机可读介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070265933A1 (en) * 2006-05-12 2007-11-15 Steigelfest David J System and method for selling time-based inventory
CN103150602A (zh) * 2013-03-04 2013-06-12 黄晓惠 一种预约系统及预约方法
CN103236010A (zh) * 2013-05-14 2013-08-07 杨林 网上的交易方法及网上交易系统
CN104573835A (zh) * 2015-01-09 2015-04-29 西安融成科技有限公司 一种在线知识交易的预约系统和方法
CN112308258A (zh) * 2020-09-29 2021-02-02 北京京东拓先科技有限公司 用于确定预约信息的方法和装置

Also Published As

Publication number Publication date
JP2023542026A (ja) 2023-10-04
CN112308258A (zh) 2021-02-02
US20230368083A1 (en) 2023-11-16
EP4224384A1 (en) 2023-08-09
JP7549139B2 (ja) 2024-09-10

Similar Documents

Publication Publication Date Title
US10897500B2 (en) Synchronizing a device using push notifications
CN111782365B (zh) 定时任务处理方法、装置、设备及存储介质
US11288637B2 (en) Systems and methods for analytics integration into electronic applications
US11469944B1 (en) Techniques for migrating worker nodes to a new manager instance
WO2014099383A1 (en) Multi-tenant content provider
CN109445841B (zh) 接口文档管理方法、装置、服务器及存储介质
US11514090B2 (en) Comments-ordering method, apparatus, device and computer storage medium
US20170061389A1 (en) Efficiency of scheduling of a meeting time
WO2022159080A1 (en) Asynchronous distributed modular function calling
WO2022068203A1 (zh) 用于确定预约信息的方法和装置
US20120143638A1 (en) Making a Recurring Reservation for a Resource
JP2022105295A (ja) マイクロサービスのシーケンスをアップグレードするための、コンピュータ実装方法システム、およびコンピュータ・プログラム(クラウド・コンピューティング環境におけるマイクロサービスのシーケンスのアップグレード)
CN113242184A (zh) 分布式架构的流量控制方法及相关设备
CN110807535A (zh) 统一预约平台的构建方法、构建装置和统一预约平台系统
US9787769B2 (en) Power and network traffic optimization in communication synchronization
WO2022161124A1 (zh) 数据共享方法和装置
CN113722007B (zh) Vpn分支设备的配置方法、装置及系统
US11461313B2 (en) Systems and methods for automatically creating and/or managing electronic data tables
US11599422B2 (en) System and method for device independent backup in distributed system
CN111352944A (zh) 数据处理方法、装置、电子设备与存储介质
US20230267819A1 (en) Adaptive alert messaging
US10251033B2 (en) Performance of secure mobile applications
US20240211306A1 (en) Techniques for handling polling frequency in event delivery network (edn)
CN113760569B (zh) 一种多账号管理方法和系统
US20240231964A1 (en) Propagating requests to delete signals that cross partition boundaries

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21873866

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2023518050

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2021873866

Country of ref document: EP

Effective date: 20230502