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

58 results about "Generic programming" patented technology

Generic programming is a style of computer programming in which algorithms are written in terms of types to-be-specified-later that are then instantiated when needed for specific types provided as parameters. This approach, pioneered by ML in 1973, permits writing common functions or types that differ only in the set of types on which they operate when used, thus reducing duplication. Such software entities are known as generics in Python, Ada, C#, Delphi, Eiffel, F#, Java, Rust, Swift, TypeScript and Visual Basic .NET. They are known as parametric polymorphism in ML, Scala, Julia, and Haskell (the Haskell community also uses the term "generic" for a related but somewhat different concept); templates in C++ and D; and parameterized types in the influential 1994 book Design Patterns.

Abstract syntax notation to interface definition language converter framework for network management

A system and method for managing network devices. The framework may provide a suitable system for managed object data type conversions between various data description languages, such as an interface definition language (e.g., OMG IDL) and an abstract syntax notation (e.g., ASN1). This conversion facility may be used in both request and event network traffic, so common libraries may be used. Two separate libraries may be used: a converter framework library and a converter implementation library. The framework library provides a collection classes that may be used by the clients of the converter libraries. Most classes in the converter framework library are handle classes (or wrappers) to the real implementation (or body) classes in the converter implementation library. Framework classes hide the details of the real implementation classes and provide a simple, consistent interface to any data type converter via IDL. The converter implementation library provides the implementation needed by the framework to function properly, and may allow various different mappings to be used easily by implementing them as plug-in modules. The combination of using IDL and generic typing provides an efficient, generic solution to mapping data types across multiple platforms, multiple programming languages, and multiple object classes.
Owner:ORACLE INT CORP

Generating action data for the animation of characters

Action data for the animation of characters is generated in a computer animation system. Body part positions for a selected character are positioned in response to body part positions captured from performance data. The positions and orientations of body parts are identified for a generic actor in response to a performance in combination with a bio-mechanical model. As a separate stage of processing, positions and orientations of body parts for a character are identified in response to the position and orientation of body parts for the generic actor in combination with a bio-mechanical model. Registration data for the performance associates body parts of the performance and body parts of the generic actor. Similar registration data for the character associates body parts in the generic actor with body parts of the character. In this way, using the generic actor model, it is possible to combine any performance data that has been registered to the generic actor with any character definitions that have been associated to a similar generic actor.
Owner:KAYDARA +1

Compiling source code using generic classes

A method includes receiving a portion of JAVA™ language software having a declaration of an instance of a generic class, parsing the declaration into a token corresponding to the generic class, and generating an intermediate language code block corresponding to the parsed declaration. The intermediate language code block is executable by a runtime engine. A system for compiling includes a parser receiving JAVA™ language source code having an instruction referencing a generic class and specifying a type of the generic class, and a code generator generating intermediate language code representing the source code.
Owner:MICROSOFT TECH LICENSING LLC

Method and system for accessing a network database as a web service

A method and system for accessing network directory data as uses a Web service as an interface between a directory database and network clients. To support extensibility of the object types in the directory database, directory access methods are defined for a generic object class from which classes for different directory object types are derived. A description of the object classes and database operation methods is provided by the Web service to the client. To access the directory database, the runtime environment of the client is used to create objects on which a requested directory operation method operates according to the proper class definitions of the object types. The request with serialized objects is sent to the Web service, which then uses information provided by the objects in the request to access the directory database to carry out the requested directory operation method.
Owner:MICROSOFT TECH LICENSING LLC

IEC61968 standard document generation system and method based on generic programming and reflection mechanism

