Patents
Literature
Hiro is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Hiro

33 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.

Program testing method and testing device

A testing device for testing a system configured of an application and a set of execution-environment-dependent resources used by the application includes a DI container for injecting one resource set (EUT) into an application for which a test is executed via an application interface, the resource set being a candidate of dependency injection into the application, and a test execution unit that executes a test on the application with the one resource set having been injected therein. When another resource set that is different from the one resource set exists the injection by the DI container and the test by the test execution unit are executed on the other resource set.
Owner:INT BUSINESS MASCH CORP

Method and system for isolating software components

A software testing system operative to test a software application comprising a plurality of software components, at least some of which are highly coupled hence unable to support a dependency injection, each software component operative to perform a function, the system comprising apparatus for at least partially isolating, from within the software application, at least one highly coupled software component which performs a given function, and apparatus for testing at least the at least partially isolated highly coupled software component.
Owner:TYPEMOCK

Program testing method and testing device

A testing device for testing a system configured of an application and a set of execution-environment-dependent resources used by the application includes a DI container for injecting one resource set (EUT) into an application for which a test is executed via an application interface, the resource set being a candidate of dependency injection into the application, and a test execution unit that executes a test on the application with the one resource set having been injected therein. When another resource set that is different from the one resource set exists the injection by the DI container and the test by the test execution unit are executed on the other resource set.
Owner:IBM CORP

Dependency injection method and dependency injection device based on system running

An embodiment of the invention discloses a dependency injection method, which includes the steps: acquiring configuration information of a business feature from a business feature configuration table according to the business feature required by system running; acquiring configuration information of a corresponding feature instance from a feature instance configuration table according to the configuration information of the business feature and the mapping relation between the default business feature configuration table and the feature instance configuration table; and instancing the business feature according to the acquired configuration information of the feature instance, and returning the instanced feature to a system for running. The embodiment of the invention further discloses a dependency injection device based on system running. By the aid of the method and the device, the injected feature instance can be dynamically changed when the system runs, so that the loose coupling relation between the system (invoker) and the feature instance (implementation class) is guaranteed, and practicality of Spring dependency injection is improved.
Owner:卓望数码技术(深圳)有限公司

Spring framework generic dependency injection method and device, computer equipment and storage medium

The invention belongs to the technical field of artificial intelligence, and relates to a spring frame generic dependency injection method and device, computer equipment and a storage medium, and themethod comprises the steps: obtaining an operation path of a target bean object needing to be subjected to generic dependency injection after monitoring that a spring container is started; obtaining aclass file according to the operation path, and collecting the class file corresponding to one dependency object to form a class file set; and generating a bean object according to each class file inthe class file set, and injecting the bean object into the attribute of the target bean object to realize generic dependency injection. The scheme provided by the invention can be applied to a springframework without a generic dependency injection function; a class file is obtained from a set path after a spring container is started to realize generic dependency injection; the dependency relationship between the objects can be simplified, the program is more simplified, reading is easy, invasiveness is weak, the generated dependency object can immediately enter a ready state after construction is completed, and the program operation efficiency can be improved.
Owner:PING AN TECH (SHENZHEN) CO LTD

Distributed element dependent relationship managing method based on dependent injection

The present invention provides a distributed component dependency management method based on dependency injection, belonging to the software component-based technical field. The method comprises the steps as follows: 1) the expansion of CORBA object model; forming a lightweight CORBA component model by defining four states of the component, a dependence injection interface and describing configuration files; 2) the implementing of a component container; implementing a lightweight CORBA component container based on the modification of the core of CORBA ORB; 3) the node management framework of the distributed system; dividing all nodes in a distributed system network to a domain management node and a plurality of non-domain management nodes; with the cooperation of the domain management service and the node management service, realizing the injection management of the distributed dependence among components. The method manages the dependence of the distributed component in a declaration manner rather than in a programming manner. The load of component developers is alleviated, and the flexibility of the system is improved.
Owner:NO 709 RES INST OF CHINA SHIPBUILDING IND CORP

Method and system for migrating XML schemas in application releases

