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

45 results about "Method body" patented technology

The Method Body. The method body is where all of the action of a method takes place; the method body contains all of the legal Java instructions that implement the method. Within the method body, you can use this to refer to the current object.

Automatic incremental application dependency discovery through code instrumentation

Disclosed is a method allowing the automatic discovery of application component dependencies by tracing application calls to dependant resources. The call tracing is embedded dynamically in an application at runtime using Common Intermediate Language (“CIL”) code instrumentation at compile time or runtime. Such a method reads an instrumentation configuration file to determine an address extraction code portion that is to be instrumented to an application method code, locates the CIL method body for the application method that is to be instrumented, instruments the application method by inserting the address extraction code portion into the appropriate .NET Application or .NET library at either compile time or at run time, extracts the address of one or more external service providers from the designated .NET library methods responsible for communication during execution of the application method that was instrumented, publishes any newly discovered dependencies to a management system in the form of the discovery event, and causes the management system to build an application dependency map based on the resource address information obtained.
Owner:MICROSOFT TECH LICENSING LLC

Body cavity drainage devices and related methods

Body cavity drainage devices and associated methods are disclosed herein. In some embodiments a body cavity drainage device comprises a drainage tube having a proximal end and a distal end; and an automated means to move the distal end of the drainage tube about a body cavity of a patient. In some embodiments, the distal end of the drainage tube may be moved by one or more of the application of a magnetic field, the insertion or withdrawal of fluid from a closed lumen, and manipulation by an external motion generator. In additional embodiments, a body cavity drainage device includes at least a second open lumen for the insertion of a fluid into a body cavity. In yet further embodiments, an internal tissue may be massaged from within a body cavity of a patient.
Owner:LAZARUS MEDICAL TECH LLC

Body cavity drainage devices and related methods

Body cavity drainage devices and associated methods are disclosed herein. In some embodiments a body cavity drainage device comprises a drainage tube having a proximal end and a distal end; and an automated means to move the distal end of the drainage tube about a body cavity of a patient. In some embodiments, the distal end of the drainage tube may be moved by one or more of the application of a magnetic field, the insertion or withdrawal of fluid from a closed lumen, and manipulation by an external motion generator. In additional embodiments, a body cavity drainage device includes at least a second open lumen for the insertion of a fluid into a body cavity. In yet further embodiments, an internal tissue may be massaged from within a body cavity of a patient.
Owner:LAZARUS MEDICAL TECH LLC

Highly accurate code snippet recommendation method

The invention provides a highly accurate code snippet recommendation method. The method comprises the steps of splitting and dividing a project, and generating class files, a code snippet , a code snippet method body and a code snippet note; generating a code snippet method body vector and a code snippet note vector based on the code snippet method body and the code snippet note; compiling and decompiling each class file, and extracting an instruction sequence of the code snippet from the decompiled file; generating an inquiry vector based on an inquiry input by a user, and screening out a group of primary recommendation results with highest text similarity according to a text similarity of the inquiry vector and a code snippet text characteristic; and according to statement similarity ofall code snippet s in the primary recommendation results, screening the primary recommendation results for the second time and then re-ranking so as to form a final recommendation result. The method overcomes the defect that the existing method is low in recommendation accuracy due to unique use characteristic and failure in filtering of recommendation results. The method is applicable to the field of recommendation of open source code snippets.
Owner:NANJING UNIV OF AERONAUTICS & ASTRONAUTICS

System and method for multiple entry point access to an object

InactiveUS6427231B1Simplifying the language semanticsEasy to useExecution paradigmsMemory systemsEntry pointGeneric function
The invention allows a functional object in a dynamic language to be efficiently used as both a directly-invoked function and as a method in a generic function. This allows a language to combine the two concepts, simplifying the language semantics. As a preferred embodiment, a method object when created comprises as contiguous fields a header, a method-information section, a function prolog, and the method body. When called as a component of a generic function, one entry point is at the method body or at the method-information field. When called directly, another entry point exists at the function prolog field.
Owner:APPLE INC

Living body information measuring apparatus living body information measuring method body fat measuring apparatus body fat measuring method and program recording medium

A body fat measuring apparatus is provided with a light emitting device 1 for projecting light rays to a subject's tissue, light receiving devices 3 and 4 for detecting a transmitted light ray having passed through the subject's tissue and / or a reflected light ray reflected inside the subject's body, and a CPU 6 for calculating the subject's subcutaneous fat thickness and / or body fat percentage by performing an operation by use of the detection results of the light receiving devices 3 and 4. The light receiving devices 3 and 4 are situated at different distances from the light emitting device 1.
Owner:MATSUSHITA ELECTRIC WORKS LTD