The invention relates to an IEC61968 standard document generation system and method based on generic programming and a reflection mechanism. The IEC61968 standard document generation system comprises an Xsd processing module, a configuration file processing module, an XML generation module, a data query module and an XML document output module. The Xsd processing module transmits data with the configuration file processing module and the XML document output module. The XML generation module transmits data with the configuration file processing module, the data query module and the XML document output module. The invention provides the general method characterized in that based on the power distribution network IEC61968 standard, the generic programming and reflection mechanism technologies are utilized to generate an XML document according with the IEC61968 standard. By adopting the method, the repeated development of a document conversion program for each power distribution application system is avoided, the format of data exchange documents is unified, the implementation difficulty and the implementation cost of each application assembly for power distribution are lowered, the construction of power distribution informatization is facilitated, the working efficiency and accuracy of power distribution informatization are improved, and the operation level of a power distribution network is further improved.
Owner:CHINA ELECTRIC POWER RES INST +2

Framework association-based pipe support-suspension frame model reconfiguration method

ActiveCN106548001AImplement polymorphic representationRealize intelligent refactoringGeometric CADConfiguration CADGeneric programmingQuality by Design
The invention discloses a framework association-based pipe support-suspension frame model reconfiguration method. The method comprises the steps of 1, performing pre-configuration on a pipe support-suspension frame framework model: adopting design type software, designing each part involved in the pipe support-suspension frame framework model into templates to form a technological design template generic library; in the pre-configuration of the pipe support-suspension frame framework model, calling single / multiple pipe support-suspension frame frameworks from the technological design template generic library firstly, selecting the direction of a support, selecting a reference plane according to number of supporting legs, then selecting single pipes, defining single pipe references in the pipe support-suspension frame framework, and determining whether the support is a multi-pipe support or not; and 2, performing reconfiguration of the pipe support-suspension frame model. By adoption of the reconfiguration method, the functions of multi-modal representation, intelligent reconfiguration, automatic selecting, environment adaptive configuration and the like of the pipe support-suspension frame model are realized, so that the design and configuration efficiency and the design quality of the support-suspension frame in three-dimensional design of a pipeline system are greatly improved.
Owner:CHINA SHIP DEV & DESIGN CENT

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

Assigning type parameters

The present invention extends to methods, systems, and computer program products for assigning type parameters. Embodiments of the invention permit using a visual editor to edit arbitrary object instances in a graphical fashion. Instances of generic types can be manipulated to change the type parameters for that generic (to be able to change a List<Customer> to a List<Product>, for instance). Values are preserved and data can be patched to other dependent nodes in an object hierarchy,
Owner:MICROSOFT TECH LICENSING LLC

Method and computer-readable medium for providing an official file repository

A method and computer-readable medium are provided for storing files in an official file repository. According to the method, a generic interface is exposed that includes a first method for requesting that a file be stored in a file vault. A record series is maintained that identifies one or more document types that may be stored in the file vault along with a location for each file type within the file vault where files of the type should be stored. A call may be made to the first method including the file to be stored in the file vault. In response to the call, a location for storing the file in the file vault may be identified based on the contents of the record series. Once the location has been identified, the file is stored in the identified location if the file type is in the record series. If the file type is not in the record series or the necessary property values are not received with the call, the file is placed in a holding zone portion of the file vault. The generic interface may further expose a second method for retrieving the file types identified in the record series and a third method for retrieving one or more properties associated with a file type identified in the record series.
Owner:MICROSOFT TECH LICENSING LLC

Control method for Flash memory on-line programming

InactiveCN101409106AGuaranteed stabilityOnline programming convenienceRead-only memoriesReturn statementGeneric programming
The invention discloses an on-line programming control method of a Flash memory, comprising erasing operation and read-in operation. The method is characterized in that machine codes of operation statements and return statements of the Flash memory in the period of adding high pressure are preset in an RAM. The operation statements include the statement for writing interrupt identification in a status register so as to start a corresponding command, as well as the statement for judging the completion of a wait command; and in the processes of erasing operation and writing operation, program operation is carried out when the period of adding high pressure turns to the RAM. The invention separates the instable factors caused in the period of adding high pressure from the erasing and writing operations of the Flash memory, and the control method has universality and convenient programming and ensures the on-line programming stability of the Flash memory.
Owner:SUZHOU UNIV