A method and system for migrating Extensible Markup Language (XML) schemas between releases of a computing application. The method provides first and second versions of an XML document by the computing application, each version having a different schema. The first version is migrated to the second version using a migration step. The method uses a Dependency Injection Framework to abstract the characteristics of the at least one migration step. The method also transforms the first schema to the second schema, based on the abstracted characteristics of the at least one migration step, in such a way that the first version of the XML document is migrated into the second version of the XML document. The method migrates the first version into the second version in such a way that the second version can access application data from the first version.
Owner:UNISYS CORP

Intelligent acquisition and analysis method for Internet of Things data

The invention provides an intelligent acquisition and analysis method for Internet of Things data, which is supported by the following modules: a business data interface, an external system interface,a business scheduling core class, an interface custom class, an acquisition scheduling control class and so on; the business acquisition class must manage a corresponding relationship between own business steps and a communication protocol; and an acquisition scheduling controller is only responsible for dynamically establishing a run-time object relationship between the business steps and the communication protocol. The business acquisition class realizes a specified interface method required by the acquisition scheduling controller and is used for realizing the initiation of an acquisitiontask, executing a next instruction, ending, abnormal retransmission, abnormal stopping, fault processing and other acquisition process control functions. Framework users only need to code, according to the interface appointment, to implement the related acquisition required by a specific business, state machines, and protocol business classes. When an acquisition server is allowed, configuration parameters are loaded automatically, related business logic objects are dynamically created, and dependency injection is completed, so that a whole system can complete communication and acquisition tasks according to the specific business requirement.
Owner:徐工汉云技术股份有限公司

Integrated control system based on dynamical creating objects of Spring dependency injection

The invention discloses an integrated control system based on dynamical creating objects of spring dependency injection. The integrated control system based on dynamical creating objects of spring dependency injection relates to application software creating technical field. The integrated control system comprises a status module, a business module, a configure module, and an operation module. Based on dynamical created objects of Spring dependency injection, by adoption of this system, uses are capable of customizing and developing software to meet processing needs of various services, and thus cost of enterprises purchasing a variety of software cab be reduced, work efficiency can also be improved.
Owner:北京中船信息科技有限公司

Dependency injection-based semi-automatic android application test method

The invention provides a dependency injection-based semi-automatic android application test method. According to the method, the advantages of manual test and random test can be combined, through utilizing an Xposed framework, system dependency requests related to application calling are obtained, and in the test process, various dependencies required for the right operation of applications are provided, so that the test coverage is improved and bugs are efficiently detected. The method comprises an Android mobile phone preprocessing process, a target program code plug-in mounting process, a random test process and a dependency injection process. By utilizing the method provided by the invention, the dependency requests in application test process can be automatically detected in a lightweight manner, and resource type dependencies are automatically provided, so that the problem of dependency deficiency in the automatic test process is solved; and a method which combines the advantages, of solving complicated interaction and providing user dependencies, of a manual manner and the characteristic, of discovering unexpected defects, of random test to carry out semi-automatic test is disclosed, so that the automatic test efficiency and quality are improved.
Owner:NANJING UNIV

Easy-To-Use Type Of Compile-Time Dependency Injection Method And Device In The Java Platform

Disclosed is an easy-to-use type of a compile-time dependency injection method and device in a JAVA platform. According to an exemplary embodiment, there is provided a method for automatically generating a code which injects an object for a target code at the time of compiling, in a JAVA framework executing environment including: determining whether the target code is a code related with a dependency injection function; generating a provider code of the target code which generates an object and returns the generated object to the target code, based on the determination result; and generating an injector code including a dependency object injection code which injects a dependency object corresponding to at least one dependency injection indicator included in the target code into a dependency field of an object generated by the provider code, based on the determination result, in which the provider code calls the dependency object injection code.
Owner:TMAXSOFT

Dependency injection method, apparatus, device, and storage medium

The present application relates to a dependency injection method, apparatus, device and storage medium. The method comprises the following steps of: collecting source code files when a program is compiled; Parsing the source code file to obtain dependency relation characteristics; Generating a dependency code of the dependency feature; According to the source code file and the dependency relationcode, an application program is generated, and when the client runs the application program, the dependency relation code is executed to obtain the dependency relation of the application program. According to an embodiment of the present application, the problem of slow response of the user terminal due to reflection processing by the user terminal when the application program is run is avoided.
Owner:GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1

Parameter transmission method among sub-modules on the basis of assembly-type development mode loose coupling

