A freelancer task recommendation method, electronic device and storage medium

By calculating the weight of task tags and filtering keywords, combined with the behavioral data of freelancers, and using the collaborative filtering algorithm to recommend tasks, it solves the problem of freelancers having difficulty finding suitable tasks, and improves task completion and the retention rate of the platform.

CN114880573BActive Publication Date: 2024-09-06SIDE CLOUD (BEIJING) INFORMATION SERVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210568245.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-24
Publication Date
2024-09-06
Estimated Expiration
2042-05-24

AI Technical Summary

Technical Problem

It is difficult for freelancers to find suitable tasks on shared service platforms, resulting in low task completion and reduced activity, which affects the platform's ability to retain talents.

Method used

By calculating the weight of task tags, filtering task keywords, recommending tasks based on freelancers' keywords and behavioral data, and using collaborative filtering algorithms to improve task matching.

Benefits of technology

It improves the relevance of freelance tasks and work quality, and retains more talents for the shared service platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114880573B
    Figure CN114880573B
Patent Text Reader

Abstract

The embodiment of the present application provides a method for recommending freelancer tasks, an electronic device, and a storage medium, the method comprising: calculating the label weight of each task label corresponding to each task; according to the label weight, filtering out the task keywords corresponding to each task in the task label corresponding to each task, and establishing a mapping relationship between tasks, task keywords, and keyword weights; searching for target tasks in the first mapping relationship according to the freelancer's freelancer keyword, and establishing a mapping relationship between the target task, freelancer keyword, and keyword weight; calculating the weight accumulation value of each target task; and sending the N1 target tasks with the highest weight accumulation value to the freelancer. In the embodiment of the present application, freelancer task recommendation is performed based on the collaborative filtering recommendation algorithm, and the tasks recommended to the freelancer have a good correlation with the freelancer, thereby improving the work quality of the freelancer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of shared services, and in particular to a freelancer task recommendation method, electronic device and storage medium. Background Art

[0002] The shared service platform provides shared products to help enterprises use remote digital talents (non-enterprise employees) on a large scale, and provides a series of tools and services around matching, delivery, settlement, and guarantee in the process to help enterprises quickly solve problems encountered in production and operation. Merchants and freelancers can register as users of the shared service platform. Among them, merchants issue corporate tasks through the shared service platform, and freelancers can also receive and complete tasks issued by merchants to obtain corresponding rewards.

[0003] However, as the number of merchants entering the platform grows and the number of tasks posted every day increases, only a small proportion of the tasks that freelancers are interested in account for, making it difficult for freelancers to find suitable tasks. If freelancers receive tasks that they are not interested in, the completion rate of the tasks will be low, and the activity of freelancers on the sharing service platform will be reduced, making it difficult for the sharing service platform to retain talent. Summary of the invention

[0004] In view of this, the present application provides a freelancer task recommendation method, electronic device and storage medium, so as to solve the problem that it is difficult for freelancers to find suitable tasks in the prior art. If freelancers receive tasks that they are not interested in, the completion rate of the tasks will be low, and the activity of freelancers on the sharing service platform will be reduced, which is not conducive to retaining talents on the sharing service platform. In the first aspect, the embodiment of the present application provides a freelancer task recommendation method, including:

[0005] Calculate the label weight of each task label corresponding to each task, where the label weight is used to characterize the correlation between the corresponding task and the task label;

[0006] According to the label weight, a task keyword corresponding to each task is screened out from the task label corresponding to each task, and a first mapping relationship is established, wherein the first mapping relationship is a mapping relationship between the task, the task keyword and the keyword weight, and the keyword weight of the task keyword is the same as the label weight of the task label corresponding to the task keyword;

[0007] Searching for a target task in the first mapping relationship according to the freelancer's freelancer keyword, and establishing a second mapping relationship, wherein the second mapping relationship is a mapping relationship between the target task, the freelancer keyword, and the keyword weight, wherein the target task and keyword weight corresponding to the freelancer keyword in the second mapping relationship are the same as the task and keyword weight corresponding to the matching task keyword in the first mapping relationship;

[0008] Calculating a weight accumulation value of each target task in the second mapping relationship, where the weight accumulation value is a cumulative value of keyword weights of all freelancer keywords corresponding to the target task;

[0009] Sending N1 target tasks with the highest accumulated weight values ​​to the freelancer, where N1≥1.

[0010] In a possible implementation, before calculating the label weight of each task label corresponding to each task, the method includes:

[0011] The initial task labels corresponding to each task are deduplicated to obtain the task labels corresponding to each task.

[0012] In a possible implementation, calculating the label weight of each task label corresponding to each task includes:

[0013] According to the formula Calculate the word frequency tf of each task label corresponding to each task, where tf i,j The task label t i The word frequency in the jth task, n i , j The task label t i The number of times it appears in the jth task, ∑ k n k,j is the total number of words in the jth task;

[0014] According to the formula Calculate the inverse document frequency (idf) of each task label corresponding to each task, where idf i The task label t i The reverse file frequency, |D| is the total number of tasks, |{j:t i ∈d i}| contains the task tag t i The number of tasks;

