A data processing method of a companion management platform
By splitting order information and candidate companion sets on the companion management platform, and optimizing the matching process using data reliability index and status recovery factor, the real-time and reliability issues of order dispatch were resolved, thereby improving the platform's operational efficiency and service quality.
Patent Information
- Application Number
- CN202611337058.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-31
- Publication Date
- 2026-11-24
AI Technical Summary
The existing escort service management platform cannot meet the actual operational needs in terms of real-time performance, matching reliability, and service continuity when dispatching orders, especially during peak hours when the calculation delay is severe.
By splitting order demand information into basic information and core information, the candidate companions are first screened based on the basic information, then divided into subsets according to the data reliability index, and finally the companions are selected within the target subset. The matching process is optimized by using the data reliability index range and the status recovery factor.
It reduces the computational overhead of a single order, decreases the order dispatch response delay during peak hours, improves the real-time performance and reliability of matching, and ensures the service quality and continuity of the escort physician.
Smart Images

Figure CN123159769A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of data processing and relates to a data processing method for a patient companion management platform. Background Technology
[0002] With the rapid development of online medical companion services, the medical companion management platform has realized the online management of the entire process, including medical companion registration, order dispatch, service supervision, settlement and evaluation.
[0003] In terms of assigning escort services to medical appointments, existing platforms mainly rely on comprehensive ratings and rankings of candidate escorts to allocate orders. As the number of escorts and the scale of orders on the platform continue to grow, this method is gradually becoming unable to meet actual operational needs in terms of real-time performance, matching reliability, and service continuity. Summary of the Invention
[0004] In view of this, the present invention provides a data processing method for a patient companion management platform to solve the above problems.
[0005] To achieve the above objectives, the present invention provides the following technical solution: Firstly, a data processing method for a companion medical service management platform is provided, applied to a cloud server. The method includes: obtaining order requirement information of companion medical service orders; determining a set of candidate companions whose basic information matches the order requirement information; dividing the candidate companion set into multiple candidate companion subsets according to the data reliability index of each candidate companion in the candidate companion set; determining a target candidate companion subset from the multiple candidate companion subsets whose core information matches the order requirement information; and determining the target companion to be dispatched to the companion medical service order from the target candidate companion subset.
[0006] Through the above scheme, order demand information is broken down into basic information and core information. The candidate companion set is first screened based on the basic information, then divided into subsets according to the data reliability index. Finally, the target companion is selected only from the target subset that matches the core information. Compared to scoring and ranking all candidate companions one by one, this method narrows the matching calculation scope of a single order from all candidate companions to a small number of candidate companions within the target subset, reducing the computational cost per order and helping to reduce order dispatch response delays during peak periods. The subset division is based on the data reliability index, so that candidate companions with different profile data reliability are assigned to different subsets. The order core information is matched to the subset with the corresponding data reliability level, reducing the direct impact of profile data noise on the matching results.
[0007] Optionally, the basic information includes the department identification and service time period. The set of candidate escorts that matches the basic information of the order demand information includes: identifying escorts who have no confirmed orders occupied during the service time period and whose department matching scope includes the department identification, thus forming the candidate escort set.
[0008] Therefore, using the absence of available orders during the service period as a basic screening criterion can exclude escorts who cannot accept orders during the current time. Using the inclusion of the target department's identifier in the department's compatibility range as another screening criterion can exclude escorts whose departmental capabilities do not match. These two conditions work together to ensure that the candidate escort pool meets the basic requirements of order availability and departmental compatibility, reducing the number of invalid candidates in subsequent subset division and matching processes.
[0009] Optionally, the basic information also includes the hospital identification and service type. The set of candidate escorts that matches the basic information of the order requirements includes: identifying escorts who are centered on the hospital corresponding to the hospital identification, are located within a preset geographical range, have no confirmed orders occupying their service time, have the department identification included in their department matching range, and whose service type matches the service type of the order.
[0010] Therefore, it can be seen that, based on the screening of departments and service hours, further limiting the geographical scope with the hospital as the center can reduce the uncertainty of commuting time caused by escorts taking orders across regions; adding service type matching conditions can ensure that the set of candidate escorts is basically consistent with the service form of the order, and avoid introducing escorts that are obviously inconsistent with the order requirements when selecting from the target subset later.
[0011] Optionally, for any target candidate companion in the candidate companion set, the data reliability index of the target candidate companion is determined as follows: The following parameters of the target candidate companion are obtained: the number of historical evaluation samples, the most recent update time of the target candidate companion's profile data, and the verification depth of the target candidate companion's qualification data; the multiple parameters are normalized and then weighted and summed to obtain the data reliability index of the target candidate companion, where the data reliability index ranges from 0 to 1; correspondingly, the candidate companion set is divided into multiple candidate companion subsets according to the data reliability index of each candidate companion in the candidate companion set, including: sorting each candidate companion in the candidate companion set according to their respective data reliability index to obtain a sorted candidate companion set; and, according to the number of partitions, sequentially dividing the sorted candidate companion set into multiple candidate companion subsets, each candidate companion subset corresponding to a data reliability index interval.
[0012] Therefore, the data reliability index no longer relies on a single-dimensional empirical judgment, but is calculated by comprehensively considering three quantifiable parameters: the number of historical evaluation samples, the timeliness of profile data updates, and the depth of qualification verification. This ensures that the credibility measurement of the escort profile is stable and reliable. After obtaining the individual reliability index, the candidate set is sorted and partitioned, so that each subset corresponds to a continuous data reliability index interval, and the relative ranking relationship of the candidate escorts in this index dimension is preserved.
[0013] Optionally, the number of partitions is determined as follows: obtain the size parameter of the candidate companion set and the overall data reliability level, where the overall data reliability level is the average of the data reliability indices of each candidate companion in the candidate companion set; determine the number of partitions based on the size parameter and the overall data reliability level; wherein the number of partitions is positively correlated with the size parameter of the candidate companion set and positively correlated with the overall data reliability level.
[0014] Therefore, the number of partitions changes dynamically with the candidate size and the overall data reliability level, rather than being a preset fixed value. When the candidate size is larger and the overall data reliability is higher, the number of partitions is greater, the subset granularity is finer, and the ability to distinguish candidate companions during matching is stronger. When the candidate size is smaller or the overall reliability is lower, the number of partitions is reduced to avoid the factor set being divided too finely, resulting in empty subsets or too few candidates within a single subset.
[0015] Optionally, the core information includes a service complexity level, which is determined based on at least one of the complexity of the department being treated, the complexity of the service type, and the patient's special needs; from multiple subsets of candidate escorts, a target subset of candidate escorts matching the core information of the order requirements is determined, including: determining the required data reliability level based on the service complexity level; and determining the subset of candidate escorts corresponding to the data reliability level as the target subset of candidate escorts.
[0016] Therefore, the service complexity level in the core information is translated into a requirement for data reliability level, creating a direct correlation between order complexity and the credibility of the escort's profile. Orders with higher complexity are matched with a subset of escorts with higher data reliability; orders with lower complexity are matched with a subset of escorts with lower data reliability. This mapping avoids situations where high-complexity orders are assigned to escorts with unreliable profile data, while low-complexity orders excessively consume high-reliability escort resources.
[0017] Optionally, when there are no candidate companions in the target candidate companion subset, the candidate companion subsets adjacent to the target candidate companion subset are checked in descending order of data reliability index range, and the first candidate companion subset containing a candidate companion is re-determined as the target candidate companion subset.
[0018] Therefore, when the data reliability subset matching the order complexity is empty, the strategy prioritizes expanding to adjacent subsets with higher data reliability, rather than downscaling to subsets with lower reliability. This expansion strategy ensures that when matching fails, it prioritizes selecting companions with profile credibility higher than the current requirement, avoiding forcibly including unreliable candidate companions in the matching process due to an empty target subset, thus maintaining matching quality while ensuring successful order dispatch.
[0019] Optionally, determining the target escort for the escort service order from the subset of target candidate escorts includes: for any target candidate escort in the subset of target candidate escorts: obtaining the previous order completion status information of the target candidate escort, which includes the service completion time and service intensity of the previous order; determining the status transition window length of the target candidate escort based on the service intensity of the previous order and the preset maximum transition window length; calculating the status recovery factor of the target candidate escort based on the time interval between the service completion time of the previous order and the service start time of the current order, and the status transition window length; and determining the target escort for the escort service order from the subset of target candidate escorts based on the status recovery factor of each candidate escort in the subset of target candidate escorts.
[0020] Therefore, it can be seen that after completing the previous order, the companion's availability to accept new orders does not recover instantly, but is affected by the service intensity of the previous order, requiring a transition window. The length of the transition window is determined by the service intensity, and a status recovery factor is calculated based on the time interval between the end of the previous order and the start of the current order. This quantifies the companion's status recovery as a continuous value, providing a more nuanced selection of target companions from the subset than a binary "idle / busy" status, thus improving matching accuracy.
[0021] Optionally, based on the status recovery factor of each candidate escort in the target candidate escort escort subset, the target escort escort service order is determined from the target candidate escort escort subset. This includes: interpolating the standard matching status value of each candidate escort escort and the matching status value at the end of the previous order based on the status recovery factor of each candidate escort in the target candidate escort escort subset to obtain the transition matching status value of each candidate escort escort. The transition matching status value includes a transition immediate availability value, which is used to characterize the availability of the corresponding candidate escort escort after status recovery at the start of the service of the current order. In the target candidate escort escort subset, the candidate escort escort with the highest transition immediate availability value corresponding to the transition matching status value is determined as the target escort escort.
[0022] Therefore, when selecting a companion within the target subset, the availability value used is not the static standard value in the profile data, but a transitional value obtained by interpolating the standard value and the end value of the previous order using the state recovery factor. This transitional value reflects the true recovery level of the companion at the start of the current order service, ensuring that the availability of companions with high service intensity and close to the end time of the previous order is not overestimated.
[0023] Optionally, based on the status recovery factor of each candidate companion in the subset of target candidate companions, interpolation is performed on the standard matching status value and the previous order end matching status value of each candidate companion to obtain the transition matching status value of each candidate companion. This includes: for any target candidate companion in the subset of target candidate companions: obtaining the standard matching status value of the target candidate companion and the order end matching status value of the target candidate companion at the end of the previous order; and interpolating the standard matching status value and the order end matching status value based on the status recovery factor of the target candidate companion to obtain the transition matching status value of the target candidate companion.
[0024] Therefore, the calculation of the transitional matching state value relies on two types of data: the standard matching state value and the previous order's end-matching state value. The standard matching state value comes from the companion's profile data, while the previous order's end-matching state value comes from the state snapshot at the end of the previous order. The state recovery factor, as an interpolation weight, determines the relative contribution of the two types of state values to the transitional matching state value, thus continuously and smoothly reflecting the companion's state recovery process and avoiding state jumps at order seams.
[0025] Secondly, a data processing system for a patient companion management platform is provided, the system including a cloud server for performing methods as described in the first aspect or any alternative method.
[0026] Thirdly, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method as described in the first aspect or any alternative method.
[0027] The objectives and other advantages of this invention can be realized and obtained through the following description. Attached Figure Description
[0028] To make the objectives, technical solutions, and advantages of the present invention clearer, the preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, wherein: Figure 1 A flowchart of a data processing method for a patient companion management platform provided by the present invention; Figure 2 Another flowchart of a data processing method for a patient companion management platform provided by the present invention; Figure 3Another flowchart of a data processing method for a companion physician management platform provided by the present invention; Figure 4 This is a schematic diagram of the structure of a cloud server provided by the present invention. Detailed Implementation
[0029] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0030] Figures 1-3 This is a flowchart illustrating a data processing method for a patient companion management platform provided in an embodiment of this application. The method is applied to a cloud server. Figure 1 As shown, the method includes: S201, the cloud server retrieves order request information for escort services.
[0031] A patient escort service order is a service request submitted by the patient to the platform through the patient server. The order requirement information is a set of structured fields parsed from the order request by the cloud server, containing basic and core information.
[0032] Basic information is used for initial screening of escorts who can accept orders. Basic information includes the department identification and service hours. Optionally, basic information may also include the hospital identification and service type. The department identification is the standardized code or name of the hospital department, the service hours are the patient's specified appointment time range, the hospital identification is the hospital name or number, and the service type is a service format predefined by the platform. Service types may include full-process escort, single-item guidance, medication pickup and testing delivery, etc.
[0033] Core information is used to further determine the matching accuracy within the candidate companion set. Core information includes the service complexity level. The service complexity level is determined based on at least one of the following: complexity of the department visited, complexity of the service type, and specific patient needs.
[0034] Department complexity refers to the complexity of the department's process in the consultation. A department complexity level table can be pre-set in the cloud server; for example, departments like cardiology and neurosurgery have a high complexity level, while general physical examination departments have a low complexity level. Service type complexity refers to the requirements of the escort's abilities on the service itself; for example, full-process escort is more complex than single-item guidance. Special patient needs include the patient's age, mobility, and whether special language communication is required. For example, department complexity, service type complexity, and special patient needs can be mapped to values from 0 to 1, then weighted and summed according to preset weights to obtain the service complexity level, which ranges from 0 to 1.
[0035] S202, the cloud server determines the set of candidate companions whose basic information matches the order requirements, and divides the set of candidate companions into multiple subsets of candidate companions.
[0036] This step can be divided into two sub-steps, such as Figure 2 As shown: S2021, the cloud server determines the set of candidate companions whose basic information matches the order requirements.
[0037] When the basic information includes the department identification and service time, the method for determining the candidate escort set is as follows: identify escorts who have no confirmed orders during the service time and whose department matching scope includes the department identification, and form a candidate escort set.
[0038] "No confirmed orders available" means that the companion / attendant has no other confirmed orders during the service period. The cloud server determines whether the companion / attendant is available during the specified time period by querying the order database.
[0039] "Departmental Compatibility Range" refers to the range of departments where the escort can provide services. This range can be pre-determined based on the escort's professional experience, training records, and historical order department distribution data. The cloud server compares the identified department with each escort's departmental compatibility range, retaining only escorts whose compatibility range includes that department.
[0040] When the basic information also includes the hospital identification and service type, the method for determining the candidate escort set further includes: determining escorts who are centered on the hospital corresponding to the hospital identification, located within a preset geographical range, have no confirmed orders occupying the service period, whose department matching range includes the hospital identification, and whose service type matches the service type of the order, and forming a candidate escort set.
[0041] The preset geographical area is a circular or rectangular region centered on the hospital, such as a circular area with a radius of 10 kilometers. Service type matching refers to the service type of the order that the companion service provider registers on the platform to include.
[0042] In S2022, the cloud server divides the candidate companion set into multiple candidate companion subsets based on the data reliability index of each candidate companion in the candidate companion set.
[0043] For any target candidate companion in the set of candidate companions, the data reliability index is calculated as follows: Obtain multiple parameters of the target candidate medical companion: the number of historical evaluation samples, the most recent update time of the target candidate medical companion's profile data, and the depth of verification of the target candidate medical companion's qualification data.
[0044] The number of historical evaluation samples refers to the total number of valid service evaluations the escort service provider has received on the platform. The last update time of the profile data refers to the last time the escort service provider's profile data was recalculated or refreshed. The depth of qualification data verification refers to the degree of verification of the escort service provider's qualification information; for example, uploading only a certificate image is level one, verification via official interface is a higher level, and dual verification via facial recognition and government data is the highest level.
[0045] After normalizing multiple parameters individually, a weighted sum is taken to obtain the data reliability index of the target candidate companions. The data reliability index ranges from 0 to 1. The normalization method and weight of each parameter can be set according to the platform's historical operational data. For example, the number of historical evaluation samples is logarithmically normalized, the most recent update time of the profile data is normalized by time decay, and the verification depth of qualification data is mapped by level, with weights set to 0.4, 0.3, and 0.3 respectively.
[0046] After obtaining the data reliability index of each candidate companion in the candidate companion set, the candidate companion set is sorted according to the data reliability index to obtain the sorted candidate companion set. Then, according to the number of partitions, the sorted candidate companion set is divided into multiple subsets, each subset corresponding to a data reliability index interval.
[0047] Quantile partitioning refers to dividing the sorted candidate set into several equal segments based on the number of participants. For example, if the candidate set contains 80 companions, and the number of segments is 4, the top 20 in the sorted set belong to the first subset, the 21st to 40th belong to the second subset, and so on. The data reliability index range corresponding to each subset is the range covered by the lowest and highest indices within that subset.
[0048] The number of divisions is determined as follows: Obtain the size parameter and overall data reliability level of the candidate companion set. The size parameter is the number of candidate companions in the candidate companion set. The overall data reliability level is the average of the data reliability indices of each candidate companion in the candidate companion set.
[0049] The number of partitions is determined based on the scale parameter and the overall data reliability level. The number of partitions is positively correlated with both the scale parameter and the overall data reliability level.
[0050] For example, the number of divisions can be preset to multiple levels. When the number of candidates is less than 30 and the overall reliability average is below 0.5, the number of divisions is 2; when the number of candidates is between 30 and 80 and the average is between 0.5 and 0.7, the number of divisions is 4; when the number of candidates is greater than 80 and the average is greater than 0.7, the number of divisions is 8. The above values are for illustrative purposes only, and the actual values can be adjusted based on platform operation experience.
[0051] S203, the cloud server determines the target candidate companion subset from multiple candidate companion subsets, matching the core information of the order requirements, and determines the target companion to be assigned to the companion service order from the target candidate companion subset.
[0052] This step can be divided into two sub-steps, such as Figure 3 As shown: S2031, the cloud server determines the target subset of candidate companions from multiple subsets of candidate companions, based on the core information that matches the order requirements.
[0053] The core information includes the service complexity level. The method for determining the target candidate companion subset from multiple candidate companion subsets is as follows: determine the required data reliability level based on the service complexity level; and determine the candidate companion subset with the corresponding data reliability level as the target candidate companion subset.
[0054] The mapping rule from service complexity level to data reliability level can be preset as follows: When the service complexity level is in the first complexity range (e.g., 0 to 0.4), it corresponds to a low data reliability level. When the service complexity level is in the second complexity range (e.g., 0.4 to 0.7), it corresponds to the data reliability level. When the service complexity level is in the third complexity range (e.g., 0.7 to 1.0), it corresponds to a high data reliability level.
[0055] There is a correspondence between the data reliability level and the data reliability index range of the candidate companion subset. For example, the data reliability index range [0, 0.4) represents a low data reliability level, [0.4, 0.7) represents a medium data reliability level, and [0.7, 1.0] represents a high data reliability level. When the service complexity level and the data reliability level use the same range division, the candidate companion subset corresponding to the data reliability index range in which the service complexity level falls can be directly determined as the target candidate companion subset.
[0056] The mapping logic is as follows: orders with higher service complexity require higher reliability of the companion profile data. More complex orders are matched with a subset of companions whose profile data is more reliable, reducing the impact of profile uncertainty on service matching quality.
[0057] When there are no candidate companions in the target candidate companion subset, the cloud server checks the candidate companion subsets adjacent to the target candidate companion subset in descending order of data reliability index range, and re-determines the first candidate companion subset containing a candidate companion as the target candidate companion subset.
[0058] S2032, the cloud server determines the target escort for the escort service order from the subset of target candidate escorts.
[0059] After the target candidate companion is determined, the cloud server retrieves the previous order completion status information for any target candidate companion within that subset. This information includes the service completion time and service intensity of the previous order.
[0060] The end time of the previous service order is the time when the escort service provider most recently completed their escort service. The service intensity of the previous order is a quantitative measure of the escort service provider's energy expenditure for that order, with a value ranging from 0 to 1. Service intensity can be determined based on at least one of the following: service duration, number of departments involved, distance traveled, and service type. The longer the service duration, the more departments involved, and the farther the distance traveled, the higher the service intensity.
[0061] The status transition window length for the target candidate companion is determined based on the service intensity of the previous order and the preset maximum transition window length. The status transition window length can be obtained by multiplying the service intensity by the maximum transition window length. The maximum transition window length is the platform's preset maximum status recovery time, for example, 2 hours.
[0062] Based on the time interval between the end time of the previous order and the start time of the current order, and the length of the state transition window, the state recovery factor of the target candidate escort is calculated. The state recovery factor is calculated as follows: the time interval divided by the state transition window length; if the result exceeds 1, it is rounded down to 1. The state recovery factor characterizes the degree to which the escort has recovered from the end state of the previous order to a standard idle state; a higher value indicates a more complete recovery.
[0063] After obtaining the status recovery factor of each candidate companion in the target candidate companion subset, the cloud server interpolates the standard matching status value and the previous order end matching status value of each candidate companion based on the status recovery factor of each candidate companion, and obtains the transition matching status value of each candidate companion.
[0064] The standard matching status value is the static status value recorded in the companion's profile data. The previous order completion matching status value is a snapshot of the companion's status when the previous order was completed. The interpolation calculation uses the status recovery factor as the weight. The larger the status recovery factor, the closer the transitional matching status value is to the standard matching status value; the smaller the status recovery factor, the closer the transitional matching status value is to the previous order completion matching status value.
[0065] The transition matching status value includes the transition immediate availability value, which is used to characterize the availability of the corresponding candidate companion after the status is restored at the start of the service of the current order.
[0066] Specifically, for any target candidate companion in the subset of target candidate companions, obtain the standard matching status value of the target candidate companion and the order end matching status value of the target candidate companion at the end of the previous order; according to the status recovery factor of the target candidate companion, interpolate the standard matching status value and the order end matching status value to obtain the transition matching status value of the target candidate companion.
[0067] For example, if the target candidate companion's standard immediate availability value is 0.8, the immediate availability value at the end of the previous order is 0.5, and the status recovery factor is 0.6, then the transitional immediate availability value = 0.6 × 0.8 + (1 - 0.6) × 0.5 = 0.48 + 0.2 = 0.68. This value, between 0.5 and 0.8, reflects that the companion has not yet fully recovered to the standard status.
[0068] If the time interval between the end of the previous order and the start of the current order for the target candidate companion exceeds the state transition window length, the state recovery factor is set to 1, the transition matching state value is equal to the standard matching state value, and the companion participates in matching as a fully recovered state.
[0069] After obtaining the transition matching status value of each candidate companion, the cloud server determines the candidate companion with the highest transition immediate availability value corresponding to the transition matching status value as the target companion from the subset of target candidate companions.
[0070] The candidate companion with the highest immediate availability value indicates that they are most available at the start of the service for the current order and are the most suitable to take on that order. If the immediate availability values are the same, further differentiation can be achieved by combining auxiliary conditions such as historical matching frequency and service reviews, or a random selection can be made from multiple candidate companions with the same immediate availability value.
[0071] The above steps S201 to S203 describe the processing flow of a complete order, from demand acquisition to the determination of the target escort therapist. In actual operation, the cloud server independently executes the above process for each newly arrived escort service order. The processing of each order does not affect the others.
[0072] It should be noted that S201 to S203 above are merely exemplary step divisions and do not constitute a strict limitation on the execution order. The calculation of the data reliability index can be completed offline and cached before the order arrives, and the cached result can be directly used for subset partitioning after the order arrives; the state recovery factor can also be pre-updated at each time period, rather than calculated in real time when the order is matched. All of the above possible adjustments to the execution order fall within the protection scope of the embodiments of this application.
[0073] A cloud server is a server-side device with data processing capabilities, which can be a standalone physical server, a cloud server, or a server cluster. The companion / patient server and the patient server can communicate with the cloud server via a wireless network, which can be a cellular mobile communication network or a wireless local area network.
[0074] In summary, order demand information is broken down into basic information and core information. The candidate companion set is first screened using basic information, then divided into subsets based on data reliability index. Finally, target companions are selected only from the subset matching the core information. Compared to scoring and ranking all candidate companions individually, this method narrows the matching calculation scope of a single order from all candidate companions to a small number of candidates within the target subset, reducing the computational overhead per order and helping to reduce order dispatch response delays during peak periods. Subset division is based on data reliability index, placing candidate companions with different profile data reliability into different subsets. The order's core information is matched to the subset with the corresponding data reliability level, reducing the direct impact of profile data noise on the matching results.
[0075] Figure 4 This is a schematic diagram of the structure of a cloud server provided in an embodiment of this application. Exemplarily, the cloud server can be a terminal, or a chip (system) or other component or part that can be configured on the terminal. Figure 4 As shown, the cloud server 200 may include a processor 201. Optionally, the cloud server 200 may also include a memory 202 and / or a transceiver 203. The processor 201 is coupled to the memory 202 and the transceiver 203, for example, via a communication bus.
[0076] The following is combined with Figure 4 A detailed introduction to each component of the cloud server 200: The processor 201 is the control center of the cloud server 200. It can be a single processor or a collective term for multiple processing elements. For example, the processor 201 can be one or more central processing units (CPUs), application-specific integrated circuits (ASICs), or one or more integrated circuits configured to implement the embodiments of this application, such as one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs).
[0077] Optionally, the processor 201 can perform various functions of the cloud server 200 by running or executing software programs stored in the memory 202 and calling data stored in the memory 202, such as performing the methods described above.
[0078] In a specific implementation, as one example, the processor 201 may include one or more CPUs, for example... Figure 4 CPU0 and CPU1 are shown in the diagram.
[0079] In a specific implementation, as one example, the cloud server 200 may also include multiple processors, for example... Figure 4 The processor 201 shown is an example. Each of the processors 201 can be a single-core processor or a multi-core processor. Here, "processor" can refer to one or more devices, circuits, and / or processing cores used to process data (e.g., computer program instructions).
[0080] The memory 202 is used to store the software program that executes the solution of this application, and the processor 201 controls its execution. The specific implementation method can be referred to the above method embodiment, and will not be repeated here.
[0081] Optionally, the memory 202 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed discs, laser discs, optical discs, digital universal discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory 202 may be integrated with the processor 201 or exist independently, and may be connected via the interface circuit of the cloud server 200. Figure 4 (Not shown in the image) is coupled to processor 201, but this embodiment does not specifically limit this.
[0082] Transceiver 203 is used for communication with other cloud servers. For example, if cloud server 200 is a terminal, transceiver 203 can be used to communicate with a network device or with another terminal device. Alternatively, if cloud server 200 is a network device, transceiver 203 can be used to communicate with a terminal or with another network device.
[0083] Optionally, transceiver 203 may include a receiver and a transmitter. Figure 4 (Not shown separately). The receiver is used to implement the receiving function, and the transmitter is used to implement the transmitting function.
[0084] Alternatively, the transceiver 203 can be integrated with the processor 201, or it can exist independently and be connected via the interface circuit of the cloud server 200. Figure 4 (Not shown in the image) is coupled to processor 201, but this embodiment does not specifically limit this.
[0085] Understandable Figure 4 The structure of the cloud server 200 shown does not constitute a limitation on the cloud server. An actual cloud server may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0086] Furthermore, the technical effects of the cloud server 200 can be referred to the technical effects of the methods described in the above-described method embodiments, and will not be repeated here.
[0087] It should be understood that the processor in the embodiments of this application can be a central processing unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.
[0088] It should also be understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced synchronous DRAM (ESDRAM), synchronous linked DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0089] The above embodiments can be implemented, in whole or in part, by software, hardware (such as circuits), firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more sets of available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. A semiconductor medium can be a solid-state drive.
[0090] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0091] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0092] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0093] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. A data processing method for a patient companion management platform, characterized in that, Applied to a cloud server, the method includes: Obtain order request information for escort services; A set of candidate companions is determined based on the basic information of the order requirements; the set of candidate companions is divided into multiple subsets of candidate companions according to the data reliability index of each candidate companion in the set. From the plurality of candidate escort physician subsets, a target candidate escort physician subset matching the core information of the order requirement information is determined, and a target escort physician to be assigned to the escort service order is determined from the target candidate escort physician subset.
2. The method according to claim 1, characterized in that, The basic information includes the department identification and service time period. The set of candidate companions for determining the basic information that matches the order requirements includes: The candidate escort set consists of escorts who are identified as having no confirmed orders during the service period and whose departmental compatibility range includes the department they are visiting.
3. The method according to claim 2, characterized in that, The basic information also includes the hospital identifier and service type. The set of candidate companions for determining the basic information matching the order requirements includes: The candidate escort set consists of escorts who are centered on the hospital corresponding to the hospital identification, located within a preset geographical range, have no confirmed orders occupying the service period, whose department matching range includes the hospital identification, and whose service type matches the service type of the order.
4. The method according to claim 1, characterized in that, For any target candidate companion in the set of candidate companions, the data reliability index of the target candidate companion is determined in the following way: The following parameters of the target candidate medical companion are obtained: the number of historical evaluation samples, the last update time of the profile data of the target candidate medical companion, and the verification depth of the qualification data of the target candidate medical companion. After normalizing each of the multiple parameters, a weighted sum is obtained to obtain the data reliability index of the target candidate companion. The value range of the data reliability index of the target candidate companion is 0 to 1. Accordingly, the candidate companion set is divided into multiple candidate companion subsets according to the data reliability index of each candidate companion in the candidate companion set, including: The candidate companions in the candidate companion set are sorted according to their respective data reliability indices to obtain the sorted candidate companion set. Based on the number of partitions, the sorted set of candidate companions is divided into multiple subsets of candidate companions, and each subset of candidate companions corresponds to a data reliability index interval.
5. The method according to claim 4, characterized in that, The number of divisions is determined in the following way: Obtain the size parameter and overall data reliability level of the candidate companion set, wherein the overall data reliability level is the average of the data reliability index of each candidate companion in the candidate companion set; The number of divisions is determined based on the scale parameters and the overall data reliability level; The number of divisions is positively correlated with the size parameter of the candidate companion set and also positively correlated with the overall data reliability level.
6. The method according to claim 1, characterized in that, The core information includes a service complexity level, which is determined based on at least one of the complexity of the department being treated, the complexity of the service type, and the patient's special needs; determining the target candidate companion subset from the plurality of candidate companion subsets that matches the core information of the order requirement information includes: Based on the service complexity level, determine the required data reliability level; The subset of candidate escorts corresponding to the data reliability level is determined as the target candidate escort subset.
7. The method according to claim 6, characterized in that, When there are no candidate companions in the target candidate companion subset, the candidate companion subsets adjacent to the target candidate companion subset are checked in descending order of data reliability index range, and the first candidate companion subset containing a candidate companion is re-determined as the target candidate companion subset.
8. The method according to any one of claims 1-7, characterized in that, The process of determining the target escort for the escort service order from the subset of target candidate escorts includes: For any target candidate companion in the subset of target candidate companions: Obtain the previous order completion status information of the target candidate escort, including the service completion time and service intensity of the previous order; determine the status transition window length of the target candidate escort based on the service intensity of the previous order and the preset maximum transition window length; calculate the status recovery factor of the target candidate escort based on the time interval between the service completion time of the previous order and the service start time of the current order, and the status transition window length. Based on the state recovery factor of each candidate escort in the target candidate escort escort subset, the target escort escort is determined from the target candidate escort escort subset to be assigned to the escort service order.
9. The method according to claim 8, characterized in that, The step of determining the target escort for the escort service order from the target candidate escort subset based on the status recovery factor of each candidate escort in the target candidate escort subset includes: Based on the status recovery factor of each candidate companion in the target candidate companion subset, interpolation is performed on the standard matching status value and the previous order end matching status value of each candidate companion to obtain the transition matching status value of each candidate companion. The transition matching status value includes a transition immediate availability value, which is used to characterize the availability of the corresponding candidate companion after status recovery at the service start time of the current order. In the subset of target candidate companions, the candidate companion with the highest transition immediate availability value corresponding to the transition matching state value is determined as the target companion.
10. The method according to claim 9, characterized in that, The step involves interpolating the standard matching status value and the previous order's end matching status value of each candidate companion based on the status recovery factor of each candidate companion in the target candidate companion companion subset, to obtain the transitional matching status value of each candidate companion companion, including: For any target candidate companion in the subset of target candidate companions: Obtain the standard matching status value of the target candidate medical companion, and the order end matching status value of the target candidate medical companion when the previous order ended; Based on the target state recovery factor, interpolation is performed on the standard matching state value and the order end matching state value to obtain the transition matching state value of the target candidate companion.
