Online inquiry order allocation method and device
By pre-configuring dispatch nodes and matching rules for each business, the problem of duplicate configuration information and high costs in online consultation order allocation is solved, rapid allocation and flexible adjustment are achieved, and operation and development costs are reduced.
Patent Information
- Application Number
- CN202411535238.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2024-12-20
AI Technical Summary
In the online consultation scenario, there is a large amount of duplicate configuration information in the order allocation process, which leads to high operating and system development costs. When the configuration information changes, a large number of processes need to be adjusted, resulting in increased complexity.
Pre-configure one or more dispatch nodes for each service, and set matching rules for each dispatch node. Directly determine the dispatch nodes for the target consultation order through the matching rules, so as to quickly allocate the reception personnel and in the service When adjusting, only the order dispatch node and matching rules need to be adjusted to decouple.
It realizes rapid allocation of orders, reduces operational and development costs, and improves flexibility in business adjustments.
Smart Images

Figure CN119170228A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet medical technology, and in particular to a method and device for allocating online consultation orders. Background Art
[0002] In the online consultation scenario, consultation order allocation needs to create multiple order allocation processes and multiple order allocation strategies according to different order types to meet complex consultation allocation needs. However, there will be a large amount of duplicate configuration information in the order allocation process between different types of orders. When some configuration information changes, a large number of order allocation processes will be adjusted at the same time, resulting in high operation and system development costs. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a method and device for allocating online medical consultation orders. By pre-configuring one or more dispatch nodes for each business and setting corresponding matching rules for each dispatch node, the dispatch node corresponding to the target medical consultation order can be directly determined by matching the matching rules of the dispatch node during the processing of the target medical consultation order, thereby realizing the rapid allocation of target consultation personnel for the target medical consultation order. Moreover, when it is necessary to adjust the business, only the dispatch node and matching rules corresponding to the business need to be adjusted, so that each business is decoupled, reducing operation and development costs.
[0004] To achieve the above objective, according to one aspect of an embodiment of the present invention, a method for allocating an order is provided.
[0005] An order allocation method according to an embodiment of the present invention includes: determining a target business to which a target consultation order belongs, and obtaining target consultation order information corresponding to the target consultation order; matching the target consultation order information with one or more first dispatch nodes corresponding to the target business, and determining a second dispatch node; wherein each business is pre-configured with one or more dispatch nodes, and each dispatch node is provided with corresponding matching rules; determining a target reception staff corresponding to the target consultation order from one or more reception staff sets corresponding to the second dispatch node; and generating a dispatch result for the target consultation order according to the target reception staff.
[0006] Optionally, determining the target business to which the target consultation order belongs includes: identifying at least one of scenario information, order type, and order source corresponding to the target consultation order from the target consultation order; and determining the target business to which the target consultation order belongs based on the scenario information, the order type, and the order source.
[0007] Optionally, in response to the number of the first order dispatching nodes being multiple; the obtaining of the target consultation order information corresponding to the target consultation order, and matching the target consultation order information with the one or more first order dispatching nodes corresponding to the target business, to determine the second order dispatching node includes: determining the weight information corresponding to the multiple first order dispatching nodes respectively; determining the matching order of the multiple first order dispatching nodes according to the order of size of the weight information; determining in turn according to the matching order whether the target consultation order information satisfies the matching rules corresponding to each of the first order dispatching nodes respectively, and using the first order dispatching node corresponding to the first matching rule that is satisfied as the second order dispatching node.
[0008] Optionally, the target reception staff corresponding to the target consultation order is determined from one or more reception staff sets corresponding to the target node, including: generating a random number for the target consultation order; determining the target reception staff set from one or more reception staff sets according to the random number; and determining the target reception staff from multiple reception staff belonging to the target reception staff set in response to the allocation method of the target reception staff set.
[0009] Optionally, the allocation method includes: grab-order allocation method and dispatch-order allocation; the allocation method in response to the target reception staff set determines the target reception staff from multiple reception staff belonging to the target reception staff set, including: in response to the allocation method being grab-order allocation, sending the target consultation order to each reception staff in the target reception staff set; determining the target reception staff based on the grab-order results fed back by each of the reception staff; or, in response to the allocation method being dispatch-order allocation, determining the target reception staff based on the current dispatch situation corresponding to each reception staff in the target reception staff set.
[0010] Optionally, determining a target reception staff set from one or more reception staff sets based on the random number includes: respectively determining the numerical interval corresponding to each of the reception staff sets; wherein the numerical intervals corresponding to the respective reception staff sets are continuous, and the random number is generated based on a random number interval obtained by merging multiple numerical intervals; determining a target interval to which the random number belongs from multiple numerical intervals; and taking the reception staff set corresponding to the target interval as the target reception staff set.
[0011] Optionally, the target reception staff is determined based on the order grabbing results fed back by each of the reception staff, including: in response to the order grabbing result that there are multiple reception staff grabbing the order, determining the target reception staff based on the order grabbing time of each reception staff; or, in response to the order grabbing result that no reception staff grabs the order, re-determining the target reception staff set for the target consultation order.
[0012] To achieve the above objective, according to another aspect of an embodiment of the present invention, a device for allocating online medical consultation orders is provided.
[0013] An online medical consultation order allocation device according to an embodiment of the present invention includes: an acquisition module, used to determine the target business to which the target medical consultation order belongs, and obtain the target medical consultation order information corresponding to the target medical consultation order; a matching module, used to match the target medical consultation order information with one or more first dispatch nodes corresponding to the target business, and determine a second dispatch node; wherein each business is pre-configured with one or more dispatch nodes, and each of the dispatch nodes is provided with corresponding matching rules; a determination module, used to determine the target reception staff corresponding to the target medical consultation order from one or more reception staff sets corresponding to the second dispatch node; and a generation module, used to generate the dispatch result of the target medical consultation order according to the target reception staff.
[0014] To achieve the above objective, according to another aspect of an embodiment of the present invention, an electronic device for allocating online medical consultation orders is provided.
[0015] An electronic device for order allocation according to an embodiment of the present invention includes: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement an order allocation method according to an embodiment of the present invention.
[0016] To achieve the above objective, according to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided.
[0017] A computer-readable storage medium according to an embodiment of the present invention stores a computer program, which, when executed by a processor, implements an order allocation method according to an embodiment of the present invention.
[0018] One embodiment of the above invention has the following advantages or beneficial effects: by pre-configuring one or more dispatch nodes for each service and setting corresponding matching rules for each dispatch node, the dispatch node corresponding to the target consultation order can be directly determined by matching the matching rules of the dispatch node during the processing of the target consultation order, thereby realizing rapid allocation of the order. Moreover, when the service needs to be adjusted, only the dispatch node and matching rules corresponding to the service need to be adjusted, so that each service is decoupled, reducing operation and development costs.
[0019] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with specific implementation examples. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0021] Figure 1 This is a main flow chart of a method for allocating orders according to an embodiment of the present invention;
[0022] Figure 2 is a main flow chart of another method for order allocation according to an embodiment of the present invention;
[0023] Figure 3 is a schematic diagram of the association relationship between a target service, a first dispatching node, and a second dispatching node according to an embodiment of the present invention;
[0024] Figure 4 is a schematic diagram of a main process of determining a second dispatching node from a plurality of first dispatching nodes according to an embodiment of the present invention;
[0025] Figure 5 This is a schematic diagram of a main process for determining a target patient receiving personnel according to an embodiment of the present invention;
[0026] Figure 6 This is a schematic diagram of a main process of specifically determining a target patient reception personnel set in step S505 according to an embodiment of the present invention;
[0027] Figure 7 This is a schematic diagram of a main process of specifically determining a target patient in step S506 according to an embodiment of the present invention;
[0028] Figure 8 It is a main flow chart of a method for allocating orders in a specific application scenario according to an embodiment of the present invention;
[0029] Fig. 9 is a schematic diagram of main modules of an apparatus for order distribution according to an embodiment of the present invention;
[0030] Fig.10 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;
[0031] Fig.11 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0032] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0033] It should be pointed out that the embodiments of the present invention and the technical features therein may be combined with each other without conflict.
[0034] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, storage and other aspects of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information, network security and national security.
[0035] Figure 1 It is a schematic diagram of the main steps of the method for allocating online medical consultation orders according to an embodiment of the present invention.
[0036] like Figure 1 As shown, the method for allocating online consultation orders in an embodiment of the present invention mainly includes the following steps:
[0037] Step S101: determine the target business to which the target consultation order belongs, and obtain the target consultation order information corresponding to the target consultation order;
[0038] Step S102: Match the target medical consultation order information with one or more first dispatching nodes corresponding to the target business respectively, and determine a second dispatching node; wherein each business is pre-configured with one or more dispatching nodes, and each dispatching node is provided with a corresponding matching rule;
[0039] Step S103: determining a target consultation person corresponding to the target consultation order from one or more consultation person sets corresponding to the second dispatching node;
[0040] Step S104: Generate a dispatch result of a target consultation order according to the target consultation personnel.
[0041] Among them, the target consultation order refers to the order to be assigned to the target consultation personnel. Usually, after the user fills in the order information through the terminal device, the target consultation order will be generated according to the order information, and the terminal device will send the target consultation order to the server for order processing. Therefore, the target consultation order information in step S101 refers to various order information related to the target consultation order, such as medical condition information, consultation type, order scenario, order generation time, order code, etc. The assigned target consultation personnel can be the doctor who receives the consultation. It can be understood that the embodiment of the present invention is mainly aimed at the process of actually processing the target consultation order after the server receives the target consultation order sent by the terminal device.
[0042] In an optional embodiment, for the application scenario of online consultation, in step S101, the target business to which the target consultation order belongs can be determined according to at least one of the scenario information, order type and order source corresponding to the target consultation order. Specifically, the method of order allocation is as follows: Figure 2 As shown, including:
[0043] Step S201: identifying at least one of scenario information, order type, and order source corresponding to the target medical consultation order from the target medical consultation order;
[0044] Step S202: Determine the target business to which the target consultation order belongs based on the scenario information, order type, and order source;
[0045] Step S203: Acquire target consultation order information corresponding to the target consultation order;
[0046] Step S204: Match the target medical consultation order information with one or more first dispatch nodes corresponding to the target business respectively to determine a second dispatch node; wherein each business is pre-configured with one or more dispatch nodes, and each dispatch node is provided with a corresponding matching rule;
[0047] Step S205: determining a target medical consultation person corresponding to the target medical consultation order from one or more medical consultation person sets corresponding to the second dispatching node;
[0048] Step S206: Generate a dispatch result of a target consultation order according to the target consultation personnel.
[0049] Among them, online consultation also includes multiple order scenarios, such as drug purchase scenarios, consultation scenarios, registration scenarios, and consultation scenarios, etc. The order source can represent the specific platform where the target consultation order is placed, such as web page order, third-party link order, APP order, etc. The drug prices and consultation prices corresponding to different order sources may be different, so the corresponding target business may also be different. It can be understood that in different application scenarios, the specific content required to determine the target business is also different. Taking the application scenario of bank order allocation as an example, users can purchase a certain financial product of the bank based on different sources, and after the user places an order, a corresponding financial manager needs to be assigned to each order to facilitate tracking of subsequent financial services. Then for this, the target business to which the target consultation order belongs can be determined based on the product information, order source, and order type corresponding to the target consultation order. In other words, for different application scenarios, the scene information, order type, and order source in the above step S201 can be replaced according to actual conditions, as long as the corresponding target business can be determined for the target consultation order.
[0050] Below Figure 3 As an example, the association relationship between the target service, the first dispatching node, and the second dispatching node in the embodiment of the present invention is specifically described. Figure 3 As shown, still taking the application scenario of online consultation as an example, there are three businesses, namely: fast consultation business, follow-up consultation business, and consulting business. Among them, the fast consultation business can be understood as a simple prescription business, that is, the user specifies the medicines to be purchased in the target consultation order. Based on national requirements, the prescription medicines need to be confirmed and prescribed by the doctor during the prescription process. Therefore, the fast consultation service is used to confirm whether the condition described by the user is the same as the purchased medicine and whether the purchase quantity of the medicine complies with the regulations, so as to avoid excessive purchase or wrong purchase of dangerous medicines such as sleeping pills. The follow-up consultation business refers to the business in which the user consults based on his own condition. The user only describes the condition in the target consultation order and does not have a clear demand for purchasing medicines. Therefore, the doctor needs to make a judgment on the condition before the corresponding medicine and the quantity of medicine can be determined. The consulting business can be understood as a simple condition consultation. The user himself does not have the demand for purchasing medicines, but only consults on related issues regarding the condition.
[0051] It is understandable that for the above-mentioned different services, the configured first dispatching nodes may be the same or different. For example, in the follow-up service, since it involves the diagnosis of the user's condition, different departments need to be set up to diagnose different conditions respectively, so the corresponding first dispatching nodes are: children's dispatching node, internal medicine dispatching node, stomatology dispatching node, traditional Chinese medicine dispatching node, and general dispatching node, etc., and the follow-up service can be divided into fine granularity for different departments and different ages. For the fast consultation service, it is only necessary to check whether the medicine purchased by the user is consistent with the corresponding condition. The doctor's diagnostic ability requirements are relatively low, but it is necessary to understand the packaging, use and medication requirements of different brands of medicines. Therefore, the corresponding first dispatching nodes may include: rights consultation node, specialist consultation node, fast picture and text node, fast voice node and fast video medicine node. For the consulting service, according to the specific content of the user's consultation, the first dispatching node may include: category product consultation node, store product consultation node, and general product consultation node.
[0052] from Figure 3 It can be seen that when the target service is determined for the target consultation order according to the order scenario, consultation type, and order source in the target consultation order, it is only necessary to match the target consultation order information with the multiple first dispatch nodes pre-configured for the follow-up consultation service, and finally determine a second dispatch node. In a further optional embodiment, the process of determining the second dispatch node from the multiple first dispatch nodes can be as follows: Figure 4 As shown, including:
[0053] Step S401: determining weight information corresponding to a plurality of first dispatching nodes respectively;
[0054] Step S402: determining a matching order of a plurality of first dispatching nodes according to the order of weight information;
[0055] Step S403: Determine in sequence according to the matching order whether the target medical consultation order information satisfies the matching rules corresponding to each first dispatching node, and use the first dispatching node corresponding to the first matching rule that is satisfied as the second dispatching node.
[0056] It is understandable that the weight information corresponding to the multiple first dispatch nodes respectively indicates the order of importance between the different first dispatch nodes. For example, the target consultation order information indicates that a 6-year-old child has a high fever for two days, which can correspond to the pediatric dispatch node, the internal medicine dispatch node, and the fever dispatch node. However, since the doctors in the pediatric dispatch node have more experience in pediatrics, the pediatric dispatch node has a higher weight, so it is prioritized to determine whether the target consultation order information meets the matching rules corresponding to the pediatric dispatch node. Exemplarily, Figure 3The top-to-bottom arrangement order of the first dispatch nodes in the can represent the order of weight information. Figure 3 Taking the first dispatch node in the follow-up service as an example, the weight information of the pediatric dispatch node is 5, the weight information of the internal medicine dispatch node is 4, the weight information of the stomatology dispatch node is 3, the weight information of the traditional Chinese medicine dispatch node is 2, and the weight information of the general dispatch node is 1. By setting the weight information corresponding to each first dispatch node, the matching order of each first dispatch node can be determined, so as to determine whether each first dispatch node is hit in turn according to the matching rules.
[0057] For the specific matching process of each first dispatching node, in an optional embodiment, the function As a matching function, 1 indicates a successful match and 0 indicates a failed match. Represents the target consultation order information, which can be a collection of multiple attributes related to the target consultation order , Indicates each first dispatch node The corresponding matching rules The matching rule set is composed of ,by Represents a set of dispatch nodes consisting of the first dispatch nodes. The matching order (priority order) of the first dispatch nodes is Since the first dispatch node and the matching rule are pre-configured, and the matching order (priority) between multiple first dispatch nodes is determined according to the weight information, , , There is a fixed correspondence between them. By determining whether the following inequality holds:
[0058]
[0059] That is, there is a dispatch plan , meets the matching rules of the dispatch plan, and among all dispatch plans that meet the matching rules of the dispatch plan, has the highest priority, and then the second dispatching node is determined from multiple first dispatching nodes.
[0060] Through the above process, only the second dispatching node under the target business is matched for the target consultation order. Each dispatching node actually corresponds to a set of one or more reception personnel. Therefore, the following process is required to first determine the target reception personnel set from multiple reception personnel sets, and then determine the target reception personnel from the target reception personnel set. That is, in an optional embodiment, the order allocation method provided by the present invention is as follows: Figure 5 As shown:
[0061] Step S501: determine the target business to which the target consultation order belongs, and obtain the target consultation order information corresponding to the target consultation order;
[0062] Step S502: Match the target medical consultation order information with one or more first dispatching nodes corresponding to the target business, and determine a second dispatching node;
[0063] Step S503: determining one or more reception personnel sets corresponding to the second dispatching node;
[0064] Step S504: Generate a random number for the target consultation order;
[0065] Step S505: determining a target reception staff set from one or more reception staff sets according to a random number;
[0066] Step S506: In response to the allocation method of the target reception staff set, a target reception staff is determined from a plurality of reception staff belonging to the target reception staff set.
[0067] Specifically, the random number generated for the target consultation order can be between Random number between , and gather multiple receptionists to , ,…… , and matched by the following formula:
[0068]
[0069] The target consultation order can be determined The target reception personnel set, including is the proportion value corresponding to each set of reception staff. In other words, the above process determines the random number by accumulating probability The target reception staff set is determined by the ratio of each reception staff set.
[0070] In a further optional embodiment, in order to implement the above process of determining the target reception personnel set by using random numbers, it is necessary to pre-set the option interval for each reception personnel process, that is, step S505 is as follows: Figure 6 As shown, specifically including:
[0071] Step S601: Determine the numerical intervals corresponding to each set of reception personnel respectively; wherein the numerical intervals corresponding to each set of reception personnel are continuous, and the random number is generated based on the random number interval obtained by combining multiple numerical intervals;
[0072] Step S602: determining a target interval to which the random number belongs from a plurality of numerical intervals;
[0073] Step S603: taking the set of reception personnel corresponding to the target interval as the target reception personnel set.
[0074] Among them, the numerical range corresponding to each set of reception personnel refers to the proportion value corresponding to each set of reception personnel. , the random number interval can be Specifically, the left value of each numerical interval can be the right value of the previous numerical interval, that is, for each numerical interval, the left value is a closed interval and the right value is an open interval, so as to ensure the continuity between multiple numerical intervals and prevent the situation where the random number does not belong to any numerical interval.
[0075] Regarding the allocation method in step S506, in an optional embodiment, it includes: grabbing order allocation method and dispatching order allocation. It is understandable that for different allocation methods, the specific process of determining the target reception staff is also different, so step S506 in a further optional embodiment can be as follows: Figure 7 As shown, including:
[0076] In response to the allocation mode being grab order allocation, step S701 and step S702 are executed; in response to the allocation mode being dispatch order allocation, step S703 is executed;
[0077] Step S701: Send the target consultation order to each receptionist in the target receptionist set;
[0078] Step S702: Determine the target reception staff according to the order grabbing results fed back by each reception staff;
[0079] Step S703: Determine the target receptionist according to the current dispatching status corresponding to each receptionist in the target receptionist set.
[0080] Among them, grabbing an order means that the reception staff in the target reception staff set actively initiates the order, and the reception staff has the initiative, while dispatching an order means directly allocating the target consultation order to a target reception staff in the target reception staff set, and the reception staff itself does not have the initiative.
[0081] For the above two different allocation methods, in order to ensure that the target consultation order can be processed quickly and avoid the situation where no one takes the order, in an optional embodiment, it may include: in response to the result of grabbing the order being that there are multiple reception staff grabbing the order, determine the target reception staff according to the grabbing time of each reception staff; or, in response to the result of grabbing the order being that there is no reception staff grabbing the order, re-determine the target reception staff set for the target consultation order. Exemplarily, the process of re-determining the target reception staff set can be to directly determine a target reception staff set from other reception staff sets other than the currently determined target reception staff set, or it can be to repeat the process of step S504 to step S505, that is, to regenerate a random number, and re-determine the corresponding target reception staff set based on the random number. In another optional embodiment, the allocation method can also be changed. When no one grabs the order, the grabbing order allocation is replaced with the dispatching order allocation, so as to determine a new target reception staff.
[0082] Below Figure 8 Taking the example of FIG. 1 as an example, the online consultation order allocation method provided by the present invention is described in detail. Figure 8 As shown, after the target business to which the target consultation order belongs is determined to be the follow-up consultation business according to the order scenario, consultation type and order source of the target consultation order, the pediatric dispatch node is determined as the second dispatch node from the multiple first dispatch nodes corresponding to the follow-up consultation business, and then from the multiple reception staff sets corresponding to the pediatric dispatch node, by determining the numerical interval to which the random number belongs, the reception staff set of institution A is determined as the target reception staff set, and finally, from the 4 doctors included in the reception staff set of institution A, doctor d is determined as the target reception staff by grabbing the order. After the target reception staff is determined, the target reception staff can be bound to the target consultation order, and a dispatch result indicating that the target consultation order is dispatched to the target reception staff is generated.
[0083] According to the method for order allocation of an embodiment of the present invention, by pre-configuring one or more dispatching nodes for each business and setting corresponding matching rules for each dispatching node, the dispatching node corresponding to the target consultation order can be directly determined by matching the matching rules of the dispatching nodes during the processing of the target consultation order, thereby realizing rapid allocation of the order. Moreover, when it is necessary to adjust the business, only the dispatching node and matching rules corresponding to the business need to be adjusted, so that each business is decoupled, reducing operation and development costs.
[0084] Fig. 9 4 is a schematic diagram of main modules of an apparatus for allocating online medical consultation orders according to an embodiment of the present invention.
[0085] like Fig. 9 As shown, the device 900 for allocating online medical consultation orders according to the embodiment of the present invention includes:
[0086] An acquisition module 901 is used to determine the target business to which the target consultation order belongs, and acquire the target consultation order information corresponding to the target consultation order;
[0087] A matching module 902 is used to match the target consultation order information with one or more first dispatching nodes corresponding to the target business, and determine a second dispatching node; wherein each business is pre-configured with one or more dispatching nodes, and each dispatching node is provided with a corresponding matching rule;
[0088] A determination module 903 is used to determine a target receptionist corresponding to the target consultation order from one or more receptionist sets corresponding to the second dispatching node;
[0089] The generating module 904 is used to generate the dispatching result of the target consultation order according to the target reception personnel.
[0090] In an optional embodiment of the present invention, the acquisition module 901 is also used to identify at least one of the scenario information, order type, and order source corresponding to the target consultation order from the target consultation order; and determine the target business to which the target consultation order belongs based on the scenario information, the order type, and the order source.
[0091] In an optional embodiment of the present invention, in response to the number of the first order dispatching nodes being multiple; the matching module 902 is further used to determine the weight information respectively corresponding to the multiple first order dispatching nodes; determine the matching order of the multiple first order dispatching nodes according to the order of size of the weight information; determine in turn according to the matching order whether the target medical consultation order information satisfies the matching rules respectively corresponding to each of the first order dispatching nodes, and use the first order dispatching node corresponding to the first matching rule that is satisfied as the second order dispatching node.
[0092] In an optional embodiment of the present invention, the determination module 903 is also used to generate a random number for the target consultation order; determine a target reception staff set from one or more reception staff sets according to the random number; and determine a target reception staff from multiple reception staff belonging to the target reception staff set in response to an allocation method of the target reception staff set.
[0093] In an optional embodiment of the present invention, the allocation method includes: grab order allocation method and dispatch order allocation; the determination module 903 is also used to, in response to the allocation method being grab order allocation, send the target consultation order to each reception staff in the target reception staff set; determine the target reception staff according to the grab order results fed back by each of the reception staff; or, in response to the allocation method being dispatch order allocation, determine the target reception staff according to the current dispatch order situation corresponding to each reception staff in the target reception staff set.
[0094] In an optional embodiment of the present invention, the determination module 903 is also used to determine the numerical interval corresponding to each of the reception staff sets; wherein the numerical intervals corresponding to each of the reception staff sets are continuous, and the random number is generated based on a random number interval obtained by merging multiple numerical intervals; determine the target interval to which the random number belongs from the multiple numerical intervals; and use the reception staff set corresponding to the target interval as the target reception staff set.
[0095] In an optional embodiment of the present invention, the determination module 903 is also used to, in response to the result of grabbing the order being that there are multiple reception staff grabbing the order, determine the target reception staff according to the order grabbing time of each reception staff; or, in response to the result of grabbing the order being that there is no reception staff grabbing the order, re-determine the target reception staff set for the target consultation order.
[0096] According to the order allocation device of the embodiment of the present invention, by pre-configuring one or more dispatching nodes for each business and setting corresponding matching rules for each dispatching node, the dispatching node corresponding to the target medical consultation order can be directly determined by matching the matching rules of the dispatching nodes during the processing of the target medical consultation order, thereby realizing rapid allocation of the order. Moreover, when it is necessary to adjust the business, only the dispatching node and matching rules corresponding to the business need to be adjusted, so that each business is decoupled, reducing operation and development costs.
[0097] Fig.10 An exemplary system architecture 1000 is shown to which the method or apparatus for allocating online medical consultation orders according to an embodiment of the present invention may be applied.
[0098] like Fig.10 As shown, the system architecture 1000 may include terminal devices 1001, 1002, 1003, a network 1004, and a server 1005. The network 1004 is used to provide a medium for communication links between the terminal devices 1001, 1002, 1003 and the server 1005. The network 1004 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0099] Users can use terminal devices 1001, 1002, 1003 to interact with server 1005 through network 1004 to receive or send data, etc. Various communication client applications can be installed on terminal devices 1001, 1002, 1003, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0100] The terminal devices 1001 , 1002 , and 1003 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.
[0101] The server 1005 may be a server that provides various services, such as a background management server that provides support for the target consultation orders sent by the user using the terminal devices 1001, 1002, and 1003. The background management server may analyze and process the received target consultation orders and other data, and feed back the processing results (such as the order dispatching results) to the terminal device.
[0102] It should be noted that the order allocation method provided in the embodiment of the present invention is generally executed by the server 1005 , and accordingly, the order allocation device is generally set in the server 1005 .
[0103] It should be understood that Fig.10 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0104] Reference below Fig.11 , which shows a schematic diagram of the structure of a computer system 1100 of a terminal device suitable for implementing an embodiment of the present invention. Fig.11 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0105] like Fig.11 As shown, the computer system 1100 includes a central processing unit (CPU) 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage part 1108 to a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the system 1100 are also stored. The CPU 1101, the ROM 1102, and the RAM 1103 are connected to each other through a bus 1104. An input / output (I / O) first interface 1105 is also connected to the bus 1104.
[0106] The following components are connected to the I / O first interface 1105: an input section 1106 including a keyboard, a mouse, etc.; an output section 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network first interface card such as a LAN card, a modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O first interface 1105 as needed. A removable medium 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1110 as needed, so that a computer program read therefrom is installed into the storage section 1108 as needed.
[0107] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1109, and / or installed from the removable medium 1111. When the computer program is executed by the central processing unit (CPU) 1101, the above-mentioned functions defined in the system of the present invention are executed.
[0108] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0109] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0110] The modules involved in the embodiments of the present invention may be implemented in software or hardware. The modules described may also be set in a processor. For example, they may be described as: a processor includes an acquisition module, a matching module, a determination module, and a generation module. The names of these modules do not, in some cases, constitute a limitation on the module itself. For example, the acquisition module may also be described as a "module for determining the target business to which the target consultation order belongs and obtaining the target consultation order information corresponding to the target consultation order."
[0111] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently and not be assembled into the device. The above computer-readable medium carries one or more programs. When the above one or more programs are executed by a device, the device includes: determining the target business to which the target consultation order belongs, and obtaining the target consultation order information corresponding to the target consultation order; matching the target consultation order information with one or more first dispatch nodes corresponding to the target business, respectively, to determine the second dispatch node; wherein each business is pre-configured with one or more dispatch nodes, and each dispatch node is provided with a corresponding matching rule; determining the target reception staff corresponding to the target consultation order from the one or more reception staff sets corresponding to the second dispatch node; and generating the dispatch result of the target consultation order according to the target reception staff.
[0112] According to the technical solution of the embodiment of the present invention, by pre-configuring one or more dispatch nodes for each business and setting corresponding matching rules for each dispatch node, the dispatch node corresponding to the target consultation order can be directly determined by matching the matching rules of the dispatch node during the processing of the target consultation order, thereby realizing rapid allocation of the order. Moreover, when it is necessary to adjust the business, it is only necessary to adjust the dispatch node and matching rules corresponding to the business, so as to decouple each business and reduce operation and development costs.
[0113] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for allocating online consultation orders. It is characterized in that include: Determine the target business to which the target consultation order belongs, and obtain the target consultation order information corresponding to the target consultation order; Match the target consultation order information with one or more first dispatch nodes corresponding to the target business respectively, and determine a second dispatch node; wherein each business is pre-configured with one or more dispatch nodes, and each dispatch node is provided with a corresponding matching rule; Determining a target medical consultation person corresponding to the target medical consultation order from one or more medical consultation person sets corresponding to the second dispatching node; The dispatch result of the target consultation order is generated according to the target reception staff.
2. The method according to claim 1, It is characterized in that Determining the target business to which the target consultation order belongs includes: Identifying at least one of scenario information, order type, and order source corresponding to the target medical consultation order from the target medical consultation order; The target business to which the target consultation order belongs is determined according to the scenario information, the order type, and the order source.
3. The method according to claim 1, It is characterized in that In response to the number of the first dispatching nodes being multiple; the acquiring the target consultation order information corresponding to the target consultation order, and matching the target consultation order information with the one or more first dispatching nodes corresponding to the target business, respectively, to determine the second dispatching node includes: Determine weight information corresponding to each of the plurality of first dispatching nodes; Determining a matching order of a plurality of first dispatching nodes according to the order of magnitude of the weight information; According to the matching order, it is determined in turn whether the target medical consultation order information satisfies the matching rules corresponding to each of the first order dispatching nodes, and the first order dispatching node corresponding to the first matching rule that is satisfied is used as the second order dispatching node.
4. The method according to claim 1, It is characterized in that Determining a target consultation person corresponding to the target consultation order from one or more consultation person sets corresponding to the target node includes: Generate a random number for the target consultation order; Determine a target reception staff set from one or more reception staff sets according to the random number; In response to the allocation method of the target reception staff set, a target reception staff is determined from a plurality of reception staff belonging to the target reception staff set.
5. The method according to claim 4, It is characterized in that The allocation method includes: grab order allocation method and dispatch order allocation method; the allocation method in response to the target reception staff set, determining the target reception staff from a plurality of reception staff belonging to the target reception staff set, includes: In response to the allocation mode being grab-order allocation, sending the target consultation order to each receptionist in the target receptionist set; Determine the target receptionist according to the order grabbing results fed back by each receptionist; or, In response to the allocation method being dispatch allocation, the target reception staff is determined according to the current dispatch situations corresponding to the respective reception staff in the target reception staff set.
6. The method according to claim 4, It is characterized in that The step of determining a target set of reception personnel from one or more sets of reception personnel according to the random number comprises: Determine the numerical interval corresponding to each set of the reception personnel respectively; wherein the numerical intervals corresponding to each set of the reception personnel are continuous, and the random number is generated based on the random number interval obtained by combining multiple numerical intervals; Determine a target interval to which the random number belongs from the plurality of numerical intervals; The set of reception personnel corresponding to the target interval is taken as the target reception personnel set.
7. The method according to claim 5, It is characterized in that Determining the target receptionist according to the order grabbing results fed back by each receptionist includes: In response to the order grabbing result being that there are multiple receptionists grabbing the order, determining the target receptionist according to the order grabbing time of each receptionist; or, In response to the result of grabbing the order being that no medical practitioner grabs the order, a target medical practitioner set is re-determined for the target medical consultation order.
8. A device for allocating online consultation orders, It is characterized in that include: An acquisition module, used to determine the target business to which the target consultation order belongs, and acquire the target consultation order information corresponding to the target consultation order; A matching module, used to match the target consultation order information with one or more first dispatching nodes corresponding to the target business, and determine a second dispatching node; wherein each business is pre-configured with one or more dispatching nodes, and each dispatching node is provided with a corresponding matching rule; A determination module, used to determine the target receptionist corresponding to the target consultation order from the one or more receptionist sets corresponding to the second dispatching node; A generation module is used to generate the dispatch result of the target consultation order according to the target reception personnel.
9. An electronic device for allocating online consultation orders, It is characterized in that include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
10. A computer readable medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
11. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the method according to any one of claims 1 to 7.
Citation Information
Cited By
Dynamic task allocation method and device based on order dispatching and order grabbing
CN120297704A