[0015] According to the formula tfidf i,j =tf i,j ×idf iCalculate the label weight tfidf of each task label corresponding to each task, where tfidf i,j The task label t i The label weight in the jth task.

[0016] In a possible implementation, filtering out the task keyword corresponding to each task from the task tag corresponding to each task according to the tag weight includes:

[0017] N2 task tags with the largest tag weights are screened out from the task tags corresponding to each of the tasks, and the N2 task tags with the largest tag weights are used as task keywords corresponding to the tasks, N2≥1.

[0018] In a possible implementation manner, establishing the first mapping relationship includes:

[0019] According to the task, the task keyword and the keyword weight, a task-task keyword-keyword weight list is established, wherein the task-task keyword-keyword weight list is used to characterize the mapping of the task to the task keyword and the keyword weight;

[0020] The task-task keyword-keyword weight list is transformed to obtain a task keyword-task-keyword weight list, wherein the task keyword-task-keyword weight list is used to characterize the mapping of the task keyword to the task and the keyword weight.

[0021] In a possible implementation, searching for a target task in the first mapping relationship according to the freelancer keyword of the freelancer to establish a second mapping relationship includes:

[0022] According to the freelancer keyword of the freelancer, searching for a target task in the task keyword-task-keyword weight list, the target task being a task corresponding to the task keyword matching the freelancer keyword;

[0023] According to the target task, a target task-freelancer keyword-keyword weight list is established, and the target task-freelancer keyword-keyword weight list is used to characterize the mapping of the target task to the freelancer keyword and the keyword weight.

[0024] In a possible implementation, before searching for a target task in the task keyword-task-keyword weight list according to the freelancer keyword of the freelancer, the method further includes:

[0025] Collecting behavioral data of the freelancer, wherein the behavioral data is data associated with the task;

[0026] Determining tasks associated with the freelancer based on the behavior data of the freelancer;

[0027] According to the task associated with the freelancer, searching the task-task keyword-keyword weight list for a task keyword corresponding to the task associated with the freelancer;

[0028] A freelancer keyword of the freelancer is determined according to a task keyword corresponding to the task associated with the freelancer.

[0029] In a possible implementation, determining the freelancer keyword of the freelancer according to the task keyword corresponding to the task associated with the freelancer includes:

[0030] Counting task keywords corresponding to the tasks associated with the freelancer;

[0031] Among the task keywords corresponding to the tasks associated with the freelancer, the task keywords whose repetition times are greater than or equal to a preset repetition times threshold are used as freelancer keywords.

[0032] In a possible implementation, before calculating the label weight of each task label corresponding to each task, the method further includes:

[0033] Collect the task tags associated with each task.

[0034] In a possible implementation, collecting the task tags associated with each task includes:

[0035] Collect freelancer's tagging information for tasks, system tags for tasks and / or description information of tasks;

[0036] A task tag associated with each task is determined according to the freelancer's marking information for the task, the system tag of the task and / or the description information of the task.

[0037] In a second aspect, an embodiment of the present application provides an electronic device, including:

[0038] processor;

[0039] Memory;

[0040] And a computer program, wherein the computer program is stored in the memory, and the computer program includes instructions, and when the instructions are executed by the electronic device, the electronic device executes any one of the methods described in the first aspect.

[0041] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the methods described in the first aspect.

[0042] In an embodiment of the present application, freelancer task recommendations are performed based on a collaborative filtering recommendation algorithm, and the tasks recommended to freelancers have a good correlation with the freelancers, thereby improving the work quality of freelancers and retaining more talents for the shared service platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0044] Figure 1 A schematic diagram of a freelancer task recommendation scenario provided in an embodiment of the present application;

[0045] Figure 2 A flowchart of a method for recommending tasks for freelancers provided in an embodiment of the present application;

[0046] Figure 3 A system framework diagram of a shared service platform provided in an embodiment of the present application;

[0047] Figure 4 A system framework diagram of another shared service platform provided in an embodiment of the present application;

[0048] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0049] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0050] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0051] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0052] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0053] See also Figure 1 , is a schematic diagram of a freelancer task recommendation scenario provided in an embodiment of the present application. Figure 1 As shown, the freelancer task recommendation scenario includes a server, a merchant terminal and a freelancer terminal. The merchant terminal and the freelancer terminal are respectively connected to the server in communication. The communication connection can be a wired or wireless communication connection, which is not limited in the embodiment of the present application.

[0054] The server may carry a shared service platform. Merchants may register on the shared service platform through merchant terminals to publish tasks. Freelancers may register on the shared service platform through freelancer terminals to receive and complete tasks published by merchants to obtain corresponding remuneration. Among them, merchant terminals refer to terminal devices used by merchants, and freelancer terminals refer to terminal devices used by freelancers. The embodiments of the present application do not specifically limit the types of merchant terminals and freelancer terminals. For example, merchant terminals and freelancer terminals may be mobile phones, tablet computers, desktop computers, wearable devices, etc.

[0055] It should be pointed out that Figure 1 This is only an exemplary description and should not be regarded as limiting the scope of protection of this application. Figure 1 , merchants A and merchant B, freelancers A and freelancers B are shown. It is understandable that a larger number of merchants and freelancers can be registered on the sharing service platform, and the embodiment of the present application does not specifically limit the number of merchants and freelancers.