Method and device for interface document generation, computer device, and storage medium

The invention relates to a method and a device for interface document generation, a computer device, and a storage medium. The method comprises: obtaining a code file, traversing classes of a plurality of interfaces recorded in the code file, and obtaining code annotation information corresponding to the currently traversed classes; finding a global parameter in the currently traversed class, andobtaining global parameter information from definition of the global parameter in the class and the code annotation information corresponding to the class; by traversing class methods in the classes,reflecting all interfaces contained in the classes, obtaining interface information of each interface from a method body corresponding to the traversed class method and the code annotation informationcorresponding to the class; adding the global parameter information to the interface information of all interfaces and writing the obtained interface information to an interface document. The methodcan automatically collect interface information and effectively improve generation efficiency of the interface documents.
Owner:WEIKUN (SHANGHAI) TECH SERVICE CO LTD

Data processing method, device and system of JAVA intelligent card

The invention discloses a data processing method, a device and a system of a JAVA intelligent card so as to solve the problems of the prior art that a JAVA intelligent card takes long time and has quite low operation efficiency in processing CAP files. The method comprises the following steps that: a method in a program conversion package CAP file which needs to realize corresponding functions by transferring an NATIVE function is determined, and the method body of the method is set to be empty; the corresponding relationship between the NATIVE function and the method is configured; a method header is modified according to the corresponding relationship; and according to each determined method, the sign of the method header of the method is designed as the label information which expresses that the method transfers the characteristic calve of the NATIVE function and the corresponding NATIVE function that the method corresponds to is recorded in the method header of the method. The technical scheme of the invention reduces the time delay of the intelligent card in processing data, and improves the operation efficiency.
Owner:BEIJING WATCH DATA SYST

Method for dynamically transforming the bytecode of JAVA virtual machine bootstrap classes

Under the present invention, a method for dynamically transforming the bytecode of Java Virtual Machine (JVM) bootstrap classes during program startup is provided. A JVM agent is used to intercept the execution flow before the execution of the special program startup-method of a JVM compliant computer program. The said JVM Agent executes code to transform the bytecode of the already loaded JVM bootstrap classes, storing the new set of modified bootstrap classes onto data storage. Subsequently, the JVM Agent intercepts all class loading events transforming the bytecode of classes declaring a special program statrup-method. In those classes the bytecode within the method body of the special class-initialize method, as defined in the present JVM class file format as “<clinit>”, is removed to avoid any side-effects in the program. The special program startup-method in the said classes is transformed to insert bytecode at the beginning of the method to invoke a special callback method, as declared within the said JVM Agent, passing as parameters to the callback method the main arguments as passed to the JVM upon program startup. Subsequently, when the said callback method intercepts the execution flow it starts a second JVM instance passing to it the obtained input parameters, the main method arguments as well as a JVM input argument to use the stored set of modified bootstrap classes.
Owner:ZEROTURNAROUND

A distributed message call method and device

The invention discloses a method and a device for distribution message call. The method of the invention comprises the steps that an asynchronous mode is adopted in the interior of a method body for sending a call request message; a call stack of the call request message is stored; current state is operated and the method body is withdrawn; when a response message of the call request message is received, the stored call stack is reverted; according the reverted call stack, current operation state before withdrawing the method body is reverted and subsequent logic continues to be carried out. The method and the corresponding processing device can synchronously focus on both processing performance of a system and the developing efficiency of businesses.
Owner:HUAWEI TECH CO LTD

Embedding method

Body-mountable devices and methods for embedding a structure in a body-mountable device are described. A body-mountable device includes a transparent polymer and a structure embedded in the transparent polymer. The transparent polymer defines a posterior side and an anterior side of the body-mountable device. The structure has an outer diameter and an inner diameter and includes a sensor configured to detect an analyte and an antenna. The antenna includes a plurality of conductive loops spaced apart from each other between the outer diameter and the inner diameter.
Owner:VERILY LIFE SCI LLC

Specifying optional and default values for method parameters

