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

10 results about "Dependency injection" patented technology

In software engineering, dependency injection is a technique whereby one object supplies the dependencies of another object. A "dependency" is an object that can be used, for example as a service. Instead of a client specifying which service it will use, something tells the client what service to use. The "injection" refers to the passing of a dependency (a service) into the object (a client) that would use it. The service is made part of the client's state. Passing the service to the client, rather than allowing a client to build or find the service, is the fundamental requirement of the pattern.

Module dynamic assembly and life cycle management system based on dependency injection strategy

The invention relates to the technical field of electric digital data processing, and discloses a module dynamic assembly and life cycle management system based on a dependency injection strategy, which comprises a data interaction module, a logic assembly unit and a dependency injection center, wherein the data interaction module obtains an interaction load data sequence and a logic trigger signal of the operation state of a controlled physical object; the logic assembly unit determines a physical elastic characteristic factor according to the interaction load data sequence, injects a phase hedging item in a characteristic packet weight switching process, and generates a dynamic weight adjustment instruction; the dependency injection center reconstructs the weight proportion of the new and old feature packets according to the dynamic weight adjustment instruction, and after the physical elasticity feature factor reaches a preset steady state judgment threshold value, the state fingerprint inherits logic and destroys an old instance. The decoupling problem of a control logic and a physical deformation field is solved, data breakpoints at the instant of switching are eliminated, and stable operation of the system is maintained.
Owner:HANGZHOU YONGCHUANG TECH GRP CO LTD

Code execution method and apparatus, device, medium, product

PendingCN122450544ACoding blockDependency injection
The method comprises: obtaining a target code block to be called by a current coroutine and at least one first dependent object relied on by the target code block; storing the at least one first dependent object in a local storage space of the current coroutine; and calling and executing the target code block under the local storage space by using the current coroutine, so as to obtain the at least one first dependent object from the local storage space in the process of calling the target code block. In this way, the dependence on convention and configuration can be reduced, the strong coupling with a specific backend framework is not required, a more intuitive and flexible dependence injection mode is provided, the use of reflection and proxy mechanisms is reduced, and the performance overhead in the code execution process is reduced.
Owner:MOORE THREADS TECH CO LTD

Dynamic plug-in loading method and system

PendingCN121807400AProgram loading/initiatingTransmissionPathPingDependency injection
The invention discloses a dynamic plug-in loading method and system, and the method comprises the steps: S1, reading and analyzing a predefined plug-in description file when a main program is started or runs; s2, dynamically positioning and loading a corresponding plug-in dynamic link library according to specified path information in the plug-in description file; s3, initializing a plug-in realized in the plug-in dynamic link library by utilizing a dependent injection and modular framework, and integrating the plug-in into a running environment of a main program; s4, analyzing a function item set defined in the plug-in description file, and dynamically generating a corresponding function trigger control in a user interface of the main program according to the definition of the function item set; and S5, executing an instruction associated with the function triggering control in the plug-in description file according to the operation of the user on the function triggering control. According to the method and the device, the predefined interface and the configuration file cooperate, so that decoupling of the plug-in and the main program is realized. The plug-in and the main program can be independently developed, compiled and tested.
Owner:ANHUI XIANGYU INTELLIGENT TECH CO LTD

A method and apparatus for application deployment, electronic device, and storage medium

PendingCN122363715ACode generationDependency injection
The application discloses an application deployment method and device, an electronic device and a computer readable storage medium. The method comprises the following steps: running a target Spring application to a state in which all objects are completed with instantiation and initialization of dependency injection; acquiring a runtime state of all object instances, aspect-oriented programming aspect logic and a dependency relationship between the object instances, and constructing a topology structure for describing the dependency relationship between the object instances; generating application code based on the topology structure, the runtime state of all the object instances and the aspect-oriented programming aspect logic by using a container-free application code generator; compiling the application code to generate a deployment unit which is independent of a Spring container, and deploying the target application based on the deployment unit. The application realizes fast startup, low memory occupation and high environmental adaptability of the Spring application without relying on the Spring container.
Owner:CHINA BANKNOTE PRINTING & MINTING +1

Adaptive customer service configuration method and system based on dependency injection

PendingCN121349520AVersion controlProgram documentationPathPingDependency injection
The invention provides an adaptive customer service configuration method and system based on dependency injection, and relates to the technical field of software application development, and the method comprises the steps: defining a service component interface, customizing annotation identification standard implementation and customer implementation; analyzing the configuration file and obtaining environment parameters required by the customized operation to form a customized operation configuration environment; scanning the specified packet path, identifying an implementation class with a customized annotation identifier, analyzing the annotation of the implementation class, and forming a candidate implementation set based on an analysis result; selecting implementation classes in the candidate implementation set, matching the implementation classes by adopting a screening mechanism, selecting standard implementation according to a rollback strategy when the matched implementation classes are not screened, and determining an adaptive decision result; and injecting the target implementation class in the adaptation decision result into the corresponding service component, recording the whole process of the customer adaptation and dependency injection, and realizing the whole process of customer service configuration. The maintainability, the expandability and the development efficiency of the system are improved.
Owner:DAREWAY SOFTWARE