[0056] In the shared service platform, as the number of merchants entering the platform increases and the number of tasks posted every day increases, the tasks that freelancers are interested in only account for a small proportion of them, making it difficult for freelancers to find suitable tasks. Therefore, it is necessary to perform intelligent task recommendations for freelancers.

[0057] See also Figure 2 , is a flowchart of a freelancer task recommendation method provided in an embodiment of the present application. The method can be applied to Figure 1 The freelancer task recommendation scenario shown in Figure 2 As shown, the method mainly includes the following steps.

[0058] Step S201: Calculate the label weight of each task label corresponding to each task.

[0059] In a possible implementation, before calculating the label weight of each task label corresponding to each task, it is first necessary to collect the task label associated with each task. Specifically, the freelancer's labeling information for the task, the system label of the task and / or the description information of the task can be collected, and the task label associated with each task can be determined based on the freelancer's labeling information for the task, the system label of the task and / or the description information of the task.

[0060] For example, the marking information of the task by the freelancer can be the labels that the freelancer puts on the collected, received, and delivered tasks in the sharing service platform. For example, the freelancer puts the label of the collected task A as graphic design, and the freelancer puts the label of the collected task B as film editing, etc. It can be understood that the characteristic information of the task can be reflected through the marking information of the freelancer on the task.

[0061] The system label of a task can be a classification label set by the sharing service platform for each task. For example, for a live webcast task, the classification label set by the sharing service platform is marketing and promotion => brand promotion => live webcast; for a soft copy editing task, the classification label set by the sharing service platform is marketing and promotion => brand promotion => soft copy editing. It should be pointed out that this classification label is only an exemplary description. It is understandable that the sharing service platform can set corresponding classification labels for more types of tasks, which will not be repeated here.

[0062] The description information of the task can be a description of the task by the merchant when publishing the task, according to the type of task or the requirements of the task. Specifically, it can be the title of the task or the notes of the task. For example, the title of a task published by a merchant is "Online Live Broadcasting", and the notes are "Limited to women, must be between 20-40 years old, and must have more than 3 years of online live broadcasting experience", then the title and notes are the description information of the task. It can be understood that the description information of the task is usually filled in by the merchant himself, and its format or description method is not standardized. In order to obtain the task label based on the description information of the task, it is usually necessary to perform word segmentation on the description information of the task to extract the task label associated with the task in the description information. For example, the word segmentation of "Limited to women, must be between 20-40 years old, and must have more than 3 years of online live broadcasting experience" is performed, and the task label obtained is "Female, 20-40 years old, more than 3 years of online live broadcasting experience".

[0063] It is understandable that the classification labels obtained in the above manner may be repeated. For example, for the "live broadcast on the Internet" task, there may be "live broadcast" in the system label of the task, and there may also be "live broadcast" in the task label obtained according to the description information of the task. Therefore, there is a repeated task label "live broadcast" for the "live broadcast on the Internet" task.

[0064] In order to avoid processing too much redundant data in subsequent steps, in a possible implementation method, after obtaining the initial task label corresponding to each task in the above manner, it is also necessary to deduplicate the initial task label corresponding to each task, so as to obtain the task label corresponding to each task.

[0065] Exemplarily, the correspondence between tasks and task labels is shown in Table 1.

[0066] Table 1:

[0067] Task Task Tags Task1 Task1Tag1, Task1Tag2,…, Task1Tagm Task2 Task2Tag1, Task2Tag2,…, Task2Tagm …… …… Task TasknTag1, TasknTag2,…, TasknTagm

[0068] There are n tasks in total among the tasks and task tags shown in Table 1, and each task corresponds to m task tags, where Taski represents the i-th task, 1≤i≤n, and TaskiTagj represents the j-th task tag in the i-th task, 1≤j≤m.

[0069] It is understandable that in the correspondence between tasks and task tags described in Table 1, the number of task tags corresponding to each task is the same. In some possible implementations, different numbers of task tags may be configured for different tasks, and the present application embodiment does not specifically limit this.

[0070] In addition, in some possible implementations, corresponding task tags may be pre-configured for each task in the shared service platform without collecting task tags according to the above implementation, and the embodiments of the present application do not limit this.

[0071] It is understandable that different task labels have different relevance to tasks. For example, the labels corresponding to the "live streaming" task include "live streaming" and "video". Obviously, the label "live streaming" has a strong relevance to the "live streaming" task, while the label "video" has a weaker relevance to the "live streaming" task. Therefore, after obtaining the task label corresponding to each task, the embodiment of the present application also needs to calculate the label weight of each task label corresponding to each task, and reflect the relevance between the task and the task label through the label weight.

[0072] In a possible implementation, the label weight of the task label can be characterized by term frequency-inverse document frequency (tf-idf), and the label weight calculation process includes the following steps.

[0073] Step S2011: According to the formula Calculate the word frequency tf of each task label corresponding to each task.

[0074] Among them, tf i,j The task label t i The word frequency in the jth task, n i,j The task label t i The number of times it appears in the jth task, ∑ k n k,j is the total number of words in the jth task.

[0075] Specifically, we can first count the word frequency of each task label corresponding to each task (in other parts of this article, the word frequency may also be referred to as "number"). In addition, in order to facilitate data processing, we can replace the task label with the task label index during the data statistics process, as shown in Table 2.