An embodiment provides a way to handle default parameters in a method call that are not constant values. During the compiling process of a source code method a compiler generates code before the method body, for every optional parameter. The generated code checks if each optional parameter has a valid value. If a known tag is found then the code generated evaluates the default expression and assign the return value to the corresponding parameter. During the compiling process of a source code method call a compiler, or a semantic analyzer, identifies the defined arguments in the method call. If any arguments are missing, the process uses a known tag for the missing argument. Once all parameter have valid values, passed as arguments or returned from the default expression evaluation, then the original method body is executed.
Owner:MICROSOFT TECH LICENSING LLC

Program readability analysis method based on WordNet

The invention discloses a program readability analysis method based on a WordNet, and belongs to the field of software engineering. The program readability analysis method based on the WordNet comprises the following steps that (1) each method body is traversed according to a package name-class name-method name project structure, and is labeled in a package name-class name-method name mode; (2) warning annotations and TODO annotations are removed, wherein each warning annotation usually appears in a testing case and is used for warning a programmer that a certain serious consequence can happen, each TODO annotation indicates a piece of work, and the programmer thinks that the work should be done, but the work is not done at present for some reasons; (3) the annotations are divided into short annotations and long annotations; (4) the long annotations are preprocessed, and subject terms of the long annotations are extracted through the WordNet; (5) subject terms of codes are extracted from code segments mapped by the annotations through the WordNet; (6) a program readability analysis tree is generated for a whole project, and final analysis data are formed. According to the program readability analysis method based on the WordNet, a later-period maintainer can conveniently comprehend an unfamiliar project, and the program readability analysis method based on the WordNet can be used for maintenance and development of software.
Owner:YANGZHOU UNIV

Interface document generation method and device, computer equipment and storage medium

The invention discloses an interface document generation method and device, computer equipment and a storage medium. The interface document generation method comprises the steps: obtaining a source code of a first project; screening out a class method with an interface mark from all class methods of the source code, and marking the class method with the interface mark as an interface class method;extracting interface basic information from a method body corresponding to the interface method through a reflection technology, and extracting interface additional information from code annotation information corresponding to the method body; integrating the interface basic information and the interface additional information to form first interface information; and adding the first interface information into a preset interface document template, and generating a first interface document corresponding to the first interface information according to the preset interface document template. According to the interface document generation method, the first interface document corresponding to the source code of the first project can be automatically generated, so that the consistency of the first interface document and the first interface information is ensured, and the labor cost is effectively saved, and the generation efficiency of the interface document is improved.
Owner:重庆金融资产交易所有限责任公司

Data processing method and apparatus

The invention discloses a data processing method and apparatus, and belongs to the technical field of networks. The method comprises the steps of determining a method body of a class matched with an HTTP request and parameters corresponding to the method body after receiving the HTTP request, wherein the HTTP request comprises a series of parameter values; and obtaining annotation information of the method body, and assembling the parameter values required by the method body into the parameters of the method body based on the annotation information and the HTTP request. According to the method and apparatus, the parameter values in the HTTP request are matched by adding the annotation information in the method body, and the parameter values required by the method body are automatically copied in the parameters of the method body, so that a developer does not need to manually assemble the parameter values into java objects when a client sends a large amount of the parameter values to a server, the error probability is reduced, and the development efficiency is greatly improved.
Owner:GUANGZHOU HUADUO NETWORK TECH

Monitoring method and monitoring device of application (app) view switching on internet work operating system (IOS) platform

The invention discloses a monitoring method and a monitoring device of application (app) view switching on an internet work operating system (IOS) platform. The method comprises obtaining a first method body where views enter and which an application programming interface (api) directs to and needs executing in a view switching process, wherein the first method body comprises the following logics of invoking the api where the views enter and recording view entering time; obtaining a second method body where the views leave and which the api directs to and needs executing in the view switching process, wherein the second method body comprises the following logics of invoking the api where the views leave and recording view leaving time; and executing the obtained first method body and the obtained second method body. The monitoring method and the monitoring device solve the problem that workload is big and errors are easy to cause due to the fact that measurement codes are added when view switching is detected on the IOS platform in a correlation technique, reduce workload for capturing system information and further improve accuracy.
Owner:BEIJING GRIDSUM TECH CO LTD

Form verification method based on blockchain evidence storage smart contract

