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

65 results about "Library function" patented technology

Each public library functions to serve its community in different ways, but its core functions are: To make available all of the information, entertainment (within limits), and resources possible to every patron, regardless of age, financial status, or any other factors. To provide a quiet, safe place for study, research, reading, and learning.

Intelligent agent construction method and system based on large language model, medium and equipment

The invention provides an agent construction method and system based on a large language model, a medium and equipment, and relates to the technical field of decision agent construction. According to the method, an appropriate large language model is selected, a series of prompt project texts are established for the large language model, target codes are generated as required by utilizing the large language model and prompt projects, and class library functions of a network model library, a reinforcement learning algorithm and a simulation training environment can be correspondingly called by running the codes. Finally, auxiliary construction and training of the decision-making agent are realized, and the problems in the existing decision-making agent construction and training process are solved.
Owner:BEIJING AEROSPACE CHENXIN TECH CO LTD

Server application architecture migration method and device and storage medium

The invention relates to a server application architecture migration method and device and a storage medium, and the method comprises the steps that an automatic detection module analyzes and checks a to-be-migrated application under an X86 architecture, and the to-be-migrated application is subjected to static code analysis, dynamic performance analysis and system compatibility check; according to analysis and check results of the automatic detection module, the automatic adjustment module replaces an X86 specific instruction and a library function, performs memory allocation optimization and memory mapping adjustment, and generates an automatic adjustment report; and the automatic optimization module executes a performance benchmark test, and executes memory access optimization, algorithm optimization, task scheduling optimization and multi-core parallelization adjustment according to a test result. According to the server application architecture migration method and device and the storage medium, the architecture adaptation process can be simplified, performance optimization support and automatic dependency relationship management can be provided, the migration efficiency can be improved, and the cost can be reduced.
Owner:POWERLEADER COMPUTER SYST CO LTD

Program code optimization using iterative application of machine learning model

A computing device may insert a library function into a set of code. The computing device may use the library function to capture one or more metrics associated with execution of the set of code in a testing environment. The computing device may evaluate the processing times to identify a portion of the set of code with a processing time that is highest compared to processing times of other portions of the set of code. The computing device may subdivide the portion of the set of code into subdivided portions of the set of code. The computing device may train a machine learning model, utilizing the subdivided portions of the set of code, to obtain a trained model. The computing device may recommend, using the trained machine learning model, optimization code to improve the processing time as the set of code is modified.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Methods and systems for self-optimizing library functions

Provided herein is a machine learning engine for increasing efficiency of an application written in a computer code, the code associated with a programing library that includes a library function, the function being associated with a default algorithm and a plurality of alternate algorithms. The machine learning engine may be configured to scan the code to identify occurrences of the library function; create altered application versions having altered algorithm(s); instruct a processor to iteratively execute the altered versions of the application; record an execution parameter associated with executing the library function at each occurrence; and output an optimized algorithm associated with the library function for each occurrence, based at least in part on the execution parameter.
Owner:BANK OF AMERICA CORP

Methods and systems for self-optimizing library functions

Provided herein is a machine learning engine for increasing efficiency of an application written in a computer code, the code associated with a programing library that includes a library function, the function being associated with a default algorithm and a plurality of alternate algorithms. The machine learning engine may be configured to scan the code to identify occurrences of the library function; create altered application versions having altered algorithm(s); instruct a processor to iteratively execute the altered versions of the application; record an execution parameter associated with executing the library function at each occurrence; and output an optimized algorithm associated with the library function for each occurrence, based at least in part on the execution parameter.
Owner:BANK OF AMERICA CORP

Data communication protocol implementation method, apparatus, and system

PCT designated stage expiredWO2025025542A1TransmissionComputer networkLibrary function
The present disclosure relates to the technical field of communications, and discloses a data communication protocol implementation system. The system comprises a first communication entity and a second communication entity that communicate with each other on the basis of an initial protocol. The first communication entity is configured to: inject a first dynamic library into a first application so as to take over a network IO-related library function; and on the basis of a network IO-related library function hook, replace an initial protocol of the first application with a new protocol. The second communication entity is configured to: inject a second dynamic library into a second application so as to take over a network IO-related library function; and on the basis of a network IO-related library function hook, replace an initial protocol of the second application with a new protocol.
Owner:JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD

Reverse de-signed binary code analysis method based on library function matching

