Request processing method, device and system and storage medium
By analyzing user feedback historical data and neural network model evaluation, accurate matching of users and service providers in Internet medical and teaching systems is achieved, solving the problem of rough matching granularity in existing systems and improving user experience.
Patent Information
- Application Number
- CN202310263837.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2024-09-20
AI Technical Summary
In the existing Internet medical and teaching systems, the matching granularity between patients and doctors or students and teachers is relatively coarse, which results in the assigned doctors or teachers not necessarily meeting the user's needs and affecting the user experience.
By analyzing user feedback historical data in each service dimension, the target service dimension is determined, and the neural network model is used to evaluate the service information of the second user to accurately match suitable service providers and improve matching accuracy.
It improves the accuracy of matching between users and service providers, improves user experience, and ensures that users receive services that better meet their needs.
Smart Images

Figure CN118673202A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the fields of computers and Internet applications, such as the fields of Internet medical technology and Internet teaching technology, and in particular to a request processing method, device, system and storage medium. Background Art
[0002] "Internet + traditional industries" is a new form of Internet development. It uses information and Internet platforms to integrate the Internet with traditional industries and provide users with a brand new business experience.
[0003] For example, the Internet and the medical industry have merged to form Internet hospitals. Patients place orders for consultations through the Internet hospital system, and the system uses a certain matching algorithm to dispatch the patient's order to the doctor. Some matching algorithms match doctors to patients based on the type of disease the patient is consulting, combined with the doctor's department, busyness, etc.
[0004] The inventors found that the granularity of matching patients with doctors is relatively coarse, and the assigned doctors may not be suitable for the patients, which affects the patients' usage experience. Summary of the invention
[0005] A technical problem to be solved by the embodiments of the present disclosure is to improve the accuracy of matching service requesting users with service providing users, thereby improving user experience.
[0006] In the disclosed embodiment, at least one target service dimension of the first user is determined based on the service feedback history data of the first user requesting the service in each service dimension, and then the target second user is assigned to provide the service to the first user based on the reference information of each second user corresponding to the service request in the target service dimension. Thus, based on the more detailed demand profile of the first user and the more detailed service information profile of the second user, the first user is accurately matched with a suitable second user, which improves the accuracy of matching the user requesting the service with the user providing the service, and improves the user experience.
[0007] Some embodiments of the present disclosure provide a request processing method, including:
[0008] receiving a service request sent by a first user;
[0009] determining at least one target service dimension of the first user according to the service feedback history data of the first user in each service dimension;
[0010] According to the reference information of each second user corresponding to the service request in the at least one target service dimension, a target second user is allocated to provide service for the first user.
[0011] In some embodiments, determining at least one target service dimension of the first user includes: when the service feedback history data is of a numerical type, performing a numerical analysis on the service feedback history data of the first user in each service dimension, and determining at least one target service dimension of the first user based on the numerical analysis results.
[0012] In some embodiments, determining at least one target service dimension of the first user based on the numerical analysis results includes: determining at least one service dimension of the first user's service feedback below a first preset condition based on the numerical analysis results, as at least one target service dimension of the first user.
[0013] In some embodiments, determining at least one target service dimension of the first user includes: when the service feedback history data is of text type, performing text analysis on the service feedback history data of the first user in each service dimension, and determining at least one target service dimension of the first user based on the text analysis results.
[0014] In some embodiments, determining at least one target service dimension of the first user based on the text analysis results includes: determining at least one negative feedback service dimension of the first user based on the text analysis results as the at least one target service dimension of the first user.
[0015] In some embodiments, assigning a target second user to provide services to the first user includes: determining at least one candidate second user whose reference information in at least one target service dimension is higher than a second preset condition, and selecting a target second user from the at least one candidate second user to provide services to the first user.
[0016] In some embodiments, it also includes: determining reference information of each second user in each service dimension based on at least one characteristic data of each second user in each service dimension.
[0017] In some embodiments, determining the reference information of each second user in each service dimension includes: inputting at least one characteristic data of each second user in each service dimension into a reference information evaluation model to output the reference information of each second user in each service dimension.
[0018] In some embodiments, it also includes: using the training data of each service dimension to train the neural network model, and using the trained neural network model as a reference information evaluation model for predicting the reference information of each service dimension.
[0019] In some embodiments, training the neural network model includes:
[0020] Constructing a neural network model, wherein the neural network model includes an input layer, a hidden layer and an output layer;
[0021] Using the training data of each service dimension, iteratively train the neural network model, calculate the loss and update the network parameters in each iteration, wherein the network parameters include the connection weights and bias vectors from the input layer to the hidden layer and the connection weights and bias vectors from the hidden layer to the output layer;
[0022] Continue to iterate until the loss meets the accuracy requirements and obtain the trained neural network model.
[0023] In some embodiments, it also includes: using the test data of each service dimension to test the trained neural network model, and when the test result does not meet the accuracy requirement, modifying the dimension of the hidden layer and continuing the training.
[0024] In some embodiments, the first user and the second user are a patient user and a doctor user, respectively, or a student user and a teacher user, respectively.
[0025] In some embodiments, the service dimension includes at least one of a service quality dimension, a service timeliness dimension, and a service attitude dimension.
[0026] In some embodiments, the reference information includes service performance evaluation information.
[0027] In some embodiments, the first preset condition includes at least one of a ranking selection condition and a threshold selection condition.
[0028] In some embodiments, the second preset condition includes at least one of a ranking selection condition and a threshold selection condition.
[0029] Some embodiments of the present disclosure provide a request processing device, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute a request processing method based on instructions stored in the memory.
[0030] Some embodiments of the present disclosure provide a non-transitory computer-readable storage medium having a computer program stored thereon, which implements the steps of the request processing method when the program is executed by a processor.
[0031] Some embodiments of the present disclosure provide a request processing system, including:
[0032] A receiving module, configured to receive a service request sent by a first user;
[0033] A first determining module is configured to determine at least one target service dimension of the first user according to the service feedback history data of the first user in each service dimension;
[0034] The allocation module is configured to allocate target second users to provide services for the first user according to the reference information of each second user corresponding to the service request in the at least one target service dimension. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The following is a brief introduction to the drawings required for use in the embodiments or related technical descriptions. The present disclosure can be more clearly understood according to the following detailed description with reference to the drawings.
[0036] Obviously, the drawings described below are only some embodiments of the present disclosure, and a person skilled in the art can obtain other drawings based on these drawings without creative work.
[0037] Figure 1 A schematic diagram showing the overall flow of request processing schemes according to some embodiments of the present disclosure.
[0038] Figure 2 A schematic diagram showing a neural network model (used to generate a reference information evaluation model) according to some embodiments of the present disclosure.
[0039] Figure 3A \3B\3C show schematic diagrams of step function, Sigmoid function and ReLU function respectively.
[0040] Figure 4 A flowchart illustrating a request processing method according to some embodiments of the present disclosure is shown.
[0041] Figure 5 A flowchart of a request processing method for an Internet hospital system according to some embodiments of the present disclosure is shown.
[0042] Figure 6 A schematic diagram showing the structure of a request processing device according to some embodiments of the present disclosure.
[0043] Figure 7 A schematic diagram showing the structure of a request processing system according to some embodiments of the present disclosure. DETAILED DESCRIPTION
[0044] The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure.
[0045] Unless otherwise specified, descriptions such as “first” and “second” in the present disclosure are used to distinguish different objects and are not used to indicate meanings such as size or time sequence.
[0046] The first user is a user who requests services, and the second user is a user who provides services. For example, in an Internet hospital system, the first user is a patient user, and the second user is a doctor user; or, in an Internet teaching system, the first user is a student user, and the second user is a teacher user. Depending on the Internet application system, the first user and the second user can also be other users with online service relationships.
[0047] The disclosed embodiment accurately matches a suitable second user for the first user based on a more detailed demand portrait of the first user and a more detailed service information portrait of the second user, thereby improving the accuracy of matching the service requesting user with the service providing user and improving the user experience.
[0048] The more detailed demand profile of the first user includes, for example, at least one target service dimension of the first user, which can be determined based on the service feedback history data of the first user in each service dimension. Service dimensions include, but are not limited to, service quality dimension, service timeliness dimension, service attitude dimension, etc.
[0049] Among them, the more detailed service information portrait of the second user includes, for example: reference information of the second user in each service dimension, which can be determined based on at least one characteristic data of the second user in each service dimension. The reference information includes, for example, but is not limited to, service performance evaluation information, etc., which is used to characterize the service performance of the second user in a certain service dimension. The characteristic data of the second user in a certain service dimension can reflect the service performance of the second user in the service dimension. Such characteristic data can be set in one or more types, and usually multiple types are set.
[0050] In some embodiments, a reference information evaluation model can be obtained by training a neural network model, and then the service information portrait of the second user can be determined using the reference information evaluation model, that is, at least one feature data of each second user in each service dimension is input into the reference information evaluation model to output the reference information of each second user in each service dimension. Compared with the reference information evaluation method of weighted averaging of multiple feature data, determining the reference information using the reference information evaluation model can make full use of the coupling relationship between multiple feature data with the help of the characteristics of the neural network model, thereby improving the accuracy of the determined reference information.
[0051] In Internet application systems, the first user group requesting services is dynamic and random, and the number of people is usually large. Therefore, the demand profile of the first user can be determined in real time after the service request is made. The second user group providing services is usually relatively fixed (at least within a certain period of time). Therefore, the service information profile of the second user can be determined in advance, which can improve the response speed of service requests.
[0052] Figure 1A schematic diagram showing the overall flow of request processing schemes according to some embodiments of the present disclosure.
[0053] like Figure 1 As shown, the overall process of the request processing scheme can be divided into the reference information evaluation model construction phase, the reference information evaluation model use phase, and the service request processing phase. Among them, the reference information evaluation model construction phase is executed in advance, and the reference information evaluation model use phase and the service request processing phase can be executed at the same time, or the reference information evaluation model use phase can be executed first, and then the service request processing phase can be executed. The latter execution method can improve the service request response speed compared with the former execution method.
[0054] Reference information evaluation model construction phase: various feature data of each service dimension of each second user are collected from the second user application, the collected data is cleaned, processed, etc., the neural network model is trained using the training data of each service dimension, and the trained neural network model is used as a reference information evaluation model for predicting the reference information of each service dimension. Each service dimension corresponds to a reference information evaluation model. If there are multiple service dimensions, there will be multiple reference information evaluation models. The reference information evaluation model can be stored in a first storage unit, which includes, for example, a cache or other memory.
[0055] Among them, data cleaning is to re-examine and verify the data and filter out illegal data, such as expired data, test data, incomplete data, duplicate data, etc.
[0056] Among them, data processing includes, for example, data extraction, data conversion, data calculation, etc. Data extraction includes, for example, field splitting, field merging, field matching, etc. of existing fields. Data conversion includes, for example, structure conversion, row and column conversion, etc. Data calculation includes, for example, mathematical operations such as addition, subtraction, multiplication, and division of existing fields.
[0057] The neural network model includes but is not limited to the BPNN (Back Propagation Neural Network) model.
[0058] Reference information evaluation model use phase: collect various feature data of each second user in each service dimension from the second user application, clean and process the collected data, input at least one feature data of each second user in each service dimension into the reference information evaluation model to output the reference information of each second user in each service dimension. The reference information of the second user in each service dimension can be stored in the first storage unit. The reference information of the second user in each service dimension can be stored in Redis, which is a key-value storage system.
[0059] The second user involved in the reference information evaluation model construction phase and the second user involved in the reference information evaluation model use phase may be the same user, or different users, or may be partially the same and partially different users.
[0060] Service request processing stage: After the real-time engine receives the service request sent by the first user, it collects the service feedback history data of the first user in each service dimension from the first user application (such as log, cache database), fills the collected data into the message queue, reads the service feedback history data of the first user in each service dimension from the message queue, and determines at least one target service dimension of the first user based on this, and according to the preset allocation rules, according to the reference information (such as service performance evaluation information) of each second user corresponding to the service request in the at least one target service dimension, allocates the target second user to provide services for the first user. The allocation information can be stored in real time in the second storage unit, and the second storage unit, for example, includes a cache or other memory.
[0061] The allocation information can be stored in Hadoop Database or ClickHouse. Hadoop Database is a highly reliable, high-performance, column-oriented, scalable distributed storage system, and ClickHouse is a column-based database management system for online analysis.
[0062] The allocation information can be sent by the message center to relevant users (e.g., the first user who requested the service, the second user who was the target of the allocation). The message center can not only send real-time messages (such as allocation information), but also send scheduled messages, subscription messages, system push messages, and also support SMS push.
[0063] The following describes the specific contents involved in each of the above stages, such as model construction, model use, request processing, etc.
[0064] Figure 2 A schematic diagram showing a neural network model (used to generate a reference information evaluation model) according to some embodiments of the present disclosure.
[0065] refer to Figure 2 ,The method of constructing a neural network model includes the following steps.
[0066] (1) Determine the network structure level of the neural network model, including input layer, hidden layer and output layer.
[0067] (2) From the input layer to the hidden layer is the encoding process, the specific form is:
[0068] H=σ(WX+b)
[0069] Wherein, X is the input feature vector, and specifically in this embodiment, it can be the feature vector corresponding to at least one feature data of the second user in a certain service dimension; W and b are the connection weight and bias vector from the input layer to the hidden layer, respectively; σ is the hidden layer activation function (such as the ReLU function); and H is the hidden layer code of X.
[0070] Activation functions include step function, Sigmoid function and ReLU function. Figure 3A The step function shown in the figure outputs 0 when the input is less than or equal to 0, and outputs 1 when the input is greater than 0. Figure 3B The Sigmoid function shown in the figure has an output that is infinitely close to 1 / -1 when the input approaches positive infinity / negative infinity. Figure 3C The ReLU function shown in the figure outputs 0 when the input is less than 0; when the input is greater than 0, the output is equal to the input. Considering that the output value of the step function jumps and has only two states, 0 and 1; when the absolute value of x of the Sigmoid function is large, the slope of the curve changes very little, that is, the gradient disappears; therefore, the hidden layer activation function of the neural network model of this embodiment selects the ReLU function.
[0071] (3) The decoding process from the hidden layer to the output layer is as follows:
[0072] y′=W′H+b′
[0073] Among them, y′ is the output of the output layer based on the input X. Specifically in this embodiment, the output is reference information (such as service performance evaluation information), W′ and b′ are the connection weights and bias vectors from the hidden layer to the output layer respectively; H is the hidden layer code of x.
[0074] (4) Determine the network parameters that need to be trained as θ = {W, W′, b, b′}.
[0075] like Figure 2 As shown in the figure, if the second user has 10 kinds of feature data in a certain service dimension, then X is a 1*10 matrix [x1,x2,x3,…,x 10 ], x i To represent one of the feature data, if the dimension of the hidden layer is set to 50, the hidden layer is a 1*50 matrix, W is a 10*50 matrix, and W′ is a 50*1 matrix.
[0076] The following describes a method for generating a reference information evaluation model based on a neural network model. The neural network model is trained using the training data of each service dimension, and the trained neural network model is used as a reference information evaluation model for predicting the reference information of each service dimension. Among them, the training data of different service dimensions are different (such as different dimensions of feature data), and accordingly, the reference information evaluation models of different service dimensions are also different (such as different model parameters or model structures). Therefore, multiple service dimensions correspond to multiple reference information evaluation models.
[0077] The method for generating a reference information evaluation model based on a neural network model includes the following steps.
[0078] (1) Randomly initialize the network parameters θ = {W, W′, b, b′} that need to be trained.
[0079] (2) Using the training data of each service dimension, the neural network model is iteratively trained using the gradient descent method. The loss is calculated and the network parameters θ are updated in each iteration.
[0080] The training data of each service dimension includes: at least one feature data of each service dimension and label data of the reference information of the service dimension. In each iteration: at least one feature data of the service dimension is input into the neural network model, the neural network model predicts and outputs the reference information of the service dimension, based on the label data and predicted value of the reference information of the service dimension, the loss is calculated, and the network parameter θ is updated using the gradient descent method according to the loss.
[0081] This embodiment uses the L2 norm as the loss function to calculate the loss. The loss function is as follows:
[0082]
[0083] Among them, Loss is the loss, n is the training sample x input in this iteration i The number of i is the label data of the reference information (i.e., the pre-labeled reference information), f(x i ) is the neural network model based on the input training sample x i Reference information for prediction output (i.e., predicted reference information).
[0084] (3) Continue to iterate until the loss meets the accuracy requirements and obtain the trained neural network model.
[0085] (4) Furthermore, the trained neural network model is tested using the test data of each service dimension. If the test result does not meet the accuracy requirement, the dimension of the hidden layer is modified to reconstruct the neural network model, and the training is continued (re-execute (1)-(3)). If the test result meets the accuracy requirement, the neural network model at this time can be determined as the reference information evaluation model.
[0086] The test data of each service dimension includes: at least one feature data of each service dimension and label data of the reference information of the service dimension. During the test: at least one feature data of the service dimension is input into the neural network model, the neural network model predicts and outputs the reference information of the service dimension, and based on the label data and predicted value of the reference information of the service dimension, the loss is calculated to determine whether the loss meets the accuracy requirement.
[0087] Thus, based on the constructed neural network model, a reference information evaluation model that meets the requirements is generated through training and testing.
[0088] The reference information of the second user can be generated in advance by using the reference information evaluation model, that is, at least one characteristic data of each second user in each service dimension is input into the reference information evaluation model of the service dimension to output the reference information of each second user in the service dimension.
[0089] Assume that there are three service dimensions, service dimension 1 has five types of feature data, service dimension 2 has six types of feature data, and service dimension 3 has six types of feature data. The five types of feature data of each second user in service dimension 1 are input into reference information evaluation model 1 of service dimension 1 to output reference information of each second user in service dimension 1; the six types of feature data of each second user in service dimension 2 are input into reference information evaluation model 2 of service dimension 2 to output reference information of each second user in service dimension 2; the six types of feature data of each second user in service dimension 3 are input into reference information evaluation model 3 of service dimension 3 to output reference information of each second user in service dimension 3.
[0090] Combine the following Figure 4 A request processing method is described, which can process user service requests in a personalized and real-time manner and is applied to the various Internet application systems mentioned above.
[0091] Figure 4 A flowchart illustrating a request processing method according to some embodiments of the present disclosure is shown.
[0092] like Figure 4 As shown, the request processing method of this embodiment includes the following steps.
[0093] In step 410, the request processing device receives a service request sent by a first user.
[0094] The first user may use the first user application to send a service request through the Internet application platform. Accordingly, the request processing device receives the service request sent by the first user through the Internet application platform.
[0095] The service request may include description information of the service requested by the first user.
[0096] In step 420, the request processing device determines at least one target service dimension of the first user according to the service feedback history data of the first user in each service dimension.
[0097] In some embodiments, determining at least one target service dimension of the first user includes: when the service feedback history data is of numerical type, performing numerical analysis on the service feedback history data of the first user in each service dimension, and determining at least one target service dimension of the first user according to the numerical analysis result. For example, according to the numerical analysis result, determining at least one service dimension whose service feedback of the first user is lower than a first preset condition as the at least one target service dimension of the first user. The first preset condition includes at least one condition of a ranking selection condition and a threshold selection condition.
[0098] For example, the first user provides feedback on each service dimension through numerical feedback methods such as scoring or rating. For the historical service feedback data of the first user of numerical type in each service dimension, numerical analysis is performed to select service dimensions with poor service experience that are ranked low or below the threshold as target service dimensions. This allows for a more detailed demand profile of the first user in the future, and accurately matches the first user with a suitable second user.
[0099] In some embodiments, determining at least one target service dimension of the first user includes: when the service feedback history data is of text type, performing text analysis on the service feedback history data of the first user in each service dimension, and determining at least one target service dimension of the first user according to the text analysis result. For example, at least one negative feedback service dimension of the first user is determined according to the text analysis result as at least one target service dimension of the first user. This allows for a more refined demand profile of the first user to be subsequently used to accurately match a suitable second user for the first user.
[0100] In step 430, the request processing device allocates a target second user to provide service to the first user according to the reference information of each second user corresponding to the service request in the at least one target service dimension.
[0101] The request processing device preliminarily determines, based on the description information of the service requested by the first user in the service request, each second user who can provide the corresponding service as each second user corresponding to the service request.
[0102] In some embodiments, assigning a target second user to provide a service to the first user includes: determining at least one candidate second user whose reference information in the at least one target service dimension is higher than a second preset condition, and selecting a target second user from the at least one candidate second user to provide a service to the first user. The second preset condition includes at least one of a ranking selection condition and a threshold selection condition.
[0103] For example, from among the second users corresponding to the service request, select a candidate second user with a better service performance evaluation whose reference information of the target service dimension ranks high or above a threshold, and select the candidate second user with the best service performance evaluation as the target second user to provide services to the first user. Alternatively, in combination with auxiliary information (such as the busy or idle status of the candidate second user), select a candidate second user with a better service performance evaluation and whose auxiliary information also meets the requirements as the target second user to provide services to the first user.
[0104] Thus, based on a more detailed demand portrait of the first user and a more detailed service information portrait of the second user, a suitable second user can be accurately matched to the first user, thereby improving the accuracy of matching the service requesting user with the service providing user and improving the user experience.
[0105] As mentioned above, the solution of the present disclosure can be applied to Internet application systems with online service relationships between users, such as Internet hospital systems and Internet teaching systems. In order to make it easier for those skilled in the art to understand, the application of the solution of the present disclosure in the Internet application system is described below using the Internet hospital system as an example.
[0106] Figure 5 A flowchart of a request processing method for an Internet hospital system according to some embodiments of the present disclosure is shown.
[0107] like Figure 5 As shown, the request processing method for the Internet hospital system of this embodiment includes the following steps.
[0108] First, in step 510, a reference information evaluation model for each service dimension is generated. Various feature data of each service dimension of each doctor user is collected from the doctor user application end, and the collected data is cleaned, processed, etc. to obtain training data. The neural network model is trained using the training data of each service dimension, and the trained neural network model is used as a reference information evaluation model for predicting the reference information of each service dimension.
[0109] Assume that there are three service dimensions: service quality, service timeliness, and service attitude. The service quality dimension has six characteristic data: quality praise rate, cumulative visits, number of followers, team members, number of published articles, and number of article likes. The service timeliness dimension has three characteristic data: timeliness praise rate, number of patients received today, and cumulative number of patients received. The service attitude dimension has three characteristic data: attitude praise rate, attitude complaint rate, and number of patients refused.
[0110] After the neural network model is initialized, the six characteristic data of each second user in the service quality dimension in the training data are input into the neural network model. The neural network model predicts and outputs the reference information of the service quality dimension. Based on the label data and predicted value of the reference information of the service quality dimension, the loss is calculated. The network parameters of the neural network model are updated by the gradient descent method according to the loss. The iteration is continued until the loss meets the accuracy requirement, and the reference information evaluation model 1 of the service quality dimension is obtained. According to a similar processing method, the neural network model is trained using the training data of the service timeliness dimension to obtain the reference information evaluation model 2 of the service timeliness dimension; the neural network model is trained using the training data of the service attitude dimension to obtain the reference information evaluation model 3 of the service attitude dimension.
[0111] Next, in step 520, the reference information evaluation model of each service dimension is used to generate reference information of the doctor user in each service dimension.
[0112] For example, the six characteristic data of each doctor user in the service quality dimension are input into the reference information evaluation model 1 of the service quality dimension to output the reference information (service performance evaluation information) of each doctor user in the service quality dimension; the three characteristic data of each doctor user in the service timeliness dimension are input into the reference information evaluation model 2 of the service timeliness dimension to output the reference information (service performance evaluation information) of each doctor user in the service timeliness dimension; the three characteristic data of each doctor user in the service attitude dimension are input into the reference information evaluation model 3 of the service attitude dimension to output the reference information (service performance evaluation information) of each doctor user in the service attitude dimension.
[0113] Next, in step 530, after receiving the service request from the patient user, the service feedback history data of the patient user in each service dimension is collected from the patient user application end, and at least one target service dimension of the patient user is determined based on the service feedback history data of the patient user in each service dimension.
[0114] For example, based on the historical scores of patient users in the service quality / timeliness / attitude dimensions, the historical average score of service timeliness is lower than the threshold, and the historical average score of service quality / attitude is higher than the threshold. Therefore, the service timeliness dimension, in which patient users have poor service experience, is used as the target service dimension.
[0115] Next, in step 540, based on the description information of the service requested by the patient user in the service request, such as department, disease, etc., the doctor users who can provide the corresponding service are preliminarily determined, and candidate doctor users with reference information ranking high or with service performance evaluation above the threshold in the target service dimension are selected, and a currently idle candidate doctor user is assigned as the target doctor user to provide services to the patient user.
[0116] Therefore, based on a more detailed demand portrait of patient users and a more detailed service information portrait of doctor users, suitable doctor users can be accurately matched to patient users, which improves the accuracy of matching between service requesting users and service providing users and improves the user experience.
[0117] Figure 6 A schematic diagram showing the structure of a request processing device according to some embodiments of the present disclosure.
[0118] like Figure 6 As shown, the request processing device 600 of this embodiment includes: a memory 610 and a processor 620 coupled to the memory 610 , and the processor 620 is configured to execute the method in any of the aforementioned embodiments based on the instructions stored in the memory 610 .
[0119] The device 600 may further include an input / output interface 630 , a network interface 640 , a storage interface 650 , etc. These interfaces 630 , 640 , 650 , the memory 610 , and the processor 620 may be connected via a bus 660 , for example.
[0120] The memory 610 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs.
[0121] The processor 620 may be implemented by a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistors and other discrete hardware components.
[0122] Among them, the input and output interface 630 provides a connection interface for input and output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 640 provides a connection interface for various networked devices. The storage interface 650 provides a connection interface for external storage devices such as SD cards and USB flash drives. The bus 660 can use any bus structure among a variety of bus structures. For example, the bus structure includes but is not limited to the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MCA) bus, and the Peripheral Component Interconnect (PCI) bus.
[0123] Figure 7 A schematic diagram showing the structure of a request processing system according to some embodiments of the present disclosure.
[0124] like Figure 7 As shown, the request processing system 700 of this embodiment includes: modules 710-730, and may also include module 740 or 750, etc.
[0125] The receiving module 710 is configured to receive a service request sent by a first user;
[0126] A first determination module 720 is configured to determine at least one target service dimension of the first user according to the service feedback history data of the first user in each service dimension;
[0127] The allocation module 730 is configured to allocate target second users to provide services for the first user according to the reference information of each second user corresponding to the service request in the at least one target service dimension.
[0128] In some embodiments, the first determination module 720 is configured to: when the service feedback history data is of numerical type, perform numerical analysis on the service feedback history data of the first user in each service dimension, and determine at least one target service dimension of the first user according to the numerical analysis result. For example, according to the numerical analysis result, determine at least one service dimension whose service feedback of the first user is lower than a first preset condition as the at least one target service dimension of the first user. The first preset condition includes at least one condition of a ranking selection condition and a threshold selection condition.
[0129] In some embodiments, the first determination module 720 is configured to: when the service feedback history data is of text type, perform text analysis on the service feedback history data of the first user in each service dimension, and determine at least one target service dimension of the first user according to the text analysis result. For example, at least one negative feedback service dimension of the first user is determined according to the text analysis result as at least one target service dimension of the first user.
[0130] In some embodiments, the allocation module 730 is configured to: determine at least one candidate second user whose reference information in the at least one target service dimension is higher than a second preset condition, and select a target second user from the at least one candidate second user to provide service for the first user. The second preset condition includes at least one of a ranking selection condition and a threshold selection condition.
[0131] like Figure 7 As shown, the request processing system 700 of this embodiment further includes: a second determination module 740, configured to determine reference information of each second user in each service dimension according to at least one characteristic data of each second user in each service dimension.
[0132] In some embodiments, the second determination module 740 is configured to input at least one characteristic data of each second user in each service dimension into the reference information evaluation model to output reference information of each second user in each service dimension.
[0133] like Figure 7 As shown, the request processing system 700 of this embodiment also includes: a model determination module 750, which is configured to use the training data of each service dimension to train the neural network model, and use the trained neural network model as a reference information evaluation model for predicting the reference information of each service dimension.
[0134] In some embodiments, the model determination module 750 is configured to construct a neural network model, which includes an input layer, a hidden layer and an output layer; iteratively train the neural network model using the training data of each service dimension, calculate the loss and update the network parameters in each iteration, and the network parameters include the connection weights and bias vectors from the input layer to the hidden layer and the connection weights and bias vectors from the hidden layer to the output layer; iterate continuously until the loss meets the accuracy requirements to obtain the trained neural network model.
[0135] In some embodiments, the model determination module 750 is configured to test the trained neural network model using the test data of each service dimension, and if the test result does not meet the accuracy requirement, modify the dimension of the hidden layer and continue training.
[0136] Modules 710 to 730 can be deployed in a real-time processing device (such as a real-time engine) in an Internet application system, module 750 can be deployed in a non-real-time processing device in the Internet application system, and module 740 can be deployed in both a real-time processing device (such as a real-time engine) and a non-real-time processing device.
[0137] The embodiments of the present disclosure also provide a non-transitory computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the request processing method of each embodiment are implemented.
[0138] The embodiments of the present disclosure further provide a computer program, including: instructions, which, when executed by a processor, enable the processor to execute the request processing method of each embodiment.
[0139] (1) A request processing method, comprising:
[0140] receiving a service request sent by a first user;
[0141] determining at least one target service dimension of the first user according to the service feedback history data of the first user in each service dimension;
[0142] According to the reference information of each second user corresponding to the service request in the at least one target service dimension, a target second user is allocated to provide service for the first user.
[0143] (2) According to (1), determining at least one target service dimension of the first user includes: when the service feedback history data is of a numerical type, performing a numerical analysis on the service feedback history data of the first user in each service dimension, and determining at least one target service dimension of the first user according to the numerical analysis result.
[0144] (3) According to (2), determining at least one target service dimension of the first user according to the numerical analysis result includes:
[0145] At least one service dimension in which the service feedback of the first user is lower than a first preset condition is determined according to the numerical analysis result, as at least one target service dimension of the first user.
[0146] (4) According to (1) or (2) or (3), determining at least one target service dimension of the first user includes:
[0147] In the case that the service feedback history data is of text type, text analysis is performed on the service feedback history data of the first user in each service dimension, and at least one target service dimension of the first user is determined according to the text analysis result.
[0148] (5) According to (4), determining at least one target service dimension of the first user according to the text analysis result includes:
[0149] At least one negative feedback service dimension of the first user is determined according to the text analysis result as at least one target service dimension of the first user.
[0150] (6) According to (1) or (2) or (3) or (4) or (5), assigning a target second user to provide services to the first user includes: determining at least one candidate second user whose reference information in at least one target service dimension is higher than a second preset condition, and selecting a target second user from the at least one candidate second user to provide services to the first user.
[0151] (7) According to (1) or (2) or (3) or (4) or (5) or (6), it also includes: determining reference information of each second user in each service dimension based on at least one characteristic data of each second user in each service dimension.
[0152] (8) According to (1) or (2) or (3) or (4) or (5) or (6) or (7), determining the reference information of each second user in each service dimension includes: inputting at least one characteristic data of each second user in each service dimension into a reference information evaluation model to output the reference information of each second user in each service dimension.
[0153] (9) According to (1) or (2) or (3) or (4) or (5) or (6) or (7) or (8), it also includes: using the training data of each service dimension to train the neural network model, and using the trained neural network model as a reference information evaluation model for predicting the reference information of each service dimension.
[0154] (10) According to (9), training the neural network model includes:
[0155] Constructing a neural network model, wherein the neural network model includes an input layer, a hidden layer and an output layer;
[0156] Using the training data of each service dimension, iteratively train the neural network model, calculate the loss and update the network parameters in each iteration, wherein the network parameters include the connection weights and bias vectors from the input layer to the hidden layer and the connection weights and bias vectors from the hidden layer to the output layer;
[0157] Continue to iterate until the loss meets the accuracy requirements and obtain the trained neural network model.
[0158] (11) According to (10), further comprising:
[0159] The trained neural network model is tested using the test data of each service dimension. If the test results do not meet the accuracy requirements, the dimension of the hidden layer is modified and training continues.
[0160] (12) According to (1) or (2) or (3) or (4) or (5) or (6) or (7) or (8) or (9) or (10) or (11):
[0161] The first user and the second user are a patient user and a doctor user, respectively, or a student user and a teacher user, respectively; or,
[0162] The service dimension includes at least one of a service quality dimension, a service timeliness dimension, and a service attitude dimension; or,
[0163] The reference information includes service performance evaluation information.
[0164] (13) According to (1) or (2) or (3) or (4) or (5) or (6) or (7) or (8) or (9) or (10) or (11) or (12):
[0165] The first preset condition includes at least one of a ranking selection condition and a threshold selection condition; or,
[0166] The second preset condition includes at least one of a ranking selection condition and a threshold selection condition.
[0167] 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.
[0168] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more non-transient computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer program code.
[0169] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0170] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0171] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0172] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.
Claims
1. A request processing method, characterized in that: include: receiving a service request sent by a first user; determining at least one target service dimension of the first user according to the service feedback history data of the first user in each service dimension; According to the reference information of each second user corresponding to the service request in the at least one target service dimension, a target second user is allocated to provide service for the first user.
2. The method according to claim 1, characterized in that Determining at least one target service dimension of the first user includes: In the case where the service feedback history data is of numerical type, a numerical analysis is performed on the service feedback history data of the first user in each service dimension, and at least one target service dimension of the first user is determined according to the numerical analysis result.
3. The method according to claim 2, characterized in that Determining at least one target service dimension of the first user according to the numerical analysis result includes: At least one service dimension in which the service feedback of the first user is lower than a first preset condition is determined according to the numerical analysis result, as at least one target service dimension of the first user.
4. The method according to claim 1, characterized in that: Determining at least one target service dimension of the first user includes: In the case that the service feedback history data is of text type, text analysis is performed on the service feedback history data of the first user in each service dimension, and at least one target service dimension of the first user is determined according to the text analysis result.
5. The method according to claim 4, characterized in that Determining at least one target service dimension of the first user according to the text analysis result includes: At least one negative feedback service dimension of the first user is determined according to the text analysis result as at least one target service dimension of the first user.
6. The method according to claim 1, characterized in that Allocating the target second user to provide services to the first user includes: At least one candidate second user whose reference information in the at least one target service dimension is higher than a second preset condition is determined, and a target second user is selected from the at least one candidate second user to provide a service for the first user.
7. The method according to claim 1, characterized in that Also includes: Reference information of each second user in each service dimension is determined according to at least one characteristic data of each second user in each service dimension.
8. The method according to claim 7, characterized in that Determining the reference information of each second user in each service dimension includes: At least one characteristic data of each second user in each service dimension is input into the reference information evaluation model to output the reference information of each second user in each service dimension.
9. The method according to claim 8, characterized in that Also includes: The neural network model is trained using the training data of each service dimension, and the trained neural network model is used as a reference information evaluation model for predicting the reference information of each service dimension.
10. The method according to claim 9, characterized in that Training a neural network model involves: Constructing a neural network model, wherein the neural network model includes an input layer, a hidden layer and an output layer; Using the training data of each service dimension, iteratively train the neural network model, calculate the loss and update the network parameters in each iteration, wherein the network parameters include the connection weights and bias vectors from the input layer to the hidden layer and the connection weights and bias vectors from the hidden layer to the output layer; Continue to iterate until the loss meets the accuracy requirements and obtain the trained neural network model.
11. The method according to claim 10, characterized in that Also includes: The trained neural network model is tested using the test data of each service dimension. If the test results do not meet the accuracy requirements, the dimension of the hidden layer is modified and training continues.
12. The method according to any one of claims 1 to 11, characterized in that: The first user and the second user are a patient user and a doctor user, respectively, or a student user and a teacher user, respectively; or, The service dimension includes at least one of a service quality dimension, a service timeliness dimension, and a service attitude dimension; or, The reference information includes service performance evaluation information.
13. The method according to claim 3 or 6, characterized in that: The first preset condition includes at least one of a ranking selection condition and a threshold selection condition; or, The second preset condition includes at least one of a ranking selection condition and a threshold selection condition.
14. A request processing device, comprising: Memory; as well as A processor coupled to the memory, wherein the processor is configured to execute the request processing method according to any one of claims 1 to 13 based on instructions stored in the memory.
15. A non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the request processing method according to any one of claims 1 to 13.
16. A request processing system, characterized in that: include: A receiving module, configured to receive a service request sent by a first user; A first determining module is configured to determine at least one target service dimension of the first user according to the service feedback history data of the first user in each service dimension; The allocation module is configured to allocate target second users to provide services for the first user according to the reference information of each second user corresponding to the service request in the at least one target service dimension.
