Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

13 results about "Strategy pattern" patented technology

In computer programming, the strategy pattern (also known as the policy pattern) is a behavioral software design pattern that enables selecting an algorithm at runtime. Instead of implementing a single algorithm directly, code receives run-time instructions as to which in a family of algorithms to use.

Detecting kernel exploits

Monitoring is performed for the activation of a set of one or more previously attached Kprobes. A determination is made that a strategy pattern match has occurred. The strategy pattern comprises a set of one or more behaviors including the activation of the at least one Kprobe included in the set of Kprobes. A remedial action is taken in response to the determination. Examples of such remedial actions include generating an alert and terminating a network connection.
Owner:SOPHOS INC

Fine configuration method and system based on strategy mode

The invention provides a fine configuration method and system based on a strategy mode, and the method comprises the steps: defining themes used for abstracting entrance traffic, order distribution and other events through a configuration system, and configuring a basic data source and a data processing rule for each theme, wherein the data processing rule supports a user to carry out code development implementation in a basic class of each service line according to service requirements; the system automatically stores theme data to middleware, matches a corresponding theme through a strategy mode after receiving a user request, performs secondary data processing according to a configuration rule and returns a result; the technical effects of flexible configuration mode, quasi-real-time index calculation, support of multi-source data access, high-concurrency scene adaptation and good expansibility in flow fine management are realized, and the service operation demand change can be quickly responded.
Owner:TIANJIN AUTOHOME DATA INFORMATION TECH CO LTD

Adaptive authority management method and system based on strategy mode

PendingCN119646881ADigital data protectionUser needsContext manager
The invention provides a self-adaptive authority management method based on a strategy mode, which can be applied to the technical field of information security and authority management, and comprises the following steps: acquiring an authority verification demand of a user; based on the authority verification requirement of the user, a corresponding strategy class is selected from a strategy library through a preset strategy context manager, the strategy library comprises a plurality of independently packaged strategy classes, and each strategy class comprises a corresponding authority verification strategy; calling the selected strategy class through an execution engine and executing an authority verification algorithm corresponding to the authority verification strategy to obtain a verification result of the authority verification demand; and sending the verification result to the user. The invention further provides an adaptive authority management system based on the strategy mode. According to the method, the self-adaptive capability of authority management is improved, so that a proper strategy can be automatically selected according to different service scenes and user requirements, and the expandability of the system is enhanced.
Owner:CERNET CORP

Policy scheduling method and system, electronic device and storage medium

This application provides a strategy scheduling method, system, electronic device, and storage medium that combines method-level strategy encapsulation with pre-compiled execution, relating to the fields of software architecture and runtime scheduling optimization. The method encapsulates multiple strategy methods with the same predefined commonalities within each strategy category using a small number of methods, changing "class-level" encapsulation to "method-level" encapsulation to reduce the number of strategy classes at the source. It optimizes calls by replacing traditional reflection calls with pre-compiled execution handles and constructs a hierarchical concurrent caching structure, designing a concurrent index layer and a hotspot caching layer. High-frequency strategies are directly retrieved from the hotspot caching layer, and all strategies are distributed across the two caching layers to reduce hash collisions. A hotspot update mechanism maintains the caching of high-frequency strategies in the hotspot caching layer, improving retrieval and scheduling efficiency under high concurrency. Compared to traditional class-level strategy implementation schemes, this method achieves significant performance and resource optimization in scenarios with a large number of strategies and high concurrency scheduling.
Owner:CHENGDU CHENGDIAN YIXING DIGITAL HEALTH SOFTWARE CO LTD

Code automatic generation method, device, equipment, medium and program product

The present disclosure provides a code automatic generation method, which can be applied to the field of artificial intelligence or other technical fields. The method comprises: in response to a request of a target user for initiating code generation, obtaining configuration parameters input by the target user; loading a pre-configured strategy component template, and generating an enumeration class and a strategy interface according to the configuration parameters and the strategy component template; generating at least one strategy implementation class by using the strategy component template based on enumeration values of the enumeration class, wherein the strategy implementation class is used to implement the strategy interface; and integrating the enumeration class, the strategy interface and the strategy implementation class to form a strategy mode code set. The present disclosure also provides a code automatic generation device, equipment, storage medium and program product.
Owner:CHINA CONSTRUCTION BANK +1

Policy scheduling method and system, electronic equipment and storage medium

The invention provides a policy scheduling method and system combining method-level policy encapsulation and pre-compilation execution, electronic equipment and a storage medium, and relates to the technical field of software architecture and operation scheduling optimization. In the method, a small number of policy methods with the same preset generality are encapsulated in each policy large class; class-level packaging is changed into method-level packaging so as to reduce the number of strategy classes from the source, a pre-compiling execution handle is used for replacing traditional reflection calling so as to optimize calling, a layered concurrent cache structure is constructed, a concurrent index layer and a hot spot cache layer are designed, high-frequency strategies are directly retrieved from the hot spot cache layer, full-amount strategies are dispersed in two layers of caches, and therefore the high-frequency strategies can be directly retrieved from the hot spot cache layer. Hash conflicts are reduced, caching of a hotspot cache layer for a high-frequency strategy is kept through a hotspot updating mechanism, and retrieval and scheduling efficiency under high concurrency is improved. Compared with a traditional class-level strategy mode implementation scheme, remarkable performance and resource optimization is achieved in a large-strategy and high-concurrency scheduling scene.
Owner:CHENGDU CHENGDIAN YIXING DIGITAL HEALTH SOFTWARE CO LTD

Management method and system for multi-agent application integrating graph arrangement and expert ability