The invention discloses a de-signed binary code reverse analysis method based on library function matching. The method comprises the following steps of: obtaining de-signed binary codes and a candidate library file list thereof in the embedded equipment, and extracting a library function and information of each object file of each candidate library file; performing matching operation on each object file in sequence to establish a library function matching table; and acquiring addresses for calling other library functions in each library function, performing consistency comparison with the addresses of the successfully matched library functions, and confirming the calling relationship of the library functions, thereby determining the function of the de-signed binary code in the embedded equipment. According to the method, the library function in the de-signed binary code can be accurately identified, the calling relation is checked, and the method is suitable for component analysis and traceability of scenes such as computer programs, embedded firmware and DSP programs so as to accurately identify the function of the de-signed binary code in embedded equipment.
Owner:ZHEJIANG UNIV

Model Based API Mocking

The present technology, roughly described, provides for mocking an application program interface (API) using a large language model (LLM). The present system generates a prompt with API signature information and API desired behavior information. The prompt can include instructions, library functions, examples, executed programs, and a current function invocation, as well as other content. The prompt can be generated, and submitted to an LLM to mock an API and generate a response. The response can be audited and the LLM can be fine tuned to provide improved performance in subsequent calls.
Owner:SCALED COGNITION INC

Code testing method and device, medium and electronic equipment

The invention belongs to the technical field of computers, and particularly relates to a code testing method, a code testing device, a computer readable medium, electronic equipment and a computer program product. The code testing method comprises the steps that a replacement function list corresponding to a source code to be tested is obtained, and the replacement function list is used for storing a packaging function for replacing and calling an original function in the source code; generating a rule file according to the replacement function list and a library function with a recording and playback function, wherein the rule file is used for defining a construction rule of a test item of the source code; compiling the source code according to the rule file to obtain a to-be-tested target code; when the original function in the source code is compiled, replacing the original function with a calling packaging function; when the library function in the source code is compiled, replacing a calling address of the library function with the library function with a recording playback function; and executing a recording playback test on the target code. According to the embodiment, the code testing efficiency can be improved.
Owner:TENCENT TECH SHANGHAI

Method and system for arbitrary-granularity execution clone detection

A method and apparatus are disclosed for enhancing operable functionality of input source code files from a software program by identifying a first code snippet and a first library function which have similar execution flow similarity measures by evaluating a first contiguous sequence of n items extracted from the first code snippet against a second contiguous sequence of n items extracted from the first library function using an Ngram threshold that is calculated for the first library function and one or more literals from the first code snippet so that the developer is presented with a library function recommendation which includes the first code snippet, the first library function, and instructions for replacing the first code snippet with the first library function.
Owner:DEVFACTORY INNOVATIONS FZ LLC

Method and system for recommending function name of lapack code library based on thought chain and logical reasoning

The application discloses a lapack code library function name recommendation method and system based on a thinking chain and logical reasoning, and comprises the following steps: S1, constructing a lapack function database, a keywords database and a cot question and answer example; S2, according to the cot prompt content obtained by adding the cot question and answer example to the input programming requirement, adopting LLM to deduce the key attributes of the lapack function required for programming except the implementation method, and checking the key attributes; S3, using the checked key attributes to search the available implementation method in the lapack function database, and using LLM to select the used implementation method; S4, according to the checked key attributes and the implementation method selected by LLM, searching in the lapack function database to obtain a first function name search result; S5, according to the programming requirement, searching in the keywords database to obtain a second function name search result; and S6, comprehensively searching the two function name search results, and logically deducing the recommended lapack code library function name. According to the application, the lapack code library function name recommendation is realized, and a large language model does not need to be fine-tuned.
Owner:SUN YAT SEN UNIV

Load chunk instruction and store chunk instruction

Processing circuitry (16) and an instruction decoder (9) supports a load chunk instruction and a store chunk instruction which can be useful for implementing memory copy functions and other library functions for manipulating or comparing blocks of memory. Number of bytes to load or store in response to these instructions is determined based on an implementation specific condition. As well as loading or storing bytes of data, the load chunk instruction and (10) store chunk instruction also designated a load / store length value as data corresponding to an architecturally visible register, which provides an indication of a number of bytes loaded or stored.
Owner:ARM LTD

A Method, Device, Equipment and Medium for Identifying VxWorks Library Functions

The embodiments of the present application provide a method, device, equipment and medium for identifying VxWorks library functions. In the method for identifying VxWorks library functions, specific functions for positioning and their corresponding target functions are determined, and a first library function set and a second library function set are respectively determined based on the specific functions and the target functions. The first library function set and the second library function set are identified, and each library function included in the VxWorks file to be identified is determined according to the identification result. There is no need to identify and verify each library function in the sample VxWorks file one by one, reducing the number of function identifications, thereby improving the efficiency of VxWorks library function identification.
Owner:NSFOCUS INFORMATION TECHNOLOGY CO LTD +1