Type inference of generic type parameters in overloaded functions using type intervals and inference directions

The disclosed embodiments provide a system that facilitates the development and execution of a software program. During operation, the system obtains a type interval for a generic type parameter of an implementation of an overloaded function. Next, the system selects an inference direction for the generic type parameter based on a variance of the generic type parameter, wherein the inference direction is an upward inference direction or a downward inference direction. Finally, the system uses the type interval and the inference direction to perform type inference on the generic type parameter.
Owner:ORACLE INT CORP

Cache synchronization device and method, cache synchronization system and electronic equipment

The invention discloses a cache synchronization device, belongs to the technical field of data processing. The cache synchronization device is characterized in that a synchronous cache device is arranged in a server where an application is located, and the cache synchronization device encapsulates various open source caches and calls the open source caches based on generic forms; after the synchronous cache device operates the local cache to cause the change of the local cache, the local cache change information is synchronized to other nodes pre-registered by the application through a built-in cache update management module so as to perform data synchronization; and the synchronous cache device receives the information that the cache data of other nodes is changed through the cache updating management module, and updates the local cache. According to the cache synchronization device disclosed by the embodiment of the invention, the synchronization of local caches among different cachenodes can be realized only by installing the local cache synchronization device at the cache nodes without carrying out additional development and tedious configuration on a server side, so that thedevelopment cost is saved, and the development efficiency is improved.
Owner:BEIJING SANKUAI ONLINE TECH CO LTD

Fast dispatch predicate for overloaded functions with generic type hierarchies that lack contravariance

The disclosed embodiments provide a system that facilitates the development and execution of a software program. During runtime of the software program, the system obtains a function call associated with an overloaded function and a generic type hierarchy that lacks contravariance. Next, the system determines an applicability of an implementation of the overloaded function to the function call. Finally, the system selects the implementation for invocation by the function call based on the determined applicability and a partial order of implementations for the overloaded function.
Owner:ORACLE INT CORP

Managing inverse references between objects in object-oriented software

Managing inverse references across binary relationships. This functionality may be accomplished by using a base class with functionality for linking objects from both sides of a binary relationship. In particular, some embodiments implement a generalized inverse management capability. In some embodiments, by using a common base class for objects involved in one-to-one, one-to-many and many-to-many relationships, and by defining a field of one generic type when referring to at most one object, and by defining a field of another generic type when referring to many objects, automatic inverse management is obtained. Further, a specialization of the generic type of field used to refer to at most one object is used in cases of dependent relationships such that deletion of the reference without replacing it results in automatic disconnection of an object across all relationships.
Owner:MICROSOFT TECH LICENSING LLC

Automated data structure-driven orchestration of complex server provisioning tasks

A method and associated systems for automated orchestration of complex server provisioning tasks, An orchestration-optimization system receives input that identifies a destination, platform, and pattern of tasks that together characterize a procedure for building a particular virtualized computer environment. The system selects a set of generic orchestration methods that identify in general terms each task required to build the environment. The system then embeds into the orchestration methods all currently known contextual data associated with the specified build procedure, converting the generic methods into a build-specific runlist of tasks. When the environment is ready to be built, additional environment-specific data that becomes known only at build time is inserted into placeholders previously embedded into the runlist tasks. The system then performs the sequence of runlist tasks in order to automatically build the virtualized system.
Owner:KYNDRYL INC

Parameter management using compiler directives

A method, system, architecture and apparatus for managing program function parameters using compiler directives. A parameter management system can include a compiler coupled to a primary symbol-type dictionary and a supplemental symbol-type dictionary containing parameter data for specific function calls of corresponding generic type functions. Notably, directive processing logic can be configured both to populate the supplemental symbol-type dictionary based upon processor directives embedded in source code, and also to substitute specific function calls for generic function calls in the source code as specified in the supplemental symbol-type dictionary.
Owner:META PLATFORMS INC