[0076] Table 2:

[0077]

[0078] Among them, TaskiTagjindex represents the tag index of the jth task tag in the i-th task, and the word frequency number corresponding to TaskiTagjindex represents the number of times the jth task tag in the i-th task appears in the i-th task, 1≤i≤n, 1≤j≤m. For example, (12,1) in Task1 is represented as: the tag index of the first task tag in the first task is 12, and the number of times the first task tag in the first task appears in the first task is 1.

[0079] After counting the word frequency of each task label corresponding to each task, the total number of words in each task can be counted, and the word frequency count can be divided by the total number of words to obtain the corresponding word frequency.

[0080] For example, in Table 2, the total number of words in Task 1 is 100, and the total number of words in Task 2 is 200. Then, by substituting the word frequency in Table 1 for the corresponding total number of words, the word frequency corresponding to each task label in each task can be obtained, as shown in Table 3.

[0081] Table 3:

[0082]

[0083]

[0084] Among them, the word frequency corresponding to TaskiTagjindex represents the word frequency of the jth task tag in the i-th task, 1≤i≤n, 1≤j≤m.

[0085] Step S2012: According to the formula Calculate the inverse document frequency (idf) of each task label corresponding to each task.

[0086] Among them, idf i The task label t i The reverse file frequency, |D| is the total number of tasks, |{j:t i ∈d i}| contains the task tag t i For example, in Table 3, n=10000, that is, the total number of tasks |D| is 10000, and 10 of the 10000 tasks have the first task label in Task1, then the idf of the first task label in Task1=lg(10000 / 10)=3. By analogy, the inverse document frequency idf of each task label corresponding to each task is calculated.

[0087] Step S2013: According to the formula tfidf i,j =tf i,j ×idfi Calculate the label weight tfidf for each task label corresponding to each task.

[0088] Among them, tfidf i,j The task label t i The label weight in the jth task.

[0089] Exemplarily, by multiplying the word frequency corresponding to each task label in each task in Table III by the corresponding inverse document frequency, the label weight tfidf corresponding to each task label in each task in Table III can be obtained, as shown in Table IV.

[0090] Table 4:

[0091]

[0092] Among them, the word frequency corresponding to TaskiTagjindex represents the tag weight of the jth task tag in the ith task, 1≤i≤n, 1≤j≤m. It can be understood that the larger the tag weight, the stronger the correlation between the tag and the task.

[0093] Furthermore, the task label index in Table IV is replaced with the corresponding task label, as shown in Table V.

[0094] Table 5:

[0095]

[0096]

[0097] It can be understood that the label weight corresponding to each task label in each task can be determined according to Table 5, and the label weight can reflect the correlation between the corresponding task and the task label. For example, the label weight 0.0073245626 corresponding to the first task label Task1Tag1 in the first task Task1 is used to characterize the correlation between Task1 and Task1Tag1.

[0098] It should be noted that in the process of calculating the label weight, the task label may not be replaced by the task label index, and the embodiment of the present application does not limit this.

[0099] Step S202: According to the tag weight, the task keyword corresponding to each task is screened out from the task tag corresponding to each task, and a first mapping relationship is established.

[0100] In the embodiment of the present application, the label weight is used to characterize the correlation between the corresponding task and the task label, and the larger the label weight, the stronger the correlation between the label and the task. Therefore, before the subsequent data processing, the task labels corresponding to each task can be screened for task labels with larger label weights, and task labels with smaller label weights can be eliminated to reduce the noise in the task labels.

[0101] Specifically, N2 task tags with the largest label weights can be screened out from the task tags corresponding to each of the tasks. For ease of explanation, the N2 task tags with the largest label weights are called task keywords, and N2 ≥ 1. Taking Table 5 as an example, N2 task tags with the largest label weights are screened out in the first task Task1, and N2 task tags with the largest label weights are screened out in the second task Task2, and so on, and N2 task tags with the largest label weights are screened out in each task. It should be pointed out that the embodiment of the present application does not limit the specific number of N2. For example, N2 can be 8, 12, 23, etc., and those skilled in the art can make corresponding settings according to the number of task tags.

[0102] After filtering out the task keywords in the task tags, a mapping relationship between the tasks, task keywords and keyword weights can be established. For ease of explanation, this mapping relationship is referred to as the first mapping relationship. Among them, the keyword weight of the task keyword is the same as the tag weight of the task tag corresponding to the task keyword. For example, in Table 5, the first task tag Task1Tag1 in the first task Task1 is determined as the task keyword Task1Tag1, wherein the tag weight corresponding to the task tag Task1Tag1 is the keyword weight corresponding to the task keyword Task1Tag1.

[0103] In a possible implementation, after filtering out the task keywords in the task tag, a task-task keyword-keyword weight list can be established according to the tasks, task keywords and keyword weights, as shown in Table VI.

[0104] Table 6:

[0105]

[0106] Among them, each task corresponds to N2 task keywords, TaskiKeyj represents the jth task keyword in the i-th task, and the tfidf corresponding to TaskiKeyj represents the keyword weight corresponding to the jth task keyword in the i-th task, 1≤i≤n, 1≤j≤N2.