Compiling method, apparatus and computing device

This application provides a compilation method, apparatus, and computing device, relating to the field of compilation technology. The method includes: instrumenting source code to generate an instrumented executable file, wherein the executable file includes target library functions inserted at the instrumentation locations of each target function. These target library functions are used to call hardware counters to collect performance data during the execution of the executable file. Then, the executable file is run to obtain and generate a performance data file based on the count values ​​of the hardware counters corresponding to each instrumentation location; the source code is then compiled and optimized based on the performance data file to generate a target executable file. The technical solution provided by this application can expand the applicable scenarios of the compilation method.
Owner:HUAWEI TECH CO LTD

Apparatus and method for tagged indirect branch tracking (TIBT)

Embodiments are directed to tagged indirect branch tracking. For example, an example method comprises: loading a program which references one or more shared library functions in a shared library address region; initializing a corresponding tag table, including setting entries in the tag table corresponding to the shared library address region and address regions which should not be targeted by indirect branches as invalid; tagging a shared library function pointer with a valid tag value in an initial invocation of a shared library function; storing the valid tag value in an entry in the tag table corresponding to the shared library function; determining whether the valid tag value in the tag table matches a tag value provided by the shared library function pointer responsive to a subsequent invocation of the shared library function; executing the shared library function if the tag values match.
Owner:MEHTA KUNAL +2

Code summary extraction method and device, computer equipment