InactiveCN106681843AImplement parameter passing functionAchieve loose couplingInterprogram communicationDependency injectionLoose coupling
The invention relates to a parameter transmission method among sub-modules on the basis of assembly-type development mode loose coupling. Multiple sub-modules are integrated into a system main frame through the dependent injection mode provided by the Prism. The system main frame provides system bus which is used for carrying parameter information; each sub-module sends and receives parameter information to and from the system bus; The method comprises following steps: any sub-module of the system performs packaging processing on the parameter information and publishes the information to the system bus; sub-modules having demands for parameters subscribe for parameter information from the system bus; after receiving the parameter information transmitted on the bus, the sub-modules perform unpacking and determination to process the parameter information at last. By means of the method, sub-modules of the system are fully decoupled; when one module gets abnormal, normal operation of other modules is not affected so that the system stability is guaranteed to the most.
Owner:SHENYANG INST OF AUTOMATION - CHINESE ACAD OF SCI

Development-time awareness of a production dependency injection environment

Development-time awareness of production environment dependency injection configuration in a software development or test environment. In a software development or test environment, metadata is retrieved relating to configuration data of injection sources and target injection sites in applications of a configured target production server or a representation of a configured target production server. A configuration data structure is formed that cross-references target injection sites and injectable sources determined from the configuration data, the configuration data structure being associated with the production server and available to the software development or test environment. The configuration data structure is referenced to carry out dependency injection related features.
Owner:IBM CORP

Small supermarket commodity information management system

The invention discloses a small supermarket commodity information management system, and relates to a computer management system. The small supermarket commodity information management system comprises a commodity management module used for commodity information management and commodity type management, a commodity flow management module used for purchase management, stock removal management and supplier management and a system management module used for user management and password change, wherein all the commodity management module, the commodity flow management module and the system management module use an SSH integration framework, Hibernate is used as a data persistence layer and processes adding, modification, deletion and query operation on an object data list, Spring is used as a middle layer, persistence is used as business of a controller through a relationship between dependency injection and IOC (inversion of control), and an Action controller in a Struts framework is interacted with a JSP (Java server page) through the business. The small supermarket commodity information management system achieves information management of a supermarket, decreases the number of errors in management, improves work efficiency, and enables the information management of the supermarket to move an important step.
Owner:SHENYANG INSTITUTE OF CHEMICAL TECHNOLOGY

A Product Information Management System for Small Supermarkets

A small supermarket product information management system, the invention relates to a computer management system, the system includes a product management module for product information management and product type management; Flow management module; system management module for user management and password modification; commodity management module, commodity flow management module and system management module all apply SSH integration architecture, and Hibernate acts as a data persistence layer to handle adding, modifying, and Delete and query operations; Spring acts as the middle layer, and uses persistence as the business of the controller through the relationship of dependency injection IOC; the Action controller in the Struts framework interacts with the JSP page through this business. The invention realizes the information management of the supermarket, reduces the mistakes in the management, improves the work efficiency, and takes an important step for the information management of the supermarket.
Owner:SHENYANG INSTITUTE OF CHEMICAL TECHNOLOGY

A websocket broken line reconnection method and a websocket broken line reconnection device

InactiveCN109788070ARealization of reconnection after disconnectionData switching networksDependency injectionWebSocket
The invention discloses a websocket disconnection reconnection method and device, and the method comprises the steps: A, monitoring a websocket connection event; B, when websocket connection fails, counting the number of websocket connection failures; C, when the number of websocket connection failures reaches a threshold value, reconnecting the websocket; Through the scheme of the invention, thedisconnection reconnection of the websocket is realized, the dependency injection is added in the reconnection of the websocket, and the control inversion is completed in the reconnection process, sothat the vuex can obtain the previous program state information after the disconnection reconnection, and the state of the program is continuously managed.
Owner:SHENZHEN DIANMAO TECH CO LTD

Methods and systems for isolating software components

A software testing system operative to test a software application comprising a plurality of software components, at least some of which are highly coupled hence unable to support a dependency injection, each software component operative to perform a function, the system comprising apparatus for at least partially isolating, from within the software application, at least one highly coupled software component which performs a given function, and apparatus for testing at least the at least partially isolated highly coupled software component.
Owner:TYPEMOCK

Development-time awareness of a production dependency injection environment