[0107] It can be understood that the task-task keyword-keyword weight list can reflect the mapping relationship from task to task keyword and keyword weight, that is, the task portrait.

[0108] Furthermore, the task-task keyword-keyword weight list is transformed (the transformation may be an inverted index), as shown in Table VII.

[0109] Table 7:

[0110] Task Keywords Task, keyword weight Key1 (Key1Task1, tfidf), (Key1Task2, tfidf),… Key2 (Key2Task1, tfidf), (Key2Task2, tfidf),… …… …… KeyN2 (KeyN2Task1,tfidf), (KeyN2Task2,tfidf),…

[0111] Among them, Keyi represents the i-th task keyword, KeyiTaskj represents the j-th task corresponding to the i-th task keyword, and 1≤i≤N2. It should be pointed out that in Tables 6 and 7, the keyword weights corresponding to the same task and task keyword are the same.

[0112] It can be understood that the task keyword-task-keyword weight list can reflect the mapping relationship from task keywords to tasks and keyword weights.

[0113] Step S203: searching for the target task in the first mapping relationship according to the freelancer's freelancer keyword, and establishing a second mapping relationship.

[0114] In one possible implementation, the attribute data and behavior data of freelancers can be collected first. Among them, the attribute data is used to characterize the attributes of the freelancers themselves, for example, the demographic information (gender, age, education, city / region, part-time / full-time, etc.) filled in by freelancers when registering on the sharing service platform; or, the label information that the freelancers fill in when registering on the sharing service platform that matches their own skills. Behavioral data is data associated with tasks. For example, behavioral data can include task information such as searches, clicks, length of stay, favorites, disinterest, collection, and delivery by freelancers. In a specific implementation, behavioral data can be collected by means of embedded logs.

[0115] See also Figure 3 , is a system framework diagram of a shared service platform provided in an embodiment of the present application. Figure 3As shown, the shared service platform includes a freelancer attribute data system, a freelancer behavior data system, a recommendation system, a freelancer terminal and a log system. Among them, when a freelancer logs in to the shared service platform through a freelancer terminal to operate, corresponding behavior data will be generated, such as searching, clicking, collecting, receiving, and delivering tasks. The log system can collect the behavior data and save the behavior collection to the freelancer behavior data system. In addition, the freelancer attribute data system stores the attribute information of the freelancer, and the attribute information can be the information filled in when the freelancer registers in the shared service platform. The recommendation system can recommend matching tasks to the freelancer based on the attribute data in the freelancer attribute data system and the behavior data in the freelancer behavior data system to improve the work quality of the freelancer. It can be understood that if the freelancer receives the task he is interested in, the task completion will be better. In addition, if the freelancer can often find suitable tasks and complete them successfully, it will enhance the self-confidence of the freelancer and attract the freelancer to continue to do more tasks, which can retain more talents for the shared service platform. The task recommendation process of the recommendation system is described in detail below.

[0116] In one possible implementation, the tasks associated with the freelancer can be determined based on the freelancer's behavioral data. Exemplarily, the behavioral data is the tasks that the freelancer has collected, received, and delivered, and the tasks associated with the freelancer are the tasks that the freelancer has collected, received, and delivered. After obtaining the tasks associated with the freelancer, the task keywords corresponding to the tasks associated with the freelancer can be searched in the task-task keyword-keyword weight list based on the tasks associated with the freelancer. Taking Table 6 above as an example, the tasks associated with the freelancer are Task 1 and Task 2 in Table 6, and the task keywords corresponding to the tasks associated with the freelancer are all task keywords corresponding to Task 1 and Task 2.

[0117] In a possible implementation, all task keywords found in the task-task keyword-keyword weight list can be used as freelancer keywords. Also taking the above Table 6 as an example, all task keywords corresponding to Task 1 and Task 2 in Table 6 are used as freelancer keywords.

[0118] In another possible implementation, after finding the task keywords corresponding to the tasks associated with the freelancer in the task-task keyword-keyword weight list, statistical analysis is performed, and the task keywords corresponding to the tasks associated with the freelancer whose repetition times are greater than or equal to a preset repetition threshold are used as freelancer keywords. The embodiment of the present application does not limit the repetition threshold, for example, it can be 3, 4, 5, 7, etc.

[0119] Among them, the freelancer keywords corresponding to the freelancer are the freelancer portraits. It can be understood that the more repetitions there are in the task keywords corresponding to the tasks associated with the freelancer, the stronger the correlation with the freelancer. By comparing the results with the repetition threshold and screening the task keywords, we can retain the task keywords with more repetitions and remove the task keywords with fewer repetitions, reduce noise, and ensure that the freelancer keywords have a good correlation with the freelancer.

[0120] In a possible application scenario, the sharing service platform may only have attribute data of freelancers, but no behavior data of freelancers or only a small amount of behavior data of freelancers. For example, for freelancers newly registered in the sharing service platform, the sharing service platform can only collect the attribute data of freelancers. In this case, it will be impossible to determine the freelancer keywords based on the behavior data of freelancers.

[0121] To address this problem, the embodiments of the present application may expand the behavior data of the freelancers based on their attribute data, or expand the keywords of the freelancers.

