Method and device for matching accompanying service in SaaS platform, equipment and medium
Through the SaaS platform, the problems of low efficiency and error-prone problems in the existing technology are solved, accurate matching and efficient allocation are achieved, and user experience and service quality are improved.
Patent Information
- Application Number
- CN202411749385.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-04-15
AI Technical Summary
The existing escort service matching methods rely on manual operations, are inefficient and prone to errors.
Through the SaaS platform, you receive user's accompanying service order requests, obtain medical staff information associated with the tenant, generate a recommendation list based on user needs and medical staff service information, and automatically match and allocate target medical staff.
Accurate matching, improve efficiency, reduce manual errors, and improve user experience and service quality.
Smart Images

Figure CN119833092A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a matching method, device, equipment and medium for a nursing service in a SaaS platform. Background Art
[0002] Companion services refer to activities that provide companionship, care, assistance and other related services to patients or elderly people in need. For example, when accompanying patients in the hospital, helping patients register, queue, and get examination reports; in terms of daily care, providing life care for the elderly, such as assisting with eating, dressing, washing, and paying attention to their physical condition, etc., aiming to meet the assistance needs of service recipients in the medical process or daily life, and improve their quality of life and medical experience.
[0003] At present, the common channels for escort service providers to obtain orders are group chats, Xiaohongshu, Douyin, etc. The way to assign orders to medical staff is manual operation, which is completed by assigning personnel to record the information of medical staff in Excel tables and maintain their schedules.
[0004] However, this manual matching method has disadvantages, is inefficient, and is prone to errors. Summary of the invention
[0005] Based on this, it is necessary to provide a matching method, device, equipment and medium for accompanying services in a SaaS platform that can accurately recommend suitable medical staff according to user needs in response to the above technical problems.
[0006] In a first aspect, the present application provides a method for matching a care service in a SaaS platform, wherein the SaaS platform is created with at least one tenant, and the method for matching a care service in the SaaS platform includes:
[0007] Receive an order request for a care service sent by a user terminal, where the order request includes tenant information and service information required by the user;
[0008] Obtain the medical staff information associated with the tenant information, the medical staff information including the service information supported by the medical staff;
[0009] Generate a list of recommended medical staff based on the service information required by the user and the service information supported by the medical staff;
[0010] A target medical staff matching the user is determined according to the medical staff recommendation list so as to assign the target medical staff to the user.
[0011] In one embodiment, a medical staff recommendation list is generated based on the service information required by the user and the service information supported by the medical staff, including:
[0012] Extract the labels from the service information required by the user and generate the first type of label vector;
[0013] Extracting labels from the service information supported by medical staff and generating a second type of label vector;
[0014] Determine the matching degree between the user and each medical staff according to the first type of label vector and the second type of label vector;
[0015] Get user ratings for each medical staff;
[0016] Determine the recommendation score of each medical staff based on the matching degree and the user rating of each medical staff;
[0017] Generate a medical staff recommendation list based on the recommendation scores of each medical staff.
[0018] In one embodiment, determining a target medical staff matching the user according to the medical staff recommendation list includes:
[0019] Sending the medical staff recommendation list to the user terminal;
[0020] Receiving a selection instruction of any medical staff in the medical staff recommendation list sent by the user terminal;
[0021] Identify target healthcare workers based on selected directives;
[0022] When the selected instruction is not received, the order corresponding to the order request is added to the order grabbing pool;
[0023] Receive a request from a medical staff terminal to grab an order from the order grabbing pool;
[0024] When the snatch is successful, identify the target medical staff.
[0025] In one embodiment, the matching method of the escort service in the SaaS platform further includes:
[0026] When the order is not snatched after the preset time period, a prompt message is generated and sent to the designated terminal.
[0027] In one embodiment, after determining the target medical staff according to the selected instruction, the matching method of the accompanying service in the SaaS platform further includes:
[0028] Get the service time in the order request;
[0029] Set distributed locks for target medical staff and service time;
[0030] When the escort service is completed, the distributed lock is released.
[0031] In one embodiment, after setting the distributed lock for the target medical staff and service time, the method further includes:
[0032] Verify the target medical staff, including whether the target medical staff is in an abnormal state and a busy state, and the abnormal state includes an offline state and a logged-out state;
[0033] When the verification is passed, the target medical staff is assigned to the user;
[0034] When the verification fails, the order corresponding to the order request will be added to the order grabbing pool.
[0035] In one embodiment, the matching method of the escort service in the SaaS platform further includes:
[0036] Receive a registration request from a medical staff member, the registration request including the medical staff member information and the tenant information to which the medical staff member belongs;
[0037] Create an association relationship between medical staff information and tenant information based on the registration request;
[0038] Receive the modification request of medical staff information initiated by the tenant, and modify the medical staff information accordingly.
[0039] In a second aspect, the present application provides a matching device for a care service in a SaaS platform, wherein the SaaS platform is created with at least one tenant, and the matching device for the care service in the SaaS platform includes:
[0040] A receiving module, used to receive an order request for a care service sent by a user terminal, where the order request includes tenant information and service information required by the user;
[0041] An acquisition module, used to acquire medical staff information associated with tenant information, where the medical staff information includes service information supported by the medical staff;
[0042] A generation module, used to generate a list of recommended medical staff according to the service information required by the user and the service information supported by the medical staff;
[0043] The matching module is used to determine the target medical staff that matches the user according to the medical staff recommendation list, so as to assign the target medical staff to the user.
[0044] In a third aspect, the present application provides a computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method for matching a nursing service in a SaaS platform provided in any embodiment of the first aspect are implemented.
[0045] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of a method for matching a nursing service in a SaaS platform provided in any embodiment of the first aspect.
[0046] The matching method, device, computer equipment and storage medium of the accompanying service in the above-mentioned SaaS platform, at least one tenant is created in the SaaS platform of the present application, and each tenant is a accompanying service provider. When a user initiates an order request for the accompanying service, the tenant information carried in the order request is first extracted, and the medical staff information of each medical staff associated with the tenant information is obtained according to the association relationship between the tenant information and the medical staff created in advance, and the medical staff information and the service information required by the user in the order request are matched to obtain a medical staff recommendation list, and the target medical staff matching the user is selected according to the medical staff recommendation list to achieve the matching of the accompanying service. In the present application, the SaaS architecture is deeply integrated with the accompanying matching scenario, and the special needs of the accompanying scenario are combined to transform the traditional manual allocation mode into a SaaS-based automated matching and recommendation service, while supporting multi-tenant expansion and adapting to the usage scenarios of different service providers (i.e. tenants). BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A flowchart of a matching method for a nursing service in a SaaS platform in some embodiments;
[0048] Figure 2 It is a structural block diagram of a matching device for a care service in a SaaS platform in some embodiments;
[0049] Figure 3 1 is a diagram of the internal structure of a computer device in some embodiments. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0051] In a first aspect, an embodiment of the present disclosure provides a method for matching a care service in a SaaS platform, wherein the SaaS platform is created with at least one tenant, such as Figure 1 As shown, the matching method of the escort service in the SaaS platform includes the following steps:
[0052] Step S11, receiving an order request for the escort service sent by the user terminal, where the order request includes tenant information and service information required by the user.
[0053] Among them, the accompanying service can specifically include: in terms of medical accompanying, there are assisting patients in registering, including understanding the patient's symptoms, helping to choose the appropriate department to register; accompanying patients while waiting for medical treatment, providing psychological comfort while waiting for medical treatment, and reminding patients to pay attention to the number being called; helping patients and doctors communicate about their condition, because some patients may not be able to accurately describe their own condition due to emotions such as tension; paying fees and picking up medicines on behalf of patients to reduce the patients' running around; assisting patients in various examinations, such as helping to get examination supplies, pushing wheelchairs, etc. to assist patients in going to the examination department.
[0054] In terms of daily care, for the elderly or people with limited mobility, it includes assisting with personal hygiene care, such as helping with bathing, wiping, oral care, hair care, etc.; assisting with dressing and undressing, and choosing appropriate clothing according to the weather and activity; assisting with eating, feeding water, and taking care of special dietary needs, such as a low-sugar diet for diabetic patients; and accompanying simple rehabilitation activities, such as walking indoors or in a safe area outdoors and other rehabilitation exercises.
[0055] SaaS is the abbreviation of Software as a Service. It is a model of providing software services through the Internet. Just like using an online document editing tool, you don't need to install complex software programs on your computer, you can use it by accessing your account through a browser. For enterprises, the SaaS platform is uniformly deployed and maintained by software service providers, and enterprise users can use the software functions through subscriptions according to their needs. For example, through the SaaS model of customer relationship management (CRM) system, sales team members can log in to their accounts through the web page, record customer information, follow up sales leads, etc. anytime and anywhere, without having to build and maintain a CRM software system themselves.
[0056] In the SaaS platform, tenants refer to units or individuals who rent and use SaaS software services. For enterprise-level SaaS platforms, tenants are usually enterprises. These enterprises obtain the services of the SaaS platform by subscription, just like renting a house, and use the functions of the software for a certain period of time. For example, if an enterprise uses Salesforce (customer relationship management SaaS platform) to manage sales, this enterprise is a tenant of Salesforce. For SaaS platforms for individuals, tenants are individual users of the software. For example, if an individual uses Tencent Docs to edit documents, this individual is a tenant of the Tencent Docs SaaS platform. Tenants will have independent accounts, use the software within the scope allowed by the platform through their accounts, and the data is isolated from other tenants to a certain extent to ensure the security and privacy of each tenant's use.
[0057] In this application, the tenant refers to the provider of the escort service.
[0058] Service information refers to the detailed information of the accompanying service required by the user. For example, service information may include the service type, time, hospital, and patient, etc., which may involve accompanying a doctor in a specific department, assisting in a special examination, etc.; in terms of life care, it may be necessary to take care of the elderly's diet and daily life, including special requirements for a few meals a day, assisting the elderly in rehabilitation activities of a specific frequency, and other specific service contents.
[0059] Tenant information refers to information such as the tenant's name or tenant ID, where the tenant refers to the escort service provider. Specifically, tenant information may include the tenant's account, identity, and affiliated organization (if it is a corporate tenant), so that the platform can accurately identify which tenant has placed the order, and then process the order request based on the tenant's relevant settings (such as payment method, service permissions, etc.).
[0060] Step S12, obtaining medical staff information associated with the tenant information, where the medical staff information includes service information supported by the medical staff.
[0061] Among them, the medical staff information may include the medical staff's identification (such as name or ID number), gender, age, years of work experience, nursing qualification certificate, major, title, skills and expertise, etc.
[0062] The service information supported by medical staff refers to the types of services that the medical staff are good at. For example, some medical staff are good at general care, some are good at oral care, some are good at maternal and child care, etc.
[0063] In this application, the association relationship between each tenant and the medical staff is pre-created. When the medical staff enters the SaaS platform, they will enter their basic information and the supported service information. The SaaS platform will store and create the association relationship between the medical staff information and the tenant information.
[0064] It can be seen that the SaaS platform can support multiple tenants at the same time. Each tenant maintains corresponding medical staff and creates corresponding data records for the medical staff of each tenant.
[0065] Step S13, generating a medical staff recommendation list according to the service information required by the user and the service information supported by the medical staff.
[0066] Among them, the medical staff recommendation list includes multiple medical staff and medical staff information corresponding to each medical staff.
[0067] Specifically, this application can sort out medical staff, clarify the medical service areas that each medical staff is good at (such as surgical expertise, chronic disease management expertise, etc.), the time period when services can be provided, and the special skills they possess, etc., and after sorting, the medical staff information of each medical staff can be obtained.
[0068] Furthermore, the service information required by the user is compared with the service information supported by each medical staff, and the medical staff that meet the user's needs are selected and sorted according to factors such as the degree of matching to form a recommendation list and presented to the user or the relevant demand party. For example, if the user needs a doctor who can provide heart disease diagnosis and treatment services at night, then at least one doctor who is good at heart disease diagnosis and treatment and can be on duty at night is selected and included in the recommendation list.
[0069] Step S14, determining a target medical staff that matches the user according to the medical staff recommendation list, so as to assign the target medical staff to the user.
[0070] Among them, this application can push the recommended list of medical staff to the user terminal for display, and the user can select one from the recommended list of medical staff, or the user can make no selection and the SaaS platform can automatically select a medical staff as the target medical staff.
[0071] After determining the target medical staff, this application will establish a matching relationship between the target medical staff and the user, and store it in a pre-created matching relationship table. The matching relationship table is used to maintain the matching relationship between each medical staff and the user in real time.
[0072] In one of the embodiments, a medical staff recommendation list is generated based on the service information required by the user and the service information supported by the medical staff, including: extracting labels in the service information required by the user and generating a first type of label vector, extracting labels in the service information supported by the medical staff and generating a second type of label vector, determining the matching degree between the user and each medical staff based on the first type of label vector and the second type of label vector, obtaining the user score of each medical staff, determining the recommendation score of each medical staff based on the matching degree and the user score of each medical staff, and generating a medical staff recommendation list based on the recommendation score of each medical staff.
[0073] Among them, tags refer to some keywords that users can choose to fill in when placing an order to describe the characteristics they expect from accompanying personnel or medical staff and other related service providers. For example, "professional and patient" means that they hope that the other party will show professionalism and patience during the service process; "nurse qualification certificate" means that they expect the service provider to have a nurse qualification; "5 years of accompanying experience" means that they hope to find someone with a long experience of accompanying patients; "maternal and child care experience" is a specific experience requirement for maternal and child related service needs; "male" and "female" are preferred choices for the gender of the service provider; "under 40 years old" is an expected age limit for the service provider. These tags can help more accurately match the service providers that meet the user's wishes.
[0074] The label vector is a way to digitally represent the labels in the service information required by the user and the labels in the service information supported by the medical staff. Specifically, for each possible label (such as "professional patience", "nurse qualification certificate" and other specific label items), there is a corresponding dimension in the vector. For example, if a subject (user or medical staff) has the attribute described by the label, then the value can be 1 on the dimension corresponding to the label; if not, the value is 0, so as to convert the label into a label vector.
[0075] Determining the matching degree between the user and each medical staff according to the first type of label vector and the second type of label vector may include:
[0076] The cosine similarity calculation formula is used to calculate the first-category label vector and the second-category label vector to obtain the matching degree between the user and each medical staff.
[0077] Among them, the cosine similarity calculation formula is:
[0078]
[0079] The numerator is the dot product of vector A and vector B, and the denominator is the product of the modulus of vector A and the modulus of vector B. The larger the cosine value, the higher the matching degree.
[0080] Exemplarily, assuming that the first category label vector is: [1, 0, 0, 1, 0, 0, 0], and the second category label vector is: [0, 1, 0, 1, 0, 1, 0], the first category label vector is substituted into vector A in formula (1), and the second category label vector is substituted into vector B in formula (1) to calculate the matching degree.
[0081] The recommended score of each medical staff is determined based on the matching degree and the user rating of each medical staff. The recommended score can be calculated using the following formula:
[0082] Recommendation score = w1*matching degree + w2*user rating (2)
[0083] Among them, the matching degree refers to the matching degree between the user and each medical staff, w1 is the pre-set weight of the matching degree, and w2 is the pre-set weight of the user score.
[0084] Furthermore, generating a recommended list of medical staff according to the recommended scores of each medical staff may include: sorting each medical staff according to each recommended score, and selecting each medical staff whose sorting sequence number is before a preset sequence number to form the recommended list of medical staff. For example, selecting the top 50 medical staff to form the recommended list of medical staff.
[0085] The beneficial effect of this embodiment is that, through formulas (1) and (2), it is possible to accurately find suitable medical personnel for users and achieve accurate recommendations.
[0086] In one of the embodiments, a target medical staff matching the user is determined based on a medical staff recommendation list, including: sending the medical staff recommendation list to a user terminal, receiving a selection instruction of any medical staff in the medical staff recommendation list sent by the user terminal, determining the target medical staff based on the selected instruction, when no selection instruction is received, adding an order corresponding to the order request to an order grabbing pool, receiving a request for grabbing an order from the order grabbing pool sent by the medical staff terminal, and determining the target medical staff when the grabbing is successful.
[0087] In this application, the recommended list of medical staff generated according to the previous series of processes (such as extracting tags, calculating matching degrees, determining recommended scores, etc.) will first be transmitted to the terminal device used by the user (such as mobile phones, computers, etc.) through the network or other means, so that the user can view this recommended list of medical staff. Then, after the user browses this recommendation list on his terminal device, he can select any medical staff from it and issue a selection instruction on the terminal. This selection instruction will be received by the SaaS platform, and then the SaaS platform will clarify which medical staff the user has selected based on the received selection instruction, thereby determining the selected medical staff as the target medical staff, so that further service arrangements and other related operations can be carried out for the target medical staff in the future.
[0088] Specifically, after the user selects the city, hospital, service type, patient, time and other service information required by the user on the mini program, he / she will enter the order confirmation page. There is a [Recommendation of High-quality Medical Staff] area on the order confirmation page, where you can trigger the interface for querying the recommended list of medical staff. After receiving the recommendation list query request, the SaaS platform will query the service information table and the medical staff availability table by associating them to find medical staff that meet the service information required by the user (such as the selected city, hospital, service form, etc.).
[0089] Among them, this application will pre-create a service information table and a medical staff availability table. The service information table refers to a table that records the service information supported by each medical staff. When medical staff first enter the SaaS platform, they can choose the service information they support. After the selection is completed, the data will be inserted into this table to complete the initial data entry of the table. The medical staff availability table is a table that records the availability status of each medical staff.
[0090] Furthermore, after finding qualified medical staff, they will be sorted from high to low according to their recommendation scores, and then the relevant data of these medical staff will be returned to the front end to be displayed in the recommendation area. The page will also display various tags of medical staff, such as how many years of accompanying experience, whether they have a nursing qualification certificate, whether their service attitude is very patient, etc. These tags can allow users to have a more comprehensive understanding of the medical staff.
[0091] Users can decide whether to choose a medical staff to provide services based on the displayed medical staff information and labels. Of course, users also have the right not to choose a medical staff and make payment directly. The system may subsequently arrange service personnel and other matters according to other rules.
[0092] When the user completes the payment but does not select a specific medical staff, the paid order will automatically enter the order grabbing pool. The order grabbing pool is equivalent to a centralized place for service orders to be assigned, where medical staff can compete for the opportunity to undertake these service orders. Medical staff can view the order information in the order grabbing pool through the order grabbing hall page on the APP (Application) side. This information includes the hospital corresponding to the order, the form of service, the gender and age of the patient, and the expected income. And these orders will be sorted by date, with the most recent date in front, so that medical staff can see the upcoming service orders first.
[0093] Furthermore, medical staff can weigh whether to grab a service order based on the service order information displayed on the grab order hall page. When the order is successfully grabbed, the SaaS platform inserts a record in the matching relationship table to make it clear that the medical staff has been successfully matched with the order.
[0094] Furthermore, after completing the above operations, the service fulfillment process will be entered. Medical staff will provide corresponding services to users as required until all services in this service order are completed, and the entire service process is considered completed.
[0095] The beneficial effect of this embodiment is that, when the user does not make a choice, the application can add the order to the order grabbing pool for medical staff to perform order grabbing operations, thereby achieving efficient allocation of orders.
[0096] In one of the embodiments, the matching method of the escort service in the SaaS platform further includes: when the order is not snatched after a preset time period, generating a prompt message and sending the prompt message to a designated terminal.
[0097] This application also provides a mechanism for handling timeouts, that is, when a service order enters the order pool, if no medical staff takes the order within a preset time period, such as 3 minutes, the SaaS platform can send a reminder message to ensure that users can get service arrangements as soon as possible. For example, a reminder message is sent in the DingTalk group to remind the tenant's management staff to pay attention to the service order that has not been taken so that it can be processed in time.
[0098] After receiving the prompt, the tenant's manager can log in to the backend management page of the SaasS platform, which is the entry point for them to perform subsequent operations on the order. Find the corresponding order on the backend management page and click to enter its details page, where detailed information of the order will be presented. Pull up the semi-pop-up box and query the list of medical staff: On the service order details page, click the "Assign Medical Staff" button, and a semi-pop-up box will pop up on the page. In this semi-pop-up box, the SaasS platform will query according to the service form of the order and display a list of medical staff that meet this order. The tenant's manager selects the appropriate medical staff from the displayed list of medical staff and submits the selection result. After submission, the order will be directly matched with the selected medical staff, and the relevant matching data will be inserted into the matching relationship, completing the entire matching process between the service order and the medical staff.
[0099] In one of the embodiments, after determining the target medical staff according to the selected instruction, the matching method of the accompanying service in the SaaS platform also includes: obtaining the service time in the order request, setting a distributed lock for the target medical staff and the service time, and releasing the distributed lock when the accompanying service is completed.
[0100] Among them, in an environment where multiple computers or multiple service instances work together (such as a system involving multiple servers processing related businesses), a distributed lock is a mechanism used to coordinate their access to shared resources (the shared resources here are the service capabilities of the target medical staff within a specific service time). It ensures that at the same time, only one process or service instance can obtain the lock to operate the shared resource, avoiding conflicts and data inconsistencies caused by multiple processes operating at the same time.
[0101] In this application, when a user places an order request for a specific escort service, the order request information includes the specific time range when the service is expected to start and last. The system must accurately extract information related to the service time, such as the service start time and the expected end time.
[0102] For the identified target medical staff and the extracted service time, the system will set the corresponding distributed lock in the distributed environment. This means that within the set service time, if other business processes or requests also involve the service arrangement of the target medical staff, they will no longer be able to obtain the service usage rights of the medical staff during this period. Only when the current service process holding the lock (that is, the ongoing accompanying service for this user) is completed, other requests can obtain the relevant resources.
[0103] Furthermore, once the accompanying service arranged for the user is completed according to the scheduled plan, for example, the service time is over and all service contents have been performed, the SaaS platform will release the distributed lock previously set for the target medical staff and the service time. In this way, the service capacity of the medical staff can be re-arranged and used by other new order requests in subsequent business processing, and restored to a state that can be normally deployed by other business processes. Other requests can once again compete for the service arrangement of the medical staff in different time periods according to their respective needs.
[0104] In one of the embodiments, after setting distributed locks for the target medical staff and service time, the matching method for accompanying services in the SaaS platform also includes: verifying the target medical staff, the verification includes verifying whether the target medical staff is in an abnormal state and a busy state, the abnormal state includes an offline state and a logged-out state, when the verification passes, the target medical staff is assigned to the user, when the verification fails, the order corresponding to the order request is added to the order grabbing pool.
[0105] Among them, this application will pre-create an idle status table for medical staff. The medical staff idle table is a table that records the idle status of each medical staff. The idle status table can be used to query whether the medical staff is idle or busy. Specifically, 15 columns from day1 to day15 can be set in the medical staff idle table, and each column corresponds to each day in the next 15 days. The value in the column uses 1 to indicate that the medical staff is idle on that day, and 0 to indicate that the day is busy. The values of these columns can clearly know the service status of the medical staff in the future days.
[0106] When a medical staff member successfully joins, data initialization will be performed to preliminarily determine his / her availability for the next 15 days (perhaps according to default settings, etc.). At a preset time every day, such as early morning, the SaaS platform will recalculate the latest availability data for the next 15 days and update it to the table to ensure the timeliness and accuracy of the data, and reflect the impact of the medical staff member's latest business arrangements on the availability status.
[0107] Furthermore, when a medical staff successfully matches an order, it means that the medical staff has work arrangements on the specified date corresponding to the order, so the flag (column value) corresponding to this day should be changed to busy (that is, changed from 1 to 0).
[0108] If an order is canceled or completed, it means that the time originally occupied by the medical staff is free again. At this time, it is necessary to change the flag of the day that was previously set as busy due to this order to idle (that is, change it back from 0 to 1) so that the actual idle service status of the medical staff can be accurately reflected in the future.
[0109] Specifically, this application can verify the target medical staff from the following aspects:
[0110] First, service form matching: confirm whether the service form supported by the selected medical staff is consistent with the service form required by the service order, and ensure that the medical staff has the ability to provide corresponding services.
[0111] Second, the status of medical staff: Check whether the medical staff is in an abnormal state such as offline, logged out, etc. Only when the medical staff is in a normal online state and can provide services can they take over the service order.
[0112] Third, idle status: check whether the medical staff is idle during the time period corresponding to the service order, that is, confirm whether the medical staff is available to provide services during the time period.
[0113] Fourth, user relationship: verify whether the user has blocked the medical staff. If so, it is obviously not appropriate for the medical staff to provide services.
[0114] Furthermore, if any condition in the pre-verification process is not met, that is, the verification fails, the order will not continue to be matched with the selected medical staff, but will directly enter the order pool table and become a service order that can be grabbed by other medical staff.
[0115] If all the conditions of the pre-verification are met, that is, the verification is passed, the relevant data will be inserted into the order matching table to clarify the matching relationship between the medical staff and the service order. After that, the service fulfillment process will begin, and the medical staff will provide the corresponding services to the user as required until the service order is completed.
[0116] This application can solve the problem of malicious requests and the actual order service form delivered being inconsistent with the one placed when the order was placed by setting up a verification mechanism.
[0117] In one of the embodiments, the matching method of the accompanying service in the SaaS platform also includes: receiving a registration request from a medical staff, the registration request including the medical staff information and the tenant information to which the medical staff belongs, creating an association relationship between the medical staff information and the tenant information according to the registration request, receiving a modification request for the medical staff information initiated by the tenant end, and modifying the medical staff information accordingly according to the modification request.
[0118] Among them, when medical staff first enter the SaaS platform, they can enter the supported service information by themselves. Furthermore, the SaaS platform creates a service information table for the medical staff based on the service information entered by the medical staff and completes the initial data entry of the table.
[0119] The subsequent tenant managers have the right to edit the service information supported by each medical staff on the background page. Once the editing is completed and saved, the corresponding data will be updated in this table to ensure that the data in the table always reflects the latest service information of the medical staff.
[0120] The service information table also includes the "Online" field, which reflects the current online status of the medical staff. When the medical staff goes online or offline, the value of this field will be updated accordingly. And only the medical staff whose field value is displayed as "online" will appear in the recommendation list for users, so that users can find the medical staff who can currently provide services.
[0121] The following is a summary of the matching method of the accompanying service in the SaaS platform of this application:
[0122] The SaaS platform of this application is a multi-layered architecture platform based on the SaaS (Software as a Service) model. Its core purpose is to achieve efficient operation of medical staff schedule management and order matching.
[0123] In terms of functionality, tenants (service providers) can use this SaaS platform to manage the schedules of medical staff. When users place orders, the SaaS platform recommends medical staff for users to choose based on certain algorithms. This involves intelligent recommendation algorithm technology, which is used to match user needs and medical staff information. When the recommendation fails to match, the order automatically enters the order grabbing pool. This design requires order status management and message push mechanisms so that medical staff can be informed of order grabbing information in a timely manner. Medical staff grab orders through the APP, which requires the APP to have stable real-time data updates and interactive functions.
[0124] From the deployment perspective, the entire method is deployed on the SaaS platform, which is connected to multiple tenants. This involves network communication technology and data interface design, and needs to ensure the security, stability and efficiency of data transmission. Medical staff are bound to the corresponding tenants, which requires a complete identity authentication and association mechanism to ensure data accuracy and authority management.
[0125] In terms of terminal applications, mini-programs, APPs and PCs (Personal Computers) are provided for users, medical staff and tenant managers respectively. Mini-programs should focus on the convenience of user experience and may be developed based on platforms such as WeChat, involving front-end development technology and data interaction with back-end servers. The APP side is designed according to the operational needs of medical staff, and needs to consider the compatibility of different operating systems, interface design and interactive performance with the server. The PC side provides tenant managers with more comprehensive management functions, such as data statistics, medical staff management, etc., which requires good human-computer interaction design and efficient background management functions.
[0126] In a second aspect, an embodiment of the present disclosure provides a matching device for a care service in a SaaS platform, wherein the SaaS platform is created with at least one tenant, such as Figure 2 As shown, the matching device of the accompanying service in the SaaS platform includes: a receiving module 21, an acquisition module 22, a generation module 23 and a matching module 24, wherein:
[0127] The receiving module 21 is used to receive an order request for the escort service sent by the user terminal, where the order request includes tenant information and service information required by the user;
[0128] An acquisition module 22, used to acquire medical staff information associated with the tenant information, where the medical staff information includes service information supported by the medical staff;
[0129] A generating module 23, for generating a medical staff recommendation list according to the service information required by the user and the service information supported by the medical staff;
[0130] The matching module 24 is used to determine a target medical staff that matches the user according to the medical staff recommendation list, so as to assign the target medical staff to the user.
[0131] In some of the embodiments, the above-mentioned generation module 23 can extract labels from the service information required by the user and generate a first-category label vector, extract labels from the service information supported by the medical staff and generate a second-category label vector, determine the matching degree between the user and each medical staff based on the first-category label vector and the second-category label vector, obtain the user score of each medical staff, determine the recommendation score of each medical staff based on the matching degree and the user score of each medical staff, and generate a medical staff recommendation list based on the recommendation score of each medical staff.
[0132] In some of the embodiments, the matching module 24 can send a recommended list of medical staff to a user terminal, receive a selection instruction of any medical staff in the recommended list of medical staff sent by the user terminal, determine the target medical staff according to the selected instruction, and when no selection instruction is received, add the order corresponding to the order request to an order grabbing pool, receive a request for grabbing an order from the order grabbing pool sent by the medical staff terminal, and when the grabbing is successful, determine the target medical staff.
[0133] In some of the embodiments, the matching module 24 may also generate a prompt message when the order has not been snatched after a preset time period, and send the prompt message to a designated terminal.
[0134] In some of the embodiments, the matching module 24 may also obtain the service time in the order request, set a distributed lock for the target medical staff and the service time, and release the distributed lock when the accompanying service is completed.
[0135] In some of the embodiments, the matching module 24 can also verify the target medical staff, and the verification includes verifying whether the target medical staff is in an abnormal state and a busy state. The abnormal state includes an offline state and a logged-out state. When the verification passes, the target medical staff is assigned to the user. When the verification fails, the order corresponding to the order request is added to the order grabbing pool.
[0136] In some of the embodiments, the receiving module 21 can also receive a registration request from a medical staff member, the registration request including the medical staff member information and the tenant information to which the medical staff member belongs, create an association between the medical staff member information and the tenant information based on the registration request, receive a modification request for the medical staff member information initiated by the tenant end, and modify the medical staff member information accordingly based on the modification request.
[0137] In a third aspect, the present application provides a computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of a method for matching a nursing service in a SaaS platform provided in any embodiment of the present disclosure in the first aspect are implemented.
[0138] In one embodiment, the computer device may be a server, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a matching method for a care service in a SaaS platform is implemented.
[0139] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of a method for matching a nursing service in a SaaS platform provided in any embodiment of the first aspect of the present disclosure.
[0140] The computer readable storage medium may be Figure 3 A computer-readable storage medium in the computer device shown.
[0141] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program, and the above-mentioned computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0142] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0143] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A matching method for accompanying care services in a SaaS platform, characterized in that: The SaaS platform is created with at least one tenant, and the method comprises: Receiving an order request for a care service sent by a user terminal, wherein the order request includes tenant information and service information required by the user; Acquire medical staff information associated with the tenant information, wherein the medical staff information includes service information supported by the medical staff; Generate a medical staff recommendation list according to the service information required by the user and the service information supported by the medical staff; A target medical staff matching the user is determined according to the medical staff recommendation list, so as to assign the target medical staff to the user.
2. The method according to claim 1, characterized in that The generating a medical staff recommendation list according to the service information required by the user and the service information supported by the medical staff includes: Extracting labels from the service information required by the user and generating a first type of label vector; Extracting labels from the service information supported by the medical staff and generating a second type of label vector; Determining the matching degree between the user and each medical staff according to the first type of label vector and the second type of label vector; Get user ratings for each medical staff; Determine the recommendation score of each medical staff according to the matching degree and the user rating of each medical staff; The medical staff recommendation list is generated according to the recommendation scores of the respective medical staff.
3. The method according to claim 1, characterized in that The step of determining a target medical staff matching the user according to the medical staff recommendation list includes: Sending the medical staff recommendation list to a user terminal; receiving a selection instruction of any one of the medical staff in the medical staff recommendation list sent by the user terminal; Determining the target medical staff according to the selected instruction; When the selected instruction is not received, the order corresponding to the order request is added to the order grabbing pool; Receiving a request sent by a medical staff terminal to grab the order from the order grabbing pool; When the snatch is successful, the target medical staff is determined.
4. The method according to claim 3, characterized in that The method further comprises: When the order has not been snatched after a preset time period, a prompt message is generated and sent to a designated terminal.
5. The method according to claim 3, characterized in that: After determining the target medical personnel according to the selected instruction, the method further includes: Obtain the service time in the order request; Setting a distributed lock for the target medical staff and the service time; When the escort service is completed, the distributed lock is released.
6. The method according to claim 5, characterized in that After setting the distributed lock for the target medical staff and the service time, the method further includes: Verifying the target medical staff, wherein the verification includes verifying whether the target medical staff is in an abnormal state and a busy state, wherein the abnormal state includes an offline state and a logged-out state; When the verification is passed, the target medical staff is assigned to the user; When the verification fails, the order corresponding to the order request is added to the order grabbing pool.
7. The method according to claim 1, characterized in that The method further comprises: Receive a registration request from a medical staff, wherein the registration request includes information about the medical staff and information about the tenant to which the medical staff belongs; Creating an association relationship between the medical staff information and the tenant information according to the registration request; A request for modifying the medical staff information initiated by the tenant is received, and the medical staff information is modified accordingly according to the modification request.
8. A matching device for accompanying service in a SaaS platform, characterized in that: The SaaS platform is created with at least one tenant, and the device includes: A receiving module, configured to receive an order request for a care service sent by a user terminal, wherein the order request includes tenant information and service information required by the user; An acquisition module, used to acquire medical staff information associated with the tenant information, wherein the medical staff information includes service information supported by the medical staff; A generating module, used for generating a medical staff recommendation list according to the service information required by the user and the service information supported by the medical staff; A matching module is used to determine a target medical staff that matches the user according to the medical staff recommendation list, so as to assign the target medical staff to the user.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.