The invention discloses a multi-agent application management method and system fusing graph arrangement and expert ability, belongs to the technical field of computers, and aims at locating historical experience highly related to a current task target by retrieving a historical task execution sub-graph and a success strategy mode from a coevolution knowledge graph based on graph state differences. Blind search is avoided, and the utilization efficiency and correlation of historical experience are improved. Meanwhile, candidate task flows can be generated and optimized. Reasoning is carried out by taking the historical modes as reference and combining historical efficiency data of the intelligent agent, so that a plurality of candidate task flows can be generated; the multi-scheme generation mechanism not only considers the historical success path, but also integrates the actual performance of the intelligent agent, so that the generated task flow is more diversified and adaptive, and the risk of a single scheme is reduced.
Owner:HANGZHOU WORMWOOD INFORMATION SERVICE CO LTD

Virtual power plant baseline strategy issuing failure retry method and server

According to the virtual power plant baseline strategy issuing failure retry method and the server, when baseline strategy issuing fails, strategy information of a baseline strategy is recorded; the strategy information comprises a strategy weight, URL information and a strategy method name; periodically scanning to obtain the policy information of the baseline policies which fail to be issued, and performing priority queue sorting on the baseline policies according to the policy weights; according to a sorting result of the priority queue sorting, controlling the concurrency amount through a thread pool to perform parallel issuing retry; wherein for each baseline strategy, a request mode is determined according to the URL information, and a strategy mode and a corresponding logic method are determined according to the name of the strategy method; according to the method, the retry problem of the virtual power plant baseline strategy in a heterogeneous environment is solved, and differentiated processing, priority scheduling and efficient concurrency are realized.
Owner:CONTEMPORARY NEBULA TECH ENERGY CO LTD

Multi-scene login implementation method and system based on strategy mode

PendingCN120546970ASecuring communicationStatic mappingMaintainability
The invention provides a multi-scene login implementation method and system based on a strategy mode. The method comprises the following steps: defining an abstract strategy interface, and declaring a supported product and input channel inspection method; based on the abstract policy interface, creating a plurality of specific policy implementation classes, the plurality of policy implementation classes respectively corresponding to service logics of different login scenes; constructing a context class, wherein the context class manages registration and acquisition of the specific strategy implementation class through a static mapping table; and in a user login request processing process, according to a product identifier carried in a user login request, dynamically calling a corresponding specific strategy implementation class through the context class to execute login logic. According to the application, the multi-scene login logic is decoupled through the strategy mode, dynamic scheduling is realized by using the mapping table, the expansibility and maintainability of the system are improved, a new scene is supported, and a core architecture does not need to be modified.
Owner:WUHAN ZBANK CO LTD

Event processing method and device based on strategy mode and medium

The invention discloses an event processing method and device based on a strategy mode and a medium, belongs to the technical field of Internet, and is used for solving the technical problems that a traditional event-driven architecture is rigid in time processing, lack of dynamic routing capability, insufficient in multi-combination support and unbalanced in resource utilization. The method comprises the following steps: performing strategy registration processing on an uploaded strategy packet through a dynamic strategy registration center to obtain an input event; decoding the input event, and extracting a standardized event object based on the key field; performing feature extraction on the event text content in the standardized event object to obtain a multi-dimensional feature vector; performing strategy combination processing on the multi-dimensional feature vectors through a multi-modal routing engine to obtain an optimal strategy combination; and carrying out calculation resource optimization processing of relevant strategy DNA features on the optimal strategy combination to obtain a strategy event processing result.
Owner:INSPUR ZHUOSHU BIG DATA IND DEV CO LTD

Code automatic generation method and device, equipment, medium and program product

The invention provides an automatic code generation method which can be applied to the field of artificial intelligence or other technical fields. The method comprises the following steps: in response to a request of initiating code generation by a target user, obtaining configuration parameters input by the target user; loading a pre-configured strategy component template, and generating an enumeration class and a strategy interface according to the configuration parameters and the strategy component template; based on the enumeration value of the enumeration class, generating at least one policy implementation class by using the policy component template, the policy implementation class being used for implementing a policy interface; and integrating the enumeration class, the strategy interface and the strategy implementation class to form a strategy mode code set. The invention further provides an automatic code generation device and equipment, a storage medium and a program product.
Owner:CHINA CONSTRUCTION BANK +1

A method for automatically switching implementation classes based on strategy mode

The present invention discloses a method for implementing an automatic switching class based on a policy pattern, and belongs to the technical field of software development. A method for implementing an automatic switching class based on a policy pattern comprises the following steps: S1, setting a policy binding loader; S2, parsing the automatic loader configuration: when the system starts, all supported policy binding loaders are obtained from the application context, and the policy binding loader specified by the user is matched for loading; S3, loading policy binding data: loading the policy binding data into the policy context through the specified policy binding loader, and caching it into the JVM memory. The present invention replaces the complex policy selection logic judgment, encapsulates the algorithm in an independent policy, is easy to switch, easy to understand, easy to expand, and flexible to add new algorithm strategies.
Owner:DIANDU INTERNET TECH CO LTD

A Master Data Management Method and System Based on Strategy Pattern and Rule Engine

The application provides a kind of strategy mode and rule engine-based master data management method and system, related to data management field, including receiving master data and self-adapting flow limiting;Perform double check and calculate priority;Select processing rule set to construct workflow;Based on quality mark dynamic generation distribution rule;Master data is written into message queue and pushed to target system according to weight.The application improves master data processing efficiency and quality through differentiated processing strategy and adaptive data distribution, enhances the reliability and flexibility of data flow.
Owner:北京科杰科技有限公司