[0122] Exemplarily, freelancer A only has attribute data, and based on the attribute data of freelancer A, freelancer B associated with freelancer A can be determined, and the associated freelancer B can be a freelancer with similar attributes to freelancer A. Furthermore, the behavior data of freelancer B can be used as the behavior data of freelancer A to expand the behavior data of freelancer A. Further, freelancer A can use the above method to determine the freelancer keywords of freelancer A based on the expanded behavior data. In a specific implementation, the attribute data of the freelancer can be used as a clustering label, and all freelancers can be clustered through a clustering algorithm to find freelancer B associated with freelancer A; or the attribute data of the freelancer can be used as an association label, and all freelancers can be associated calculated through an association algorithm to find freelancer B associated with freelancer A. The embodiment of the present application does not limit the specific algorithm.

[0123] It should be noted that the number of freelancers B associated with freelancer A may be one or more. When there are multiple freelancers B associated with freelancer A, the behavior data of the multiple freelancers B may be used as the behavior data of freelancer A. Alternatively, statistical analysis is performed on the behavior data of the multiple freelancers B, and the one or more behavior data with the most occurrences are used as the behavior data of freelancer A.

[0124] Exemplarily, freelancer A only has attribute data, and freelancer B associated with freelancer A can be determined based on the attribute data of freelancer A, and the associated freelancer B can be a freelancer with similar attributes to freelancer A. Furthermore, the freelancer keyword of freelancer B can be used as the freelancer keyword of freelancer A to achieve the expansion of the freelancer keyword of freelancer A. That is to say, in the embodiment of the present application, freelancer A directly expands the freelancer keyword of freelancer B associated with it into its own freelancer keyword. Compared with the above-mentioned "extended behavior data" method, this implementation method can reduce the amount of data calculation and save system resources. In a specific implementation, the attribute data of the freelancer can be used as a clustering label, and all freelancers can be clustered through a clustering algorithm to find freelancer B associated with freelancer A; or the attribute data of the freelancer can be used as an association label, and all freelancers can be associated through an association algorithm. Calculation, find freelancer B associated with freelancer A. The embodiment of the present application does not limit the specific algorithm.

[0125] It should be noted that the number of freelancers B associated with freelancer A may be one or more. When there are multiple freelancers B associated with freelancer A, the freelancer keywords of the multiple freelancers B may be used as the freelancer keywords of freelancer A. Alternatively, the freelancer keywords of the multiple freelancers B are statistically analyzed, and the one or more freelancer keywords with the most occurrences are used as the freelancer keywords of freelancer A.

[0126] In addition, in some possible implementations, corresponding freelancer keywords may be pre-configured for each freelancer in the sharing service platform without obtaining the freelancer keywords according to the above implementation method. This embodiment of the present application does not limit this.

[0127] After obtaining the freelancer keywords, the target task can be searched in the task keyword-task-keyword weight list according to the freelancer keywords. The target task is the task corresponding to the task keyword that matches the freelancer keywords. Among them, the task keyword that matches the freelancer keyword can be a task keyword that is the same or similar to the freelancer keyword. Exemplarily, freelancer keyword A is "live broadcast", and task keyword A is also "live broadcast", then task keyword A is the task keyword that matches freelancer keyword A. Taking Table 7 above as an example, the task keywords that match the freelancer keywords are Key1 and Key2 in Table 7, then the tasks corresponding to Key1 and Key2 in Table 7 are used as the target tasks of the freelancer.

[0128] Since one target task may correspond to multiple freelancer keywords, a target task-freelancer keyword-keyword weight list may be established according to the target task, as shown in Table 8. It can be understood that the target task-freelancer keyword-keyword weight list is the second mapping relationship.

[0129] Table 8:

[0130] Objectives and tasks Freelancer keywords, keyword weight TASK1 (TASK1Key1,tfidf), (TASK1Key2,tfidf),… TASK2 (TASK2Key1,tfidf), (TASK2Key2,tfidf),… …… …… TASKN3 (TASKN3Key1,tfidf), (TASKN3Key2,tfidf),…

[0131] Among them, TASKiKeyj represents the j-th freelancer keyword in the i-th target task, and the tfidf corresponding to TASKiKeyj represents the keyword weight corresponding to the j-th freelancer keyword in the i-th target task, 1≤i≤N3.

[0132] Step S204: Calculate the weight accumulation value of each target task in the second mapping relationship, where the weight accumulation value is the accumulation value of the keyword weights of all freelancer keywords corresponding to the target task.

[0133] Taking Table 8 as an example, calculate the weight cumulative value of the target task TASK1 (accumulate the keyword weights of all freelancer keywords corresponding to TASK1), calculate the weight cumulative value of the target task TASK2 (accumulate the keyword weights of all freelancer keywords corresponding to TASK2), and so on, to complete the calculation of the weight cumulative value of each target task.

[0134] Step S205: Send N1 target tasks with the highest accumulated weight values ​​to the freelancers.

[0135] In the embodiment of the present application, the weight accumulation value can reflect the relevance between the target task and the freelancer. The higher the weight accumulation value of the target task, the higher the relevance to the freelancer. Therefore, in the embodiment of the present application, N1 target tasks with the highest weight accumulation values ​​are selected from the target tasks and recommended to the freelancer. Among them, N1≥1, illustratively, N1 can be 1, 2, 3, etc., and the embodiment of the present application does not limit its value.