The invention discloses a form verification method based on a blockchain evidence storage smart contract. The method comprises the steps of writing the evidence storage smart contract, adding a contract form specification and performing contract model verification. According to the method, a process and form verification method for writing the evidence storage smart contract is provided for a blockchain smart contract developer, and a security reference is provided for developing an evidence storage project by carrying the smart contract on the blockchain. Through a form verification method, aform specification is defined in front of an evidence storage intelligent contract method body and converted into a mathematical model which can be recognized by a theorem prover, a form verificationresult is obtained through mathematical deduction, the safety and reliability of an evidence storage intelligent contract are improved, the test cost of a traditional contract test is reduced, and the logic coverage is wide. The method has universality of compiling the evidence storage intelligent contract, provides the most basic evidence storage contract model and the form verification method thereof, provides related reference for expansion and optimization of the evidence storage contract, and has good applicability.
Owner:HANGZHOU QULIAN TECH CO LTD

Method and device for implementing embedded browser webpage in mobile embedded platform

ActiveCN103914284AAbility to reach system authorityFunction increaseSpecific program execution arrangementsWeb pageMethod body
The invention discloses a method and a device for implementing an embedded browser webpage in a mobile embedded platform. The method for implementing the embedded browser webpage in the mobile embedded platform includes the steps: creating a Java interface class of the mobile embedded platform and setting at least one method body in the Java interface class; implementing a class object of the Java interface class and implementing method bodies in the class object according to operation needing to be executed by the embedded browser webpage; setting the class object in an embedded browser; calling the method bodies in the class object by the aid of a Javascript file introduced in the embedded browser webpage when the webpage is loaded into the embedded browser of the mobile embedded platform, and accordingly, executing corresponding operation through the method bodies by the embedded browser webpage.
Owner:ULTRAPOWER SOFTWARE

Method for compressing a .net file

The invention discloses a method for compressing a .net file, characterized by at least one of the following steps of obtaining and compressing reference type in a .net tile; obtaining and compressing definition method in a .net file; obtaining and compressing method body of the definition method in a .net file; obtaining and compressing Namespace in a .net file; obtaining and compressing definition type in a .net file. By compressing the .net file, the invention efficiently reduces the storage space occupied by the .net file, and makes it stored in a small-sized medium, such as a smart card.
Owner:FEITIAN TECHNOLOGIES

Isolation current limiting method and device, computer equipment and readable storage medium

The invention discloses an isolation current limiting method and device. The method comprises the following steps of: searching a method body added with a preset isolating and current-limiting annotation in a service system framework; obtaining a parameter value of a key configuration item from the isolated current-limiting annotation, searching an initial parameter group corresponding to the service system framework from a preset background management platform, and obtaining initial parameter values of other configuration items except the key configuration item from the searched initial parameter group; according to the parameter values of the key configuration items in the isolated current-limiting annotation and the initial parameter values of other configuration items obtained from thebackground management platform, constructing a Hystrix Command annotation of the Hystrix component; and carrying out isolation current limiting processing on the method body according to the constructed HystroxCommand annotation. According to the method and the device, the technical threshold of using Hystrix is reduced, the configured parameter values can be modified, and the use experience degree is improved.
Owner:ONE CONNECT SMART TECH CO LTD SHENZHEN

A Spatial Calibration Body Based on Virtual Ball and Its Calibration Method

The invention discloses a space calibrating body and method based on a virtual ball. According to the space calibrating body and method based on the virtual ball, calibration is conducted in the form that a standard bar piece is separated from a base, a laser tracker is adopted to serve as measurement equipment, and a hard aluminum alloy plate is adopted by the base to serve as an installation platform of the standard bar piece. The space calibrating method based on the virtual ball comprises the steps that the space calibrating body which has three degrees of freedom is manufactured firstly, threads are machined at the two ends of the standard bar piece, one end of the standard bar piece is fixed to the hard aluminum alloy plate, the other end of the standard bar piece is used for fixing the body of the virtual ball, a regular octahedron with the top end cut off serves as the body of the virtual ball, a cone nest is machined on each face of the virtual ball, and then the virtual ball is calibrated with the laser tracker serving as the measurement equipment. The space calibrating body and method based on the virtual ball have the advantages that the precision is high, machining requirements for the standard piece are low, the number of needed sampling points is small when the space calibrating body and method are used, the calibrating efficiency is improved, and the sampling workload is greatly reduced and the calibrating efficiency is improved when an articulated type coordinate measuring machine is calibrated.
Owner:HEFEI UNIV OF TECH

Method and device of capturing system message on IOS (Internetwork Operating System) platform