Development-time awareness of production environment dependency injection configuration in a software development or test environment. In a software development or test environment, metadata is retrieved relating to configuration data of injection sources and target injection sites in applications of a configured target production server or a representation of a configured target production server. A configuration data structure is formed that cross-references target injection sites and injectable sources determined from the configuration data, the configuration data structure being associated with the production server and available to the software development or test environment. The configuration data structure is referenced to carry out dependency injection related features.
Owner:INT BUSINESS MASCH CORP

Dependency injection method, device, device and storage medium

The present application relates to a dependency injection method, apparatus, device and storage medium. The method includes: collecting source code files when compiling a program; parsing the source code files to obtain a dependency relationship feature; generating a dependency relationship code of the dependency relationship feature; according to the source code file and the dependency relationship code to generate an application program, and when the user terminal runs the application program, execute the dependency relationship code to obtain the dependency relationship of the application program. According to the embodiments of the present application, the problems of the user terminal being stuck and slow in response caused by the reflection processing performed by the user terminal when running the application program are avoided.
Owner:GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1

Internet of Things intelligent equipment data acquisition method based on Spring dependency injection

The invention discloses an Internet of Things intelligent equipment data acquisition method based on Spring dependency injection. On the basis of Java open-source high-concurrency non-blocking Socketframeworks such as Mina and Netty, a unified data acquisition interface is provided for all intelligent terminal equipment, and attention points can be clearly separated on the basis of a flexible andextensible event model; a highly customizable thread model is achieved; the performance is high, the throughput is higher, and the delay is lower; and resource consumption reduced. The protocol pointtable, version, index and analyzer bean object Id of the intelligent equipment terminal are configured in a database, so that on one hand, the problems of diversification of data acquisition requirements, diversification of equipment types and multi-version compatibility with the equipment are solved, and on the other hand, the corresponding analyzer is configured to call the analyzer during dynamic running in a program, so that the data acquisition efficiency is improved. High cohesion and low coupling are achieved among the service components, so that the reusability and portability of theprogram module are greatly enhanced. The method is applied to the technical field of Internet of Things intelligent equipment data acquisition.
Owner:珠海驿联新能源汽车有限公司

Big data tree form component method realized based on AngularJS framework

PendingCN113326036APowerful and rich template functionsRich Angular directivesVersion controlVisual/graphical programmingDependency injectionSoftware engineering
The invention discloses a big data tree form component method realized based on an AngularJS framework. The method comprises the following steps: defining data formats transmitted at the front end and the rear end of a tree table; defining an HTML display template, namely a DOM structure, of the tree table; processing tree data by the native js, and exposing basic parameter configuration and a user-defined interface; adopting an AngularJS framework to carry out component packaging to form an instruction, and displaying the instruction. The method has the advantages that 1, the tree table realized based on the AngularJS framework can simultaneously obtain the advantages of the framework; 2, the system is a relatively perfect front-end MV * framework, and comprises all functions of data bidirectional binding, routing, modularization, service, filter, dependency injection and the like; 3, a user-defined instruction is more flexible than a jQuery plug-in; 4, ng modularization boldly introduces some things of Java (depending on injection), reusable codes can be easily written out, and the method is very helpful for agile development teams, 5, simplicity and convenience are achieved; 6, rolling data loading is supported, the method is used for big data table display, and experience and performance are better.
Owner:SHENZHEN SECURITIES COMM

Method for realizing automatic backup of application data using AOP and Spring dependency injection

The invention relates to a method for realizing automatic backup of application data by using AOP and Spring dependency injection, which comprises the following steps: saving service data log and restoring service data log; using AOP (Java Reflection) technology and Spring Dependency Injection to realize the automatic backup of application data, thus, the coupling degree between each part of the business logic is reduced, the reusability of the program is improved, and the development efficiency is improved. When defining all the requirements of an application for a service, such as logging, by identifying concerns, the service can be better defined, better coded, and more functional.
Owner:山东恒云信息科技有限公司

Micro-service development framework for governing function plug-in and implementation method