[0136] Taking the above Table 8 as an example, if N3=5 in Table 8, there are 5 target tasks in total. Calculate the weight accumulation values ​​of the 5 target tasks, and sort the 5 target tasks from large to small, which are TASK3, TASK1, TASK5, TASK4, and TASK2. When N1=2, select the 2 target tasks with the highest weight accumulation values ​​from the 5 target tasks, that is, select TASK3 and TASK1, and recommend TASK3 and TASK1 to the freelancer.

[0137] In an embodiment of the present application, freelancer task recommendations are performed based on a collaborative filtering recommendation algorithm, and the tasks recommended to freelancers have a good correlation with the freelancers, thereby improving the work quality of freelancers and retaining more talents for the shared service platform.

[0138] Specifically, when there is no behavioral data or sparse behavioral data for a freelancer, the behavioral data or freelancer keywords of the freelancer can be expanded through the behavioral data or freelancer keywords of other freelancers, which can alleviate the problems of cold start and data sparsity to a certain extent. In addition, in this application, the freelancer keywords are mainly determined based on the behavioral data of the freelancer. Since the behavioral data is the data collected and reported by the shared service platform through the buried log, it is more accurate and less prone to errors (relative to the attribute data filled in by the freelancer himself, it may be wrongly selected and filled in due to the negligence of the freelancer).

[0139] For ease of understanding, the freelancer task recommendation method provided in the embodiment of the present application is summarized below in conjunction with the system framework diagram of the shared service platform.

[0140] See also Figure 4 , is a system framework diagram of another sharing service platform provided in the embodiment of the present application. Figure 4As shown, the shared service platform includes a user behavior database and a user attribute database, wherein the user behavior database stores the behavior data of freelancers, and the user attribute database stores the attribute data of freelancers. The shared service platform can perform behavior extraction in the user behavior database to obtain the behavior data of freelancers, and then process the extracted behavior data of freelancers through feature engineering to obtain the feature vector of the freelancer, that is, the portrait of the freelancer. It can be understood that the feature vector of the freelancer is the freelancer keyword described in the above embodiment. Among them, for freelancers who have no behavior data or less behavior data, their behavior data can also be expanded through the attribute data in the user attribute database, or the freelancer keywords can be expanded to obtain the feature vector.

[0141] After obtaining the feature vector of the freelancer, feature-task recommendation can be performed based on the feature vector to obtain the initial recommendation result, that is, in the above embodiment, the target task is searched in the task keyword-task-keyword weight list based on the freelancer keyword, and the target task corresponding to each freelancer keyword and the keyword weight of the freelancer keyword corresponding to each target task are obtained. Further, the weight accumulation value of each target task can be calculated, that is, the accumulation value of the keyword weights of all freelancer keywords corresponding to the target task, and the target tasks with lower weight accumulation values ​​can be filtered out to obtain the ranking of one or more target tasks with the highest weight accumulation value, and the one or more target tasks with the highest weight accumulation value are used as the final recommendation result and recommended to the freelancer.

[0142] After the target task is recommended to the freelancer, user behavior feedback information and task attribute information can be collected. Among them, user behavior feedback information refers to statistics from the dimension of "people" to see whether the freelancer is interested in the recommended target task. Specifically, user behavior information can be whether the freelancer views the target task after the target task is recommended to the freelancer, the reading time of the target task, etc. Task attribute information refers to statistics from the dimension of "task" to see whether the freelancer is interested in the recommended target task. Specifically, task attribute information can include whether the task has been collected, received, delivered, etc.

[0143] It can be understood that after obtaining user feedback information and task attribute information, the recommendation result evaluation can be performed based on the user feedback information and task attribute information to determine whether the recommended target task is a task that the freelancer is interested in.

[0144] Corresponding to the above embodiment, the present application also provides an electronic device. It can be understood that the electronic device can be Figure 1 The server shown.

[0145] See also Figure 5, is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 5 As shown, the electronic device 500 may include: a processor 510, a memory 520 and a communication unit 530. These components communicate via one or more buses. Those skilled in the art will appreciate that the server structure shown in the figure does not limit the embodiments of the present invention. It may be a bus structure or a star structure, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0146] The communication unit 530 is used to establish a communication channel so that the storage device can communicate with other devices, receive user data sent by other devices or send user data to other devices.

[0147] The processor 510 is the control center of the storage device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs and / or modules stored in the memory 520, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of a plurality of packaged ICs with the same or different functions. For example, the processor 510 can include only a central processing unit (CPU). In an embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.

[0148] The memory 520 is used to store the execution instructions of the processor 510. The memory 520 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0149] When the execution instructions in the memory 520 are executed by the processor 510, the electronic device 500 is enabled to execute part or all of the steps in the above method embodiments.

[0150] In a specific implementation, the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the calling method provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0151] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention or some parts of the embodiments.

[0152] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.

[0153] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0154] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features disclosed herein.

[0155] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.

[0156] The above-described embodiments of the present application do not constitute a limitation on the protection scope of the present application.

Claims

