User allocation method, device, equipment and storage medium
Through artificial intelligence technology, combined with service records and tag information, the integrated recommendation model matches customers and agents, solving the problem of inaccurate matching in existing technologies and improving service quality and customer satisfaction.
Patent Information
- Application Number
- CN202210167656.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-23
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-02-23
AI Technical Summary
When assigning agents to customers, existing technology cannot accurately match the needs of customers and agents, resulting in reduced service quality and low customer satisfaction.
Adopting the user allocation method based on artificial intelligence, by obtaining the service records of preset users, training the service effect prediction model, adjusting the content recommendation learner and collaborative filtering learner, integrating the recommendation model to generate the target model, combining customer tags and user tags, Screen and match the most suitable agents.
It improves the matching accuracy and service quality between customers and agents, avoids the influence of a single model, reduces the interference of regional factors, ensures that agents are not overloaded at the same time, and improves the rationality of services.
Smart Images

Figure CN114529209B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a user allocation method, device, equipment and storage medium. Background Art
[0002] In business scenarios such as "newly acquired customers, orphan customers, and customer redistribution", it is usually necessary to assign agents to customers. Suitable agents can better serve customers and thus improve customer satisfaction.
[0003] Currently, when assigning agents to customers, qualified agents are usually directly screened out based on the screening criteria entered by the user. However, this method is limited by the customer's understanding of their own needs, resulting in an inability to accurately determine an agent that matches them. Summary of the invention
[0004] In view of the above, it is necessary to provide a user allocation method, apparatus, device and storage medium, which can accurately allocate appropriate target users to customers.
[0005] In one aspect, the present invention provides a user allocation method, the user allocation method comprising:
[0006] Obtain the service records of the preset user for the service customer;
[0007] Predicting the service record based on a pre-trained service effect prediction model to obtain a service score for the service record;
[0008] Generate a training sample according to the customer label of the service customer, the user label of the preset user and the service score;
[0009] Adjusting a pre-built content recommendation learner according to the training sample to obtain a first recommendation model, and adjusting a pre-built collaborative filtering learner according to the training sample to obtain a second recommendation model;
[0010] According to a first prediction capability of the first recommendation model for the training sample and a second prediction capability of the second recommendation model for the training sample, the first recommendation model and the second recommendation model are integrated to obtain a target model;
[0011] When receiving an allocation request, obtaining label information of the customer to be allocated according to the allocation request, and filtering the allocateable users from the preset users according to the label information and the user label;
[0012] Inputting the tag information and the user tag of the assignable user into the target model to perform score prediction, and obtaining a matching score between the customer to be assigned and the assignable user;
[0013] The target user of the customer to be assigned is determined according to the customer service quantity of the assignable user and the matching score.
[0014] According to a preferred embodiment of the present invention, obtaining the service record of the preset user for the service customer includes:
[0015] Writing a preset tag into a preset instruction to obtain an access request, and sending the access request to a bound terminal of the preset user;
[0016] When monitoring that the preset user generates an authorization response based on the access request, extracting an authorization code from the authorization response;
[0017] Data corresponding to the authorization code is obtained from a preset database as the service record.
[0018] According to a preferred embodiment of the present invention, the service effect prediction model includes a semantic parsing layer and a score mapping layer, and the service record is predicted based on the pre-trained service effect prediction model to obtain the service score of the service record, which includes:
[0019] Performing semantic processing on the service record based on the semantic parsing layer to obtain semantic information of the service record;
[0020] Calculating the semantic similarity between the semantic information and each type in the score mapping layer;
[0021] The score corresponding to the type with the highest semantic similarity is determined as the service score.
[0022] According to a preferred embodiment of the present invention, adjusting the pre-built content recommendation learner according to the training sample to obtain the first recommendation model includes:
[0023] Obtaining a vector mapping table of the content recommendation learner;
[0024] Mapping the customer tag based on the vector mapping table to obtain a customer vector, and mapping the user tag based on the vector mapping table to obtain a user vector;
[0025] Calculating the correlation between the customer vector and the user vector based on the content recommendation learner to obtain a prediction score of the content recommendation learner for the training sample;
[0026] The loss value of the content recommendation learner is calculated according to the prediction score and the service score. The calculation formula of the loss value is:
[0027]
[0028] Wherein, y refers to the loss value, x1 refers to the prediction score, and x2 refers to the service score;
[0029] The content recommendation learner is adjusted based on the training samples until the loss value no longer decreases, thereby obtaining the first recommendation model.
[0030] According to a preferred embodiment of the present invention, the first recommendation model and the second recommendation model are integrated according to the first prediction ability of the first recommendation model for the training samples and the second prediction ability of the second recommendation model for the training samples to obtain the target model, which includes:
[0031] Obtaining a first output score of the first recommendation model for the training sample, and obtaining a second output score of the second recommendation model for the training sample;
[0032] calculating the first prediction capability based on the first output score and the service score, and calculating the second prediction capability based on the second output score and the service score;
[0033] Normalizing the first prediction capability and the second prediction capability to obtain model weights of the first recommendation model and the second recommendation model;
[0034] The first recommendation model and the second recommendation model are fused based on the model weight to obtain the target model.
[0035] According to a preferred embodiment of the present invention, screening assignable users from the preset users according to the tag information and the user tag includes:
[0036] Extracting information corresponding to the target tag from the tag information as first information, and extracting information corresponding to the target tag from the user tag as second information;
[0037] detecting whether the second information is the same as the first information;
[0038] A preset user corresponding to second information that is the same as the first information is determined as the assignable user.
[0039] According to a preferred embodiment of the present invention, determining the target user of the customer to be assigned according to the customer service quantity of the assignable user and the matching score comprises:
[0040] determining a time of receipt of the allocation request;
[0041] Acquire the number of customers of the assignable user at the receiving time from a preset system as the number of customers served;
[0042] The balance coefficient of the assignable users is generated according to the number of customer services, and the calculation formula of the balance coefficient is:
[0043]
[0044] Wherein, k refers to the balance coefficient, n refers to the number of customer services, and m is a non-zero integer;
[0045] Generating a target score for the assignable user according to the matching score and the corresponding balance coefficient;
[0046] The assignable user with the largest target score is determined as the target user.
[0047] On the other hand, the present invention further provides a user allocation device, the user allocation device comprising:
[0048] An acquisition unit, used to acquire a service record of a preset user for a service customer;
[0049] A prediction unit, configured to predict the service record based on a pre-trained service effect prediction model to obtain a service score for the service record;
[0050] A generating unit, configured to generate a training sample according to the customer label of the service customer, the user label of the preset user and the service score;
[0051] An adjustment unit, configured to adjust a pre-built content recommendation learner according to the training sample to obtain a first recommendation model, and to adjust a pre-built collaborative filtering learner according to the training sample to obtain a second recommendation model;
[0052] a fusion unit, configured to fuse the first recommendation model and the second recommendation model according to a first prediction capability of the first recommendation model for the training samples and a second prediction capability of the second recommendation model for the training samples to obtain a target model;
[0053] a screening unit, configured to, when receiving an allocation request, obtain label information of the customer to be allocated according to the allocation request, and screen the assignable users from the preset users according to the label information and the user label;
[0054] The prediction unit is further used to input the tag information and the user tag of the assignable user into the target model to perform score prediction, so as to obtain a matching score between the customer to be assigned and the assignable user;
[0055] A determination unit is used to determine the target user of the customer to be assigned according to the customer service quantity of the assignable user and the matching score.
[0056] On the other hand, the present invention further provides an electronic device, comprising:
[0057] a memory storing computer readable instructions; and
[0058] A processor executes the computer-readable instructions stored in the memory to implement the user allocation method.
[0059] On the other hand, the present invention further proposes a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions are executed by a processor in an electronic device to implement the user allocation method.
[0060] It can be seen from the above technical solutions that the present invention integrates the first recommendation model and the second recommendation model based on the first prediction capability and the second prediction capability, which can avoid the influence of a single recommendation model on the label information and the user label, thereby improving the accuracy of the matching score. Furthermore, based on the label information and the user label, the assignable users are screened from the preset users, which can not only avoid matching analysis of all preset users and improve the efficiency of determining the target users, but also avoid being interfered by individual factors (such as geographical factors) and causing the inability to determine suitable target users, thereby improving the accuracy of determining the target users. In addition, the present invention determines the target user in combination with the number of customer services and the matching score, which can avoid any user needing to serve multiple customers at the same time, resulting in a decrease in the service quality of the user, thereby improving the rationality of the allocation of the target users. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 It is a flow chart of a preferred embodiment of the user allocation method of the present invention.
[0062] Figure 2 It is a functional module diagram of a preferred embodiment of the user allocation device of the present invention.
[0063] Figure 3 It is a structural schematic diagram of an electronic device of a preferred embodiment of the user allocation method of the present invention. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
[0065] like Figure 1 FIG. 1 is a flow chart of a preferred embodiment of the user allocation method of the present invention. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted.
[0066] The user allocation method can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0067] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0068] The user allocation method is applied to one or more electronic devices, which are devices that can automatically perform numerical calculations and / or information processing according to pre-set or stored computer-readable instructions, and whose hardware includes but is not limited to microprocessors, application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0069] The electronic device may be any electronic product that can perform human-computer interaction with a user, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an interactive network television (IPTV), a smart wearable device, etc.
[0070] The electronic device may include a network device and / or a user device. The network device includes, but is not limited to, a single network electronic device, an electronic device group consisting of multiple network electronic devices, or a cloud consisting of a large number of hosts or network electronic devices based on cloud computing.
[0071] The network where the electronic device is located includes, but is not limited to: the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), etc.
[0072] S10, obtaining the service record of the preset user for the service customer.
[0073] In at least one embodiment of the present invention, the preset user may be an insurance agent engaged in insurance sales, and the present invention does not limit the specific business engaged in by the preset user.
[0074] The service customer refers to the specific customer that the preset user connects with during the service period.
[0075] The service records include business data, customer feedback records, interaction records, customer participation activity records, etc. generated by the preset user during the period of serving the customer.
[0076] In at least one embodiment of the present invention, the electronic device obtaining a service record of a preset user for a service customer includes:
[0077] Writing a preset tag into a preset instruction to obtain an access request, and sending the access request to a bound terminal of the preset user;
[0078] When monitoring that the preset user generates an authorization response based on the access request, extracting an authorization code from the authorization response;
[0079] Data corresponding to the authorization code is obtained from a preset database as the service record.
[0080] The preset tags include, but are not limited to: business data generated during the user's service to customers, customer feedback records, interaction records, customer participation activity records, etc.
[0081] The preset instruction refers to a pre-set access instruction, and the preset instruction does not include an access object.
[0082] The bound terminal may be any terminal device of the preset user.
[0083] The preset database stores data recorded by multiple users during the period of serving customers.
[0084] The access request is generated by the preset instruction. Since there is no need to repeatedly construct the preset instruction, the efficiency of generating the access request can be improved. By extracting the authorization code from the authorization response generated by the preset user trigger and obtaining the service record based on the authorization code, the service record can be prevented from being stolen, thereby improving the security of the service record.
[0085] S11, predicting the service record based on a pre-trained service effect prediction model to obtain a service score for the service record.
[0086] In at least one embodiment of the present invention, the service score is used to characterize the service effect of the preset user on the service client.
[0087] In at least one embodiment of the present invention, the service effect prediction model includes a semantic parsing layer and a score mapping layer, and the electronic device predicts the service record based on the pre-trained service effect prediction model, and obtains the service score of the service record including:
[0088] Performing semantic processing on the service record based on the semantic parsing layer to obtain semantic information of the service record;
[0089] Calculating the semantic similarity between the semantic information and each type in the score mapping layer;
[0090] The score corresponding to the type with the highest semantic similarity is determined as the service score.
[0091] The semantic information refers to the semantics corresponding to the service record.
[0092] The score mapping layer includes mapping relationships between multiple types and multiple scores. It is understandable that the score mapping layer may include mapping relationships between multiple types and multiple scores in multiple dimensions. For example, in the activity dimension, type A: invites customers to participate in offline activities 0 times, score 0 points; type B: invites customers to participate in offline activities 1 time, score 1 point. In the communication dimension, type X: communicates 0 times, score 0 points, etc.
[0093] The semantic information can be quickly acquired through the semantic parsing layer, and the service score can be accurately generated based on the score mapping layer.
[0094] S12, generating a training sample according to the customer label of the service customer, the user label of the preset user and the service score.
[0095] In at least one embodiment of the present invention, the customer tag refers to the specific information corresponding to the service customer, for example, the specific information corresponding to the customer tag on the region tag is: Beijing, etc. The customer tag may include the specific information of the service customer on the region tag and the attribute tag.
[0096] The user tag refers to the specific information corresponding to the preset user, and the user tag may include the specific information of the preset user on the regional tag and the organization tag.
[0097] Each training sample includes the customer label of each service customer, the user label of each preset user, and the service score of the preset user for the service customer.
[0098] S13, adjusting a pre-built content recommendation learner according to the training sample to obtain a first recommendation model, and adjusting a pre-built collaborative filtering learner according to the training sample to obtain a second recommendation model.
[0099] In at least one embodiment of the present invention, the first recommendation model refers to a content recommendation learner when a loss value no longer decreases, the loss value being generated when the content recommendation learner predicts the training sample.
[0100] The second recommendation model refers to a collaborative filtering learner when the loss value no longer decreases, and the loss value is generated when the collaborative filtering learner predicts the training sample. The collaborative filtering learner is constructed and generated according to a collaborative filtering algorithm.
[0101] In at least one embodiment of the present invention, the electronic device adjusts a pre-built content recommendation learner according to the training sample to obtain a first recommendation model, including:
[0102] Obtaining a vector mapping table of the content recommendation learner;
[0103] Mapping the customer tag based on the vector mapping table to obtain a customer vector, and mapping the user tag based on the vector mapping table to obtain a user vector;
[0104] Calculating the correlation between the customer vector and the user vector based on the content recommendation learner to obtain a prediction score of the content recommendation learner for the training sample;
[0105] The loss value of the content recommendation learner is calculated according to the prediction score and the service score. The calculation formula of the loss value is:
[0106]
[0107] Wherein, y refers to the loss value, x1 refers to the prediction score, and x2 refers to the service score;
[0108] The content recommendation learner is adjusted based on the training samples until the loss value no longer decreases, thereby obtaining the first recommendation model.
[0109] The vector mapping table includes mapping relationships between multiple configuration tags and vectors.
[0110] The correlation may refer to the cosine similarity between the customer vector and the user vector.
[0111] The loss value is used to indicate the prediction ability of the content recommendation learner for the training sample.
[0112] By mapping the customer label and the user label through the same vector mapping table, it is possible to avoid the inability to accurately adjust the content recommendation learner due to the mapping of the customer label and the user label in different dimensions. By controlling the adjustment degree of the training sample through the loss value, it is possible to avoid the overfitting problem of the first recommendation model and improve the accuracy of the first recommendation model.
[0113] In at least one embodiment of the present invention, the electronic device adjusts the pre-built collaborative filtering learner according to the training samples in a manner similar to the electronic device adjusting the pre-built content recommendation learner according to the training samples, which is not described in detail in the present invention.
[0114] S14, according to the first prediction ability of the first recommendation model for the training samples and the second prediction ability of the second recommendation model for the training samples, the first recommendation model and the second recommendation model are integrated to obtain a target model.
[0115] In at least one embodiment of the present invention, the target model is generated by combining the first recommendation model, the first prediction capability, the second recommendation model and the second prediction capability.
[0116] In at least one embodiment of the present invention, the electronic device fuses the first recommendation model and the second recommendation model according to the first prediction capability of the first recommendation model for the training sample and the second prediction capability of the second recommendation model for the training sample to obtain the target model, including:
[0117] Obtaining a first output score of the first recommendation model for the training sample, and obtaining a second output score of the second recommendation model for the training sample;
[0118] calculating the first prediction capability based on the first output score and the service score, and calculating the second prediction capability based on the second output score and the service score;
[0119] Normalizing the first prediction capability and the second prediction capability to obtain model weights of the first recommendation model and the second recommendation model;
[0120] The first recommendation model and the second recommendation model are fused based on the model weight to obtain the target model.
[0121] The first output score can be obtained when the content recommendation learner is adjusted by the training sample, and the second output score can be obtained when the collaborative filtering learner is adjusted by the training sample.
[0122] The model weight is determined by the first prediction ability and the second prediction ability, and the first recommendation model and the second recommendation model can be fused in combination with the prediction ability of the first recommendation model and the second recommendation model for the training samples, thereby improving the accuracy of the target model and avoiding the influence of a single recommendation model on the determination of target users.
[0123] Specifically, the manner in which the electronic device calculates the first prediction capability based on the first output score and the service score is similar to the manner in which the electronic device calculates the loss value of the content recommendation learner based on the prediction score and the service score, and the present invention will not elaborate on this.
[0124] Specifically, the way in which the electronic device calculates the second prediction ability based on the second output score and the service score is similar to the way in which the electronic device calculates the loss value of the content recommendation learner based on the prediction score and the service score, and the present invention will not go into details.
[0125] S15, when an allocation request is received, obtaining tag information of the customer to be allocated according to the allocation request, and filtering the allocateable users from the preset users according to the tag information and the user tags.
[0126] In at least one embodiment of the present invention, the allocation request may be triggered and generated when the user discovers a new potential customer.
[0127] The customer to be assigned refers to a customer to which a user has not yet been assigned for docking. The tag information refers to the information of the customer to be assigned on the configuration tag.
[0128] The assignable user refers to a preset user whose second information corresponding to the target tag is the same as the first information of the customer to be assigned. The target tag refers to a configuration tag set according to actual business needs. It is understandable that it is not convenient to maintain customer relationships by assigning a user who is based in Shenzhen to a customer living in Beijing. Therefore, the target tag can be set as a regional tag, etc.
[0129] In at least one embodiment of the present invention, the electronic device screening the assignable users from the preset users according to the tag information and the user tag comprises:
[0130] Extracting information corresponding to the target tag from the tag information as first information, and extracting information corresponding to the target tag from the user tag as second information;
[0131] detecting whether the second information is the same as the first information;
[0132] A preset user corresponding to second information that is the same as the first information is determined as the assignable user.
[0133] The first information and the second information can be quickly extracted through the target tag, thereby improving the screening efficiency of the assignable users.
[0134] S16, inputting the tag information and the user tag of the assignable user into the target model to perform score prediction, and obtaining a matching score between the customer to be assigned and the assignable user.
[0135] In at least one embodiment of the present invention, the matching score is used to indicate the degree of compatibility between the assignable user and the to-be-assigned customer.
[0136] In at least one embodiment of the present invention, the manner in which the electronic device inputs the label information and the user label of the assignable user into the target model for score prediction is similar to the manner in which the electronic device fuses the first recommendation model and the second recommendation model and adjusts the pre-built content recommendation learner according to the training sample, and the present invention will not elaborate on this.
[0137] S17: Determine the target user of the customer to be assigned according to the customer service quantity of the assignable user and the matching score.
[0138] It should be emphasized that in order to further ensure the privacy and security of the above-mentioned target users, the above-mentioned target users can also be stored in a node of a blockchain.
[0139] In at least one embodiment of the present invention, the customer service quantity refers to the number of customers corresponding to the assignable users at a receiving time, wherein the receiving time refers to the time when the electronic device receives the assignment request.
[0140] The target user refers to a preset user that best matches the customer to be assigned.
[0141] In at least one embodiment of the present invention, the electronic device determines the target user of the customer to be assigned according to the customer service quantity of the assignable user and the matching score, including:
[0142] determining a time of receipt of the allocation request;
[0143] Acquire the number of customers of the assignable user at the receiving time from a preset system as the number of customers served;
[0144] The balance coefficient of the assignable users is generated according to the number of customer services, and the calculation formula of the balance coefficient is:
[0145]
[0146] Wherein, k refers to the balance coefficient, n refers to the number of customer services, and m is a non-zero integer;
[0147] Generating a target score for the assignable user according to the matching score and the corresponding balance coefficient;
[0148] The assignable user with the largest target score is determined as the target user.
[0149] The receiving time refers to the specific time when the electronic device receives the allocation request.
[0150] The preset system may be a customer management system, and the preset system stores the number of customers of the preset user at multiple moments.
[0151] Through the above implementation, it is possible to avoid the allocatable user having to serve multiple customers at the receiving time, which would cause the service quality of the allocatable user to decrease, thereby improving the rationality of the allocation of the target users.
[0152] It can be seen from the above technical solutions that the present invention integrates the first recommendation model and the second recommendation model based on the first prediction capability and the second prediction capability, which can avoid the influence of a single recommendation model on the label information and the user label, thereby improving the accuracy of the matching score. Furthermore, based on the label information and the user label, the assignable users are screened from the preset users, which can not only avoid matching analysis of all preset users and improve the efficiency of determining the target users, but also avoid being interfered by individual factors (such as geographical factors) and causing the inability to determine suitable target users, thereby improving the accuracy of determining the target users. In addition, the present invention determines the target user in combination with the number of customer services and the matching score, which can avoid any user needing to serve multiple customers at the same time, resulting in a decrease in the service quality of the user, thereby improving the rationality of the allocation of the target users.
[0153] like Figure 2 , which is a functional module diagram of a preferred embodiment of the user allocation device of the present invention. The user allocation device 11 includes an acquisition unit 110, a prediction unit 111, a generation unit 112, an adjustment unit 113, a fusion unit 114, a screening unit 115 and a determination unit 116. The module / unit referred to in the present invention refers to a series of computer-readable instruction segments that can be acquired by the processor 13 and can complete a fixed function, which is stored in the memory 12. In this embodiment, the functions of each module / unit will be described in detail in subsequent embodiments.
[0154] The acquisition unit 110 acquires the service record of a preset user for a service client.
[0155] In at least one embodiment of the present invention, the preset user may be an insurance agent engaged in insurance sales, and the present invention does not limit the specific business engaged in by the preset user.
[0156] The service customer refers to the specific customer that the preset user connects with during the service period.
[0157] The service records include business data, customer feedback records, interaction records, customer participation activity records, etc. generated by the preset user during the period of serving the customer.
[0158] In at least one embodiment of the present invention, the acquiring unit 110 acquires the service record of the preset user for the service client, including:
[0159] Writing a preset tag into a preset instruction to obtain an access request, and sending the access request to a bound terminal of the preset user;
[0160] When monitoring that the preset user generates an authorization response based on the access request, extracting an authorization code from the authorization response;
[0161] Data corresponding to the authorization code is obtained from a preset database as the service record.
[0162] The preset tags include, but are not limited to: business data generated during the user's service to customers, customer feedback records, interaction records, customer participation activity records, etc.
[0163] The preset instruction refers to a pre-set access instruction, and the preset instruction does not include an access object.
[0164] The bound terminal may be any terminal device of the preset user.
[0165] The preset database stores data recorded by multiple users during the period of serving customers.
[0166] The access request is generated by the preset instruction. Since there is no need to repeatedly construct the preset instruction, the efficiency of generating the access request can be improved. By extracting the authorization code from the authorization response generated by the preset user trigger and obtaining the service record based on the authorization code, the service record can be prevented from being stolen, thereby improving the security of the service record.
[0167] The prediction unit 111 predicts the service record based on a pre-trained service effect prediction model to obtain a service score of the service record.
[0168] In at least one embodiment of the present invention, the service score is used to characterize the service effect of the preset user on the service client.
[0169] In at least one embodiment of the present invention, the service effect prediction model includes a semantic parsing layer and a score mapping layer, and the prediction unit 111 predicts the service record based on the pre-trained service effect prediction model, and obtains the service score of the service record including:
[0170] Performing semantic processing on the service record based on the semantic parsing layer to obtain semantic information of the service record;
[0171] Calculating the semantic similarity between the semantic information and each type in the score mapping layer;
[0172] The score corresponding to the type with the highest semantic similarity is determined as the service score.
[0173] The semantic information refers to the semantics corresponding to the service record.
[0174] The score mapping layer includes mapping relationships between multiple types and multiple scores. It is understandable that the score mapping layer may include mapping relationships between multiple types and multiple scores in multiple dimensions. For example, in the activity dimension, type A: invites customers to participate in offline activities 0 times, score 0 points; type B: invites customers to participate in offline activities 1 time, score 1 point. In the communication dimension, type X: communicates 0 times, score 0 points, etc.
[0175] The semantic information can be quickly acquired through the semantic parsing layer, and the service score can be accurately generated based on the score mapping layer.
[0176] The generating unit 112 generates a training sample according to the customer label of the service customer, the user label of the preset user and the service score.
[0177] In at least one embodiment of the present invention, the customer tag refers to the specific information corresponding to the service customer, for example, the specific information corresponding to the customer tag on the region tag is: Beijing, etc. The customer tag may include the specific information of the service customer on the region tag and the attribute tag.
[0178] The user tag refers to the specific information corresponding to the preset user, and the user tag may include the specific information of the preset user on the regional tag and the organization tag.
[0179] Each training sample includes the customer label of each service customer, the user label of each preset user, and the service score of the preset user for the service customer.
[0180] The adjusting unit 113 adjusts the pre-built content recommendation learner according to the training samples to obtain a first recommendation model, and adjusts the pre-built collaborative filtering learner according to the training samples to obtain a second recommendation model.
[0181] In at least one embodiment of the present invention, the first recommendation model refers to a content recommendation learner when a loss value no longer decreases, the loss value being generated when the content recommendation learner predicts the training sample.
[0182] The second recommendation model refers to a collaborative filtering learner when the loss value no longer decreases, and the loss value is generated when the collaborative filtering learner predicts the training sample. The collaborative filtering learner is constructed and generated according to a collaborative filtering algorithm.
[0183] In at least one embodiment of the present invention, the adjusting unit 113 adjusts the pre-built content recommendation learner according to the training sample to obtain the first recommendation model including:
[0184] Obtaining a vector mapping table of the content recommendation learner;
[0185] Mapping the customer tag based on the vector mapping table to obtain a customer vector, and mapping the user tag based on the vector mapping table to obtain a user vector;
[0186] Calculating the correlation between the customer vector and the user vector based on the content recommendation learner to obtain a prediction score of the content recommendation learner for the training sample;
[0187] The loss value of the content recommendation learner is calculated according to the prediction score and the service score. The calculation formula of the loss value is:
[0188]
[0189] Wherein, y refers to the loss value, x1 refers to the prediction score, and x2 refers to the service score;
[0190] The content recommendation learner is adjusted based on the training samples until the loss value no longer decreases, thereby obtaining the first recommendation model.
[0191] The vector mapping table includes mapping relationships between multiple configuration tags and vectors.
[0192] The correlation may refer to the cosine similarity between the customer vector and the user vector.
[0193] The loss value is used to indicate the prediction ability of the content recommendation learner for the training sample.
[0194] By mapping the customer label and the user label through the same vector mapping table, it is possible to avoid the inability to accurately adjust the content recommendation learner due to the mapping of the customer label and the user label in different dimensions. By controlling the adjustment degree of the training sample through the loss value, it is possible to avoid the overfitting problem of the first recommendation model and improve the accuracy of the first recommendation model.
[0195] In at least one embodiment of the present invention, the manner in which the adjustment unit 113 adjusts the pre-constructed content recommendation learner according to the training sample is similar to the manner in which the adjustment unit 113 adjusts the pre-constructed content recommendation learner according to the training sample, and the present invention will not repeat this.
[0196] The fusion unit 114 fuses the first recommendation model and the second recommendation model according to the first prediction capability of the first recommendation model for the training samples and the second prediction capability of the second recommendation model for the training samples to obtain a target model.
[0197] In at least one embodiment of the present invention, the target model is generated by combining the first recommendation model, the first prediction capability, the second recommendation model and the second prediction capability.
[0198] In at least one embodiment of the present invention, the fusion unit 114 fuses the first recommendation model and the second recommendation model according to the first prediction ability of the first recommendation model for the training sample and the second prediction ability of the second recommendation model for the training sample to obtain the target model, including:
[0199] Obtaining a first output score of the first recommendation model for the training sample, and obtaining a second output score of the second recommendation model for the training sample;
[0200] calculating the first prediction capability based on the first output score and the service score, and calculating the second prediction capability based on the second output score and the service score;
[0201] Normalizing the first prediction capability and the second prediction capability to obtain model weights of the first recommendation model and the second recommendation model;
[0202] The first recommendation model and the second recommendation model are fused based on the model weight to obtain the target model.
[0203] The first output score can be obtained when the content recommendation learner is adjusted by the training sample, and the second output score can be obtained when the collaborative filtering learner is adjusted by the training sample.
[0204] The model weight is determined by the first prediction ability and the second prediction ability, and the first recommendation model and the second recommendation model can be fused in combination with the prediction ability of the first recommendation model and the second recommendation model for the training samples, thereby improving the accuracy of the target model and avoiding the influence of a single recommendation model on the determination of target users.
[0205] Specifically, the way in which the fusion unit 114 calculates the first prediction ability based on the first output score and the service score is similar to the way in which the adjustment unit 113 calculates the loss value of the content recommendation learner based on the prediction score and the service score, and the present invention will not go into details.
[0206] Specifically, the way in which the fusion unit 114 calculates the second prediction ability based on the second output score and the service score is similar to the way in which the adjustment unit 113 calculates the loss value of the content recommendation learner based on the prediction score and the service score, and the present invention will not go into details.
[0207] When receiving an allocation request, the screening unit 115 obtains tag information of the customer to be allocated according to the allocation request, and screens the assignable users from the preset users according to the tag information and the user tags.
[0208] In at least one embodiment of the present invention, the allocation request may be triggered and generated when the user discovers a new potential customer.
[0209] The customer to be assigned refers to a customer to which a user has not yet been assigned for docking. The tag information refers to the information of the customer to be assigned on the configuration tag.
[0210] The assignable user refers to a preset user whose second information corresponding to the target tag is the same as the first information of the customer to be assigned. The target tag refers to a configuration tag set according to actual business needs. It is understandable that it is not convenient to maintain customer relationships by assigning a user who is based in Shenzhen to a customer living in Beijing. Therefore, the target tag can be set as a regional tag, etc.
[0211] In at least one embodiment of the present invention, the screening unit 115 screens the assignable users from the preset users according to the tag information and the user tag, including:
[0212] Extracting information corresponding to the target tag from the tag information as first information, and extracting information corresponding to the target tag from the user tag as second information;
[0213] detecting whether the second information is the same as the first information;
[0214] A preset user corresponding to second information that is the same as the first information is determined as the assignable user.
[0215] The first information and the second information can be quickly extracted through the target tag, thereby improving the screening efficiency of the assignable users.
[0216] The prediction unit 111 inputs the tag information and the user tag of the assignable user into the target model to perform score prediction, and obtains a matching score between the customer to be assigned and the assignable user.
[0217] In at least one embodiment of the present invention, the matching score is used to indicate the degree of compatibility between the assignable user and the to-be-assigned customer.
[0218] In at least one embodiment of the present invention, the prediction unit 111 inputs the label information and the user label of the assignable user into the target model for score prediction in a manner similar to the generation method of the first recommendation model and the second recommendation model described above, and the present invention will not elaborate on this.
[0219] The determination unit 116 determines the target user of the customer to be assigned according to the customer service quantity of the assignable user and the matching score.
[0220] It should be emphasized that in order to further ensure the privacy and security of the above-mentioned target users, the above-mentioned target users can also be stored in a node of a blockchain.
[0221] In at least one embodiment of the present invention, the customer service quantity refers to the number of customers corresponding to the assignable users at a receiving time, wherein the receiving time refers to the time when the assignment request is received.
[0222] The target user refers to a preset user that best matches the customer to be assigned.
[0223] In at least one embodiment of the present invention, the determination unit 116 determines the target user of the customer to be assigned according to the customer service quantity of the assignable user and the matching score, including:
[0224] determining a time of receipt of the allocation request;
[0225] Acquire the number of customers of the assignable user at the receiving time from a preset system as the number of customers served;
[0226] The balance coefficient of the assignable users is generated according to the number of customer services, and the calculation formula of the balance coefficient is:
[0227]
[0228] Wherein, k refers to the balance coefficient, n refers to the number of customer services, and m is a non-zero integer;
[0229] Generating a target score for the assignable user according to the matching score and the corresponding balance coefficient;
[0230] The assignable user with the largest target score is determined as the target user.
[0231] The receiving time refers to the specific time when the electronic device receives the allocation request.
[0232] The preset system may be a customer management system, and the preset system stores the number of customers of the preset user at multiple moments.
[0233] Through the above implementation, it is possible to avoid the allocatable user having to serve multiple customers at the receiving time, which would cause the service quality of the allocatable user to decrease, thereby improving the rationality of the allocation of the target users.
[0234] It can be seen from the above technical solutions that the present invention integrates the first recommendation model and the second recommendation model based on the first prediction capability and the second prediction capability, which can avoid the influence of a single recommendation model on the label information and the user label, thereby improving the accuracy of the matching score. Furthermore, based on the label information and the user label, the assignable users are screened from the preset users, which can not only avoid matching analysis of all preset users and improve the efficiency of determining the target users, but also avoid being interfered by individual factors (such as geographical factors) and causing the inability to determine suitable target users, thereby improving the accuracy of determining the target users. In addition, the present invention determines the target user in combination with the number of customer services and the matching score, which can avoid any user needing to serve multiple customers at the same time, resulting in a decrease in the service quality of the user, thereby improving the rationality of the allocation of the target users.
[0235] like Figure 3 FIG. 1 is a schematic diagram of the structure of an electronic device of a preferred embodiment of the user allocation method of the present invention.
[0236] In one embodiment of the present invention, the electronic device 1 includes, but is not limited to, a memory 12, a processor 13, and computer-readable instructions stored in the memory 12 and executable on the processor 13, such as a user allocation program.
[0237] Those skilled in the art will understand that the schematic diagram is merely an example of the electronic device 1 and does not constitute a limitation on the electronic device 1. The electronic device 1 may include more or fewer components than shown in the diagram, or a combination of certain components, or different components. For example, the electronic device 1 may also include input and output devices, network access devices, buses, etc.
[0238] The processor 13 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 13 is the computing core and control center of the electronic device 1, and uses various interfaces and lines to connect various parts of the entire electronic device 1, and executes the operating system of the electronic device 1 and various installed applications, program codes, etc.
[0239] Exemplarily, the computer-readable instructions may be divided into one or more modules / units, which are stored in the memory 12 and executed by the processor 13 to complete the present invention. The one or more modules / units may be a series of computer-readable instruction segments capable of completing specific functions, which are used to describe the execution process of the computer-readable instructions in the electronic device 1. For example, the computer-readable instructions may be divided into an acquisition unit 110, a prediction unit 111, a generation unit 112, an adjustment unit 113, a fusion unit 114, a screening unit 115, and a determination unit 116.
[0240] The memory 12 can be used to store the computer-readable instructions and / or modules, and the processor 13 implements various functions of the electronic device 1 by running or executing the computer-readable instructions and / or modules stored in the memory 12, and calling the data stored in the memory 12. The memory 12 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device, etc. The memory 12 can include non-volatile and volatile memories, such as: a hard disk, a memory, a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other storage devices.
[0241] The memory 12 may be an external memory and / or an internal memory of the electronic device 1. Furthermore, the memory 12 may be a memory in a physical form, such as a memory stick, a TF card (Trans-flash Card), and the like.
[0242] If the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also instruct the relevant hardware to complete it through computer-readable instructions. The computer-readable instructions can be stored in a computer-readable storage medium. When the computer-readable instructions are executed by the processor, the steps of the above-mentioned various method embodiments can be implemented.
[0243] The computer-readable instructions include computer-readable instruction codes, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer-readable instruction code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM).
[0244] The blockchain referred to in the present invention is a new application model of computer technologies such as distributed user allocation, point-to-point transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the blockchain underlying platform, platform product service layer, and application service layer.
[0245] Combination Figure 1 The memory 12 in the electronic device 1 stores computer-readable instructions to implement a user allocation method, and the processor 13 can execute the computer-readable instructions to implement:
[0246] Obtain the service records of the preset user for the service customer;
[0247] Predicting the service record based on a pre-trained service effect prediction model to obtain a service score for the service record;
[0248] Generate a training sample according to the customer label of the service customer, the user label of the preset user and the service score;
[0249] Adjusting a pre-built content recommendation learner according to the training sample to obtain a first recommendation model, and adjusting a pre-built collaborative filtering learner according to the training sample to obtain a second recommendation model;
[0250] According to a first prediction capability of the first recommendation model for the training sample and a second prediction capability of the second recommendation model for the training sample, the first recommendation model and the second recommendation model are integrated to obtain a target model;
[0251] When receiving an allocation request, obtaining label information of the customer to be allocated according to the allocation request, and filtering the allocateable users from the preset users according to the label information and the user label;
[0252] Inputting the tag information and the user tag of the assignable user into the target model to perform score prediction, and obtaining a matching score between the customer to be assigned and the assignable user;
[0253] The target user of the customer to be assigned is determined according to the customer service quantity of the assignable user and the matching score.
[0254] Specifically, the specific implementation method of the processor 13 for the above-mentioned computer readable instructions can refer to Figure 1 The description of the relevant steps in the corresponding embodiments will not be repeated here.
[0255] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0256] The computer-readable storage medium stores computer-readable instructions, wherein the computer-readable instructions are used to implement the following steps when executed by the processor 13:
[0257] Obtain the service records of the preset user for the service customer;
[0258] Predicting the service record based on a pre-trained service effect prediction model to obtain a service score for the service record;
[0259] Generate a training sample according to the customer label of the service customer, the user label of the preset user and the service score;
[0260] Adjusting a pre-built content recommendation learner according to the training sample to obtain a first recommendation model, and adjusting a pre-built collaborative filtering learner according to the training sample to obtain a second recommendation model;
[0261] According to a first prediction capability of the first recommendation model for the training sample and a second prediction capability of the second recommendation model for the training sample, the first recommendation model and the second recommendation model are integrated to obtain a target model;
[0262] When receiving an allocation request, obtaining label information of the customer to be allocated according to the allocation request, and filtering the allocateable users from the preset users according to the label information and the user label;
[0263] Inputting the tag information and the user tag of the assignable user into the target model to perform score prediction, and obtaining a matching score between the customer to be assigned and the assignable user;
[0264] The target user of the customer to be assigned is determined according to the customer service quantity of the assignable user and the matching score.
[0265] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0266] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0267] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.
[0268] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. The multiple units or devices mentioned can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
[0269] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A user allocation method, characterized in that: The user allocation method comprises: Obtain the service records of the preset user for the service customer; Predicting the service record based on a pre-trained service effect prediction model to obtain a service score for the service record, the service effect prediction model comprising a semantic parsing layer and a score mapping layer, predicting the service record based on the pre-trained service effect prediction model to obtain a service score for the service record comprises: performing semantic processing on the service record based on the semantic parsing layer to obtain semantic information of the service record; calculating the semantic similarity between the semantic information and each type in the score mapping layer; determining the score corresponding to the type with the highest semantic similarity as the service score; Generate a training sample according to the customer label of the service customer, the user label of the preset user and the service score; The pre-built content recommendation learner is adjusted according to the training sample to obtain a first recommendation model, and the pre-built collaborative filtering learner is adjusted according to the training sample to obtain a second recommendation model, wherein the pre-built content recommendation learner is adjusted according to the training sample to obtain the first recommendation model, wherein the pre-built content recommendation learner is adjusted according to the training sample to obtain the first recommendation model comprises: obtaining a vector mapping table of the content recommendation learner; mapping the customer label based on the vector mapping table to obtain a customer vector, and mapping the user label based on the vector mapping table to obtain a user vector; calculating the correlation between the customer vector and the user vector based on the content recommendation learner to obtain a prediction score of the content recommendation learner for the training sample; calculating the loss value of the content recommendation learner according to the prediction score and the service score, and the calculation formula of the loss value is: ;in, is the loss value, refers to the prediction score, refers to the service score; adjusting the content recommendation learner based on the training sample until the loss value no longer decreases, thereby obtaining the first recommendation model; According to the first prediction ability of the first recommendation model for the training sample and the second prediction ability of the second recommendation model for the training sample, the first recommendation model and the second recommendation model are fused to obtain a target model, including: obtaining a first output score of the first recommendation model for the training sample, and obtaining a second output score of the second recommendation model for the training sample; calculating the first prediction ability according to the first output score and the service score, and calculating the second prediction ability according to the second output score and the service score; normalizing the first prediction ability and the second prediction ability to obtain model weights of the first recommendation model and the second recommendation model; fusing the first recommendation model and the second recommendation model based on the model weights to obtain the target model; When receiving an allocation request, obtaining label information of the customer to be allocated according to the allocation request, and filtering the allocateable users from the preset users according to the label information and the user label; Inputting the tag information and the user tag of the assignable user into the target model to perform score prediction, and obtaining a matching score between the customer to be assigned and the assignable user; The target user of the customer to be assigned is determined according to the customer service quantity of the assignable user and the matching score.
2. The user allocation method according to claim 1, characterized in that: The obtaining of the service record of the preset user for the service customer includes: Writing a preset tag into a preset instruction to obtain an access request, and sending the access request to a bound terminal of the preset user; When monitoring that the preset user generates an authorization response based on the access request, extracting an authorization code from the authorization response; Data corresponding to the authorization code is obtained from a preset database as the service record.
3. The user allocation method according to claim 1, characterized in that: The filtering of assignable users from the preset users according to the tag information and the user tag comprises: Extracting information corresponding to the target tag from the tag information as first information, and extracting information corresponding to the target tag from the user tag as second information; detecting whether the second information is the same as the first information; A preset user corresponding to second information that is the same as the first information is determined as the assignable user.
4. The user allocation method according to claim 1, characterized in that: The determining of the target user of the customer to be assigned according to the customer service quantity of the assignable user and the matching score comprises: determining a time of receipt of the allocation request; Acquire the number of customers of the assignable user at the receiving time from a preset system as the number of customers served; The balance coefficient of the assignable users is generated according to the number of customer services, and the calculation formula of the balance coefficient is: ; in, refers to the balance coefficient, means the number of customers served, is a non-zero integer; Generating a target score for the assignable user according to the matching score and the corresponding balance coefficient; The assignable user with the largest target score is determined as the target user.
5. A user allocation device, characterized in that: The user allocation device comprises: An acquisition unit, used to acquire a service record of a preset user for a service customer; A prediction unit is used to predict the service record based on a pre-trained service effect prediction model to obtain a service score for the service record, wherein the service effect prediction model includes a semantic parsing layer and a score mapping layer, and the prediction of the service record based on the pre-trained service effect prediction model to obtain the service score for the service record includes: performing semantic processing on the service record based on the semantic parsing layer to obtain semantic information of the service record; calculating the semantic similarity between the semantic information and each type in the score mapping layer; and determining the score corresponding to the type with the highest semantic similarity as the service score; A generating unit, configured to generate a training sample according to the customer label of the service customer, the user label of the preset user and the service score; An adjustment unit is used to adjust a pre-built content recommendation learner according to the training sample to obtain a first recommendation model, and adjust a pre-built collaborative filtering learner according to the training sample to obtain a second recommendation model, wherein the adjusting the pre-built content recommendation learner according to the training sample to obtain the first recommendation model includes: obtaining a vector mapping table of the content recommendation learner; mapping the customer label based on the vector mapping table to obtain a customer vector, and mapping the user label based on the vector mapping table to obtain a user vector; calculating the correlation between the customer vector and the user vector based on the content recommendation learner to obtain a prediction score of the content recommendation learner for the training sample; calculating a loss value of the content recommendation learner based on the prediction score and the service score, and the calculation formula of the loss value is: ;in, is the loss value, refers to the prediction score, refers to the service score; adjusting the content recommendation learner based on the training sample until the loss value no longer decreases, thereby obtaining the first recommendation model; A fusion unit is used to fuse the first recommendation model and the second recommendation model according to the first prediction ability of the first recommendation model for the training sample and the second prediction ability of the second recommendation model for the training sample to obtain a target model, including: obtaining the first output score of the first recommendation model for the training sample, and obtaining the second output score of the second recommendation model for the training sample; calculating the first prediction ability according to the first output score and the service score, and calculating the second prediction ability according to the second output score and the service score; normalizing the first prediction ability and the second prediction ability to obtain model weights of the first recommendation model and the second recommendation model; fusing the first recommendation model and the second recommendation model based on the model weights to obtain the target model; a screening unit, configured to, when receiving an allocation request, obtain label information of the customer to be allocated according to the allocation request, and screen the assignable users from the preset users according to the label information and the user label; The prediction unit is further used to input the label information and the user label of the assignable user into the target model to perform score prediction, so as to obtain a matching score between the customer to be assigned and the assignable user; A determination unit is used to determine the target user of the customer to be assigned according to the customer service quantity of the assignable user and the matching score.
6. An electronic device, characterized in that: The electronic device comprises: a memory storing computer-readable instructions; and A processor executes the computer-readable instructions stored in the memory to implement the user allocation method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions are executed by a processor in an electronic device to implement the user allocation method according to any one of claims 1 to 4.
