Civil aviation-oriented candidate item priority score adjustment method, equipment and medium
By obtaining the target user's associated factor set and processing the text of the candidate adjustment rules with a large language model, the candidate priority scores are automatically adjusted. This solves the problem of cumbersome and subjective reliance on candidate priority adjustment in the civil aviation recommendation system, and achieves efficient and accurate candidate priority score adjustment.
Patent Information
- Application Number
- CN202511309342.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-15
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2045-09-15
AI Technical Summary
In the existing civil aviation recommendation system, the adjustment process of candidate priority scores is cumbersome and relies on subjective judgment, lacking objective basis, resulting in high labor costs and low efficiency.
By obtaining the target user's associated factor set, using a large language model to process the question text of the candidate adjustment rules, automatically adjusting the priority scores of the candidate items, and combining the target push score matrix and score adjustment method, intelligent adjustment of the candidate item priority is achieved.
It realizes the automatic and intelligent adjustment of candidate priority scores, improves the accuracy of scores, reduces manual maintenance costs, and significantly improves data processing efficiency.
Smart Images

Figure CN120833076A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data processing, in particular to a candidate item priority score adjustment method, device and medium for civil aviation. BACKGROUND
[0002] The existing civil aviation recommendation system usually sorts the recommendation order of candidate item related information according to the priority score of the candidate item, and preferentially displays the candidate item related information corresponding to the candidate item with a higher priority score, so as to improve the user interaction efficiency and the recommendation effect. In the prior art, the method for determining and adjusting the priority score of the candidate item usually depends on the user data or the personalized behavior data of the user collected in a historical time period to obtain the initial priority score of the candidate item, and then relevant personnel manually adjust the initial priority score of part of the candidate items according to actual demand, experience and strategy to obtain the target priority score of the candidate item. However, the process of manually adjusting the initial priority score of part of the candidate items is tedious and time-consuming, and is easily affected by subjective judgment and lacks objective basis. In addition, maintaining a large number of priority adjustment rules also requires a large amount of human cost. SUMMARY
[0003] In view of the above technical problems, the technical scheme adopted by the present application is as follows: According to a first aspect of the present application, a candidate item priority score adjustment method for civil aviation is provided, which comprises the following steps: S1, for each influencing factor, if the first target user data corresponding to the influencing factor meets the matching condition corresponding to the influencing factor, the influencing factor is taken as an associated factor corresponding to the target user Y to obtain a set of associated factors F corresponding to Y.
[0004] S2, obtaining a target push score matrix D corresponding to Y, the element on the ith row and jth column in D is the target push score of the ith influencing factor to the jth candidate item; 1≤i≤m; 1≤j≤n; m is the number of influencing factors; n is the number of candidate items.
[0005] S3, for each candidate item, the sum of the target push scores of all associated factors in F to the candidate item is taken as the priority score corresponding to the candidate item.
[0006] S4, for each candidate adjustment rule in a plurality of candidate adjustment rules, obtaining a data set corresponding to the candidate adjustment rule, the data set comprising a question text, at least one influencing factor, at least one candidate item and a score adjustment mode.
[0007] S5, for each candidate adjustment rule, if all the influencing factors corresponding to the candidate adjustment rule are included in F, inputting the question text corresponding to the candidate adjustment rule into a large language model to obtain a decision result J corresponding to the question text.
[0008] S6, if J is the first type of result, adjusting the priority score corresponding to each candidate item according to the score adjustment mode corresponding to the candidate adjustment rule corresponding to J, to obtain the target priority score corresponding to each candidate item; the first type of result indicates that the priority of the candidate item corresponding to the candidate adjustment rule needs to be adjusted.
[0009] According to a second aspect of the present application, a non-transitory computer readable storage medium is provided, the storage medium storing a computer program, the computer program being loaded and executed by a processor to implement the method described above.
[0010] According to a third aspect of the present application, an electronic device is provided, comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the processor executing the computer program to implement the method described above.
[0011] The present application has at least the following beneficial effects: The embodiments of the present application provide a candidate item priority score adjustment method, device and medium for civil aviation. In the method, for each influencing factor, if the first target user data corresponding to the influencing factor meets the matching condition corresponding to the influencing factor, the influencing factor is taken as an associated factor corresponding to a target user to obtain an associated factor set corresponding to the target user; a target push score matrix corresponding to the target user is obtained; for each candidate item, the sum of the target push scores of the candidate item by all associated factors in the associated factor set is taken as the priority score corresponding to the candidate item; a data set corresponding to a candidate adjustment rule is obtained, the data set including a question text, at least one influencing factor, at least one candidate item and a score adjustment mode; for each candidate adjustment rule, if all influencing factors corresponding to the candidate adjustment rule are included in the associated factor set, the question text corresponding to the candidate adjustment rule is input into a large language model to obtain a decision result corresponding to the question text; if the decision result is a first type of result, the priority scores corresponding to all candidate items corresponding to the candidate adjustment rule are adjusted according to the score adjustment mode corresponding to the candidate adjustment rule corresponding to the decision result, to obtain a target priority score corresponding to each candidate item. It can be seen that the present application only takes the influencing factor as the associated factor when the first target user data meets the matching condition corresponding to the influencing factor, which can avoid the interference of irrelevant factors; the priority score corresponding to the candidate item is obtained based on the target push score of the candidate item by the associated factor, the adjustment of the priority score is realized through the large language model, the automatic and intelligent adjustment of the priority score of the candidate item is realized, the accuracy of the target priority score is improved, the artificial maintenance cost is effectively reduced, and the data processing efficiency is significantly improved. BRIEF DESCRIPTION OF DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiment description. Obviously, the drawings in the following description only show some embodiments of the present application, and all other drawings obtained by those skilled in the art without creative effort based on these drawings also belong to the protection scope of the present application.
[0013] Figure 1 The flow chart of the candidate item priority score adjustment method for civil aviation provided by the embodiment of the present application. DETAILED DESCRIPTION
[0014] The technical solutions in the embodiments of the present application will be described clearly and completely in the following with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative effort also belong to the protection scope of the present application.
[0015] It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or server including a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0016] The embodiments of the present application provide a candidate item priority score adjustment method for civil aviation, which comprises the following steps, as shown in the figure. Figure 1 S1, for each influencing factor, if the first target user data corresponding to the influencing factor meets the matching condition corresponding to the influencing factor, the influencing factor is taken as the associated factor corresponding to the target user Y to obtain the associated factor set F corresponding to Y.
[0017] Specifically, the influencing factor is a factor affecting the push order of related information of the candidate item, for example: hotel preference, car preference, bad weather, browsing preference, ticket preference, evening peak, flight itinerary containing car top 10 cities, etc.
[0018] Specifically, the candidate item is an item that may be recommended or displayed to the user, for example: commodity, article, video, service, etc.
[0019] Specifically, the first target user data is obtained based on a data acquisition rule corresponding to a matching condition of the influence factor.
[0020] Specifically, the first target user data is obtained based on a data acquisition rule corresponding to a matching condition of the influence factor, and specifically includes: For each influence factor, the first target user data corresponding to the influence factor is obtained from all data related to Y according to the data acquisition rule corresponding to the matching condition of the influence factor.
[0021] Specifically, the influence factor, the matching condition corresponding to the influence factor, and the data acquisition rule corresponding to the matching condition are stored in a first data configuration table corresponding to the influence factor. The first data configuration table is a configuration table pre-set by a person skilled in the art according to actual needs, and includes each influence factor, each matching condition corresponding to each influence factor, and a data acquisition rule corresponding to each matching condition. For example, the influence factor is adverse conditions, the matching condition corresponding to the influence factor is that the current weather type is any one of snow, freezing, low temperature, gale, blowing sand, and heavy rain, and the data acquisition rule corresponding to the matching condition is to obtain the weather type of the arrival place of the current trip at the trip arrival time point.
[0022] In this embodiment, not all influence factors will affect the priority of the candidate. For example, the influence factor is adverse weather, but the departure place, arrival place, and passing place of the current trip of the target user do not have adverse weather, so the influence factor will not affect the priority of the candidate. Through the above steps, only when the first target user data meets the matching condition corresponding to the influence factor, the influence factor is used as the associated factor, which can avoid the interference of irrelevant factors.
[0023] S2, obtain a target push score matrix D corresponding to Y. The element on the ith row and jth column in D is the target push score of the ith influence factor to the jth candidate; 1≤i≤m; 1≤j≤n; m is the number of influence factors; n is the number of candidates.
[0024] S3, for each candidate, the sum of the target push scores of all associated factors in F to the candidate is added to obtain the priority score corresponding to the candidate.
[0025] In one specific embodiment, the larger the priority score of the candidate, the higher the candidate priority corresponding to the candidate.
[0026] Further, the candidate priority is used to determine the push order of the related information of the candidate. The related information of the candidate with high candidate priority is preferentially pushed to M.
[0027] S4. For each of the plurality of candidate adjustment rules, obtain a data set corresponding to the candidate adjustment rule, the data set comprising a question text, at least one influencing factor, at least one candidate item, and a score adjustment manner.
[0028] Specifically, the candidate adjustment rule is determined by a person skilled in the art according to actual needs, for example, a ride service enhancement recommendation rule.
[0029] Specifically, the question text comprises an inquiry text, and the inquiry text is a text for clarifying a decision target and is set by a person skilled in the art according to the candidate adjustment rule, for example, when the candidate adjustment rule is a ride service enhancement recommendation rule, the inquiry included in the question text is whether to adjust the priority score of the candidate item related to the ride service.
[0030] Specifically, the question text further comprises a prompt text, and the prompt text is used to guide the large language model to obtain information related to the decision target corresponding to the inquiry text, to help the large language model understand which external data should be collected for auxiliary judgment, for example, please consider the current user's geographic location, local ride policies, whether there are major events or holidays, and other factors to comprehensively determine whether the priority score of the candidate item related to the ride service needs to be enhanced.
[0031] Specifically, after receiving the question text, the large language model automatically calls external data sources such as weather APIs, map APIs, and local databases to integrate and infer information and output a decision result corresponding to the question text.
[0032] Further, the corresponding relationship between the candidate adjustment rule and the influencing factor and the corresponding relationship between the candidate adjustment rule and the candidate item are determined by a person skilled in the art according to actual needs, for example, when the candidate adjustment rule is a ride service enhancement recommendation rule, the influencing factor corresponding to the candidate adjustment rule is a flight itinerary containing top 10 cities for ride and evening peak, and the candidate item corresponding to the candidate adjustment rule is a vehicle reservation service, real-time traffic information push service, and carpooling service.
[0033] Further, the score adjustment manner corresponding to the candidate adjustment rule is an adjustment manner set by a person skilled in the art according to the candidate adjustment rule, for example, when the candidate adjustment rule is a ride service enhancement recommendation rule, the score adjustment manner corresponding to the candidate adjustment rule is to adjust the priority score to 100, to adjust the priority score to 90, and the like.
[0034] S5, for each candidate adjustment rule, if all influencing factors corresponding to the candidate adjustment rule are included in F, input the problem text corresponding to the candidate adjustment rule into the large language model to obtain a decision result J corresponding to the problem text.
[0035] S6, if J is a first type of result, adjust the priority score corresponding to all candidate items corresponding to the candidate adjustment rule according to the score adjustment mode corresponding to the candidate adjustment rule corresponding to J to obtain a target priority score corresponding to each candidate item; the first type of result indicates that the priority of the candidate item corresponding to the candidate adjustment rule needs to be adjusted.
[0036] Specifically, the decision result also includes a second type of result, and the second type of result indicates that the priority of the candidate item corresponding to the candidate adjustment rule does not need to be adjusted.
[0037] Specifically, the larger the target priority score of the candidate item is, the higher the priority of the candidate item corresponding to the candidate item is.
[0038] Through the above steps, for each influencing factor, if the first target user data corresponding to the influencing factor satisfies the matching condition corresponding to the influencing factor, the influencing factor is taken as an associated factor corresponding to the target user to obtain an associated factor set corresponding to the target user; a target push score matrix corresponding to the target user is obtained; for each candidate item, the sum of the target push scores of all associated factors in the associated factor set on the candidate item is taken as the priority score corresponding to the candidate item; a data set corresponding to the candidate adjustment rule is obtained, the data set includes a problem text, at least one influencing factor, at least one candidate item, and a score adjustment mode; for each candidate adjustment rule, if all influencing factors corresponding to the candidate adjustment rule are included in the associated factor set, input the problem text corresponding to the candidate adjustment rule into the large language model to obtain a decision result corresponding to the problem text; if the decision result is a first type of result, adjust the priority score corresponding to all candidate items corresponding to the candidate adjustment rule according to the score adjustment mode corresponding to the candidate adjustment rule corresponding to the decision result to obtain a target priority score corresponding to each candidate item; only when the first target user data satisfies the matching condition corresponding to the influencing factor, the influencing factor is taken as the associated factor, which can avoid the interference of irrelevant factors; the priority score corresponding to the candidate item is obtained based on the target push score of the associated factor on the candidate item, the adjustment of the priority score is realized through the large language model, the automatic and intelligent adjustment of the priority score of the candidate item is realized, the accuracy of the target priority score is improved, the artificial maintenance cost is effectively reduced, and the data processing efficiency is significantly improved.
[0039] Specifically, the following substeps are included in step S2: S21, obtain a basic push score matrix A from a historical data set L; an element a on an i-th row and a j-th column in A ij is the i-th influencing factor X i is the j-th candidate H j ; L includes all data related to each candidate collected in a historical time period, such as clicks, browsing, collection, purchase, rating, search, behavior occurrence time, geographic location, device type, network environment, age, gender, occupation, likes, collection, etc.
[0040] Specifically, -10≤a ij ≤10.
[0041] Further, the larger a ij is, the greater the influence of X i on H j .
[0042] Specifically, the end time point of the historical time period is earlier than the current time point, and the length of the historical time period is a preset first length.
[0043] Specifically, step S21 includes steps S211-S212 as follows: S211, input the historical data set into a g-th preset recommendation model to obtain an initial push score W i of X j on H g , 1≤g≤h, h is the number of preset recommendation models. ij
[0044] Specifically, -10≤W g ij ≤10.
[0045] Specifically, the preset recommendation model is a recommendation model determined in advance from existing recommendation models, and different preset recommendation models use different recommendation algorithms, such as a content-based preset recommendation model, a collaborative filtering-based recommendation model, and a rule-based recommendation model.
[0046] S212, obtain a g ij based on W ij , a ij satisfies the following condition: a ij =∑ h g=1 (V g ×W g ij ), V g is a preset importance weight corresponding to the g-th preset recommendation model.
[0047] Specifically, ∑ h g=1 V g = 1.
[0048] Through the above steps, the initial push score is obtained according to the historical data set and the preset recommendation model, and the basic push score is obtained based on the preset importance weight corresponding to the recommendation model and the initial push score. Multi-model fusion avoids the deviation of a single model, and is beneficial to improve the accuracy of the obtained basic push score.
[0049] In one specific embodiment, a person skilled in the art can obtain the basic push score of each influencing factor on each candidate item in other ways, for example: setting the basic push score of each influencing factor on each candidate item according to experience, system prior knowledge or expert knowledge of an expert.
[0050] S22, obtaining a value adjustment weight matrix C corresponding to Y according to a second target user data set corresponding to the preset behavior item, a judgment condition corresponding to the preset behavior item and a user tag corresponding to Y; an element c ij for a ij corresponding value adjustment weight; the second target user data set includes n second target user data corresponding to the candidate item one by one.
[0051] Specifically, the second target user data is obtained based on a data acquisition rule corresponding to the preset behavior item.
[0052] Specifically, 0 ≤ c ij ≤ 10.
[0053] Specifically, the preset behavior item and the judgment condition corresponding to the preset behavior item are behavior items and judgment conditions pre-set by a person skilled in the art according to actual needs, for example: the preset behavior item is exposure, and the judgment condition corresponding to the preset behavior item is: no click for ten times of exposure, no click for five times of exposure; or the preset behavior item is a first exposure click ratio and a second exposure click ratio, the judgment condition corresponding to the first exposure click ratio is: the ratio of the number of exposures to the number of clicks is 0.3-0.5, and the judgment condition corresponding to the second exposure click ratio is: the ratio of the number of exposures to the number of clicks is 0.6-0.8.
[0054] Further, the number of preset behavior items is not less than 1.
[0055] Specifically, the number of judgment conditions corresponding to the preset behavior item is not less than 1.
[0056] Specifically, the number of user tags corresponding to Y is not less than 1.
[0057] Specifically, the second target user data is obtained based on a data acquisition rule corresponding to the preset behavior item, and specifically includes the following steps S01-S02. S01, for each preset behavior item, obtain a data acquisition time period corresponding to the preset behavior item, the end time point of the data acquisition time period is the current time point, and the length of the data acquisition time period is a preset length corresponding to the preset behavior item.
[0058] Preferably, the end time point of the historical time period is earlier than the start time point of the data acquisition time period corresponding to any one of the preset behavior items.
[0059] S02, according to the data acquisition rule corresponding to the preset behavior item, from all the data collected in the data acquisition time period corresponding to the preset behavior item and Y and H j with an association relationship, obtain the second target user data corresponding to H j in the second target user data set corresponding to the preset behavior item.
[0060] Specifically, the data acquisition rule corresponding to the preset behavior item is stored in the second data configuration table corresponding to the preset behavior item. The second data configuration table is a configuration table pre-set by a person skilled in the art according to actual needs, including each preset behavior item and the data acquisition rule corresponding to each preset behavior item.
[0061] Through the above steps, the data acquisition time period corresponding to each preset behavior item is obtained, and the second target user data corresponding to the preset behavior item is obtained based on the data acquisition time period and the data acquisition rule corresponding to the preset behavior item. The irrelevant or invalid data can be filtered out, and the waste of resources can be avoided.
[0062] S23, according to A and C, obtain D, wherein the element d ij on the i-th row and j-th column in D satisfies the following conditions: d ij =a ij ×c ij .
[0063] Specifically, the candidate item priority obtained by statistical analysis based on the user behavior data of all users in the historical time period has globality and can reflect the overall popular trend, but ignores the individual differences between users, making it difficult to realize personalized recommendation; based on the personalized historical behavior data of the target user, the preference intensity of each candidate item is predicted through collaborative filtering or deep learning model, which can generate more personalized recommendation results; however, due to the sparseness of the personalized behavior data of the target user, the priority difference between different users is small, which affects the discrimination and accuracy of the recommendation results.
[0064] By the above steps, first, the basic push score matrix is obtained according to the historical data set; for each influencing factor, if the first target user data corresponding to the influencing factor satisfies the matching condition corresponding to the influencing factor, the influencing factor is taken as the associated factor corresponding to the target user to obtain the associated factor set corresponding to the target user; the influence of irrelevant influencing factors is avoided; the score adjustment weight matrix corresponding to the target user is obtained according to the second target user data set corresponding to the preset behavior item, the judgment condition corresponding to the preset behavior item, and the user label corresponding to the target user; the target push score matrix corresponding to the target user is obtained according to the basic push score matrix and the score adjustment weight matrix corresponding to the target user, and the target push score matrix includes the target push score of each influencing factor to each candidate item; the basic push score matrix is modified in combination with the score adjustment weight matrix corresponding to the target user, and the dynamic weight matrix and the multi-source data fusion mechanism are used to obtain the target push score matrix corresponding to the target user; it is beneficial to improve the discrimination and accuracy of the target push score matrix; further, the sum of the target push scores of all associated factors in the associated factor set to the candidate item is taken as the priority score corresponding to the candidate item; while retaining the global statistical advantage, the personalization degree and the discrimination of the push are significantly improved, the discrimination and accuracy of the priority of the candidate item corresponding to different users are enhanced, and further, it is beneficial to improve the discrimination and accuracy of the recommendation result.
[0065] Specifically, in step S22, the following steps are included: S221, for each preset behavior item, if the second target user data corresponding to the preset behavior item in the second target user data set satisfies the judgment condition corresponding to the preset behavior item, the basic adjustment weight corresponding to the basic push score of each influencing factor to H j is updated according to the weight update rule corresponding to the judgment condition, so that E is updated; E is a basic adjustment matrix, the element on the i-th row and the j-th column in E is a j corresponding basic adjustment weight, and the initial value of the basic adjustment weight is 1. ij S222, for each preset behavior item, if the second target user data corresponding to the preset behavior item in the second target user data set does not satisfy the judgment condition corresponding to the preset behavior item, the basic adjustment weight corresponding to the basic push score of each influencing factor to H j is updated according to the weight update rule corresponding to the judgment condition, so that E is updated; E is a basic adjustment matrix, the element on the i-th row and the j-th column in E is a j corresponding basic adjustment weight, and the initial value of the basic adjustment weight is 1.
[0066] Specifically, the weight update rule corresponding to the judgment condition is an update rule pre-set by a person skilled in the art according to actual needs, for example: multiplied by 0.2; multiplied by 6; multiplied by 3; multiplied by 0.5; added by 2; added by 5, subtracted by 2; and details are not described here.
[0067] Specifically, each update of the basic adjustment weight is based on the latest basic adjustment weight obtained from the previous update. According to the priority or execution order of the preset behavior items, the basic adjustment weights corresponding to the basic push scores of the candidate items of each influencing factor corresponding to the preset behavior item are iteratively adjusted in turn to ensure that the update process is timely and continuous; the priority or execution order of the preset behavior items are predetermined by technical personnel in this field according to actual needs and will not be repeated here.
[0068] Specifically, the corresponding relationship between the preset behavior items and the influencing factors is predetermined by those skilled in the art according to actual needs and will not be elaborated here.
[0069] S222, after all updates, E is used as the first adjustment matrix G corresponding to M; the element in the i-th row and j-th column of G is a ij The corresponding first adjustment weight.
[0070] S223: Determine, based on the data validity judgment condition corresponding to the preset behavior item, whether each second target user data corresponding to the preset behavior item is valid data.
[0071] Specifically, the data validity judgment condition corresponding to the preset behavior item is a condition pre-set by technical personnel in this field according to actual needs for judging whether the data is valid. For example: the preset behavior item is exposure, and the data validity judgment corresponding to the preset behavior item is that the exposure duration is greater than the preset minimum exposure duration; if the data in the second target user data corresponding to the preset behavior item indicates that the exposure duration is not greater than the preset minimum exposure duration, then the second target user data is determined to be invalid data; if the data in the second target user data corresponding to the preset behavior item indicates that the exposure duration is greater than the preset minimum exposure duration, then the second target user data is determined to be valid data.
[0072] S224、For H j , if the second target user data corresponding to all preset behavior items are concentrated, and H j The corresponding second target user data are all invalid data, then determine H j Data label H_G in G j is invalid; otherwise, determine H_G j is valid.
[0073] S225, according to G, H_G j Get the user tag C corresponding to Y.
[0074] In the embodiment, when the target user is a new user or the target user unintentionally clicks or swipes some content, partial invalid data can be generated; through the above steps, whether the second target user data is valid data is determined according to the data validity judgment condition corresponding to the preset behavior item, if all the second target user data corresponding to the preset behavior items are invalid data, then the first adjustment weight corresponding to each influence factor on the basis of the push score of the candidate item is also invalid, therefore, it is determined that the data label of the candidate item in the first adjustment weight matrix is invalid, otherwise, it is determined that the data label of the candidate item in the first adjustment weight matrix is valid, the score adjustment weight matrix corresponding to the target user is obtained according to the data label of the candidate item in the first adjustment weight matrix, which is beneficial to improve the accuracy of the score adjustment weight matrix.
[0075] Specifically, the step S225 comprises the following steps: S100, when at least α candidate items in G have valid data labels and not all candidate items in G have valid data labels, if H_G j is invalid, it is determined that H j is the first candidate item; if H_G j is valid, it is determined that H j is the second candidate item; to obtain the first candidate item list L=(L1, L2, …, L k , …, L t ) and the second candidate item list P=(P1, P2, …, P y , …, P q ); α is a preset number of valid items; L k is the kth first candidate item, 1≤k≤t, t is the number of first candidate items, P y is the yth second candidate item, 1≤y≤q, q is the number of second candidate items.
[0076] Specifically, 1<α<n.
[0077] Specifically, t+q=n.
[0078] Specifically, in the step S100, if each candidate item in G has a valid data label or an invalid data label, G is taken as R.
[0079] S200, from all the first adjustment matrices corresponding to all other users obtained in a preset time period, L k corresponding first intermediate matrix list Q k =(Q k1 , Q k2 , …, Q kr , …Qks(k) ), Q kr For L k The corresponding r-th first intermediate matrix, 1≤r≤s(k), s(k) is L k The number of corresponding first intermediate matrices; P1, P2, ..., P y ,…,P q and L k In Q kr The data labels in are all valid; it can be understood as: Q kr Belongs to a set constructed by first adjustment matrices corresponding to all other users acquired within a preset time period.
[0080] Specifically, the other user is any user except the target user.
[0081] Specifically, the end time point of the preset time period is the current time point, the duration of the preset time period is the preset second duration, and the preset second duration is smaller than the preset first duration; preferably, the end time point of the preset time period is the current time point.
[0082] S300, if the second intermediate matrix G corresponding to G 0 With Q kr The corresponding third intermediate matrix Q 0 kr The similarity between them is greater than the preset similarity threshold S 0 , then Q kr As L k The corresponding first key matrix to obtain L k The corresponding first key matrix list V k =(V k1 , V k2 ,…,V kz ,…,V ku(k) ), V kz For L k The corresponding z-th first key matrix, 1≤z≤u(k), u(k) is L k The number of the corresponding first key matrix; G 0 and Q 0 kr are all m×q matrices and G 0 The element in row i and column y is X in G i P y The first adjustment weight corresponding to the basic push score, Q 0 kr The element in row i and column y is Q kr Medium X i P yA first adjustment weight corresponding to the basic push score; Those skilled in the art know that any method of obtaining the similarity between two matrices in the prior art falls within the scope of protection of the present invention and will not be described in detail here.
[0083] Specifically, G 0 With Q 0 kr The greater the similarity between G 0 With Q 0 kr The more similar.
[0084] Specifically, 0.8≤S 0 ≤1.
[0085] S400, V k1 , V k2 ,…,V kz ,…,V ku(k) Medium X i To L k The weighted average of the first adjustment weights corresponding to the basic push scores is used as the X i To L k The first adjustment weight corresponding to the basic push score is used to update G and use G after all updates as the second adjustment matrix R corresponding to M.
[0086] S500: Update R according to the user tag corresponding to Y to obtain C.
[0087] By the above steps, when there are at least a candidate whose data label in the first adjustment weight matrix corresponding to the target user is valid and not all candidates whose data labels in the first adjustment weight matrix are valid, the first adjustment weight of the target user can be updated according to the first adjustment weight corresponding to the other users, the candidate whose data label in the first adjustment weight matrix corresponding to the target user is invalid is taken as the first candidate, the candidate whose data label in the second adjustment weight matrix corresponding to the target user is valid is taken as the second candidate, for each first candidate, a first intermediate matrix in which the first candidate and all second candidates have valid data labels is screened out from the first adjustment matrix corresponding to the other users, a first key matrix in which the data label of the first candidate is valid and similar to the first adjustment matrix corresponding to the target user is screened out according to the similarity between the second intermediate matrix and the third intermediate matrix, and the first adjustment weight corresponding to the basic push score of the candidate of each influencing factor in the first key matrix is used to iteratively update the first adjustment weight corresponding to the basic push score of the candidate of each influencing factor in the first adjustment weight matrix corresponding to the target user; and the first adjustment weight matrix after all updates is taken as the second adjustment weight matrix corresponding to the target user. The compensation mechanism is used to improve the accuracy of the second adjustment weight matrix, and further, the accuracy of the score adjustment weight matrix is improved.
[0088] Specifically, in step S500, the following steps are further included: S501, for each user label corresponding to Y, if the user label is the same as any one of the preset labels, the second adjustment weight corresponding to the basic push score of each candidate of each influencing factor corresponding to the user label is updated according to the weight update rule corresponding to the preset label which is the same as the user label, so as to update R.
[0089] Specifically, the weight update rule corresponding to the preset label is an update rule pre-set by a person skilled in the art according to actual needs, for example: multiplied by 0.2; multiplied by 6; multiplied by 3; multiplied by 0.5; added by 2; added by 5, subtracted by 3; set to 4; set to 0; and details are not described herein.
[0090] Specifically, each update of the second adjustment weight is based on the latest second adjustment weight obtained by the previous update, and the second adjustment weight corresponding to the basic push score of the candidate of each influencing factor corresponding to the user label is iteratively adjusted according to the priority or execution order of the user label, so as to ensure that the update process has time sequence and continuity.
[0091] Specifically, the influencing factors corresponding to the user label are consistent with the influencing factors corresponding to the preset label which is the same as the user label.
[0092] Specifically, the correspondence between the preset label and the influence factor is preset by a person skilled in the art according to actual needs, which will not be described here.
[0093] S502, taking R after all updates as C.
[0094] Through the above steps, the second adjustment weight matrix is updated multiple times according to the user label of the target user to obtain the score adjustment weight matrix corresponding to the target user, which is beneficial to improve the personalization degree and discrimination degree of the obtained score adjustment weight matrix.
[0095] In one specific embodiment, after step S200 and before step S500, the following step of obtaining R is further included: S210, if the similarity between G corresponding to the first specified matrix G 1 and Q kr corresponding to the second specified matrix Q 1 kr is greater than S 0 , then Q kr is taken as L k corresponding to the second key matrix to obtain L k corresponding to the second key matrix list W k =(W k1 , W k2 , …, W kβ , …, W kθ(k) ), W kβ is the βth second key matrix corresponding to L k , 1≤β≤θ(k), θ(k) is the number of second key matrices corresponding to L k , G 1 and Q 1 kr are matrices of f×q, and G 1 The element in the bth row and yth column in G b is the first adjustment weight corresponding to the basic push score of P y , Q 1 The element in the bth row and yth column in Q kr is the first adjustment weight corresponding to the basic push score of P kr , f is the number of associated factors in F b , F y is the bth associated factor in F b , 1≤b≤f.
[0096] Specifically, the greater the similarity between G 1 and Q 1 kr , the greater the similarity between G 1 and Q 1kr The more similar.
[0097] S220, updating G according to the user label corresponding to Y to obtain C. k1 , W k2 , …, W kβ , …, W kθ(k) F in G b The basis push score of L k The weighted average value of the first adjustment weight corresponding to the basis push score of L b The basis push score of L k The first adjustment weight corresponding to the basis push score of L, so that G is updated and the completed G after all updates is taken as R.
[0098] Through the above steps, since not all influencing factors will affect the priority of the candidate, according to the similarity between the first specified matrix and the second specified matrix, the second key matrix with the data label of the first candidate being effective and being similar to the first adjustment matrix corresponding to the target user is screened out, and based on the first adjustment weight corresponding to the basis push score of the candidate in each associated factor in the second key matrix, the first adjustment weight corresponding to the basis push score of the candidate in each associated factor in the first adjustment weight matrix corresponding to the target user is iteratively updated; and the first adjustment weight matrix after all updates is taken as the second adjustment weight matrix corresponding to the target user; compared with the above embodiment, the amount of data to be processed is reduced, which is conducive to improving the calculation efficiency, and at the same time, the influence of irrelevant influencing factors is reduced, which is conducive to improving the accuracy of the second adjustment weight matrix, and further, it is conducive to improving the accuracy of the score adjustment weight matrix.
[0099] In one specific embodiment, after step S222, the following sub-step S001 is included: S001, updating G according to the user label corresponding to Y to obtain C.
[0100] Through the above steps, the first adjustment weight matrix is obtained by updating and iterating the basis adjustment matrix multiple times according to the preset behavior item and the second target user data corresponding to the preset behavior item, and the score adjustment weight matrix corresponding to the target user is obtained by updating the first adjustment weight matrix according to the user label corresponding to the target user; the score adjustment weight matrix is determined according to the characteristics of the target user, which is conducive to improving the individualization degree and discrimination degree of the obtained score adjustment weight matrix.
[0101] Specifically, in step S001, the following sub-steps S0011-S0012 are included: S0011、for each user label corresponding to Y, if the user label is the same as any one of the preset labels, then the first adjustment weight corresponding to each influence factor of the user label for each candidate item is updated according to the weight update rule corresponding to the preset label same as the user label, so as to update G.
[0102] Specifically, each update of the first adjustment weight is based on the latest first adjustment weight obtained by the previous update, and the first adjustment weight corresponding to each influence factor of the user label for the basic push score of the candidate item is iteratively adjusted according to the priority or execution order of the user label, so as to ensure that the update process has time sequence and continuity; the priority or execution order of the user label is determined by a person skilled in the art according to actual needs, and will not be described here.
[0103] S0012、the G after all updates is taken as C.
[0104] Through the above steps, the first adjustment weight matrix is updated and iterated according to the user label of the target user to obtain the score adjustment weight matrix corresponding to the target user, which is beneficial to improve the individualization degree and discrimination degree of the obtained score adjustment weight matrix.
[0105] Embodiments of the application also provide a non-transitory computer readable storage medium, which can be arranged in an electronic device to save a computer program related to a method in the method embodiment, and the computer program is loaded and executed by the processor to realize the method provided by the above embodiments.
[0106] Embodiments of the application also provide an electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to realize the method provided by the above embodiments.
[0107] Embodiments of the application also provide a computer program product, which includes program code, and when the program product is executed on an electronic device, the program code is used to make the electronic device execute the steps in the method according to various exemplary embodiments of the application described in the specification.
[0108] Embodiments of the present application provide a candidate item priority score adjustment method for civil aviation, equipment and medium, in the method, for each influencing factor, if the first target user data corresponding to the influencing factor meets the matching condition corresponding to the influencing factor, the influencing factor is taken as the associated factor corresponding to the target user to obtain the associated factor set corresponding to the target user; obtain the target push score matrix corresponding to the target user; for each candidate item, the sum of the target push scores of all associated factors in the associated factor set to the candidate item is taken as the priority score corresponding to the candidate item; obtain the data set corresponding to the candidate adjustment rule, the data set includes question text, at least one influencing factor, at least one candidate item and score adjustment mode; for each candidate adjustment rule, if all influencing factors corresponding to the candidate adjustment rule are included in the associated factor set, input the question text corresponding to the candidate adjustment rule into the large language model to obtain the decision result corresponding to the question text; if the decision result is the first type of result, adjust the priority scores corresponding to all candidate items corresponding to the candidate adjustment rule according to the score adjustment mode corresponding to the candidate adjustment rule corresponding to the decision result, to obtain the target priority score corresponding to each candidate item. It can be seen that the present application only takes the influencing factor as the associated factor when the first target user data meets the matching condition corresponding to the influencing factor, which can avoid the interference of irrelevant factors; the priority score corresponding to the candidate item is obtained based on the target push score of the associated factor to the candidate item, the adjustment of the priority score is realized through the large language model, which realizes the automatic and intelligent adjustment of the priority score of the candidate item, not only improves the accuracy of the target priority score, but also effectively reduces the artificial maintenance cost, and significantly improves the data processing efficiency.
[0109] Although some specific embodiments of the present application have been described in detail through examples, those skilled in the art should understand that the above examples are only for illustration, not for limiting the scope of the present application. Those skilled in the art should also understand that various modifications can be made to the embodiments without departing from the scope and spirit of the present application.
Claims
1. A candidate item priority score adjustment method for civil aviation, characterized in that, The method comprises the following steps: S1, for each influencing factor, if the first target user data corresponding to the influencing factor meets the matching condition corresponding to the influencing factor, the influencing factor is taken as an associated factor corresponding to the target user Y to obtain a set F of associated factors corresponding to Y; S2, obtaining a target push score matrix D corresponding to Y, the element on the ith row and jth column in D is the target push score of the ith influencing factor to the jth candidate; 1≤i≤m; 1≤j≤n; m is the number of influencing factors; n is the number of candidate items; S3, for each candidate item, the sum of the target push scores of all associated factors in F to the candidate item is taken as the priority score corresponding to the candidate item; S4, for each candidate adjustment rule in a plurality of candidate adjustment rules, obtaining a data set corresponding to the candidate adjustment rule, the data set comprising a question text, at least one influencing factor, at least one candidate item and a score adjustment manner; S5, for each candidate adjustment rule, if all influencing factors corresponding to the candidate adjustment rule are included in F, inputting the question text corresponding to the candidate adjustment rule into a large language model to obtain a decision result J corresponding to the question text; S6, if J is a first type of result, adjusting the priority scores corresponding to all candidate items corresponding to the candidate adjustment rule according to the score adjustment manner corresponding to the candidate adjustment rule corresponding to J to obtain a target priority score corresponding to each candidate item. The first type of result indicates that the priority of the candidate item corresponding to the candidate adjustment rule needs to be adjusted.
2. The method of claim 1, wherein the candidate item priority score adjustment method is for civil aviation. In step S2, the following substeps are included: S21, obtaining a basic push score matrix A according to a historical data set L; an element a ij is a basic push score of the i th influencing factor X i on the j th candidate H j ; L includes all data related to each candidate collected in a historical time period; S22、According to the second target user data set corresponding to the preset behavior item, the judgment condition corresponding to the preset behavior item and the user tag corresponding to Y, obtain the score adjustment weight matrix C corresponding to Y; The element c on the i-th row and the j-th column in C ij For a ij The corresponding score adjustment weight; The second target user data set includes n second target user data corresponding to the candidate items one by one; 0 ij ; S23. According to A and C, obtaining D, wherein an element dj in the ith row and jth column of D is ij meets the following conditions: d ij = a ij × c ij .
3. The method of claim 2, wherein the candidate item priority score adjustment is performed for each of the plurality of candidate items. In step S22, the following steps are included: S221、for each preset behavior item, if the second target user data corresponding to the preset behavior item meets the judgment condition corresponding to the preset behavior item, updating the basic adjustment weight corresponding to each influence factor of the preset behavior item according to the weight updating rule corresponding to the judgment condition, so as to update E; E is a basic adjustment matrix, and an element on the i th row and the j th column in E is a j ij j ; the initial value of the basic adjustment weight is 1. ij S222, after all updates, E is used as the first adjustment matrix G corresponding to M; the element in the i-th row and j-th column of G is a ij the corresponding first adjustment weight; S223, determining whether each second target user data corresponding to the preset behavior item is valid data according to the data validity judgment condition corresponding to the preset behavior item; S224、For H j , if the second target user data corresponding to all preset behavior items are concentrated, and H j The corresponding second target user data are all invalid data, then determine H j Data label H_G in G j is invalid; otherwise, determine H_G j To be effective; S225、According to G, H_G j and Y corresponds to the user label to obtain C.
4. The method of claim 3, wherein the candidate item priority score adjustment method is oriented toward civil aviation, characterized in that, In step S225, the following steps are included: S100、when there are at least α valid data tags in G and not all data tags in G are valid, if H_G j is invalid, determining H j as the first candidate; if H_G j is valid, determining H j as the second candidate; to obtain a first candidate list L=(L1, L2, …, L k , …, L t ) and a second candidate list P=(P1, P2, …, P y , …, P q ); α is a preset valid item number; L k is the kth first candidate, 1≤k≤t, t is the number of first candidates, P y is the yth second candidate, 1≤y≤q, q is the number of second candidates; S200、From all the first adjustment matrices corresponding to all other users obtained within the preset time period, determine L k corresponding first intermediate matrix list Q k =(Q k1 , Q k2 , …, Q kr , … Q ks(k) ), Q kr is the L k corresponding rth first intermediate matrix, 1≤r≤s(k), s(k) is the L k corresponding first intermediate matrix; P1, P2, …, P y , …, P q and L k The data tags in Q kr are all valid; S300, if the similarity between G corresponding to the second intermediate matrix G 0 and Q kr corresponding to the third intermediate matrix Q 0 is greater than a preset similarity threshold S kr , then Q 0 is taken as L kr corresponding to the first key matrix to obtain L k corresponding to the first key matrix list V k = (V k , V k1 , …, V k2 , …, V kz , …, V ku(k) ), V kz is the zth first key matrix corresponding to L k , 1≤z≤u(k), u(k) is the number of first key matrices corresponding to L k ; G 0 and Q 0 kr are matrices of m×q and G 0 is the element in the ith row and yth column of G i , X y is the first adjustment weight corresponding to the basic push score of P 0 ; Q kr is the element in the ith row and yth column of Q kr , X i is the first adjustment weight corresponding to the basic push score of P y ; S400, V k1 , V k2 ,…,V kz ,…,V ku(k) Medium X i To L k The weighted average of the first adjustment weights corresponding to the basic push scores is used as the X i To L k The first adjustment weight corresponding to the basic push score of is used to update G and use G after all updates as the second adjustment matrix R corresponding to M; S500, updating R according to the user label corresponding to Y to obtain C.
5. The method of claim 4, wherein the candidate item priority score adjustment method is for civil aviation. After step S200 and before step S500, the following step of obtaining R is further included: S210, if the first specified matrix G corresponding to G 1 With Q kr The corresponding second specified matrix Q 1 kr The similarity between them is greater than S 0 , then Q kr As L k The corresponding second key matrix is used to obtain L k The corresponding second key matrix list W k =(W k1 , W k2 ,…,W kβ ,…,W kθ(k) ), W kβ For L k The corresponding β-th second key matrix, 1≤β≤θ(k), θ(k) is L k The number of the corresponding second key matrix; G 1 and Q 1 kr are all matrices of f×q and G 1 The element in row b and column y is F in G b P y The first adjustment weight corresponding to the basic push score, Q 1 kr The element in row b and column y is Q kr Medium F b P y The first adjustment weight corresponding to the basic push score is f, f is the number of related factors in F, F b is the b-th correlation factor in F, 1≤b≤f; S220, W k1 , W k2 , …, W kβ , …, W kθ(k) F b the basis push score of L k corresponding to the first adjustment weight of the weighted average value as F b the basis push score of L k corresponding to the first adjustment weight, so that G is updated and the G after all updates are completed as R.
6. The method of claim 4, wherein the candidate item priority score adjustment method is for civil aviation. In step S100, if the data label of each candidate item in G is valid, G is taken as R.
7. The method of claim 2, wherein the candidate item priority score adjustment is for civil aviation. -10≤a ij ≤10。 8. The method of claim 1, wherein the candidate item priority score adjustment is for civil aviation. c ij ≤10。 9. A non-transitory computer-readable storage medium, comprising: The storage medium stores a computer program, which is loaded and executed by the processor to implement the candidate item priority score adjustment method for civil aviation according to any one of claims 1-8.
10. An electronic device comprising: The processor, the memory, and the computer program stored on the memory and executable on the processor, wherein the processor implements the candidate item priority score adjustment method for civil aviation according to any one of claims 1-8 when executing the computer program. The processor, the memory, and the computer program stored on the memory and executable on the processor, wherein the processor implements the candidate item priority score adjustment method for civil aviation according to any one of claims 1-8 when executing the computer program.
Citation Information
Patent Citations
Recommendation method and system capable of automatically adjusting candidate range
CN110659362A
Candidate item sorting method and device
CN113157107A
Product recommendation method and device for aviation journey and computer program product
CN119887324A
Question and answer information recommendation method and device based on large language model, equipment and medium
CN120086322A
Method for making optimal selections based on multiple objective and subjective criteria
US20100299298A1