1. A method for recommending tasks for freelancers, characterized in that: include: Calculate the label weight of each task label corresponding to each task, where the label weight is used to characterize the correlation between the corresponding task and the task label; According to the label weight, a task keyword corresponding to each task is screened out from the task label corresponding to each task, and a first mapping relationship is established, wherein the first mapping relationship is a mapping relationship between the task, the task keyword and the keyword weight, and the keyword weight of the task keyword is the same as the label weight of the task label corresponding to the task keyword; Searching for a target task in the first mapping relationship according to the freelancer's freelancer keyword, and establishing a second mapping relationship, wherein the second mapping relationship is a mapping relationship between the target task, the freelancer keyword, and the keyword weight, wherein the target task and keyword weight corresponding to the freelancer keyword in the second mapping relationship are the same as the task and keyword weight corresponding to the matching task keyword in the first mapping relationship; Calculating a weight accumulation value of each target task in the second mapping relationship, where the weight accumulation value is a cumulative value of keyword weights of all freelancer keywords corresponding to the target task; Sending N1 target tasks with the highest accumulated weight values ​​to the freelancer, where N1≥1.

2. The method according to claim 1, characterized in that Before calculating the label weight of each task label corresponding to each task, the method includes: The initial task labels corresponding to each task are deduplicated to obtain the task labels corresponding to each task.

3. The method according to claim 1 or 2, characterized in that: The step of calculating the label weight of each task label corresponding to each task includes: According to the formula Calculate the word frequency tf of each task label corresponding to each task, where tf i,j The task label t i The word frequency in the jth task, n i,j The task label t i The number of times it appears in the jth task, ∑ k n k,j is the total number of words in the jth task; According to the formula Calculate the inverse document frequency (idf) of each task label corresponding to each task, where idf i The task label t i The reverse file frequency, |D| is the total number of tasks, |{j:t i ∈d i }| contains the task tag t i The number of tasks; According to the formula tfidf i,j =tf i,j ×idf i Calculate the label weight tfidf of each task label corresponding to each task, where tfidf i,j The task label t i The label weight in the jth task.

4. The method according to claim 1, characterized in that The step of filtering out the task keywords corresponding to each task from the task tags corresponding to each task according to the tag weights includes: N2 task tags with the largest tag weights are screened out from the task tags corresponding to each of the tasks, and the N2 task tags with the largest tag weights are used as task keywords corresponding to the tasks, N2≥1.

5. The method according to claim 1, characterized in that The establishing of the first mapping relationship comprises: According to the task, the task keyword and the keyword weight, a task-task keyword-keyword weight list is established, wherein the task-task keyword-keyword weight list is used to characterize the mapping of the task to the task keyword and the keyword weight; The task-task keyword-keyword weight list is transformed to obtain a task keyword-task-keyword weight list, wherein the task keyword-task-keyword weight list is used to characterize the mapping of the task keyword to the task and the keyword weight.

6. The method according to claim 5, characterized in that Searching for a target task in the first mapping relationship according to the freelancer keyword of the freelancer to establish a second mapping relationship includes: According to the freelancer keyword of the freelancer, searching for a target task in the task keyword-task-keyword weight list, the target task being a task corresponding to the task keyword matching the freelancer keyword; According to the target task, a target task-freelancer keyword-keyword weight list is established, and the target task-freelancer keyword-keyword weight list is used to characterize the mapping of the target task to the freelancer keyword and the keyword weight.

7. The method according to claim 6, characterized in that Before searching for the target task in the task keyword-task-keyword weight list according to the freelancer keyword of the freelancer, the method further includes: Collecting behavioral data of the freelancer, wherein the behavioral data is data associated with the task; Determining tasks associated with the freelancer based on the behavior data of the freelancer; According to the task associated with the freelancer, searching the task-task keyword-keyword weight list for a task keyword corresponding to the task associated with the freelancer; A freelancer keyword of the freelancer is determined according to a task keyword corresponding to the task associated with the freelancer.

8. The method according to claim 7, characterized in that The step of determining the freelancer keyword of the freelancer according to the task keyword corresponding to the task associated with the freelancer includes: Counting task keywords corresponding to the tasks associated with the freelancer; Among the task keywords corresponding to the tasks associated with the freelancer, the task keywords whose repetition times are greater than or equal to a preset repetition times threshold are used as freelancer keywords.

9. The method according to claim 1, characterized in that: Before calculating the label weight of each task label corresponding to each task, the method further includes: Collect the task tags associated with each task.

10. The method according to claim 8, characterized in that The task tags associated with each task are collected, including: Collect freelancer's tagging information for tasks, system tags for tasks and / or description information of tasks; A task tag associated with each task is determined according to the freelancer's marking information for the task, the system tag of the task and / or the description information of the task.

11. An electronic device, characterized in that: include: processor; Memory; And a computer program, wherein the computer program is stored in the memory, and the computer program includes instructions, and when the instructions are executed by the electronic device, the electronic device executes the method according to any one of claims 1 to 10.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Software recommendation method and system

    CN112232773A

  • Incoming employee portrait generation method and device, computer equipment and storage medium

    CN113627797A

  • Goods / service recommendation with data security

    US10885550B1

  • KR20200045917A