Modular system dynamic deployment method and system based on lightweight architecture

The application provides a modular system dynamic deployment method and system based on a lightweight architecture, which comprises the following steps: configuring a system into multiple independent functional modules according to a business boundary; setting a unified configuration file for defining a target deployment mode of the system; dynamically configuring parameter groups according to the target deployment mode specified in the configuration file; defining a standardized communication interface for each functional module, and performing service calling between the functional modules through a dependency injection mode based on the configuration parameter groups; and dynamically adapting a communication mechanism between the functional modules at the system startup or running according to the configuration parameter groups, so as to complete the dynamic deployment switching between a monolithic architecture and a distributed architecture. The application can flexibly switch between the monolithic architecture and the distributed architecture according to actual use requirements, and can complete the conversion of the deployment form by modifying the configuration only, without modifying the source code, so that the development and deployment complexity of the modular system is effectively reduced.
Owner:JIANGXI TONGRUI INFORMATION TECH CO LTD

Module dynamic assembly and life cycle management system based on dependency injection strategy

The application relates to the technical field of electric digital data processing, and discloses a module dynamic assembly and life cycle management system based on a dependency injection strategy, which comprises a data interaction module, a logic assembly unit and a dependency injection center, wherein the data interaction module acquires an interactive load data sequence of a running state of a controlled physical object and a logic trigger signal; the logic assembly unit determines a physical elastic characteristic factor according to the interactive load data sequence, injects a phase hedging item in a characteristic package weight switching process, and generates a dynamic weight adjustment instruction; the dependency injection center reconstructs a new and old characteristic package weight proportion according to the dynamic weight adjustment instruction, adopts state fingerprint inheritance logic after the physical elastic characteristic factor reaches a preset steady state judgment threshold, and destroys an old instance, the application solves the decoupling problem of a control logic and a physical deformation field through real-time coupling of a physical elastic characteristic factor and control weight, eliminates data breakpoints in a switching transient state, and maintains smooth system operation.
Owner:HANGZHOU YONGCHUANG TECH GRP CO LTD

Data processing pipeline auto-assembly system and method

PendingCN122261630AVersion controlProgram documentationData classDependency injection
The application provides a data processing pipeline automatic assembly system and method. It comprises: an operator discovery module for obtaining registered operators based on a modular dependency injection container in the application initialization stage; a hierarchical metadata generation module for generating operator execution metadata; a pipeline registry module for creating or caching corresponding data processing pipeline instances according to data types; an automatic topology assembly module for building a directed data processing topology; a data access and driving module for obtaining a target data processing pipeline instance from the pipeline registry module according to the input data type and delivering data to the entry buffer node; a topology visualization output module for generating a tree topology description based on the node identification and connection relationship formed by assembly, and outputting node type, operator identification, data type mapping relationship, execution order and execution parameters. The application can reduce process coupling cost, improve pipeline expansion and configuration efficiency, and improve operation and maintenance observability.
Owner:DUAL DOMAIN TIMES (SHANGHAI) COMPUTER TECHNOLOGY CO LTD

A method and related apparatus for maintaining an intelligent agent's environment

PendingCN122633438ADependency injectionOperating system
This application discloses a method and related apparatus for maintaining an intelligent agent environment, relating to the field of artificial intelligence. The method includes: creating an independent intelligent agent thread for the user in response to an intelligent agent initiation command; instantiating a driver layer module and an upper-layer module containing a tool layer module within this thread; injecting lower-layer module instances based on the dependency information of the upper-layer module to form a dependency call chain from the tool layer to the driver layer; during the execution of a large language model task loop, each round of calling the tool layer module obtains a control handle uniquely bound to the thread of the task loop along the dependency call chain, and sends control commands to the physical execution environment based on this control handle. This application, based on thread isolation, dependency injection, and handle binding mechanisms, achieves the reuse of the same execution session across multiple rounds of tool calls, solving the problem of task context breakage.
Owner:广州市公安局网络安全保卫支队

Angular framework code auditing method, electronic device, storage medium, and program product

The application provides an Angular framework code auditing method, an electronic device, a storage medium and a program product, and relates to the technical field of security. The method divides source code into semantic code units with complete context by using Angular framework syntax features, which can effectively improve the understanding ability of a large language model for framework-specific logic and avoid missing detection of semantics such as decorators and dependency injection by general tools. Meanwhile, based on the dynamic retrieval of a rule knowledge base according to a user-specified auditing dimension label, accurate matching of auditing rules and auditing intentions is achieved, and then accurate auditing of code is performed by a large language model based on a target auditing rule set.
Owner:HUBEI TIANRONGXIN NETWORK SECURITY TECH CO LTD +3