Personalized service intelligent customization method and device based on LLM security protection system
The method and system for personalized LLM security protection customization address system limitations by precisely matching user needs with suitable protection schemes, enhancing efficiency and stability through automated configuration adjustments.
Patent Information
- Application Number
- CN202510779924.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-12
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2045-06-12
AI Technical Summary
When facing the diverse needs of users, the existing LLM security protection system has problems such as high limitations in system use and high complexity in customization, resulting in improper configuration that affects the security protection effect.
By detecting the customized demand information of the target user, analyzing the protection scenarios and requirements details, matching the historical protection plans in the database, customizing and verifying the solutions, and achieving personalized customization of the security protection system.
It improves the customization efficiency and accuracy of the security protection system, ensures that the customization plan has no logical loopholes, and operates stably and reliably, enhancing overall stability and reliability.
Smart Images

Figure CN120321035A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of security protection, and in particular, to a method and device for intelligent customization of personalized services based on an LLM security protection system. Background Art
[0002] With the rapid development of information technology, network security issues have become increasingly prominent, and various security protection systems have emerged to provide users with comprehensive and effective security guarantees. Among them, the large language model (LLM) security protection system, as an advanced network security solution, has received wide attention and application due to its high flexibility and customizability.
[0003] However, in the process of using existing LLM security protection systems, combined with the diverse usage requirements of users, there are often technical problems such as high limitations in system usage and incompatibility with different user usage requirements. To address this technical problem, the traditional solution is to rely on users / service providers to manually configure various security parameters and policies according to user needs. This method is not only time-consuming and laborious but also prone to improper configuration due to the limitations of users' professional knowledge and experience, thus affecting the security protection effect. It can be seen that it is particularly important to provide a corresponding solution to the technical problems of high limitations in system application and high complexity in system customization to adapt to user needs when using LLM security protection systems in the prior art. Summary of the Invention
[0004] The present invention provides a method and device for intelligent customization of personalized services based on an LLM security protection system, which can realize the intelligence and customization of the security protection system, reduce the customization difficulty of the security protection system and improve the system customization efficiency, and broaden the usage scenarios of the security protection system.
[0005] To solve the above technical problems, in a first aspect of the present invention, a method for intelligent customization of personalized services based on an LLM security protection system is disclosed. The method includes: Detecting the customization requirement information of a target user for the LLM security protection system, and analyzing the customization requirement information to obtain protection scenario information and target requirement details for the LLM security protection system; Obtaining a plurality of historical protection schemes recorded in a database that match the protection scenario information, each historical protection scheme including a plurality of protection sub-items, and each protection sub-item being used to adapt to one requirement detail of a historical user; Performing requirement detail pairing on all the historical protection schemes according to the target requirement details to obtain a first protection scheme with the highest target adaptation value for the target requirement details; Perform solution customization on the first protection solution according to the protection scenario information and the target requirement details to obtain a second protection solution corresponding to the first protection solution; and perform customization operations on the LLM security protection system according to the second protection solution; wherein the solution customization includes solution detail adjustment and / or solution verification.
[0006] As an optional implementation manner, in the first aspect of the present invention, the protection scenario information includes the protection scenario in which the customization requirement information is actually applied, and the protection scenario includes any one of a portal website, an e-commerce platform, the financial industry, and the game industry; The target requirement details include a plurality of requirement customization items matching the protection scenario; the target requirement details further include an item type corresponding to each requirement customization item, and the item type includes a rule adjustment type or a configuration parameter adjustment type; And, the obtaining of a plurality of historical protection solutions recorded in the database that match the protection scenario information includes: Obtain all basic protection solutions recorded in the database, and perform a first-level screening on all the basic protection solutions according to the scenario tags of the protection scenario in the protection scenario information to obtain a plurality of first-level screened protection solutions that match the scenario tags; Perform a second-level screening on all the first-level screened protection solutions according to preset screening parameters to obtain a plurality of second-level screened protection solutions as historical protection solutions; wherein the screening parameters include a solution record date and a solution quantity; the solution record date is used to screen out solutions within the target record date from all the first-level screened protection solutions; the solution quantity is used to limit the quantity of all the second-level screened protection solutions.
[0007] As an optional implementation manner, in the first aspect of the present invention, the performing of requirement detail pairing on all the historical protection solutions according to the target requirement details to obtain a first protection solution with the highest target adaptation value corresponding to the target requirement details includes: For each historical protection solution, match all the requirement customization items corresponding to the target requirement details with all the protection sub-items corresponding to this historical protection solution to obtain first adaptation information of the target requirement details and this historical protection solution, and the first adaptation information includes a first adaptation value; Determine the user group classification of the target user and the corresponding user portrait according to the customization requirement information; and extract customization preference information adapted to the user group classification from the user portrait; According to the customized preference information, perform a scheme adaptation value evaluation on each of the historical protection schemes to obtain second adaptation information corresponding to the target user and each of the historical protection schemes, where the second adaptation information includes a second adaptation value; According to the first adaptation information and the second adaptation information corresponding to each of the historical protection schemes, determine a first protection scheme with the highest target adaptation value for the target requirement details.
[0008] As an optional implementation manner, in the first aspect of the present invention, the first adaptation information corresponding to each of the historical protection schemes further includes adaptation items and difference items between all the protection sub-items corresponding to the historical protection scheme and all the requirement customization items corresponding to the target requirement details; The determining a first protection scheme with the highest target adaptation value for the target requirement details according to the first adaptation information and the second adaptation information corresponding to each of the historical protection schemes includes: For each of the historical protection schemes, calculate a target adaptation value corresponding to the customized requirement information according to the first adaptation value corresponding to the historical protection scheme and its corresponding first preset weight coefficient, the second adaptation value and its corresponding second preset weight coefficient; Generate adaptation detail information for the historical protection scheme according to the adaptation items and the difference items corresponding to the historical protection scheme; and add the adaptation detail information to the historical protection scheme; Select a first protection scheme with the highest target adaptation value from all the historical protection schemes.
[0009] As an optional implementation manner, in the first aspect of the present invention, the performing scheme customization on the first protection scheme according to the protection scenario information and the target requirement details to obtain a second protection scheme corresponding to the first protection scheme includes: Perform a comparison on all the protection sub-items included in the first protection scheme according to all the requirement customization items corresponding to the target requirement details to obtain corresponding same-type items, first difference items and second difference items, where the first difference items are the remaining items after screening out the same-type items from all the requirement customization items; the second difference items are the remaining items after screening out the same-type items from all the protection sub-items; For the first protection scheme, add the first difference items, retain the same-type items and delete the second difference items to obtain a new first protection scheme, and at the same time determine the first difference items and the same-type items as all the protection customization items of the first protection scheme; For each of the described protection customization items, perform item filling according to the item type corresponding to the protection customization item to update the protection customization item; After determining that all the protection customization items have been updated, determine the new first protection plan as the second protection plan.
[0010] As an optional implementation manner, in the first aspect of the present invention, the performing item filling according to the item type corresponding to each of the protection customization items includes: For each of the protection customization items, when the item type is the rule adjustment type, determine all target filling information that matches the protection customization item from multiple preset filling information, and fill all the target filling information that matches the protection customization item into the protection customization item; wherein, the multiple preset filling information includes access control rules, intrusion detection and protection rules, Web application firewall rules, and other security rules; When the item type is the configuration parameter adjustment type, generate a status control instruction and item control parameters for the protection customization item; and add the status control instruction and item control parameters of the protection customization item to the protection customization item; Wherein, the status control instruction of each protection customization item is used to control the enabling or disabling of the protection customization item; the item control parameter of each protection customization item is used to indicate the execution frequency of executing the control instruction corresponding to the item control parameter.
[0011] As an optional implementation manner, in the first aspect of the present invention, when the protection scenario is the portal website, all the protection sub-items corresponding to the portal website include one or more of DDos attack protection, SQL injection protection, cross-site scripting attack protection, data backup and recovery; When the protection scenario is the e-commerce platform, all the protection sub-items corresponding to the portal website include one or more of payment security, user information protection, fraud detection, business failure monitoring and handling; When the protection scenario is the financial industry, all the protection sub-items corresponding to the portal website include one or more of data encryption and transmission security, identity authentication and access control, business continuity monitoring and fault handling; When the protection scenario is the game industry, all the protection sub-items corresponding to the portal website include one or more of DDos attack protection, game data security, anti-cheat mechanism, server load balancing.
[0012] The second aspect of the present invention discloses a personalized service intelligent customization device for an LLM security protection system, the device includes: A detection module, configured to detect the customization requirement information of a target user for the LLM security protection system; A requirement analysis module, configured to analyze the customization requirement information to obtain protection scenario information and target requirement details for the LLM security protection system; An acquisition module, configured to acquire a plurality of historical protection solutions recorded in a database that match the protection scenario information, each of the historical protection solutions including a plurality of protection sub-items, and each protection sub-item being used to adapt to one requirement detail of a historical user; A pairing module, configured to perform requirement detail pairing on all the historical protection solutions according to the target requirement details to obtain a first protection solution with the highest target adaptation value to the target requirement details; A solution customization module, configured to perform solution customization on the first protection solution according to the protection scenario information and the target requirement details to obtain a second protection solution corresponding to the first protection solution; and perform a customization operation on the LLM security protection system according to the second protection solution; wherein the solution customization includes solution detail adjustment and / or solution verification.
[0013] As an optional implementation manner, in the second aspect of the present invention, the protection scenario information includes the protection scenario in which the customization requirement information is actually applied, and the protection scenario includes any one of a portal website, an e-commerce platform, the financial industry, and the game industry; The target requirement details include a plurality of requirement customization items that match the protection scenario; the target requirement details further include an item type corresponding to each requirement customization item, and the item type includes a rule adjustment type or a configuration parameter adjustment type; Moreover, the manner in which the acquisition module acquires a plurality of historical protection solutions recorded in the database that match the protection scenario information specifically includes: Acquire all the basic protection solutions recorded in the database, and perform a first-level screening on all the basic protection solutions according to the scenario label of the protection scenario in the protection scenario information to obtain a plurality of first-level screened protection solutions that match the scenario label; Perform a second-level screening on all the first-level screened protection solutions according to preset screening parameters to obtain a plurality of second-level screened protection solutions as historical protection solutions; wherein the screening parameters include a solution record date and a solution quantity; the solution record date is used to screen out the solutions within the target record date from all the first-level screened protection solutions; the solution quantity is used to limit the quantity of all the second-level screened protection solutions.
[0014] As an alternative implementation, in the second aspect of the present invention, the manner in which the pairing module performs requirement detail pairing on all the historical protection solutions according to the target requirement details to obtain the first protection solution with the highest target adaptation value corresponding to the target requirement details specifically includes: For each of the historical protection solutions, match all the requirement customization items corresponding to the target requirement details with all the protection sub-items corresponding to this historical protection solution to obtain the first adaptation information of the target requirement details and this historical protection solution, where the first adaptation information includes a first adaptation value; According to the customized requirement information, determine the user group classification of the target user and its corresponding user portrait; and extract the customized preference information adapted to the user group classification from the user portrait; According to the customized preference information, perform an evaluation of the scheme adaptation value for each of the historical protection solutions to obtain the second adaptation information corresponding to each of the historical protection solutions and the target user, where the second adaptation information includes a second adaptation value; According to the first adaptation information and the second adaptation information corresponding to each of the historical protection solutions, determine the first protection solution with the highest target adaptation value corresponding to the target requirement details.
[0015] As an alternative implementation, in the second aspect of the present invention, the first adaptation information corresponding to each of the historical protection solutions further includes the adaptation items and the difference items between all the protection sub-items corresponding to this historical protection solution and all the requirement customization items corresponding to the target requirement details; The manner in which the pairing module determines the first protection solution with the highest target adaptation value corresponding to the target requirement details according to the first adaptation information and the second adaptation information corresponding to each of the historical protection solutions specifically includes: For each of the historical protection solutions, calculate the target adaptation value corresponding to this historical protection solution and the customized requirement information according to the first adaptation value corresponding to this historical protection solution and its corresponding first preset weight coefficient, the second adaptation value corresponding to this historical protection solution and its corresponding second preset weight coefficient; Generate the adaptation detail information of this historical protection solution according to the adaptation items and the difference items corresponding to this historical protection solution; and add the adaptation detail information to this historical protection solution; Select the first protection solution with the highest target adaptation value from all the historical protection solutions.
[0016] As an alternative implementation, in the second aspect of the present invention, the specific manner in which the solution customization module performs solution customization on the first protection solution according to the protection scenario information and the target requirement details to obtain a second protection solution corresponding to the first protection solution includes: Perform a comparison on all the protection sub-items included in the first protection solution according to all the requirement customization items corresponding to the target requirement details to obtain corresponding same-type items, first difference items, and second difference items. The first difference items are the remaining items after screening out the same-type items from all the requirement customization items; the second difference items are the remaining items after screening out the same-type items from all the protection sub-items; For the first protection solution, add the first difference items, retain the same-type items, and delete the second difference items to obtain a new first protection solution, and at the same time determine the first difference items and the same-type items as all the protection customization items of the first protection solution; For each of the protection customization items, perform item filling according to the item type corresponding to the protection customization item to update the protection customization item; After determining that all the protection customization items have been updated, determine the new first protection solution as the second protection solution.
[0017] As an alternative implementation, in the second aspect of the present invention, the specific manner in which the solution customization module performs item filling for each of the protection customization items according to the item type corresponding to the protection customization item includes: For each of the protection customization items, when the item type is the rule adjustment type, determine all the target filling information that matches the protection customization item from multiple preset filling information, and fill all the target filling information that matches the protection customization item into the protection customization item; wherein, the multiple preset filling information includes access control rules, intrusion detection and protection rules, Web application firewall rules, and other security rules; When the item type is the configuration parameter adjustment type, generate a status control instruction and item control parameters for the protection customization item; and add the status control instruction and item control parameters of the protection customization item to the protection customization item; Among them, the status control instruction of each protection customization item is used to control the enabling or disabling of the protection customization item; the item control parameter of each protection customization item is used to indicate the execution frequency of executing the control instruction corresponding to the item control parameter.
[0018] As an alternative implementation, in the second aspect of the present invention, when the protection scenario is the portal website, all the protection sub-items corresponding to the portal website include one or more of DDoS attack protection, SQL injection protection, cross-site scripting attack protection, data backup and recovery; When the protection scenario is the e-commerce platform, all the protection sub-items corresponding to the portal website include one or more of payment security, user information protection, fraud detection, business failure monitoring and handling; When the protection scenario is the financial industry, all the protection sub-items corresponding to the portal website include one or more of data encryption and transmission security, identity authentication and access control, business continuity monitoring and fault handling; When the protection scenario is the gaming industry, all the protection sub-items corresponding to the portal website include one or more of DDoS attack protection, game data security, anti-cheat mechanism, server load balancing.
[0019] The third aspect of the present invention discloses another intelligent customization device for personalized services based on the LLM security protection system. The device includes: A memory storing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory and executes the intelligent customization method for personalized services based on the LLM security protection system disclosed in the first aspect of the present invention.
[0020] The fourth aspect of the present invention discloses a computer storage medium. The computer storage medium stores computer instructions that, when called, are used to execute the intelligent customization method for personalized services based on the LLM security protection system disclosed in the first aspect of the present invention.
[0021] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: In an embodiment of the present invention, a method for intelligent customization of personalized services based on an LLM security protection system is provided. The method includes: detecting the customization requirement information of a target user for the LLM security protection system, and analyzing the customization requirement information to obtain the protection scenario information for the LLM security protection system and the target requirement details; obtaining a plurality of historical protection solutions recorded in the database that match the protection scenario information, each historical protection solution including a plurality of protection sub-items, and each protection sub-item being used to adapt to one requirement detail of a historical user; according to the target requirement details, performing requirement detail pairing on all historical protection solutions to obtain a first protection solution with the highest target adaptation value for the target requirement details; according to the protection scenario information and the target requirement details, performing solution customization on the first protection solution to obtain a second protection solution corresponding to the first protection solution; and, performing a customization operation on the LLM security protection system according to the second protection solution; wherein, the solution customization includes solution detail adjustment and / or solution verification. It can be seen that by implementing the present invention, after obtaining the customization requirement information of the target user, it is possible to accurately determine the specific protection scenario information and target requirement details, and then quickly screen out the first protection solution that is closest to the target requirement details by matching with the historical protection solutions, avoiding the cumbersome customization process from scratch, which is beneficial to improving the determination efficiency of the first protection solution; further, after determining the first protection solution, it is also possible to perform solution detail adjustment and / or solution verification on the first protection solution according to the protection scenario information and the target requirement details. Through solution detail adjustment, fine-grained customization can be carried out for the special requirements of users, which is beneficial to improving the customization accuracy and practicality of the second protection solution; at the same time, the solution verification can ensure that the customized second protection solution has no logical loopholes and is stable and reliable in operation, thereby enhancing the overall stability and reliability of the security protection system. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0023] Figure 1 is a schematic flowchart of a method for intelligent customization of personalized services based on an LLM security protection system disclosed in an embodiment of the present invention; Figure 2 is a schematic flowchart of another method for intelligent customization of personalized services based on an LLM security protection system disclosed in an embodiment of the present invention; Figure 3 is a schematic structural diagram of a device for intelligent customization of personalized services based on an LLM security protection system disclosed in an embodiment of the present invention; Figure 4 It is a schematic structural diagram of another intelligent customization device for personalized services based on the LLM security protection system disclosed in the embodiments of the present invention. Detailed implementation manners
[0024] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without making creative efforts shall fall within the protection scope of the present invention.
[0025] The terms "first", "second", etc. in the specification and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, device, product or terminal that includes a series of steps or units is not limited to the listed steps or units, but may optionally further include steps or units not listed, or may optionally further include other steps or units inherent to these processes, methods, products or terminals.
[0026] Referring to "embodiments" herein means that a specific feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present invention. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0027] The present invention discloses an intelligent customization method and device for personalized services based on the LLM security protection system. After obtaining the customization requirement information of the target user, it can accurately determine the specific protection scenario information and the details of the target requirements, and then quickly screen out the first protection plan that is closest to the details of the target requirements by matching with the historical protection plans, avoiding the cumbersome customization process from scratch and being beneficial to improving the determination efficiency of the first protection plan; further, after determining the first protection plan, it can also adjust the plan details and / or verify the plan according to the protection scenario information and the details of the target requirements. Through the adjustment of the plan details, it can perform refined customization for the special needs of users and is beneficial to improving the customization accuracy and practicality of the second protection plan; at the same time, the plan verification can ensure that the customized second protection plan has no logical loopholes and is stable and reliable in operation, thereby enhancing the overall stability and reliability of the security protection system. The following will be described in detail respectively.
[0028] Example 1 Please refer to Figure 1 , Figure 1 which is a schematic flow chart of an intelligent customization method for personalized services of an LLM security protection system disclosed in an embodiment of the present invention. Among them, Figure 1 the described intelligent customization method for personalized services of an LLM security protection system can be applied to an intelligent customization device for personalized services of an LLM security protection system, and the embodiments of the present invention do not make limitations. As Figure 1 shown, the intelligent customization method for personalized services of an LLM security protection system may include the following operations: 101. Detect the customization requirement information of the target user for the LLM security protection system, and analyze the customization requirement information to obtain the protection scenario information for the LLM security protection system and the target requirement details.
[0029] 102. Obtain multiple historical protection schemes recorded in the database that match the protection scenario information. Each historical protection scheme includes multiple protection sub-items, and each protection sub-item is used to adapt to one requirement detail of a historical user.
[0030] 103. According to the target requirement details, perform requirement detail pairing on all historical protection schemes to obtain the first protection scheme with the highest target adaptation value for the target requirement details.
[0031] 104. According to the protection scenario information and the target requirement details, perform scheme customization on the first protection scheme to obtain a second protection scheme corresponding to the first protection scheme; and perform customization operations on the LLM security protection system according to the second protection scheme.
[0032] In the embodiments of the present invention, scheme customization includes scheme detail adjustment and / or scheme verification.
[0033] It can be seen that the implementation Figure 1The described intelligent customization method for personalized services of the LLM security protection system can accurately determine specific protection scenario information and target requirement details after obtaining the customization requirement information of the target user. Then, by matching with historical protection schemes, it can quickly screen out the first protection scheme that is closest to the target requirement details, avoiding the cumbersome customization process from scratch and facilitating the improvement of the determination efficiency of the first protection scheme. Further, after determining the first protection scheme, it can also adjust the scheme details and / or verify the scheme according to the protection scenario information and target requirement details. Through the adjustment of scheme details, it can perform refined customization for the special requirements of users, which is conducive to improving the customization accuracy and practicability of the second protection scheme. At the same time, the scheme verification can ensure that the customized second protection scheme has no logical loopholes and is stable and reliable in operation, thereby enhancing the overall stability and reliability of the security protection system.
[0034] In an optional embodiment, the protection scenario information includes the protection scenarios where the customization requirement information is actually applied, and the protection scenarios include any one of portal websites, e-commerce platforms, the financial industry, and the game industry. The target requirement details include multiple requirement customization items that match the protection scenario; the target requirement details also include the item types corresponding to each requirement customization item, and the item types include rule adjustment types or configuration parameter adjustment types. Moreover, the method for obtaining multiple historical protection schemes recorded in the database in step 102 specifically includes: Obtain all the basic protection schemes recorded in the database, and perform a first-level screening on all the basic protection schemes according to the scenario labels of the protection scenarios in the protection scenario information to obtain multiple first-level screened protection schemes that match the scenario labels. Perform a second-level screening on all the first-level screened protection schemes according to the preset screening parameters to obtain multiple second-level screened protection schemes as historical protection schemes. Among them, the screening parameters include the scheme record date and the number of schemes; the scheme record date is used to screen out the schemes within the target record date from all the first-level screened protection schemes; the number of schemes is used to limit the number of all the second-level screened protection schemes.
[0035] In the embodiment of the present invention, by clarifying the protection scenarios (such as portal websites, e-commerce platforms, the financial industry, the game industry, etc.) actually applied by the target user for the LLM security protection system, this detailed division of protection scenarios helps to more accurately understand the actual needs of users, so as to select or customize a protection scheme that better suits their application scenarios. At the same time, by clarifying the item types of each requirement customization item, it is possible to more pertinently adjust or configure the relevant parameters or rules in the protection scheme, thereby improving the accuracy and effectiveness of the customized scheme.
[0036] It can be seen that in this alternative embodiment, when obtaining the historical protection plan, a multi-level screening strategy is adopted. By using the scenario label of the protection scenario information as the screening condition at the first level, the screening scope can be quickly narrowed down, and the basic protection plan matching the scenario label can be accurately obtained from the database, ensuring the pertinence and relevance of the subsequent customization process. At the same time, it is beneficial to improve the screening efficiency. Subsequently, all the first-level screened protection plans are secondarily screened according to the preset screening parameters (such as the plan record date, the number of plans, etc.). By restricting the plan record date, it can be ensured that the selected plan has a certain timeliness and applicability. By restricting the number of plans, information overload can be avoided while ensuring diversity, improving the accuracy and efficiency of the subsequent customization process.
[0037] In another alternative embodiment, the manner in which step 104 performs plan customization on the first protection plan according to the protection scenario information and the target requirement details to obtain the second protection plan corresponding to the first protection plan specifically includes: Perform a comparison on all the protection sub-items included in the first protection plan according to all the requirement customization items corresponding to the target requirement details to obtain the corresponding same-type items, first difference items, and second difference items. The first difference items are the remaining items after all the requirement customization items exclude the same-type items; the second difference items are the remaining items after all the protection sub-items exclude the same-type items; For the first protection plan, add the first difference items, retain the same-type items, and delete the second difference items to obtain a new first protection plan. At the same time, determine the first difference items and the same-type items as all the protection customization items of the first protection plan; For each protection customization item, perform item filling according to the item type corresponding to the protection customization item to update the protection customization item; After determining that all the protection customization items have been updated, determine the new first protection plan as the second protection plan.
[0038] It can be seen that in this alternative embodiment, by adding the first difference items and retaining the same-type items, and at the same time deleting the second difference items, the plan realizes precise adjustment of the first protection plan, making it more in line with the specific requirements in the target requirement details. Further, for the new first protection plan, an item filling process is set for each protection customization item, improving the generation accuracy of the finally obtained second protection plan.
[0039] In yet another alternative embodiment, the manner in which for each protection customization item, item filling is performed according to the item type corresponding to the protection customization item specifically includes: For each protection customization item, when the item type is a rule adjustment type, determine all target filling information that matches the protection customization item from multiple preset filling information, and fill all the target filling information that matches the protection customization item into the protection customization item; wherein, the multiple preset filling information includes access control rules, intrusion detection and prevention rules, Web application firewall rules, and other security rules; When the item type is a configuration parameter adjustment type, generate a status control instruction and item control parameters for the protection customization item; and add the status control instruction and item control parameters of the protection customization item to the protection customization item; Wherein, the status control instruction of each protection customization item is used to control the enabling or disabling of the protection customization item; the item control parameters of each protection customization item are used to indicate the execution frequency of executing the control instruction corresponding to the item control parameters.
[0040] In this alternative embodiment, the other security rules include sensitive data protection, logging and auditing, regular backup and recovery, and security policy update. Among them, the sensitive data protection is used to classify and label sensitive data, implement data encryption technology, and ensure the confidentiality and integrity of the data. Logging and auditing are used to record the security events and operation logs of the system for subsequent security auditing and troubleshooting. Regular backup and recovery are used to regularly back up important data and test the recovery ability of the backup data to ensure the reliability and availability of the data. Security policy update is used to regularly update the security policy of the system according to the latest security threats and vulnerability information to enhance the security protection ability of the system.
[0041] In this alternative embodiment, it should be noted that when the protection scenario is a portal website, all protection sub-items corresponding to the portal website include one or more of DDos attack protection, SQL injection protection, cross-site scripting attack protection, data backup and recovery; When the protection scenario is an e-commerce platform, all protection sub-items corresponding to the portal website include one or more of payment security, user information protection, fraud detection, business failure monitoring and handling; When the protection scenario is the financial industry, all protection sub-items corresponding to the portal website include one or more of data encryption and transmission security, identity authentication and access control, business continuity monitoring and fault handling; When the protection scenario is the gaming industry, all protection sub-items corresponding to the portal website include one or more of DDos attack protection, game data security, anti-cheat mechanism, server load balancing.
[0042] It can be seen that in this alternative embodiment, a matter filling mechanism for protection customization matters based on different matter types is set up. Among them, for the rule adjustment type, by determining the target filling information that matches a specific protection customization matter from multiple preset filling information and filling it into the matter, that is, the corresponding security rules can be flexibly adjusted and applied according to different security requirements and environments. This mechanism ensures that security protection measures can accurately target specific threats or vulnerabilities, improving the pertinence and effectiveness of security protection; for the configuration parameter adjustment type, by generating status control instructions and matter control parameters for specific protection customization matters and adding them to the matter, the system allows users to enable or disable certain protection customization matters as needed and set the corresponding execution frequency, enabling users to flexibly and dynamically adjust security protection strategies according to the actual security situation and resource allocation to optimize performance and resource utilization, that is, it is beneficial to improve the usage flexibility and reliability of the subsequent generated customized second protection plan.
[0043] In another alternative embodiment, the manner of performing plan customization on the first protection plan according to the protection scenario information and the target requirement details in step 104 above to obtain a second protection plan corresponding to the first protection plan specifically further includes: Before determining the new first protection plan as the second protection plan, perform trial customization on the LLM security protection system according to all the protection customization matters included in the new first protection plan to obtain a test protection system corresponding to the LLM security protection system; Perform matter operation tests on the test protection system according to each requirement customization matter corresponding to the target requirement details to obtain operation test information corresponding to each requirement customization matter; Determine the customization effect of the target user for the LLM security protection system according to the customization requirement information; For each operation test information, compare the operation test information with the preset standard test information for the operation test information to obtain the first test result of the operation test information; Judge whether all the first test results indicate the existence of unqualified test results; when it is judged that there are unqualified test results among all the first test results, perform the first matter adjustment on the requirement customization matter corresponding to the unqualified test result according to the standard test information corresponding to the unqualified test result; When it is judged that there are no unqualified test results among all the first test results, perform effect comparison on all the operation test information according to the customization effect to obtain the second test result corresponding to each operation test information; Determine whether all the second test results have non-compliant test results that do not match the customized effect. When it is determined that all the second test results do not have non-compliant test results that do not match the customized effect, trigger the execution of the above-mentioned process of determining the new first protection plan as the second protection plan; When it is determined that all the second test results have non-compliant test results that do not match the customized effect, based on the customized effect, perform a second item adjustment on the requirement customization items corresponding to the non-compliant test results until the effect similarity between the adjusted non-compliant test results and the customized effect is higher than the standard similarity value, and then trigger the execution of the above-mentioned process of determining the new first protection plan as the second protection plan.
[0044] It can be seen that in this optional embodiment, a verification mechanism for the new first protection plan is set up. By performing trial customization and trial operation on each protection customization item in the new first protection plan, and comparing the test results with the standard value (standard test information) and the user's ideal effect (customized effect) level by level, after determining that each requirement customization item matches the standard value and the user's ideal effect, then determine the new first protection plan as the second protection plan; this improves the determination meticulousness, accuracy, and reliability of the second protection plan.
[0045] Embodiment 2 Please refer to Figure 2 , Figure 2 which is a schematic flowchart of another intelligent customization method for personalized services based on the LLM security protection system disclosed in the embodiments of the present invention. Among them, Figure 2 the described intelligent customization method for personalized services based on the LLM security protection system can be applied to an intelligent customization device for personalized services based on the LLM security protection system, which is not limited in the embodiments of the present invention. As Figure 2 shown, the intelligent customization method for personalized services based on the LLM security protection system may include the following operations: 201. Detect the customization requirement information of the target user for the LLM security protection system, and analyze the customization requirement information to obtain the protection scenario information and the target requirement details for the LLM security protection system.
[0046] 202. Obtain multiple historical protection plans recorded in the database that match the protection scenario information. Each historical protection plan includes multiple protection sub-items, and each protection sub-item is used to adapt to one requirement detail of a historical user.
[0047] 203. For each historical protection plan, match all the requirement customization items corresponding to the target requirement details with all the protection sub-items corresponding to this historical protection plan to obtain the first adaptation information between the target requirement details and this historical protection plan.
[0048] In an embodiment of the present invention, the first adaptation information includes a first adaptation value.
[0049] In an embodiment of the present invention, by calculating the first adaptation value, the matching degree of each historical protection plan with the target requirement details can be quantitatively evaluated, providing a reliable basis for the subsequent screening and customization of the protection plan.
[0050] 204. Determine the user group classification of the target user and its corresponding user portrait according to the customization requirement information; and extract the customization preference information adapted to the user group classification from the user portrait.
[0051] In an embodiment of the present invention, by determining the user group classification of the target user and its corresponding user portrait, and extracting the customization preference information adapted to the user group classification from the user portrait, the content of the customization plan is further refined to better meet the personalized needs of the target user.
[0052] 205. Perform a plan adaptation value evaluation on each historical protection plan according to the customization preference information to obtain the second adaptation information corresponding to the target user and each historical protection plan.
[0053] In an embodiment of the present invention, the second adaptation information includes a second adaptation value.
[0054] In an embodiment of the present invention, by calculating the second adaptation value, the matching degree between the target user and each historical protection plan can be quantitatively reflected, ensuring that the finally selected first protection plan can best meet the personalized needs of the target user.
[0055] 206. Determine the first protection plan with the highest target adaptation value for the target requirement details according to the first adaptation information and the second adaptation information corresponding to each historical protection plan.
[0056] In an embodiment of the present invention, by considering the first adaptation information and the second adaptation information to determine the final first protection plan, this comprehensive evaluation method avoids the one-sidedness and inaccuracy that may be brought by a single matching method, which is conducive to improving the screening accuracy of the first protection plan.
[0057] 207. Perform plan customization on the first protection plan according to the protection scenario information and the target requirement details to obtain the second protection plan corresponding to the first protection plan; and perform customization operations on the LLM security protection system according to the second protection plan.
[0058] For other descriptions of steps 201 - 202 and step 207 in an embodiment of the present invention, please refer to the other specific descriptions of steps 101 - 102 and step 104 in Embodiment 1, which will not be elaborated in this embodiment of the present invention.
[0059] It can be seen that implementing Figure 2 the personalized service intelligent customization method of the LLM-based security protection system described above, by calculating the first adaptation value and the second adaptation value respectively, in a quantitative way, achieves accurate evaluation of the matching degree between each historical protection plan and the target requirement details, and the matching degree between the target user and each historical protection plan, improving the scientific nature of the determination of the subsequent first protection plan; in addition, by introducing user portraits and synthesizing the scheme adaptation values of multiple dimensions to determine the first protection plan, it is beneficial to improve the accuracy and reliability of the determination of the first protection plan.
[0060] In an optional embodiment, the first adaptation information corresponding to each historical protection plan further includes the adaptation items and difference items between all protection sub-items corresponding to the historical protection plan and all requirement customization items corresponding to the target requirement details; The above method for determining the first protection plan with the highest target adaptation value with respect to the target requirement details according to the first adaptation information and the second adaptation information corresponding to each historical protection plan specifically includes: For each historical protection plan, calculate the target adaptation value of the historical protection plan corresponding to the customization requirement information according to the first adaptation value corresponding to the historical protection plan and its corresponding first preset weight coefficient, and the second adaptation value and its corresponding second preset weight coefficient; Generate the adaptation detail information of the historical protection plan according to the adaptation items and difference items corresponding to the historical protection plan; and add the adaptation detail information to the historical protection plan; Select the first protection plan with the highest target adaptation value from all historical protection plans.
[0061] In this optional embodiment, by listing the adaptation items and difference items, it is possible to clearly understand in which aspects the historical protection plan meets the target requirement details and in which aspects there are differences from the target requirement details. This refined adaptation information helps with the precise adjustment of the subsequent customization process, ensuring that the finally generated protection plan can meet the target requirements to the greatest extent.
[0062] It can be seen that in this optional embodiment, by comprehensively considering the adaptation information of multiple dimensions, it is possible to quickly and accurately screen out the historical protection plan that best matches the target requirement details, which is beneficial to reducing unnecessary iteration and adjustment processes and improving the customization efficiency; further, by displaying the adaptation detail information, the transparency and credibility of the customization process can be enhanced, improving the viewing convenience and transparency of the first protection plan for the target user / the customizer of the plan.
[0063] Embodiment III Please refer to Figure 3 , Figure 3It is a schematic structural diagram of a personalized service intelligent customization device based on the LLM security protection system disclosed in an embodiment of the present invention. Among them, the personalized service intelligent customization device based on the LLM security protection system can be a personalized service intelligent customization terminal, device, system or server based on the LLM security protection system. The server can be a local server, a remote server, or a cloud server (also known as a cloud server). When the server is a non-cloud server, the non-cloud server can communicate with the cloud server. The embodiments of the present invention do not make any limitations. As Figure 3 shown, the personalized service intelligent customization device based on the LLM security protection system may include a detection module 301, a requirement analysis module 302, an acquisition module 303, a pairing module 304, and a solution customization module 305, where: The detection module 301 is used to detect the customization requirement information of the target user for the LLM security protection system.
[0064] The requirement analysis module 302 is used to analyze the customization requirement information to obtain the protection scenario information and the target requirement details for the LLM security protection system.
[0065] The acquisition module 303 is used to acquire multiple historical protection solutions recorded in the database that match the protection scenario information. Each historical protection solution includes multiple protection sub-items, and each protection sub-item is used to adapt to one requirement detail of the historical user.
[0066] The pairing module 304 is used to perform requirement detail pairing on all historical protection solutions according to the target requirement details to obtain the first protection solution with the highest target adaptation value for the target requirement details.
[0067] The solution customization module 305 is used to perform solution customization on the first protection solution according to the protection scenario information and the target requirement details to obtain a second protection solution corresponding to the first protection solution; and perform a customization operation on the LLM security protection system according to the second protection solution; where the solution customization includes solution detail adjustment and / or solution verification.
[0068] It can be seen that the implementation Figure 3The personalized service intelligent customization device of the described LLM-based security protection system can accurately determine specific protection scenario information and target requirement details after obtaining the customization requirement information of the target user, and then quickly screen out the first protection plan that is closest to the target requirement details by matching with historical protection plans, avoiding the cumbersome customization process from scratch and facilitating the improvement of the determination efficiency of the first protection plan. Further, after determining the first protection plan, it can also adjust the plan details and / or verify the plan according to the protection scenario information and target requirement details. Through the adjustment of plan details, it can perform refined customization for the special needs of users, which is conducive to improving the customization accuracy and practicality of the second protection plan. At the same time, the plan verification can ensure that the customized second protection plan has no logical loopholes and is stable and reliable in operation, thus enhancing the overall stability and reliability of the security protection system.
[0069] In an optional embodiment, the above protection scenario information includes the protection scenarios where the customization requirement information is actually applied, and the protection scenarios include any one of portal websites, e-commerce platforms, the financial industry, and the gaming industry. The target requirement details include multiple requirement customization items matching the protection scenario; the target requirement details also include the item type corresponding to each requirement customization item, and the item type includes rule adjustment type or configuration parameter adjustment type. Moreover, the specific manner in which the acquisition module 303 acquires multiple historical protection plans recorded in the database that match the protection scenario information includes: Acquire all the basic protection plans recorded in the database, and perform a first-level screening on all the basic protection plans according to the scenario label of the protection scenario in the protection scenario information to obtain multiple first-level screened protection plans that match the scenario label. Perform a second-level screening on all the first-level screened protection plans according to the preset screening parameters to obtain multiple second-level screened protection plans as historical protection plans. Among them, the screening parameters include the plan recording date and the number of plans; the plan recording date is used to screen out the plans within the target recording date from all the first-level screened protection plans; the number of plans is used to limit the number of all the second-level screened protection plans.
[0070] It can be seen that in this alternative embodiment, when obtaining the historical protection plan, a multi-level screening strategy is adopted. By using the scenario label of the protection scenario information as the screening condition at the first level, the screening scope can be quickly narrowed down, and the basic protection plan matching the scenario label can be accurately obtained from the database, ensuring the pertinence and relevance of the subsequent customization process. At the same time, it is beneficial to improve the screening efficiency. Subsequently, all the first-level screened protection plans are secondarily screened according to the preset screening parameters (such as the plan record date, the number of plans, etc.). By restricting the plan record date, it can be ensured that the selected plan has a certain timeliness and applicability. By restricting the number of plans, information overload can be avoided while ensuring diversity, improving the accuracy and efficiency of the subsequent customization process.
[0071] In another alternative embodiment, the manner in which the pairing module 304 performs demand detail pairing on all historical protection plans according to the target demand details to obtain the first protection plan with the highest target adaptation value corresponding to the target demand details specifically includes: For each historical protection plan, all the demand customization items corresponding to the target demand details are matched with all the protection sub-items corresponding to this historical protection plan to obtain the first adaptation information between the target demand details and this historical protection plan. The first adaptation information includes the first adaptation value; According to the customization demand information, determine the user group classification of the target user and its corresponding user portrait; and extract the customization preference information adapted to the user group classification from the user portrait; According to the customization preference information, evaluate the plan adaptation value of each historical protection plan to obtain the second adaptation information corresponding to the target user and each historical protection plan. The second adaptation information includes the second adaptation value; According to the first adaptation information and the second adaptation information corresponding to each historical protection plan, determine the first protection plan with the highest target adaptation value corresponding to the target demand details.
[0072] It can be seen that in this alternative embodiment, by calculating the first adaptation value and the second adaptation value respectively, in a quantitative manner, the matching degree between each historical protection plan and the target demand details and the matching degree between the target user and each historical protection plan are accurately evaluated, improving the scientificity of the determination of the subsequent first protection plan. In addition, by introducing the user portrait and determining the first protection plan in a way that comprehensively combines multi-dimensional plan adaptation values, it is beneficial to improve the accuracy and reliability of the determination of this first protection plan.
[0073] In yet another alternative embodiment, the first adaptation information corresponding to each historical protection plan further includes the adaptation items and the difference items between all the protection sub-items corresponding to this historical protection plan and all the demand customization items corresponding to the target demand details; The manner in which the pairing module 304 determines the first protection plan with the highest target adaptation value for the target requirement details according to the first adaptation information and the second adaptation information corresponding to each historical protection plan specifically includes: For each historical protection plan, calculate the target adaptation value of the historical protection plan corresponding to the customized requirement information according to the first adaptation value corresponding to the historical protection plan, its corresponding first preset weight coefficient, the second adaptation value, and its corresponding second preset weight coefficient; Generate the adaptation detail information of the historical protection plan according to the adaptation items and difference items corresponding to the historical protection plan; and add the adaptation detail information to the historical protection plan; Select the first protection plan with the highest target adaptation value from all historical protection plans.
[0074] It can be seen that in this alternative embodiment, by comprehensively considering the adaptation information in multiple dimensions, the historical protection plan that best matches the target requirement details can be quickly and accurately screened out, which is beneficial to reducing unnecessary iteration and adjustment processes and improving the customization efficiency; further, by displaying the adaptation detail information, the transparency and credibility of the customization process can be enhanced, and the viewing convenience and transparency of the first protection plan for the target user / customizer of the plan can be improved.
[0075] In another alternative embodiment, the manner in which the plan customization module 305 performs plan customization on the first protection plan according to the protection scenario information and the target requirement details to obtain the second protection plan corresponding to the first protection plan specifically includes: Perform a comparison on all protection sub-items included in the first protection plan according to all requirement customization items corresponding to the target requirement details to obtain the corresponding same-type items, first difference items, and second difference items. The first difference items are the remaining items after all requirement customization items exclude the same-type items; the second difference items are the remaining items after all protection sub-items exclude the same-type items; For the first protection plan, add the first difference items, retain the same-type items, and delete the second difference items to obtain a new first protection plan, and at the same time determine that the first difference items and the same-type items are all protection customization items of the first protection plan; For each protection customization item, perform item filling according to the item type corresponding to the protection customization item to update the protection customization item; After determining that all protection customization items have been updated, determine the new first protection plan as the second protection plan.
[0076] It can be seen that in this alternative embodiment, by adding the first differential items and retaining the same type of items while deleting the second differential items, this solution achieves precise adjustment of the first protection solution, making it more in line with the specific requirements in the target requirement details. Further, for the new first protection solution, an item filling process is set for each protection customization item, improving the generation accuracy of the finally obtained second protection solution.
[0077] In yet another alternative embodiment, the manner in which the solution customization module 305 performs item filling for each protection customization item according to the item type corresponding to the protection customization item specifically includes: For each protection customization item, when the item type is a rule adjustment type, all target filling information that matches the protection customization item is determined from multiple preset filling information, and all target filling information that matches the protection customization item is filled into the protection customization item. Among them, the multiple preset filling information includes access control rules, intrusion detection and protection rules, Web application firewall rules, and other security rules. When the item type is a configuration parameter adjustment type, a status control instruction and item control parameters for the protection customization item are generated; and the status control instruction and item control parameters of the protection customization item are added to the protection customization item. Among them, the status control instruction for each protection customization item is used to control the enabling or disabling of the protection customization item; the item control parameters for each protection customization item are used to indicate the execution frequency of executing the control instruction corresponding to the item control parameters.
[0078] In this alternative embodiment, when the protection scenario is a portal website, all protection sub-items corresponding to the portal website include one or more of DDoS attack protection, SQL injection protection, cross-site scripting attack protection, data backup and recovery. When the protection scenario is an e-commerce platform, all protection sub-items corresponding to the portal website include one or more of payment security, user information protection, fraud detection, business failure monitoring and handling. When the protection scenario is the financial industry, all protection sub-items corresponding to the portal website include one or more of data encryption and transmission security, identity authentication and access control, business continuity monitoring and fault handling. When the protection scenario is the gaming industry, all protection sub-items corresponding to the portal website include one or more of DDoS attack protection, game data security, anti-cheat mechanism, server load balancing.
[0079] It can be seen that in this alternative embodiment, an item filling mechanism for protection customization items based on different item types is set up. Among them, for the rule adjustment type, by determining the target filling information that matches a specific protection customization item from multiple preset filling information and filling it into the item, that is, it is possible to flexibly adjust and apply corresponding security rules according to different security requirements and environments. This mechanism ensures that security protection measures can accurately target specific threats or vulnerabilities, improving the pertinence and effectiveness of security protection; for the configuration parameter adjustment type, by generating a status control instruction and item control parameters for a specific protection customization item and adding them to the item, the system allows users to enable or disable certain protection customization items as needed and set the corresponding execution frequency, enabling users to flexibly and dynamically adjust security protection policies according to the actual security situation and resource allocation to optimize performance and resource utilization, that is, it is beneficial to improve the flexibility and reliability of the subsequent generated customized second protection solution.
[0080] Embodiment Four Please refer to Figure 4 , Figure 4 , which is a schematic structural diagram of another personalized service intelligent customization device based on the LLM security protection system disclosed in the embodiments of the present invention. As Figure 4 shown, the personalized service intelligent customization device based on the LLM security protection system may include: A memory 401 storing executable program code; A processor 402 coupled to the memory 401; The processor 402 calls the executable program code stored in the memory 401 and executes the steps in the personalized service intelligent customization method based on the LLM security protection system described in Embodiment One or Embodiment Two of the present invention.
[0081] Embodiment Five The embodiments of the present invention disclose a computer storage medium, which stores computer instructions that, when called, are used to execute the steps in the personalized service intelligent customization method based on the LLM security protection system described in Embodiment One or Embodiment Two of the present invention.
[0082] Embodiment Six The embodiments of the present invention disclose a computer program product, which includes a non-transitory computer storage medium storing a computer program, and the computer program is operable to cause a computer to execute the steps in the personalized service intelligent customization method based on the LLM security protection system described in Embodiment One or Embodiment Two.
[0083] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative efforts.
[0084] Through the specific descriptions of the above embodiments, those skilled in the art can clearly understand that each implementation manner can be realized by means of software plus a necessary general hardware platform, and of course, it can also be realized by hardware. Based on such an understanding, the essence of the above technical solution, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer storage medium, and the storage medium includes read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc memories, magnetic disk memories, tape memories, or any other computer-readable medium that can be used to carry or store data.
[0085] Finally, it should be noted that: What is disclosed in a personalized service intelligent customization method and device of a security protection system based on LLM according to an embodiment of the present invention is only a preferred embodiment of the present invention, and is only used to illustrate the technical solution of the present invention, rather than to limit it; Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A personalized service intelligent customization method based on an LLM security protection system, characterized in that, The method includes: Detecting the customization requirement information of the target user for the LLM security protection system, and analyzing the customization requirement information to obtain the protection scenario information for the LLM security protection system and the target requirement details; Obtaining multiple historical protection solutions recorded in the database that match the protection scenario information, each historical protection solution including multiple protection sub-items, and each protection sub-item being used to adapt to one requirement detail of a historical user; Performing requirement detail pairing on all the historical protection solutions according to the target requirement details to obtain a first protection solution with the highest target adaptation value for the target requirement details; Performing solution customization on the first protection solution according to the protection scenario information and the target requirement details to obtain a second protection solution corresponding to the first protection solution; and performing a customization operation on the LLM security protection system according to the second protection solution; wherein the solution customization includes solution detail adjustment and / or solution verification.
2. The personalized service intelligent customization method based on the LLM security protection system according to claim 1, characterized in that The protection scenario information includes the protection scenario where the customization requirement information is actually applied, and the protection scenario includes any one of a portal website, an e-commerce platform, the financial industry, and the game industry; The target requirement details include multiple requirement customization items that match the protection scenario; the target requirement details also include the item type corresponding to each requirement customization item, and the item type includes a rule adjustment type or a configuration parameter adjustment type; And, the obtaining multiple historical protection solutions recorded in the database that match the protection scenario information includes: Obtaining all the basic protection solutions recorded in the database, and performing a first-level screening on all the basic protection solutions according to the scenario tags of the protection scenarios in the protection scenario information to obtain multiple first-level screened protection solutions that match the scenario tags; Performing a second-level screening on all the first-level screened protection solutions according to preset screening parameters to obtain multiple second-level screened protection solutions as historical protection solutions; wherein the screening parameters include the solution record date and the solution quantity; the solution record date is used to screen out the solutions within the target record date from all the first-level screened protection solutions; the solution quantity is used to limit the quantity of all the second-level screened protection solutions.
3. The personalized service intelligent customization method based on the LLM security protection system according to claim 1 or 2, characterized in that, The performing requirement detail pairing on all the historical protection solutions according to the target requirement details to obtain a first protection solution with the highest target adaptation value for the target requirement details includes: For each historical protection solution, matching all the requirement customization items corresponding to the target requirement details with all the protection sub-items corresponding to the historical protection solution to obtain the first adaptation information of the target requirement details and the historical protection solution, and the first adaptation information includes a first adaptation value; Determining the user group classification of the target user and its corresponding user portrait according to the customization requirement information; and extracting the customization preference information that adapts to the user group classification from the user portrait; Performing a scheme adaptation value evaluation on each of the historical protection schemes according to the customized preference information to obtain second adaptation information corresponding to the target user and each of the historical protection schemes, where the second adaptation information includes a second adaptation value; Determining a first protection scheme with the highest target adaptation value corresponding to the target requirement details according to the first adaptation information and the second adaptation information corresponding to each of the historical protection schemes; 4. The personalized service intelligent customization method based on the LLM security protection system according to claim 3, wherein The first adaptation information corresponding to each of the historical protection schemes further includes adaptation items and difference items between all the protection sub-items corresponding to the historical protection scheme and all the requirement customization items corresponding to the target requirement details; The determining of the first protection scheme with the highest target adaptation value corresponding to the target requirement details according to the first adaptation information and the second adaptation information corresponding to each of the historical protection schemes includes: For each of the historical protection schemes, calculating a target adaptation value corresponding to the customized requirement information for the historical protection scheme according to the first adaptation value corresponding to the historical protection scheme and its corresponding first preset weight coefficient, the second adaptation value corresponding to the historical protection scheme and its corresponding second preset weight coefficient; Generating adaptation detailed information for the historical protection scheme according to the adaptation items and the difference items corresponding to the historical protection scheme; and adding the adaptation detailed information to the historical protection scheme; Selecting the first protection scheme with the highest target adaptation value from all the historical protection schemes; 5. The personalized service intelligent customization method based on the LLM security protection system according to claim 2, wherein The performing of scheme customization on the first protection scheme according to the protection scenario information and the target requirement details to obtain a second protection scheme corresponding to the first protection scheme includes: Performing a comparison on all the protection sub-items included in the first protection scheme according to all the requirement customization items corresponding to the target requirement details to obtain corresponding same-type items, first difference items and second difference items, where the first difference items are the remaining items after screening out the same-type items from all the requirement customization items; the second difference items are the remaining items after screening out the same-type items from all the protection sub-items; For the first protection scheme, adding the first difference items, retaining the same-type items and deleting the second difference items to obtain a new first protection scheme, and at the same time determining the first difference items and the same-type items as all the protection customization items of the first protection scheme; For each of the protection customization items, performing item filling according to the item type corresponding to the protection customization item to update the protection customization item; After determining that all the protection customization items are updated, determining the new first protection scheme as the second protection scheme; 6. The personalized service intelligent customization method based on the LLM security protection system according to claim 5, characterized in that The performing of item filling for each of the protection customization items according to the item type corresponding to the protection customization item includes: For each of the described protection customization items, when the item type is the rule adjustment type, determine all target filling information that matches the protection customization item from multiple preset filling information, and fill all the target filling information that matches the protection customization item into the protection customization item; wherein, the multiple preset filling information includes access control rules, intrusion detection and protection rules, Web application firewall rules, and other security rules; When the item type is the configuration parameter adjustment type, generate a status control instruction and item control parameters for the protection customization item; and add the status control instruction and item control parameters of the protection customization item to the protection customization item; Wherein, the status control instruction of each protection customization item is used to control the enabling or disabling of the protection customization item; the item control parameters of each protection customization item are used to indicate the execution frequency of executing the control instruction corresponding to the item control parameters.
7. The personalized service intelligent customization method based on the LLM security protection system according to claim 5 or 6, characterized in that, When the protection scenario is the portal website, all the protection sub-items corresponding to the portal website include one or more of DDoS attack protection, SQL injection protection, cross-site scripting attack protection, data backup and recovery; When the protection scenario is the e-commerce platform, all the protection sub-items corresponding to the portal website include one or more of payment security, user information protection, fraud detection, business failure monitoring and handling; When the protection scenario is the financial industry, all the protection sub-items corresponding to the portal website include one or more of data encryption and transmission security, identity authentication and access control, business continuity monitoring and fault handling; When the protection scenario is the gaming industry, all the protection sub-items corresponding to the portal website include one or more of DDoS attack protection, game data security, anti-cheat mechanism, server load balancing; 8. An intelligent customization device for personalized services of an LLM-based security protection system, characterized in that, The device includes: A detection module, configured to detect the customization requirement information of the target user for the LLM security protection system; A requirement analysis module, configured to analyze the customization requirement information to obtain the protection scenario information and the target requirement details for the LLM security protection system; An acquisition module, configured to acquire a plurality of historical protection schemes recorded in the database that match the protection scenario information, each historical protection scheme includes a plurality of protection sub-items, and each protection sub-item is used to adapt to one requirement detail of the historical user; A pairing module, configured to perform requirement detail pairing on all the historical protection schemes according to the target requirement details to obtain the first protection scheme with the highest target adaptation value to the target requirement details; A scheme customization module, configured to perform scheme customization on the first protection scheme according to the protection scenario information and the target requirement details to obtain a second protection scheme corresponding to the first protection scheme; and perform a customization operation on the LLM security protection system according to the second protection scheme; wherein, the scheme customization includes scheme detail adjustment and / or scheme verification.
9. An intelligent customization device for personalized services of an LLM-based security protection system, characterized in that, The device includes: A memory storing executable program code; A processor coupled to the memory; The processor invokes the executable program code stored in the memory and executes the personalized service intelligent customization method of the LLM security protection system according to any one of claims 1-7.
10. A computer storage medium, characterized in that, The computer storage medium stores computer instructions which, when invoked, are used to execute the personalized service intelligent customization method of the LLM security protection system according to any one of claims 1-7.
Citation Information
Patent Citations
Protection strategy adjustment method, system and device and computer storage medium
CN112019546A
Model training security protection method, device and system among multiple NWDAF entities
CN117528531A
Safety protection assembly automatic arrangement method and safety protection system
CN117850868A
LLM-driven adaptive industrial network security protection method and firewall device
CN118138362A
Intelligent evaluation method and system for network security level protection
CN119363487A