The application relates to a code summary extraction method and device and a computer device. The method comprises the following steps: inputting a detected code into a pre-trained function feature extraction model to obtain feature information of an unknown library function which is not pre-defined in the detected code; inputting the feature information of the unknown library function into a pre-trained function summary generation model to generate a first summary of the unknown library function according to a pre-set summary representation format; the summary representation format is used for representing a plurality of attributes of the unknown library function; supplementary information related to the unknown library function is obtained by network mining on the unknown library function, and a second summary of the unknown library function is generated according to the pre-set summary representation format according to the supplementary information; and the first summary and the second summary are merged to obtain a target summary of the unknown library function. According to the method, the summary of the unknown library function in the software code can be accurately extracted.
Owner:CHINA ELECTRONICS RELIABILITY AND ENVIRONMENTAL TESTING INSTITUTE ((THE FIFTH INSTITUTE OF ELECTRONICS MINISTRY OF INDUSTRY AND INFORMATION TECHNOLOGY) (CHINA SAIBAO LABORATORY)

Function library isolation method and related device

The invention provides a function library isolation method and a related device, which are used for improving the security of a function library. Determining a plurality of shared memory spaces of the main program and the plurality of function libraries; generating a program dependency graph (PDG) according to the plurality of shared memory spaces, the main program and the plurality of function libraries, the PDG comprising a plurality of function nodes and a plurality of variable nodes, each function node representing a function in the main program or the plurality of function libraries, and each variable node representing a variable defined by the main program or the plurality of function libraries, each variable node comprises domain information, and the domain information is used for indicating a shared memory space to which a variable belongs; determining the variable node having the dependency relationship with the library function node as a shared variable node; a memory allocation function adopted by the shared variable is configured to be a target memory allocation function, the target memory allocation function is used for storing the shared variable to a target shared memory space, and the target shared memory space is the shared memory space indicated by the domain information of the shared object node.
Owner:HUAWEI TECH CO LTD

Risk detection method and device, computer equipment, readable storage medium and program product

The invention relates to a risk detection method and device, computer equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: analyzing code data of a to-be-detected item to obtain a library interface function list; dividing a plurality of library functions contained in the library interface function list through a preset security risk condition to obtain a first type library function set and a second type library function set, performing value flow graph construction to obtain a plurality of paths, and determining code features corresponding to the paths; through a preset link detection algorithm, on the basis of code features corresponding to the paths and path description data, the paths are detected to obtain abnormal paths, automatic generation of a path starting point set and an end point set is guaranteed, nodes are prevented from being lost, and detection comprehensiveness is guaranteed; and the paths are uniformly identified by combining multi-dimensional features and an anomaly detection algorithm, so that the effectiveness of abnormal path detection can be ensured.
Owner:CHINA TELECOM CLOUD TECH CO LTD

Signature-based automatic offload to hardware accelerators

Technology to automatically recognize library functions and substitute accelerator calls can include scanning program code to detect one or more of a library signature or an accelerator tag, substituting an accelerator call for a library function tagged with the accelerator tag upon detecting the accelerator tag, and upon detecting the library signature, performing one of substituting the accelerator call for the library function associated with the library signature or applying the accelerator tag to the library function associated with the library signature to indicate the accelerator call is to be substituted for the library function. When the accelerator tag is applied to the library function associated with the library signature, a subsequent scan is to be performed to detect the applied tag and substitute the accelerator call for the library function tagged with the accelerator tag.
Owner:INTEL CORP

End-to-end context isolation across microservices in a multi-tenant distributed cloud infrastructure

This disclosure relates to a context enforcement system that efficiently and securely protects tenant context information that travels across microservices in a multi-tenant distributed cloud computing system and protects against data leaks that often occur in conventional microservice management systems. For example, the context enforcement system ensures secure external and internal communications and context isolation by providing various shared library functions to microservices of a multi-tenant distributed cloud computing system. Additionally, the shared library provided by the context enforcement system improves the efficiency of the multi-tenant distributed cloud computing system by allowing microservices to focus on target operations rather than also maintaining and performing additional redundant functions.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Library playback function graphical user interface for electronic devices

1. Name of the product of this design: Graphical user interface with library playback function for electronic equipment. 2. Application of this design product: for electronic equipment. 3. The key design point of this design product lies in the content of the graphical user interface. 4. The picture or photo that best illustrates the design points: Interface change state diagram 3. 5. Conventional design, omitting rear view, elevation view, left and right view. 6.Purpose of Graphical User Interface: Graphical user interface for library playback function of electronic devices. The main view is the application and service page in standby mode. Click the More button on the interface to enter the interface change state Figure 1. Click the library in the interface change state diagram 1 to enter the interface change state diagram 2. Interface change state diagram 2 is the library function playlist page. Click any card to enter interface change state diagram 3. Interface change state Figure 3 shows the library player page, where users can play and pause audio. Click the return button in the interface change state diagram 3 to enter the interface change state diagram 4. Interface change status Figure 4 shows the library function list page with a player showing currently playing content.
Owner:NINGBO FOTILE KITCHEN WARE CO LTD

Construction method and system of third-party program library, storage medium and calling method and system

The invention belongs to the technical field of computers, and particularly relates to a third-party program library function disassembling and calling method and calling system for a software platform, and the third-party program library function disassembling and calling method for the software platform comprises the following steps: constructing a third-party program library; verifying the legality of the third-party program library; according to the method, a solution for automatically importing the disassembling and calling system of the third-party program library function is achieved, no matter whether the third-party program library is newly added or the existing third-party program library function is changed, a software platform can automatically identify a function interface only by loading the third-party program library, and the function interface can be automatically imported. And a user does not need to manually update the calling program. According to the method, the stability of the software platform architecture can be ensured, and the problems of stability reduction and the like caused by repeated modification of the software platform are reduced.
Owner:SHANGHAI TOSUN TECH LTD

Front-end-based request processing method, device, terminal, and storage medium

The present invention provides a front-end-based request processing method, device, terminal and storage medium, the method comprising: obtaining a request method for updating a front-end project; performing logical processing on all Ajax methods in the request method through a preset high-order function of a preset script to obtain a processed request method, wherein the preset high-order function includes a first preset function and a second preset function; redefining the processed request method through the preset script to obtain a unified object request method; constructing the unified object request method to generate a corresponding library function file; the present invention realizes secure processing of request parameters, efficient construction and loading of resources, and dynamic function expansion through unified processing, security enhancement and efficient construction process for Ajax requests.
Owner:PING AN BANK CO LTD

Pruning Engine

A method and apparatus are disclosed for enhancing operable functionality of input source code files from a software program by preprocessing input source code files with codeword processing operations to generate a plurality of preprocessed input source code files, identifying candidate code snippets by pruning one or more preprocessed input source code files that do not meet a similarity threshold measure for library functions stored in the system library, and identifying at least a first validated code snippet from the one or more candidate code snippets that matches a first library function stored in the system memory on the basis of at least first and second matching metrics.
Owner:DEVFACTORY INNOVATIONS FZ LLC

User space program Inlinehook method based on Loongarch architecture and medium

The invention discloses a user space program Inlinehook method based on a Loongarch architecture and a medium, and mainly relates to the technical field of user space programs. The method and the device are used for solving the problems that in an existing scheme, a function of an application program based on a Loongarch architecture or a function loaded by a static library cannot be hooked, a behavior of calling a common library function by the application program cannot be hooked, and implementation of system kernel versions is seriously depended. Comprising the following steps: skipping to a second-level springboard of a hook module by presetting a first-level springboard assembly code; the current execution site is stored through a second-level springboard, and execution is performed by skipping to a preset unified hook logic execution function; calling a user-defined function through a preset unified hook logic execution function; and after the user-defined function is executed, skipping back to the secondary springboard, skipping to the repaired assembly instruction code, and skipping to the head of the hook function which is shifted by 6 bytes.
Owner:中孚安全技术有限公司

Semi-random automatic testing method and system for Android local library

PendingCN121364997AError detection/correctionProgramming languageJava bytecode
The embodiment of the invention provides a semi-random automatic testing method and system for an Android local library, and the method comprises the steps: taking an Android APK as input, and generating a local library function list; c / C + + codes in the APK are converted into Java byte codes, and the Java byte codes are repackaged to obtain a cross-language unified APK; based on the cross-language unified APK, constructing a composite call relation graph containing App states, UIs and cross-language function calls; according to the composite calling relation graph, guiding random testing so as to generate a state transition event library; based on the state transition event library, generating a test case pool by adopting a permutation and combination strategy; and selecting a test case from the test case pool, and executing a semi-random automatic test on the Android local library function. According to the invention, the pertinence, the coverage rate and the efficiency of the test can be obviously improved.
Owner:BEIJING UNIV OF TECH

End-to-end context isolation across microservices in a multi-tenant distributed cloud infrastructure

This disclosure relates to a context enforcement system that efficiently and securely protects tenant context information that travels across microservices in a multi-tenant distributed cloud computing system and protects against data leaks that often occur in conventional microservice management systems. For example, the context enforcement system ensures secure external and internal communications and context isolation by providing various shared library functions to microservices of a multi-tenant distributed cloud computing system. Additionally, the shared library provided by the context enforcement system improves the efficiency of the multi-tenant distributed cloud computing system by allowing microservices to focus on target operations rather than also maintaining and performing additional redundant functions.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Binary program processing method, device and equipment

The invention discloses a binary program processing method, device and equipment. Comprising the following steps: acquiring a low-level intermediate representation obtained by disassembling a target binary program; in the low-level intermediate representation, identifying a calling point with a clearly defined library function, and determining an anchor variable in the low-level intermediate representation according to a variable related to the calling point; in the low-level intermediate representation, acquiring a context related to the anchor variable; according to the context related to the anchor variable, matching with a known behavior of a library function, and inferring missing source code level information of the low-level intermediate representation; and correcting the low-level intermediate representation according to the missing source code level information to generate a high-level intermediate representation.
Owner:ALIPAY (HANGZHOU) INFORMATION TECH CO LTD

Compiled workflow code for distributed compute engine

A distributed compute engine executes packages of compiled workflow source code that include statically linked instructions for interfacing with the distributed compute engine. The engine stores a compute engine library of computer-executable code and receives workflow source code from a user device, including a primary set of instructions for workflow logic and an interfacing set of instructions for calling library functions. A compiler analyzes the source code, identifies required functions and dependencies from the compute engine library, and generates compiled workflow code by statically linking referenced library code. The engine packages the compiled workflow code as a containerized workload containing application code, configuration files, environment variables, and library dependencies, and delivers it to executor nodes. The engine accesses and partitions data, assigns stages and partitions to executors, and coordinates execution.
Owner:HAEVEK INC

Automatic function abstract generation method based on large model

The invention discloses an automatic function abstract generation method based on a large model. The method comprises the following steps: step 1) designing an abstract grammar and a related analysis tool in an EBNF (Extended Bass Normal Form) form; 2) aiming at input information of a function to be abstracted, screening similar use cases, grammar information and semantics of each instruction in abstract definition from the abstract knowledge base, and constructing cue words by using modeling knowledge such as methods; 3) transmitting the cue word to the large model and extracting a function abstract from the output of the large model; 4) performing grammar test and semantic test on the function abstract generated by the large model in the step 3), if the test is passed, entering the next step, otherwise, repeating the step 3), transmitting error information to the large model, and regenerating the abstract; 5, when a tripartite library function is encountered, a matched abstract is searched from the abstract library according to a function signature, the abstract is analyzed into a data structure convenient to use by a static analysis tool based on the constructed analysis tool, substitution operation is carried out, and simulation of the side effect of the function is achieved.By means of the method, the precision of static program analysis can be improved.
Owner:NANJING UNIV