System and method for downlink channel estimation in massive multiple-input-multiple-output (MIMO)

It is possible to reduce the overhead associated with downlink channel estimation in massive Multiple-Input-Multiple-Output (MIMO) networks by processing training sequences according to a transformation matrix. The transformation matrix maps a generic dictionary to a non-generic dictionary associated with an antenna geometry of a MIMO antenna array. The transformation matrix can be computed basedon the two dictionaries. In one embodiment, the training reference signal is precoded to obtain a precoded training reference signal, which is then transmitted over a MIMO antenna array. The trainingprecoder used to precode the training reference signal is designed according to the transformation matrix to mitigate a dependence that the training reference signal transmission has on the antenna geometry.
Owner:HUAWEI TECH CO LTD

Method for identifying extensive parameters and matching them according to restriction model

The invention relates to a method which ensures model parameter based on restriction model and realizing match of the two, the method objects the direct station monitor parameter, and ensures model parameter based on limiting model, realize match between limiting model and model parameter, so, on precondition that the source code of direct station can not be amended, just adjusts corresponding relation between limiting model and the model parameter to realize flexible change of monitor parameter of direct station, so daily maintenance work of direct station can be decreased greatly, stability and reliability of direct station system can be guaranteed.
Owner:WUHAN HONGXIN TELECOMM TECH CO LTD

Deferred type inference of generic type parameters in function calls to overloaded functions

The disclosed embodiments provide a system that facilitates the development and execution of a software program. During runtime of the software program, the system delays type inference on a generic type parameter of an implementation of an overloaded function, wherein the generic type parameter is associated with a type interval containing an unbounded lower limit and one or more self-typed constraints. Upon detecting a type query for a dynamic type of the generic type parameter, the system compares a queried type from the type query with a set of inference choices for the generic type parameter. If the queried type matches an inference choice from the set of inference choices, the system uses the inference choice to perform type inference on the generic type parameter.
Owner:ORACLE INT CORP

Extensive type space network analysis model and algorithm

The present invention provides a generics spatial network analysis model based on generics programming, namely using GeoView, that is, large scale geographic three-dimensional information system as a developing platform to integrate spatial information and property information of a network object, and unifying data structures so as to create the generics spatial network analysis model. After the network analysis model is established, the specific networks can be analyzed. When the problems such as shortest path and sub-network communication, etc. are required to be solved, the Dijkstra algorithm is adopted to realize. C++ template is adopted during the process of realizing the algorithm. The analysis model realizes the separation of the model and the algorithm, and has strong universality. The development efficiency is improved, the development cost is saved, and the easy maintenance and the robustness of the system are improved, while the efficiency of the network analysis algorithm is improved based on the unified model.
Owner:CHINA UNIV OF GEOSCIENCES (WUHAN)

A method and a device for realizing a virtualization management platform

The invention discloses a method and a device for realizing a virtualization management platform, which relate to a virtualization management platform technology. The method for realizing a virtualization management platform comprises the following steps: extracting a common database operation according to various database tables in a database as a common interface method; extracting the common interface method to form a database base class by utilizing Java generics and inheritance functions; taking the database base class as a parent class, deriving different child classes according to different database table objects, and realizing various database operations. The technical scheme of the application realizes the code refinement of the DAO layer, simplifies the design of the DAO layer, saves a large amount of repetitive code, and improves the maintainability and readability of the code.
Owner:ZHENGZHOU YUNHAI INFORMATION TECH CO LTD

ORM design method and device

The invention provides an ORM design method and a device. The main design idea is listed as follows: 1) the entity type corresponding to any DB table is regarded as an abstract type without distinction and the generic type is used as the entity parameter type passed in by the object-oriented interface method; 2) the generic entity parameter type passed in the suid method is converted into the corresponding sql statement; 3) and the query result is automatically assembled into the corresponding entity type structure result according to the pass-in entity type structure and the reflection mechanism. The device at least comprises an object-oriented mode suid interface module, an object-to-sql-statement module, a bottom interface operation DB, an automatic assembly return result module and a context module. Developers only need to use the interface in the object-oriented suid interface module. According to the device, the coding complexity C (n) is O (l). The DB is operated by using the unified dao, and the developers do not need to write any specific dao implementations even if the JavaBean for the DB operation needs to be increased.
Owner:蔡廷超 +1

