Policy matching method, device, system, electronic device and readable storage medium
By extracting and generating policy declaration conditions, and using models to match enterprise declaration information and policies, the problem of low matching efficiency and accuracy in the existing technology is solved, and efficient and accurate policy matching is achieved.
Patent Information
- Application Number
- CN202111134215.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-27
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-09-27
AI Technical Summary
When matching enterprise declaration information with policies, the existing technology has low accuracy and consumes a lot of labor and time costs, resulting in low matching efficiency.
By extracting the policy declaration conditions in the target policy, using the parameter identification model and the condition identification model, the policy declaration conditions are generated, and the matching information is matched with the policy declaration conditions according to the enterprise declaration information, and the matching degree is calculated to improve the matching efficiency and accuracy.
It improves the efficiency and accuracy of policy matching, saves time and labor costs, and achieves rapid and accurate matching between enterprise declaration information and policies.
Smart Images

Figure CN113870083B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a policy matching method, device, system, electronic device and readable storage medium. Background Art
[0002] With the rapid development of the economy, there are more and more enterprises. In order to promote the rapid development of the economy, different regions usually continue to issue a large number of economic support policies. Enterprise users can match the enterprise declaration information with the policy to determine whether the enterprise meets the policy declaration conditions, and then formulate development strategies and policy declarations based on the matching policies.
[0003] Under existing technologies, policies are usually simply screened using keywords and tags, and policies that match corporate users are mainly found through manual matching.
[0004] However, when matching enterprise declaration information with policies, the screening method has low accuracy, and the manual matching method consumes a lot of manpower and time costs.
[0005] Therefore, when matching enterprise declaration information with policies, how to improve the efficiency and accuracy of policy matching is a technical problem that needs to be solved. Summary of the invention
[0006] The purpose of the embodiments of the present application is to provide a policy matching method, device, system, electronic device and readable storage medium, which can improve the policy matching efficiency and policy matching accuracy when matching enterprise declaration information with policies.
[0007] On the one hand, a policy matching method is provided, including:
[0008] Obtain the policy declaration conditions corresponding to the target policy, wherein the policy declaration conditions include declaration parameters, and the policy declaration conditions are extracted from the target policy according to the declaration condition configuration rules;
[0009] Extract user parameter information of declaration parameters in policy declaration conditions from the user's enterprise declaration information;
[0010] The policy declaration conditions are matched with the determined user parameter information to obtain the policy matching degree between the enterprise declaration information and the target policy.
[0011] In the above implementation process, the policy declaration conditions in the target policy are extracted in advance according to the declaration condition configuration rules. When matching the policy, it is judged whether the enterprise declaration information matches the target policy based on whether the enterprise declaration information meets the policy declaration conditions, thereby improving the efficiency and accuracy of policy matching.
[0012] In one implementation, before obtaining the policy declaration conditions corresponding to the target policy, the method further includes:
[0013] Match the keywords in the target policy with each keyword in the declared keyword set;
[0014] According to the matching results, multiple declaration keywords in the target policy are obtained;
[0015] Determine the declaration parameters set for each declaration keyword;
[0016] According to the declaration condition configuration rules and based on the target policy, determine the condition type, parameter information and condition configuration information corresponding to each declaration keyword;
[0017] Generate policy declaration conditions based on the condition type, parameter information, condition configuration information and declaration parameters corresponding to each declaration keyword.
[0018] In the above implementation process, the policy declaration conditions of each policy can be obtained by extracting the policy declaration conditions according to the declaration condition configuration rules and the declaration parameters.
[0019] In one implementation, the declaration condition configuration rules include a parameter identification model and a condition identification model. According to the declaration condition configuration rules, based on the target policy, the condition type, parameter information and condition configuration information corresponding to each declaration keyword are determined, including:
[0020] Obtain a parameter recognition model set for each declared keyword;
[0021] Using the parameter recognition model corresponding to each declared keyword respectively, based on the contextual relationship of the corresponding declared keyword in the target policy, the parameter information corresponding to the corresponding declared keyword is determined;
[0022] Obtain the logical characters set for the parameter information of each declared keyword;
[0023] Based on the condition recognition model corresponding to each declared keyword, the condition type and condition configuration information of each declared keyword are determined according to the corresponding parameter information and logical characters in the target policy.
[0024] In the above implementation process, the parameter information, condition type and condition configuration information of the policy declaration conditions used to generate the declaration keywords can be extracted through the parameter identification model and the condition identification model.
[0025] In one implementation, the condition type includes at least one of the following types: a numerical type, a text type, a position type, a date type, a single-select type, a multiple-select type, and a judgment type;
[0026] The condition configuration information includes at least one of the following information: value range, text content, location range, date range, time zone, option information, option combination, option order, judgment condition and matching type.
[0027] In the above implementation process, various types of policy declaration conditions can be generated through various condition types and condition configuration information.
[0028] In one implementation, after generating the policy declaration conditions according to the condition type, parameter information, condition configuration information and declaration parameters corresponding to each declaration keyword, it further includes:
[0029] Display the declaration condition configuration page for modifying policy declaration conditions, where the declaration conditions of each policy are displayed on the declaration condition configuration page;
[0030] In response to a user's declaration condition configuration instruction on a declaration condition configuration page, adjusting the policy declaration condition;
[0031] According to the adjusted policy declaration conditions, the declaration conditions display interface is displayed.
[0032] In the above implementation process, the generated policy declaration conditions can be modified by the user, thereby improving the accuracy of the policy declaration conditions.
[0033] In one implementation, there are multiple policy declaration conditions, and the policy declaration conditions are matched with the determined user parameter information to obtain the policy matching degree between the enterprise declaration information and the target policy, including:
[0034] Match each policy application condition with the corresponding user parameter information respectively to obtain the parameter matching degree corresponding to each policy application condition;
[0035] Get the condition weights set for each policy application condition;
[0036] Based on the conditional weights of each policy application condition, the matching degrees of each parameter are weighted and summed to obtain the policy matching degree between the enterprise's application information and the target policy.
[0037] In the above implementation process, the matching degree of each parameter is weighted and summed by using the weights of each condition, thereby improving the accuracy of policy matching.
[0038] In one implementation, there are multiple policy declaration conditions, and the policy declaration conditions are matched with the determined user parameter information to obtain the policy matching degree between the enterprise declaration information and the target policy, including:
[0039] Match each policy application condition with the corresponding user parameter information respectively to obtain the parameter matching degree corresponding to each policy application condition;
[0040] Get the matching type of the declaration parameters of each policy declaration condition;
[0041] Determine whether the matching type and parameter matching degree corresponding to each policy declaration condition meet the preset matching rejection condition. If so, determine that the policy matching degree between the enterprise declaration information and the target policy is the specified matching degree;
[0042] Otherwise, obtain the condition weights set for each policy application condition, and based on the condition weights of each policy application condition, perform weighted summation on the matching degrees of each parameter to obtain the policy matching degree between the enterprise application information and the target policy.
[0043] In the above implementation process, different policy matching determination methods can be selected according to the matching type, thereby improving the accuracy of policy matching.
[0044] In one implementation, after matching the policy declaration conditions with the determined user parameter information to obtain the policy matching degree between the enterprise declaration information and the target policy, it also includes:
[0045] Filter out parameter matching degrees that are lower than the preset matching degree;
[0046] Obtain a first display format for the selected parameter matching settings;
[0047] Obtain a second display format for parameter matching settings that are not filtered out;
[0048] Get the third display form for policy matching settings;
[0049] Display the corresponding declaration parameters, policy declaration conditions, user parameter information and parameter matching degree according to the corresponding display form of each parameter matching degree;
[0050] According to the third display form, the policy matching degree is displayed.
[0051] In the above implementation process, different display methods are used to display the matching results so that users can understand the policy matching results simply and clearly.
[0052] In one implementation, if there are multiple target policies, after matching the policy declaration conditions with the determined user parameter information to obtain the policy matching degree between the enterprise declaration information and the target policy, it also includes:
[0053] From the policy matching degrees corresponding to each target policy, select the policy matching degrees that are higher than the preset recommendation threshold;
[0054] Sort the matching degrees of the selected policies in descending order;
[0055] According to the sorting, the target policies that meet the preset push conditions are pushed to users.
[0056] In the above implementation process, matching policies can be pushed to users based on the matching degree of each policy.
[0057] In one embodiment, it further includes:
[0058] In response to a user's policy page request for a target policy, a policy matching page is displayed, wherein the policy matching page displays various policy declaration conditions of the target policy, and an input box or option button set for each policy declaration condition;
[0059] In response to a user input operation on an input box in a policy matching page, obtaining input information;
[0060] In response to a user's selection operation on an option button in a policy matching page, obtaining option information;
[0061] Based on the input information and option information, the user's enterprise declaration information is completed.
[0062] In the above implementation process, the user's enterprise declaration information can be improved based on the user's matching operation.
[0063] On the one hand, a policy matching device is provided, comprising:
[0064] An acquisition unit, used for acquiring a policy declaration condition corresponding to a target policy, wherein the policy declaration condition includes a declaration parameter, and the policy declaration condition is extracted from the target policy according to a declaration condition configuration rule;
[0065] An extraction unit, used to extract user parameter information of the declaration parameters in the policy declaration conditions from the enterprise declaration information of the user;
[0066] The obtaining unit is used to match the policy declaration conditions with the determined user parameter information to obtain the policy matching degree between the enterprise declaration information and the target policy.
[0067] In one implementation, the acquisition unit is further configured to:
[0068] Match the keywords in the target policy with each keyword in the declared keyword set;
[0069] According to the matching results, multiple declaration keywords in the target policy are obtained;
[0070] Determine the declaration parameters set for each declaration keyword;
[0071] According to the declaration condition configuration rules and based on the target policy, determine the condition type, parameter information and condition configuration information corresponding to each declaration keyword;
[0072] Generate policy declaration conditions based on the condition type, parameter information, condition configuration information and declaration parameters corresponding to each declaration keyword.
[0073] In one implementation, the declaration condition configuration rule includes a parameter identification model and a condition identification model, and the acquisition unit is further used to:
[0074] Obtain a parameter recognition model set for each declared keyword;
[0075] Using the parameter recognition model corresponding to each declared keyword respectively, based on the contextual relationship of the corresponding declared keyword in the target policy, the parameter information corresponding to the corresponding declared keyword is determined;
[0076] Obtain the logical characters set for the parameter information of each declared keyword;
[0077] Based on the condition recognition model corresponding to each declared keyword, the condition type and condition configuration information of each declared keyword are determined according to the corresponding parameter information and logical characters in the target policy.
[0078] In one implementation, the condition type includes at least one of the following types: a numerical type, a text type, a position type, a date type, a single-select type, a multiple-select type, and a judgment type;
[0079] The condition configuration information includes at least one of the following information: value range, text content, location range, date range, time zone, option information, option combination, option order, judgment condition and matching type.
[0080] In one implementation, the acquisition unit is further configured to:
[0081] Display the declaration condition configuration page for modifying policy declaration conditions, where the declaration conditions of each policy are displayed on the declaration condition configuration page;
[0082] In response to a user's declaration condition configuration instruction on a declaration condition configuration page, adjusting the policy declaration condition;
[0083] According to the adjusted policy declaration conditions, the declaration conditions display interface is displayed.
[0084] In one implementation, there are multiple policy declaration conditions, and the obtaining unit is used to:
[0085] Match each policy application condition with the corresponding user parameter information respectively to obtain the parameter matching degree corresponding to each policy application condition;
[0086] Get the condition weights set for each policy application condition;
[0087] Based on the conditional weights of each policy application condition, the matching degrees of each parameter are weighted and summed to obtain the policy matching degree between the enterprise's application information and the target policy.
[0088] In one embodiment, the obtaining unit is used to:
[0089] If there are multiple policy application conditions, each policy application condition is matched with the corresponding user parameter information to obtain the parameter matching degree corresponding to each policy application condition;
[0090] Get the matching type of the declaration parameters of each policy declaration condition;
[0091] Determine whether the matching type and parameter matching degree corresponding to each policy declaration condition meet the preset matching rejection condition. If so, determine that the policy matching degree between the enterprise declaration information and the target policy is the specified matching degree;
[0092] Otherwise, obtain the condition weights set for each policy application condition, and based on the condition weights of each policy application condition, perform weighted summation on the matching degrees of each parameter to obtain the policy matching degree between the enterprise application information and the target policy.
[0093] In one implementation, the obtaining unit is further configured to:
[0094] Filter out parameter matching degrees that are lower than the preset matching degree;
[0095] Obtain a first display format for the selected parameter matching settings;
[0096] Obtain a second display format for parameter matching settings that are not filtered out;
[0097] Get the third display form for policy matching settings;
[0098] Display the corresponding declaration parameters, policy declaration conditions, user parameter information and parameter matching degree according to the corresponding display form of each parameter matching degree;
[0099] According to the third display form, the policy matching degree is displayed.
[0100] In one implementation, the obtaining unit is further configured to:
[0101] If there are multiple target policies, the policy matching degrees corresponding to the target policies are screened out to find the policy matching degrees that are higher than the preset recommendation threshold;
[0102] Sort the matching degrees of the selected policies in descending order;
[0103] According to the sorting, the target policies that meet the preset push conditions are pushed to users.
[0104] In one implementation, the obtaining unit is further configured to:
[0105] In response to a user's policy page request for a target policy, a policy matching page is displayed, wherein the policy matching page displays various policy declaration conditions of the target policy, and an input box or option button set for each policy declaration condition;
[0106] In response to a user input operation on an input box in a policy matching page, obtaining input information;
[0107] In response to a user's selection operation on an option button in a policy matching page, obtaining option information;
[0108] Based on the input information and option information, the user's enterprise declaration information is completed.
[0109] On the one hand, a policy matching system is provided, characterized in that it includes a server and a user device, wherein the user device is used to send a policy matching request to the server and receive a policy matching degree returned by the server based on the policy matching request, wherein the policy matching request is used to request the policy matching degree between the user's enterprise declaration information and the target policy;
[0110] The server is used to determine the policy matching degree between the enterprise declaration information and the target policy when receiving a policy matching request sent by a user device, using a method provided in any of the various optional implementation methods of the policy matching described above, and return the policy matching degree to the user device.
[0111] On the one hand, an electronic device is provided, including a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps of the method provided in any of the various optional implementations of the above-mentioned policy matching are executed.
[0112] On the one hand, a readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method provided in any of the various optional implementations of the policy matching described above are executed.
[0113] In one aspect, a computer program product is provided. When the computer program product is run on a computer, the computer is caused to execute the steps of the method provided in any of the various optional implementations of the policy matching described above.
[0114] In the policy matching method, device, system, electronic device and readable storage medium provided in the embodiments of the present application, the policy declaration conditions corresponding to the target policy are obtained, wherein the policy declaration conditions include declaration parameters, and the policy declaration conditions are extracted from the target policy according to the declaration condition configuration rules; the user parameter information of the declaration parameters in the policy declaration conditions is extracted from the user's enterprise declaration information; the policy declaration conditions are matched with the determined user parameter information to obtain the policy matching degree between the enterprise declaration information and the target policy. In this way, the policy declaration conditions in the target policy are extracted in advance according to the declaration condition configuration rules, and when the policy is matched, whether the enterprise declaration information matches the target policy is judged according to whether the enterprise declaration information meets the policy declaration conditions, thereby improving the efficiency and accuracy of policy matching.
[0115] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0116] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0117] Figure 1 An example diagram of a policy matching system provided in an embodiment of the present application;
[0118] Figure 2 A flowchart of a method for extracting declaration conditions provided in an embodiment of the present application;
[0119] Figure 3 A flowchart of a policy matching method provided in an embodiment of the present application;
[0120] Figure 4 A flowchart for implementing a method for configuring declaration conditions provided in an embodiment of the present application;
[0121] Figure 5 An example diagram of a declaration condition configuration page for a numerical type configuration provided in an embodiment of the present application;
[0122] Figure 6 An example diagram of a declaration condition configuration page for a text type configuration provided in an embodiment of the present application;
[0123] Figure 7 An example diagram of a declaration condition configuration page for a location type configuration provided in an embodiment of the present application;
[0124] Figure 8 An example diagram of a declaration condition configuration page for a multiple-selection type configuration provided in an embodiment of the present application;
[0125] Fig. 9 An example diagram of a declaration condition configuration page for a single-select type configuration provided in an embodiment of the present application;
[0126] Fig.10 An example diagram of a declaration condition configuration page for a judgment type configuration provided in an embodiment of the present application;
[0127] Fig.11 An example diagram of a declaration condition configuration page for a date type configuration provided in an embodiment of the present application;
[0128] Fig.12 An example diagram of an enterprise declaration information page for enterprise declaration information provided in an embodiment of the present application;
[0129] Fig.13 An example diagram of a parameter matching page provided in an embodiment of the present application;
[0130] Fig.14 A structural block diagram of a policy matching device provided in an embodiment of the present application;
[0131] Fig.15 It is a schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0132] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0133] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0134] First, some terms involved in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.
[0135] Terminal device: can be a mobile terminal, a fixed terminal or a portable terminal, such as a mobile phone, a station, a unit, a device, a multimedia computer, a multimedia tablet, an Internet node, a communicator, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a personal communication system device, a personal navigation device, a personal digital assistant, an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a gaming device or any combination thereof, including accessories and peripherals of these devices or any combination thereof. It is also foreseeable that the terminal device can support any type of interface for the user (such as a wearable device), etc.
[0136] Server: It can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, and big data and artificial intelligence platforms.
[0137] In order to improve the policy matching efficiency and accuracy when matching enterprise declaration information with policies, the embodiments of the present application provide a policy matching method, device, system, electronic device and readable storage medium.
[0138] See also Figure 1 , which is an example diagram of a policy matching system provided by an embodiment of the present application. The policy matching system includes a server and a user device. Optionally, the user device may be one or more.
[0139] User equipment: can be a terminal device, provided with a client for policy matching, used to send a policy matching request to a server through the client, and receive a policy matching degree returned by the server based on the policy matching request.
[0140] Among them, the policy matching request is used to request the policy matching degree between the user's enterprise declaration information and the target policy.
[0141] Server: A server is provided for providing policy matching services, which is used to configure rules in advance according to the declaration conditions through the server, extract the policy declaration conditions of each policy, and determine the policy matching degree between the policy declaration conditions of the target policy and the enterprise declaration information based on the policy matching request of the client during policy matching.
[0142] Furthermore, the server can also be used to build a corporate profile of the user and obtain the user's corporate declaration information based on the user's network behavior operations such as inputting or selecting policy declaration conditions in the policy matching page.
[0143] Furthermore, after extracting the policy declaration conditions of each policy, the server may also modify and / or add policy declaration conditions according to the user's configuration modification instructions to improve the target policy declaration conditions.
[0144] In the embodiments of the present application, only the server is used as the execution subject for illustration. In actual applications, the execution subject may also be other devices such as terminal devices, which is not limited here.
[0145] Before policy matching, pre-extract policy declaration conditions for multiple policies. Figure 2 As shown, it is a flowchart of a method for extracting declaration conditions provided in an embodiment of the present application, combined with Figure 1 The policy matching system shown in the figure is used to illustrate the method. The specific implementation process of the method is as follows:
[0146] Step 200: Match the keywords in the target policy with each keyword in the declared keyword set.
[0147] Specifically, a keyword extraction model is used to extract all keywords in the target policy, and each extracted keyword is matched with each keyword in the declared keyword set to obtain the keyword matching degree between each group of keywords. Further, for each keyword matching degree, the following steps are performed: if the keyword matching degree is higher than a preset keyword matching threshold, a matching result representing a keyword matching is obtained; otherwise, a matching result representing a keyword mismatch is obtained.
[0148] In practical applications, the preset keyword matching threshold can be set according to the actual application scenario, such as 0.8, which is not limited here. The keywords can be all the words in the target policy, or other words, which are not limited here. The keyword extraction model can be a model built based on a neural network, or a model built by other methods, which is not limited here.
[0149] Before executing step 200, the declaration parameters of multiple policy samples extracted manually or in other ways are obtained, and keywords related to each extracted declaration parameter are determined respectively, and a declaration keyword set is generated based on the determined related keywords.
[0150] The declaration parameters are the parameters in the declaration conditions. Each declaration condition may include one or more parameters, and the keywords related to the declaration parameters may be synonyms, hypernyms, hyponyms, etc. of the declaration parameters.
[0151] For example, the declaration parameters may be: location, date, time, and nature of the enterprise.
[0152] Furthermore, the declared keyword set may be expanded by manually inputting declaration parameters and keywords.
[0153] Step 201: Based on the matching results, multiple declared keywords in the target policy are obtained.
[0154] Specifically, from each keyword in the target policy, the keywords corresponding to the matching results representing the keyword matching are screened out, and the screened out keywords are determined as the declared keywords.
[0155] In this way, the declaration keywords used to generate declaration conditions can be preliminarily screened out.
[0156] Step 202: Determine the declaration parameters set for each declared keyword.
[0157] Specifically, according to the correspondence between the pre-set keywords and the declaration parameters, the declaration parameters corresponding to each declared keyword are obtained respectively.
[0158] Before executing step 202, the corresponding relationship between the keywords and the declaration parameters is preset.
[0159] In one implementation, synonyms, hypernyms, hyponyms, etc. of the declared parameters are determined as keywords corresponding to the declared parameters.
[0160] For example, if the declared parameter is location, then address can be determined as the keyword corresponding to the location.
[0161] In this way, the declaration parameters of the policy declaration conditions of the target policy can be determined based on the keywords in the target policy.
[0162] Step 203: According to the declaration condition configuration rules and based on the target policy, determine the condition type, parameter information and condition configuration information corresponding to each declaration keyword.
[0163] Specifically, the declaration condition configuration rule includes a parameter identification model and a condition identification model. When executing step 203, the following steps may be adopted:
[0164] S2031: Obtain the parameter recognition model set for each declared keyword.
[0165] Specifically, according to the correspondence between the pre-set keywords, the declared parameters and the parameter recognition model, the parameter recognition model corresponding to each declared keyword is obtained respectively.
[0166] The parameter identification model is used to determine the parameter information of the declared keywords from the target policy according to the contextual relationship of the declared keywords in the target policy. The parameter information is used to generate the policy declaration conditions.
[0167] Among them, before executing S2031, based on Neuro-Linguistic Programming (NLP), Natural Language Understanding (NLU) and neural networks, etc., a corresponding parameter recognition model can be trained and generated for each declared parameter, and a correspondence between keywords, declared parameters and parameter recognition models can be established.
[0168] S2032: Using the parameter recognition model corresponding to each declared keyword respectively, based on the contextual relationship of the corresponding declared keyword in the target policy, determine the parameter information corresponding to the corresponding declared keyword.
[0169] Specifically, perform the following steps for each declared keyword:
[0170] Input the target policy into the parameter recognition model corresponding to the declared keyword to obtain the parameter information corresponding to the declared keyword.
[0171] Furthermore, a corresponding relationship between the declared keywords, declared parameters and parameter information is established.
[0172] In this way, the parameter information of each declared parameter can be extracted from the target policy through the parameter identification model corresponding to each declared parameter.
[0173] S2033: Obtain the logical characters set for the parameter information of each declared keyword.
[0174] Specifically, the logical characters are used to determine the condition configuration information of the declaration conditions.
[0175] Optionally, the logical characters may be greater than, less than, equal to, higher than, or, and, inside / outside, before / after, between, and when, etc., or other characters, which are not limited here.
[0176] S2034: Based on the condition recognition model corresponding to each declared keyword, determine the condition type and condition configuration information of each declared keyword according to the corresponding parameter information and logical characters in the target policy.
[0177] Specifically, for each declared keyword, perform the following steps:
[0178] Obtain the condition recognition model corresponding to each declared keyword, and input the target policy, parameter information and logical characters into the condition recognition model of the corresponding declared keyword to obtain the condition type and condition configuration information corresponding to each declared keyword.
[0179] The condition type includes at least one of the following types: value type, text type, position type, date type, single-select type, multiple-select type, and judgment type. The condition configuration information includes at least one of the following information: value range, text content, position range, date range, time zone, option information, option combination, option order, judgment condition, and matching type.
[0180] Among them, the matching type is used to indicate whether a declaration condition has the function of vetoing policy matching.
[0181] In actual applications, the condition type and condition configuration information can be set according to the actual application scenario and are not limited here.
[0182] Before executing S2034, a corresponding condition recognition model can be trained for each declaration parameter based on NLP, NLU, neural network, etc., and a corresponding relationship between keywords, declaration parameters and condition recognition models can be established.
[0183] Step 204: Generate policy declaration conditions according to the condition type, parameter information, condition configuration information and declaration parameters corresponding to each declaration keyword.
[0184] Specifically, according to the correspondence between the declaration keywords and the declaration parameters, the condition type, parameter information and condition configuration information corresponding to each declaration parameter are determined, and based on the condition type, parameter information and condition configuration information corresponding to each declaration parameter, the policy declaration conditions corresponding to each declaration parameter are generated.
[0185] In this way, the policy declaration conditions of the target policy can be extracted.
[0186] Step 205: Display the declaration condition configuration page for modifying the policy declaration conditions.
[0187] Specifically, the declaration condition configuration page displays multiple policy declaration conditions for the target policy, and may also display an input box or option button for modifying and adding declaration parameters, condition types, parameter information, condition configuration information and other information of the policy declaration conditions, so that users can add or modify the policy declaration conditions through the input box or option button.
[0188] Step 206: In response to the user's declaration condition configuration instruction on the declaration condition configuration page, the policy declaration condition is adjusted to obtain the adjusted policy declaration condition.
[0189] Specifically, in response to the user's declaration condition configuration instruction on the declaration condition configuration page, the policy declaration condition extracted from the target policy is modified, or a new policy declaration condition is added to the target policy.
[0190] In one implementation, a user modifies a policy declaration condition through an input box or option button for information such as declaration parameters, condition type, parameter information, and condition configuration information corresponding to the policy declaration condition.
[0191] In this way, the policy declaration conditions extracted from the target policy can be modified according to user instructions to obtain accurate policy declaration conditions.
[0192] In one implementation, a user adds a new policy declaration condition through an input box or an option button for adding policy declaration conditions in a declaration condition configuration page.
[0193] Furthermore, the condition weights of the policy declaration conditions can be displayed in the declaration condition configuration page, and the condition weights of the policy declaration conditions can be configured according to the user's weight modification instructions.
[0194] Step 207: Display the declaration conditions display interface based on the adjusted policy declaration conditions.
[0195] In the embodiment of the present application, only the policy application conditions for extracting the target policy are taken as an example for explanation. In actual applications, the policy application conditions for other policies can also be extracted by adopting principles similar to those for extracting the target policy, which will not be elaborated here.
[0196] Furthermore, keywords, labels, and regions for filtering policies can be set based on policy keywords, so that when matching policies, policies can be filtered based on keywords, labels, and regions to narrow the policy matching scope and improve matching efficiency.
[0197] In the embodiment of the present application, after extracting the policy declaration conditions of each policy, policy matching can be performed in subsequent steps based on the policy declaration conditions.
[0198] See also Figure 3 As shown, it is a flowchart of an implementation method of a policy matching method provided in an embodiment of the present application, combined with Figure 1 The policy matching system shown in the figure is used to illustrate the method. The specific implementation process of the method is as follows:
[0199] Step 300: Obtain the policy declaration conditions corresponding to the target policy.
[0200] Specifically, the policy declaration conditions include declaration parameters. The policy declaration conditions are extracted from the target policy according to the declaration condition configuration rules.
[0201] Step 301: Extract user parameter information of declaration parameters in policy declaration conditions from the user's enterprise declaration information.
[0202] Specifically, multiple declaration parameters in the policy declaration conditions are obtained, and the parameter identification model of each declaration parameter is used to extract the user parameter information of each declaration parameter respectively.
[0203] Step 302: Match the policy declaration conditions with the determined user parameter information to obtain the policy matching degree between the enterprise declaration information and the target policy.
[0204] Specifically, when executing step 302, the following steps may be adopted:
[0205] S3021: Match each policy declaration condition with the corresponding user parameter information respectively to obtain the parameter matching degree corresponding to each policy declaration condition.
[0206] In one implementation, for each policy declaration condition, it is determined whether the user parameter information meets the policy declaration condition. If so, the parameter matching degree is determined to be 1, otherwise, the parameter matching degree is 0.
[0207] S3022: Obtain the matching type of the declaration parameters of each policy declaration condition.
[0208] S3023: Determine whether the matching type and parameter matching degree corresponding to each policy declaration condition meet the preset matching rejection condition. If so, execute S3024; otherwise, execute S3025.
[0209] Specifically, determine whether there is a corresponding matching type representing a policy matching veto and a policy declaration condition in which the parameter matching degree is lower than a preset matching degree. If so, execute S3024; otherwise, execute S3025.
[0210] This is because when policies are matched, certain necessary policy declaration conditions of the target policy have a veto power, that is, if the necessary policy declaration conditions are not met, then even if other policy declaration conditions are met, declaration cannot be made.
[0211] S3024: Determine that the policy matching degree between the enterprise's declared information and the target policy is the specified matching degree.
[0212] In one implementation, the specified matching degree is 0. In actual applications, the specified matching degree may also be other matching degrees, which is not limited here.
[0213] S3025: Obtain the condition weights set for each policy application condition.
[0214] S3026: Based on the condition weights of each policy application condition, perform weighted summation on the matching degree of each parameter to obtain the policy matching degree between the enterprise application information and the target policy.
[0215] Specifically, the product between the condition weight and parameter matching degree of each policy application condition is determined respectively, and the sum of each product is calculated to obtain the policy matching degree between the enterprise application information and the target policy.
[0216] Furthermore, the policy matching results may be displayed to the user.
[0217] In one implementation, when displaying the policy matching results, the following steps may be used:
[0218] Step 1: Filter out parameter matches that are lower than the preset match.
[0219] Specifically, the preset matching degree can be set according to the actual application scenario, such as 1, which is not limited here.
[0220] Step 2: Obtain the first display format set for the filtered parameter matching degree.
[0221] Step 3: Obtain a second display format for parameter matching settings that are not filtered out.
[0222] Step 4: Get the third display form set for policy matching.
[0223] Specifically, a first display correspondence is pre-established between the screened parameter matching degree and the first display form, a second display correspondence is pre-established between the unscreened parameter matching degree and the second display form, and a third display correspondence is pre-established between the policy matching degree and the third display form.
[0224] Among them, the display form includes a first display form, a second display form and a third display form.
[0225] Optionally, the display format can be differentiated by borders, fonts, icon colors, labels, highlights, and shapes, and can also be displayed in the form of bar charts and pie charts.
[0226] In one embodiment, the first display form is: adding different icons to identify different parameter matching degrees. The second display form is: using different font colors or fill colors to represent different parameter matching degrees. The third display form is: using pie charts with different fill colors to represent different policy matching degrees.
[0227] In actual applications, the display format can be set according to the actual application scenario and is not limited here.
[0228] Step 5: Display the corresponding declaration parameters, policy declaration conditions, user parameter information and parameter matching degree according to the corresponding display form of each parameter matching degree.
[0229] Specifically, on the policy display page, at least one of the corresponding declaration parameters, policy declaration conditions, user parameter information and parameter matching degree is displayed according to the corresponding display form of each parameter matching degree.
[0230] Step 6: Display the policy matching degree according to the third display form.
[0231] In this way, different display forms can be used to prompt different matching levels to users. Through the first display form, it can be determined whether there are any necessary policy declaration conditions that have not been met. Through the second display form, the matching degree of each policy declaration condition can be checked. And through the third display form, it can be simply and clearly determined whether the policy can be declared.
[0232] Furthermore, multiple policies may be used as target policies, and the policy matching degree between the enterprise's declared information and the multiple target policies may be determined, and matching policies may be recommended to users based on the determined matching degrees of each policy.
[0233] Specifically, when making policy recommendations, the following steps can be taken:
[0234] Step 1: Determine the policy matching degree between the enterprise's declared information and each target policy.
[0235] Step 2: From the policy matching degrees corresponding to each target policy, select the policy matching degrees that are higher than the preset recommendation threshold.
[0236] In practical applications, the preset recommendation threshold can be set according to the actual application scenario, such as 0.7, which is not limited here.
[0237] Step 3: Sort the matching degrees of the selected policies in descending order.
[0238] Step 4: Push target policies that meet the preset push conditions to users according to the sorting.
[0239] Specifically, according to the above sorting, a specified number of target policies are screened out, and the screened target policies are pushed to the user by means of application push, SMS, and email.
[0240] The policy matching degrees of the selected target policies are all higher than the policy matching degrees of the unselected target policies. The specified number can be 5.
[0241] In one implementation, the preset push condition is to screen out a specified number of target policies according to the above-mentioned sorting.
[0242] In actual applications, the preset push conditions and specified quantities can be set according to the actual application scenarios and are not restricted here.
[0243] Furthermore, since the user may not register the enterprise declaration information to protect the privacy of enterprise information, but instead makes selections or inputs in the policy matching page as a visitor to perform matching, it is also possible to build a user's enterprise profile based on the user's operation options and input information during policy matching, and infer the user's enterprise declaration information, and then perform policy matching and policy recommendations based on the inferred enterprise declaration information.
[0244] In one implementation, when inferring the enterprise declaration information of the user, the following steps may be adopted:
[0245] Step 1: In response to a user's policy page request for a target policy, a policy matching page is displayed.
[0246] Among them, the policy matching page displays the policy application conditions of the target policy, as well as the input box or option button set for each policy application condition.
[0247] Step 2: In response to the user's input operation on the input box in the policy matching page, obtain user input information.
[0248] In this way, the enterprise declaration information entered by the user during policy matching can be obtained.
[0249] Step 3: In response to the user's selection operation on the option button in the policy matching page, option information is obtained.
[0250] Specifically, a plurality of options are set in the policy declaration conditions of the policy matching page. By clicking the option button selected by the user, the option information selected by the user is obtained, and then the user's enterprise declaration information can be estimated.
[0251] Step 4: Update the user's enterprise declaration information based on the input information and option information.
[0252] Furthermore, the user's network operation information can be collected, and based on the user's network operation information, a corporate portrait of the user can be generated, and based on the user's corporate portrait, the user's corporate declaration information can be improved.
[0253] In the embodiment of the present application, the declaration condition configuration rules are adopted in advance to extract the policy declaration conditions of each policy, so that when matching policies, the enterprise declaration information and the target policy can be quickly and accurately matched, which saves the time cost of policy matching and improves the efficiency and accuracy of policy matching.
[0254] See also Figure 4 As shown, it is a flowchart of the implementation of a declaration condition configuration method provided in the embodiment of the present application. The specific process of the method is as follows:
[0255] Step 400: Display the declaration conditions page.
[0256] Step 401: In response to the user's declaration condition creation operation on the declaration condition page, the declaration condition configuration page is displayed.
[0257] Among them, the declaration condition configuration page displays the name of the policy declaration condition created by the user for the target policy, as well as the declaration parameters used to configure the policy declaration condition and the input box and option button for the condition configuration information.
[0258] Optionally, the number of policy declaration conditions created by a user for a target policy can be one or more, and there is no limitation here.
[0259] Step 402: In response to the user's operation of configuring the declaration conditions in the declaration condition configuration page, the policy declaration condition page is displayed.
[0260] Specifically, in response to the user's input operation or selection operation on the declaration parameters in the declaration condition configuration page, the declaration parameters are obtained, and in response to the user's selection operation on the condition type in the declaration condition configuration page, the condition type selected by the user for the declaration parameters is obtained, and in response to the user's input operation or selection operation on the condition configuration information in the declaration condition configuration page, the condition configuration information set by the user is obtained.
[0261] Furthermore, the condition weights of the policy declaration conditions may be configured in response to the user's declaration condition configuration operation in the declaration condition configuration page.
[0262] Among them, the declaration parameters configured by the user for each declaration condition can be one or more, and there is no limitation here.
[0263] See also Figure 5 The following is an example of a declaration condition configuration page with a numeric type configuration. In the declaration condition configuration page, the declaration parameter is the number of employees, the condition type is a numeric value, and the condition configuration information includes: the numeric range of the number of employees is [10,999], the numeric unit is yuan, and the decimal point is 0. The information details are: the number of employees is greater than 80, the condition weight is 5, and the matching type is: policy matching veto.
[0264] See also Figure 6 The figure shows an example of a declaration condition configuration page for a text type configuration. In the declaration condition configuration page, the declaration parameter is the company name, the condition type is text, and the condition configuration information includes: the text length threshold of the company name [1,10], the information details are: the company name is less than 6, the condition weight is 10, and the matching type is: non-policy matching veto.
[0265] See also Figure 7 The following is an example of a declaration condition configuration page for a location type configuration. In the declaration condition configuration page, the declaration parameter is the enterprise address, the condition type is location, and the condition configuration information includes: the area of the enterprise address is China, the information details are: Qingyang District, Chengdu City, Sichuan Province, the condition weight is 10, and the matching type is: policy matching veto.
[0266] See also Figure 8 The figure shows an example of a declaration condition configuration page with a multiple-selection configuration. In the declaration condition configuration page, the declaration parameter is the declaration project, the condition type is multiple selection, and the condition configuration information includes: the project options are project one and project two, and new projects can be added by entering information. The condition weight is 10, and the matching type is: policy matching veto.
[0267] See also Fig. 9 The following is an example of a single-choice configuration page for the declaration condition configuration. In the declaration condition configuration page, the declaration parameter is the declaration project, the condition type is single-choice, and the condition configuration information includes: the project options are project one and project two, and new projects can be added by entering information. The condition weight is 10, and the matching type is: policy matching veto.
[0268] See also Fig.10 The following is an example of a declaration condition configuration page for a judgment type configuration. In the declaration condition configuration page, the declaration parameter is the enterprise type, the condition type is judgment, and the condition configuration information includes: the judgment details are: whether it is a state-owned enterprise, the judgment conditions include yes / no, the condition weight is 10, and the matching type is: policy matching veto.
[0269] See also Fig.11 The following is an example of a declaration condition configuration page for a date type configuration. In the declaration condition configuration page, the declaration parameter is the construction time, the condition type is the date, and the condition configuration information includes: the date type is a single time, the time condition is: earlier than 2021, the condition weight is 10, and the matching type is: policy matching veto.
[0270] Furthermore, users can also complete the enterprise declaration information through the enterprise declaration information page.
[0271] See also Fig.12 The following is an example of an enterprise declaration information page. The user enters the proportion of management personnel with college degree or above as 80% through the enterprise declaration information page. Fig.13 The following is an example of a parameter matching page. In the parameter matching page, the policy application parameters are: the proportion of management personnel with college degree or above. The policy application conditions include: the personnel condition is that the proportion is higher than 0.7, and the condition weight is 5. Fig.12 Among the managers of enterprises, the proportion of people with college degree or above is 80%, which is higher than 0.7. Therefore, the matching result is 100% matching and the policy matching degree is 5%.
[0272] Based on the same inventive concept, a policy matching device is also provided in the embodiment of the present application. Since the principle of solving the problem by the above-mentioned device and equipment is similar to a policy matching method, the implementation of the above-mentioned device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0273] like Fig.14 As shown, it is a structural diagram of a policy matching device provided in an embodiment of the present application, including:
[0274] An acquisition unit 141 is used to acquire a policy declaration condition corresponding to a target policy, wherein the policy declaration condition includes a declaration parameter, and the policy declaration condition is extracted from the target policy according to a declaration condition configuration rule;
[0275] An extraction unit 142 is used to extract user parameter information of the declaration parameters in the policy declaration conditions from the enterprise declaration information of the user;
[0276] The obtaining unit 143 is used to match the policy declaration conditions with the determined user parameter information to obtain the policy matching degree between the enterprise declaration information and the target policy.
[0277] In one implementation, the acquiring unit 141 is further configured to:
[0278] Match the keywords in the target policy with each keyword in the declared keyword set;
[0279] According to the matching results, multiple declaration keywords in the target policy are obtained;
[0280] Determine the declaration parameters set for each declaration keyword;
[0281] According to the declaration condition configuration rules and based on the target policy, determine the condition type, parameter information and condition configuration information corresponding to each declaration keyword;
[0282] Generate policy declaration conditions based on the condition type, parameter information, condition configuration information and declaration parameters corresponding to each declaration keyword.
[0283] In one implementation, the declaration condition configuration rule includes a parameter identification model and a condition identification model, and the acquisition unit 141 is further used to:
[0284] Obtain a parameter recognition model set for each declared keyword;
[0285] Using the parameter recognition model corresponding to each declared keyword respectively, based on the contextual relationship of the corresponding declared keyword in the target policy, the parameter information corresponding to the corresponding declared keyword is determined;
[0286] Obtain the logical characters set for the parameter information of each declared keyword;
[0287] Based on the condition recognition model corresponding to each declared keyword, the condition type and condition configuration information of each declared keyword are determined according to the corresponding parameter information and logical characters in the target policy.
[0288] In one implementation, the condition type includes at least one of the following types: a numerical type, a text type, a position type, a date type, a single-select type, a multiple-select type, and a judgment type;
[0289] The condition configuration information includes at least one of the following information: value range, text content, location range, date range, time zone, option information, option combination, option order, judgment condition and matching type.
[0290] In one implementation, the acquiring unit 141 is further configured to:
[0291] Display the declaration condition configuration page for modifying policy declaration conditions, where the declaration conditions of each policy are displayed on the declaration condition configuration page;
[0292] In response to a user's declaration condition configuration instruction on a declaration condition configuration page, adjusting the policy declaration condition;
[0293] According to the adjusted policy declaration conditions, the declaration conditions display interface is displayed.
[0294] In one implementation, there are multiple policy declaration conditions, and the obtaining unit 143 is used to:
[0295] Match each policy application condition with the corresponding user parameter information respectively to obtain the parameter matching degree corresponding to each policy application condition;
[0296] Get the condition weights set for each policy application condition;
[0297] Based on the conditional weights of each policy application condition, the matching degrees of each parameter are weighted and summed to obtain the policy matching degree between the enterprise's application information and the target policy.
[0298] In one implementation, the obtaining unit 143 is used to:
[0299] If there are multiple policy application conditions, each policy application condition is matched with the corresponding user parameter information to obtain the parameter matching degree corresponding to each policy application condition;
[0300] Get the matching type of the declaration parameters of each policy declaration condition;
[0301] Determine whether the matching type and parameter matching degree corresponding to each policy declaration condition meet the preset matching rejection condition. If so, determine that the policy matching degree between the enterprise declaration information and the target policy is the specified matching degree;
[0302] Otherwise, obtain the condition weights set for each policy application condition, and based on the condition weights of each policy application condition, perform weighted summation on the matching degrees of each parameter to obtain the policy matching degree between the enterprise application information and the target policy.
[0303] In one implementation, the obtaining unit 143 is further configured to:
[0304] Filter out parameter matching degrees that are lower than the preset matching degree;
[0305] Obtain a first display format for the selected parameter matching settings;
[0306] Obtain a second display format for parameter matching settings that are not filtered out;
[0307] Get the third display form for policy matching settings;
[0308] Display the corresponding declaration parameters, policy declaration conditions, user parameter information and parameter matching degree according to the corresponding display form of each parameter matching degree;
[0309] According to the third display form, the policy matching degree is displayed.
[0310] In one implementation, the obtaining unit 143 is further configured to:
[0311] If there are multiple target policies, the policy matching degrees corresponding to the target policies are screened out to find the policy matching degrees that are higher than the preset recommendation threshold;
[0312] Sort the matching degrees of the selected policies in descending order;
[0313] According to the sorting, the target policies that meet the preset push conditions are pushed to users.
[0314] In one implementation, the obtaining unit 143 is further configured to:
[0315] In response to a user's policy page request for a target policy, a policy matching page is displayed, wherein the policy matching page displays various policy declaration conditions of the target policy, and an input box or option button set for each policy declaration condition;
[0316] In response to a user input operation on an input box in a policy matching page, obtaining input information;
[0317] In response to a user's selection operation on an option button in a policy matching page, obtaining option information;
[0318] Based on the input information and option information, the user's enterprise declaration information is completed.
[0319] In the policy matching method, device, system, electronic device and readable storage medium provided in the embodiments of the present application, the policy declaration conditions corresponding to the target policy are obtained, wherein the policy declaration conditions include declaration parameters, and the policy declaration conditions are extracted from the target policy according to the declaration condition configuration rules; the user parameter information of the declaration parameters in the policy declaration conditions is extracted from the user's enterprise declaration information; the policy declaration conditions are matched with the determined user parameter information to obtain the policy matching degree between the enterprise declaration information and the target policy. In this way, the policy declaration conditions in the target policy are extracted in advance according to the declaration condition configuration rules, and when the policy is matched, whether the enterprise declaration information matches the target policy is judged according to whether the enterprise declaration information meets the policy declaration conditions, thereby improving the efficiency and accuracy of policy matching.
[0320] Fig.15 FIG. 1 is a schematic diagram showing the structure of an electronic device 1500. Fig.15 As shown, the electronic device 1500 includes: a processor 1510 and a memory 1520 , and optionally, may also include a power supply 1530 , a display unit 1540 , and an input unit 1550 .
[0321] The processor 1510 is the control center of the electronic device 1500. It connects various components using various interfaces and lines, and performs various functions of the electronic device 1500 by running or executing software programs and / or data stored in the memory 1520, thereby monitoring the electronic device 1500 as a whole.
[0322] In the embodiment of the present application, when the processor 1510 calls the computer program stored in the memory 1520, the following is executed: Figure 3 The embodiment shown in provides a policy matching method.
[0323] Optionally, the processor 1510 may include one or more processing units; preferably, the processor 1510 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and applications, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1510. In some embodiments, the processor and the memory may be implemented on a single chip, and in some embodiments, they may also be implemented separately on separate chips.
[0324] The memory 1520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, various applications, etc.; the data storage area may store data created according to the use of the electronic device 1500, etc. In addition, the memory 1520 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices, etc.
[0325] The electronic device 1500 also includes a power source 1530 (such as a battery) for supplying power to various components. The power source can be logically connected to the processor 1510 through a power management system, thereby managing functions such as charging, discharging, and power consumption through the power management system.
[0326] The display unit 1540 may be used to display information input by the user or information provided to the user and various menus of the electronic device 1500, and in the embodiment of the present invention, is mainly used to display the display interface of each application in the electronic device 1500 and objects such as text and pictures displayed in the display interface. The display unit 1540 may include a display panel 1541. The display panel 1541 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0327] The input unit 1550 may be used to receive information such as numbers or characters input by the user. The input unit 1550 may include a touch panel 1551 and other input devices 1552. The touch panel 1551, also known as a touch screen, may collect touch operations of the user on or near it (such as operations of the user using a finger, a touch pen, or any other suitable object or accessory on or near the touch panel 1551).
[0328] Specifically, the touch panel 1551 can detect the user's touch operation, detect the signal brought by the touch operation, convert these signals into touch point coordinates, send them to the processor 1510, and receive and execute the command sent by the processor 1510. In addition, the touch panel 1551 can be implemented in various types such as resistive, capacitive, infrared and surface acoustic wave. Other input devices 1552 can include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, a joystick, etc.
[0329] Of course, the touch panel 1551 can cover the display panel 1541. When the touch panel 1551 detects a touch operation on or near it, it is transmitted to the processor 1510 to determine the type of touch event, and then the processor 1510 provides corresponding visual output on the display panel 1541 according to the type of touch event. Fig.15 In the embodiment, the touch panel 1551 and the display panel 1541 are used as two independent components to implement the input and output functions of the electronic device 1500, but in some embodiments, the touch panel 1551 and the display panel 1541 can be integrated to implement the input and output functions of the electronic device 1500.
[0330] The electronic device 1500 may also include one or more sensors, such as a pressure sensor, a gravity acceleration sensor, a proximity light sensor, etc. Of course, according to the needs of specific applications, the electronic device 1500 may also include other components such as a camera. Since these components are not the key components used in the embodiments of the present application, Fig.15 It is not shown and will not be described in detail.
[0331] Those skilled in the art will understand that Fig.15 The electronic device is merely an example and does not limit the electronic device, and may include more or less components than those shown in the figure, or may combine certain components, or may include different components.
[0332] In an embodiment of the present application, a readable storage medium stores a computer program, and when the computer program is executed by a processor, a communication device can perform each step in the above embodiment.
[0333] For the convenience of description, the above parts are divided into modules (or units) according to their functions and described separately. Of course, when implementing this application, the functions of each module (or unit) can be implemented in the same or multiple software or hardware.
[0334] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0335] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0336] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0337] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0338] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0339] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A policy matching method, characterized in that: include: Acquire a policy declaration condition corresponding to a target policy, wherein the policy declaration condition includes a declaration parameter, and the policy declaration condition is extracted from the target policy according to a declaration condition configuration rule; Extracting user parameter information of the declaration parameters in the policy declaration conditions from the user's enterprise declaration information; Matching the policy declaration conditions with the determined user parameter information to obtain the policy matching degree between the enterprise declaration information and the target policy; Before obtaining the policy declaration conditions corresponding to the target policy, it also includes: Match the keywords in the target policy with each keyword in the declaration keyword set respectively; obtain multiple declaration keywords in the target policy according to the matching results; determine the declaration parameters set for each declaration keyword; determine the condition type, parameter information and condition configuration information corresponding to each declaration keyword based on the target policy according to the declaration condition configuration rules; generate policy declaration conditions according to the condition type, parameter information, condition configuration information and declaration parameters corresponding to each declaration keyword; The declaration keyword set is generated by extracting declaration parameters of multiple policy samples and determining keywords related to each extracted declaration parameter; The condition type includes at least one of the following types: a numerical type, a text type, a position type, a date type, a single-select type, a multiple-select type, and a judgment type; The condition configuration information includes at least one of the following information: value range, text content, location range, date range, time zone, option information, option combination, option order, judgment condition and matching type; The declaration condition configuration rule includes a parameter identification model and a condition identification model. The declaration condition configuration rule determines the condition type, parameter information and condition configuration information corresponding to each declaration keyword based on the target policy, including: Obtain a parameter recognition model set for each declared keyword; respectively use the parameter recognition model corresponding to each declared keyword, and determine the parameter information corresponding to the corresponding declared keyword based on the contextual relationship of the corresponding declared keyword in the target policy; obtain the logical characters set for the parameter information of each declared keyword; respectively determine the condition type and condition configuration information of each declared keyword based on the condition recognition model corresponding to each declared keyword, according to the corresponding parameter information and logical characters in the target policy; There are multiple policy declaration conditions, and matching the policy declaration conditions with the determined user parameter information to obtain the policy matching degree between the enterprise declaration information and the target policy includes: Match each policy application condition with the corresponding user parameter information respectively to obtain the parameter matching degree corresponding to each policy application condition; obtain the condition weight set for each policy application condition respectively; based on the condition weight of each policy application condition, perform weighted summation on the parameter matching degrees to obtain the policy matching degree between the enterprise application information and the target policy; Alternatively, each policy declaration condition is matched with the corresponding user parameter information respectively to obtain the parameter matching degree corresponding to each policy declaration condition; the matching type of the declaration parameters of each policy declaration condition is obtained; it is determined whether the matching type and parameter matching degree corresponding to each policy declaration condition meet the preset matching rejection condition, and if so, it is determined that the policy matching degree between the enterprise declaration information and the target policy is a specified matching degree; otherwise, the condition weights set for each policy declaration condition are obtained, and based on the condition weights of each policy declaration condition, the parameter matching degrees are weighted and summed to obtain the policy matching degree between the enterprise declaration information and the target policy.
2. The method according to claim 1, characterized in that After generating the policy declaration conditions according to the condition type, parameter information, condition configuration information and declaration parameters corresponding to each declaration keyword, it also includes: Displaying a declaration condition configuration page for modifying policy declaration conditions, wherein the declaration condition configuration page displays various policy declaration conditions; In response to a user's declaration condition configuration instruction on the declaration condition configuration page, adjusting the policy declaration condition; According to the adjusted policy declaration conditions, the declaration conditions display interface is displayed.
3. The method according to claim 1, characterized in that After matching the policy declaration conditions with the determined user parameter information to obtain the policy matching degree between the enterprise declaration information and the target policy, the method further includes: Filter out parameter matching degrees that are lower than the preset matching degree; Obtain a first display format for the selected parameter matching settings; Obtain a second display format for parameter matching settings that are not filtered out; Obtain a third display format for the policy matching setting; Display the corresponding declaration parameters, policy declaration conditions, user parameter information and parameter matching degree according to the corresponding display form of each parameter matching degree; The policy matching degree is displayed according to the third display form.
4. The method according to claim 1, characterized in that If there are multiple target policies, after matching the policy declaration conditions with the determined user parameter information to obtain the policy matching degree between the enterprise declaration information and the target policy, the method further includes: From the policy matching degrees corresponding to each target policy, select the policy matching degrees that are higher than the preset recommendation threshold; Sort the matching degrees of the selected policies in descending order; According to the above order, the target policies that meet the preset push conditions are pushed to the user.
5. The method according to claim 1, characterized in that Also includes: In response to a user's request for a policy page of the target policy, a policy matching page is displayed, wherein the policy matching page displays various policy declaration conditions of the target policy and an input box or option button set for each policy declaration condition; In response to the user's input operation on an input box in the policy matching page, obtaining input information; In response to the user's selection operation on an option button in the policy matching page, obtaining option information; The enterprise declaration information of the user is improved according to the input information and the option information.
6. A policy matching device, characterized in that: include: An acquisition unit, configured to acquire a policy declaration condition corresponding to a target policy, wherein the policy declaration condition includes a declaration parameter, and the policy declaration condition is extracted from the target policy according to a declaration condition configuration rule; An extraction unit, used to extract user parameter information of the declaration parameters in the policy declaration conditions from the user's enterprise declaration information; An obtaining unit, used for matching the policy declaration conditions with the determined user parameter information to obtain a policy matching degree between the enterprise declaration information and the target policy; The acquisition unit is also used for: Match the keywords in the target policy with each keyword in the declaration keyword set respectively; obtain multiple declaration keywords in the target policy according to the matching results; determine the declaration parameters set for each declaration keyword; determine the condition type, parameter information and condition configuration information corresponding to each declaration keyword based on the target policy according to the declaration condition configuration rules; generate policy declaration conditions according to the condition type, parameter information, condition configuration information and declaration parameters corresponding to each declaration keyword; The declaration keyword set is generated by extracting declaration parameters of multiple policy samples and determining keywords related to each extracted declaration parameter; The condition type includes at least one of the following types: a numerical type, a text type, a position type, a date type, a single-select type, a multiple-select type, and a judgment type; The condition configuration information includes at least one of the following information: value range, text content, location range, date range, time zone, option information, option combination, option order, judgment condition and matching type; The declaration condition configuration rule includes a parameter recognition model and a condition recognition model, and the acquisition unit is further used to: acquire the parameter recognition model set for each declaration keyword; respectively use the parameter recognition model corresponding to each declaration keyword, based on the contextual relationship of the corresponding declaration keyword in the target policy, determine the parameter information corresponding to the corresponding declaration keyword; acquire the logical characters set for the parameter information of each declaration keyword; respectively determine the condition type and condition configuration information of each declaration keyword based on the condition recognition model corresponding to each declaration keyword, according to the corresponding parameter information and logical characters in the target policy; The policy declaration conditions are multiple, and the obtaining unit is used to: Match each policy application condition with the corresponding user parameter information respectively to obtain the parameter matching degree corresponding to each policy application condition; obtain the condition weight set for each policy application condition respectively; based on the condition weight of each policy application condition, perform weighted summation on the parameter matching degrees to obtain the policy matching degree between the enterprise application information and the target policy; Alternatively, each policy declaration condition is matched with the corresponding user parameter information respectively to obtain the parameter matching degree corresponding to each policy declaration condition; the matching type of the declaration parameters of each policy declaration condition is obtained; it is determined whether the matching type and parameter matching degree corresponding to each policy declaration condition meet the preset matching rejection condition, and if so, it is determined that the policy matching degree between the enterprise declaration information and the target policy is a specified matching degree; otherwise, the condition weights set for each policy declaration condition are obtained, and based on the condition weights of each policy declaration condition, the parameter matching degrees are weighted and summed to obtain the policy matching degree between the enterprise declaration information and the target policy.
7. The device according to claim 6, characterized in that The acquisition unit is also used for: Displaying a declaration condition configuration page for modifying policy declaration conditions, wherein the declaration condition configuration page displays various policy declaration conditions; In response to a user's declaration condition configuration instruction on the declaration condition configuration page, adjusting the policy declaration condition; According to the adjusted policy declaration conditions, the declaration conditions display interface is displayed.
8. The device according to claim 6, characterized in that The obtaining unit is also used for: Filter out parameter matching degrees that are lower than the preset matching degree; Obtain a first display format for the selected parameter matching settings; Obtain a second display format for parameter matching settings that are not filtered out; Obtain a third display format for the policy matching setting; Display the corresponding declaration parameters, policy declaration conditions, user parameter information and parameter matching degree according to the corresponding display form of each parameter matching degree; The policy matching degree is displayed according to the third display form.
9. The device according to claim 6, characterized in that The obtaining unit is also used for: If there are multiple target policies, then select the policy matching degree that is higher than the preset recommendation threshold from the policy matching degrees corresponding to the target policies; Sort the matching degrees of the selected policies in descending order; According to the above order, the target policies that meet the preset push conditions are pushed to the user.
10. The device according to claim 6, characterized in that The obtaining unit is also used for: In response to a user's request for a policy page of the target policy, a policy matching page is displayed, wherein the policy matching page displays various policy declaration conditions of the target policy and an input box or option button set for each policy declaration condition; In response to the user's input operation on an input box in the policy matching page, obtaining input information; In response to the user's selection operation on an option button in the policy matching page, obtaining option information; The enterprise declaration information of the user is improved according to the input information and the option information.
11. A policy matching system, characterized in that: Includes a server and a user device, wherein: The user device is used to send a policy matching request to the server, and receive a policy matching degree returned by the server based on the policy matching request, wherein the policy matching request is used to request a policy matching degree between the enterprise declaration information of the user and the target policy; The server is used to determine the policy matching degree between the enterprise declaration information and the target policy when receiving a policy matching request sent by the user device, using the method described in any one of claims 1-5, and returning the policy matching degree to the user device.
12. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the method according to any one of claims 1 to 5 is executed.
13. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is executed.
Citation Information
Patent Citations
Enterprise policy information multiple dynamic intelligent matching recommendation method for digital government affairs
CN112765441A
Cited By
Enterprise and science and technology policy matching construction method based on large model algorithm
CN120950996A