The invention relates to a micro-service development framework for governing function plug-in and an implementation method thereof, which solve the business problem of how to enable a function module to be universal and loosely coupled with the framework by adopting a plug-in implementation mode and design schemes such as object-oriented interface design and dependency injection, greatly reduce the use and maintenance cost of an access party, and improve the development efficiency of the micro-service development framework for governing the function plug-in and the implementation method of the micro-service development framework for governing the function plug-in. And the internal complexity of the micro-service development framework is reduced. Meanwhile, common interface aggregation definitions of independent functions such as configuration updating are defined in the micro-service development framework, when the plug-ins achieve the interface definitions, the framework can process corresponding logics to provide support for independent updating of the plug-ins, the plug-ins can guarantee independent service providing in the face of specific business scenes, and the development efficiency of the micro-service development framework is improved. The method is not influenced by other businesses, and is decoupled from the businesses and other plug-ins.
Owner:厦门点触科技股份有限公司

Front-end integration method based on dependency injection and path mapping under Html

The invention discloses a front-end integration method based on dependency injection and path mapping under an Html. The front-end integration method comprises a framework page and a dependency injection form, wherein the framework page is responsible for organizing injection of different old system dependencies and embedding old functions besides realizing basic functions of a new system; and organization of a document structure, wherein a plurality of init.js files are needed for configuring dependencies of the corresponding systems respectively under the condition of multiple systems, different folders are organized according to different systems, and file packages required by initialization are added into the corresponding folders. According to the front-end integration method, the interior of each functional unit does not need to be modified, direct multiplexing is realized, the maintenance amount and bug output rate are greatly reduced, and the function uniformity is improved; the frame page integrating all the functional units is unique, maintenance of the same functions in the frame page is simple, repeated work does not exist, and efficiency is improved; and through the designed maintenance module connected with the system, monitoring and early warning of the system are facilitated through the maintenance module, maintenance at the first time is facilitated, and operation of the system is ensured.
Owner:泰安协同软件有限公司

Automatic assistant architecture for maintaining privacy of application content

Implementations set forth herein relate to an automatic assistant that allows third party applications to inject dependencies to utilize automatic assistant functions. In addition, enabling such dependency injection can allow a third party application to maintain privacy of any application content used during execution of the automated assistant function. In some implementations, a third party application can initialize functions having assistant dependencies using parameters marked as private. Initializing a function in such a manner can allow abstraction of private content communicating between a third party application and an automated assistant for security purposes. Thereafter, the abstract content can be communicated to a remote server, such as a server hosting a widely trained machine learning model. The intelligent output provided by the server can then be incorporated into one or more processes of the third party application without compromising security.
Owner:GOOGLE LLC

A method to realize automatic backup of application data by using aop and spring dependency injection

A method for realizing automatic backup of application data by using AOP and Spring dependency injection, including business data log preservation and business data log restoration; using AOP (Java reflection) technology and Spring dependency injection to realize automatic backup of application data. Therefore, the coupling degree between various parts of the business logic is reduced, the reusability of the program is improved, and the efficiency of development is improved at the same time. When defining all the requirements of an application for a certain service, such as logging. By identifying concerns, the service can be better defined, better coded, and gain more functionality.
Owner:山东恒云信息科技有限公司

Data processing method and device, electronic equipment, storage medium and program product

The invention relates to a data processing method and device, electronic equipment, a storage medium and a program product, and relates to the technical field of computers. Through the unified target interface class, automatic search of variables related to dependency injection is achieved, a technician only needs to trigger the search request for the first target variable, and then when the first mark information of the first target variable indicates that the first target variable is a variable receiver or a variable provider, the first target variable can be determined as a variable related to dependency injection, then the target interface class is directly called, searching is automatically carried out in the execution data, the first target variable marked with the first mark information and the second target variable quoting the first target variable are obtained, and then the positions of the first target variable and the second target variable are determined without manual search of technicians, so the search efficiency is improved.
Owner:BEIJING DAJIA INTERNET INFORMATION TECH CO LTD

Automatic group quitting method and system for social application on basis of dependency injection

The embodiments of the invention provide an automatic group quitting method and system for a social application on the basis of dependency injection. The automatic group quitting method comprises thesteps of: acquiring group information of a social application; creating an automatic group quitting application interface, wherein the automatic group quitting application interface displays group information; and when a user selects the group information of a to-be-quit group, executing group quitting operation in batches. According to the embodiments of the invention, batch group quitting operation is carried out by adoption of dependency injection, so one-key group quitting is realized; a large number of useless groups are prevented from being subjected to group quitting operation independently; the complexity of single group quitting is eliminated; and the use experience of customers is improved.
Owner:WUHAN HONGXU INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products