Customized statement exporting method for online adult education colleges and universities

The invention relates to the field of data processing, and discloses a customized statement exporting method for online adult education colleges and universities. The method comprises the technical key points that: firstly, according to the requirements of colleges and universities, configuring provided file fields into one group of metadata in a database; then, on the basis of a List generic collection, storing statistical data; through the field configured in the metadata, on the basis of a reflection mechanism, finding a corresponding attribute value in a generic class, and writing the attribute value in each generic class into the source file of a statement file; and finally, uploading the source file of the generated statement file to an nfs file system, and feeding back one file address to a user by the nfs file system to finish statement exporting. By use of the method, the problems that complex forms and documents can not be exported only on the basis of an existing template exporting component and the statement function statistics and collection of the user under various business scenes since more customized and personalized requirements are in the presence when the customized statements of the existing online adult education colleges and universities are exported are solved.
Owner:弘成科技发展有限公司

Development method of ArcGIS data processing tool

The invention discloses a development method of an ArcGIS data processing tool. The development method comprises the following steps that 1, processing before operation is performed; 2, a source database connection is established within a new thread; 3, an auxiliary library mdb is created within the new thread; 4, a target library gdb is created within the new thread; 5, data is imported from a source database to the target library gdb; 6, graphic processing is conducted on data in the target library gdb according to a data processing requirement to form a result data graphic; 7, graphic data needing attribute processing is imported into the auxiliary library mdb for attribute processing and then is returned to the target library gdb after the attribute processing is completed; 8, operation errors produced in the processing process of the target library gdb and the auxiliary library mdb are collected in a generic array, progress log information in the processing process is displayed on interface and in log files through entrustment in a rolled mode; 9, a result library is generated, and the log files are output. The development method adopts the mode integrating the gdb and the mdb, accordingly improves the efficiency remarkably and can also improve user experience.
Owner:浙江远卓科技有限公司

Authentication machine learning from multiple digital presentations

A machine learning system may automatically produce classifier algorithms and configuration parameters by selecting them into a set of predetermined unitary algorithms and associated parametrization values. Multiple digital representations of input object items may be produced by varying the position and orientation of the object to be classified and / or of the sensor to capture a digital representation of the object, and / or by varying a physical environment parameter which changes the digital representation capture of the object by the sensor. A robot arm or a conveyor may vary the object and / or the sensor positions and orientations. The machine learning system may employ generic programming to facilitate the production of classifiers suitable for the classification of multiple digital representations of input object items. The machine learning system may automatically generate reference template signals as configuration parameters for the unitary algorithms to facilitate the production of classifiers suitable for the classification of multiple digital representations of input object items.
Owner:ALPVISION

System for realizing object continuous service and method thereof

This invention relates to subject sustaining service and discloses one system and method to realize the simple service, which comprises the following steps: using functional calculus to sum up database operation example common frame and defining the database operation module; defining detail property in servo module and registering basic module; realizing detail database requirement language structure and middle property and database form according to the transferring of the operation module.
Owner:SHANGHAI HUAWEI TECH CO LTD

Compiling logical programs to rewrite systems

Transformation of logic programming into rewrite programming. First, a concrete expression of logic programming is converted into an abstract expression of logic programming. The abstract expression of logic programming is then transformed into an abstract expression of rewrite programming. The rewrite programming may ultimately be compiled or interpreted and executed. Accordingly, rather than performing complex unification involved with logic programming, the processing of the programming may simply involve perform matching, which is typically faster from an execution perspective.
Owner:MICROSOFT TECH LICENSING LLC
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