The invention discloses a method and a device of capturing a system message on an IOS (Internetwork Operating System) platform. The method comprises the following steps of: acquiring a method body pointed by a pointer of an api (application programming interface) which is currently needed to be executed, wherein the method body pointed by the pointer comprises the following logics of: calling the api self, and recording an occurred state of the api which is currently needed to be executed; and executing the acquired method body pointed by the pointer of the api which is currently needed to be executed. With the adoption of the method and the device, the problems of large workload and easiness in errors due to the addition of a great amount of codes when the IOS platform captures the system message in the correlation technology are solved, the workload of capturing the system message is reduced, and the accuracy is further improved.
Owner:BEIJING GRIDSUM TECH CO LTD

Dependence packet tool verification method and system, storage medium and electronic device

The invention discloses a dependence packet tool verification method and system, a storage medium and an electronic device, and relates to the field of software development of mobile terminals. The method includes the steps of creating a cracked package with the same name as a dependence package needing to be released, adding header files in the dependence package in the cracked package, creating an realization file with the same name for each header file, associating each realization file with the corresponding header file, and adding an empty method body in each realization file; carrying out Cocoapods verification on the cracked package, and releasing the verified cracked package to a private server; and when Cocoapods uses the dependence package, acquiring the dependence package, and reading and using the dependence package by the Cocoapods. According to the method, an operation process of enabling the dependency package, which does not support a complete CPU instruction set, to be verified can be significantly simplified, and the work efficiency is substantially improved.
Owner:WUHAN DOUYU NETWORK TECH CO LTD

Method and apparatus for converting a synchronized method into a non-synchronized method

One embodiment of the present invention provides a system that facilitates converting a synchronized method into a non-synchronized method. During operation, the system receives a code module that includes a synchronized method. This synchronized method automatically performs a lock operation before executing its method body and automatically performs an unlock operation after executing its method body, whereby at most one thread at a time can execute the method body. Next, the system changes the synchronized method into a non-synchronized method that does not automatically perform lock and unlock operations. The system also inserts an explicit lock instruction at the beginning of the method body, and inserts an explicit unlock instruction at the end of the method body.
Owner:SUN MICROSYSTEMS INC

Device and method for improving running efficiency of source file

The invention discloses a device and a method for improving the running efficiency of a source file. A temporary variable in each method body is extracted from a source code in sequence, the name of the temporary variable in an original code is replaced by a brief name, and a single character is preferred to select the brief name. The optimization of the source code is carried out through such a method, the running efficiency of a code in a virtual machine can be improved, and moreover, an influence is not caused to the programming complexity of a programmer. Meanwhile, in order to protect that a member variable cannot be replaced by mistake, the content of protecting the member variable is added. By using the scheme, on the premises that the work complexity and efficiency of the programmer are not influenced and further the running of a program cannot be influenced, the running efficiency of the source code is improved.
Owner:PHICOMM (SHANGHAI) CO LTD

Body cavity drainage devices and related methods

Body cavity drainage devices and associated methods are disclosed herein. In some embodiments a body cavity drainage device comprises a drainage tube having a proximal end and a distal end; and an automated means to move the distal end of the drainage tube about a body cavity of a patient. In some embodiments, the distal end of the drainage tube may be moved by one or more of the application of a magnetic field, the insertion or withdrawal of fluid from a closed lumen, and manipulation by an external motion generator. In additional embodiments, a body cavity drainage device includes at least a second open lumen for the insertion of a fluid into a body cavity. In yet further embodiments, an internal tissue may be massaged from within a body cavity of a patient.
Owner:LAZARUS MEDICAL TECH LLC

Method for realizing dynamic dialog box based on Bootstrap

The invention relates to the technical field of Bootstrap, in particular to an implementation method of a dialog box capable of infinitely displaying hierarchies and directly submitting forms. The implementation method comprises the following steps of: 1, introducing required scripts and styles into a project and creating script tool classes; 2, creating a dialog box calling method; 3, acquiring acurrent object in the method body, defining a hierarchical index and initializing the hierarchical index; 4, judging whether a mode Id exists in the object or not, and if not, creating the mode Id; 5, defining buttons and events; 6, defining extension options; 7, calculating a hierarchical index and assembling button display content in the opening event; 8, destroying the object in the closing event; and 9, binding the extension options to the mode Id, and restoring the hierarchical index value. According to the method, the problems that webpage dialog boxes pop up to conflict with one another, cannot be repeatedly utilized and cannot directly submit the form are solved.
Owner:ZHUHAI HENGQIN SHENGDA ZHAOYE TECH INVESTMENT CO LTD
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