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

20 results about "Virtual function" patented technology

In object-oriented programming, in languages such as C++, and Object Pascal, a virtual function or virtual method is an inheritable and overridable function or method for which dynamic dispatch is facilitated. This concept is an important part of the (runtime) polymorphism portion of object-oriented programming (OOP). In short, a virtual function defines a target function to be executed, but the target might not be known at compile time.

C + + Mock class automatic generation method based on reflection memory agent and contrast knowledge graph

The invention discloses a C + + Mock class automatic generation method based on an inverse memory agent and a contrast knowledge graph, and aims to solve the problems that a virtual function coverage gap in a large C / C + + code library is difficult to find, the Mock code maintenance cost is high, and the automatic repair efficiency is low. According to the method, a difference context matrix is constructed by analyzing and merging request patch metadata, and an incremental abstract syntax tree is generated; generating a backtracking queue based on the event intensity and the semantic overlapping degree, and extracting a virtual function change list; the multi-scale difference extraction is completed in combination with an external expansion operator according to the rule that the path is not disassembled and the node is movable; a self-adaptive strategy table and a Mock specification are generated, through code synthesis and lightweight compilation verification, automatic self-healing is achieved through root cause positioning and minimum cost repair, finally, a result is written into a knowledge graph, and parameters are dynamically adjusted. According to the invention, Mock generation accuracy and version adaptability are improved, manual intervention is reduced, and test maintenance efficiency is improved.
Owner:CHENGDU AIRCRAFT DESIGN INST OF AVIATION IND CORP OF CHINA

Virtual resource allocation method and apparatus, computer device, computer readable storage medium, and computer program product

Disclosed in embodiments of the present disclosure are a virtual resource allocation method and apparatus, a computer device, a computer readable storage medium, and a computer program product. The virtual resource allocation method comprises: in response to a virtual resource creation request, determining, from a virtual function resource pool, a target number of target virtual function resources that meet the virtual resource creation request, wherein the virtual function resources in the virtual function resource pool are located on a graphics card supporting a single root input / output virtualization (SR-IOV) technology; and on the basis of the target number of target virtual function resources, creating a target virtual graphics processing unit device, and on the basis of the target virtual graphics processing unit device, running a target virtual machine. In this way, under the SR-IOV technology, a target virtual graphics processing unit device having different video memory resource sizes can be created on the basis of virtual resource acquisition requirements, thereby meeting various requirements of different virtual machines for video memory resources provided by virtual function resources.
Owner:MOORE THREADS TECHNOLOGY (SHANGHAI) CO LTD

Numerical simulation program design method based on microkernel architecture and related equipment

The invention discloses a numerical simulation program design method based on a microkernel architecture and related equipment, and relates to the technical field of numerical program development, and the key points of the technical scheme are as follows: packaging at least one basic component which is not related to a numerical simulation service in a nuclear reactor numerical simulation program to obtain at least one base class; constructing a microkernel based on the base class; setting at least one service expansion point for a corresponding base class in the microkernel according to business logic in different numerical simulation businesses, and abstracting each service expansion point into a virtual function interface; configuring a plug-in for the virtual function interface; calling a plug-in registration macro function to register each plug-in, and storing registration information into a plug-in registry; parameters input by a user are read from the file blocks, and entity plug-in class objects are constructed in combination with registration information in the plug-in registry; and according to the entity plug-in class object, loading the plug-in to a base class corresponding to the microkernel for assembly, and forming numerical simulation programs corresponding to different numerical simulation services.
Owner:NUCLEAR POWER INSTITUTE OF CHINA

Virtual function migration method and equipment

The invention discloses a virtual function migration method and device, and relates to the technical field of computer storage, and the method comprises the steps: under the condition that a migration instruction for a target virtual function is obtained, migration initialization is carried out, and the migration initialization comprises the step of carrying out resource verification on a target namespace; a double-write buffering mechanism is started, the double-write buffering mechanism is that when a write request is received in the migration process, write data are written into a source namespace and a target namespace at the same time, when a read request is received, the read request is routed to the source namespace, and the source namespace is the namespace where the target virtual function is currently located; the target namespace is a namespace to which the target virtual function is to be migrated; migrating historical data in the source namespace to a target namespace; and the namespace binding of the target virtual function is switched from the source namespace to the target namespace, so that the core pain point of I / O business interruption in related technologies is solved, and real thermal migration is realized.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

Positioning method and positioner of combined handle, combined handle and virtual system

The application provides a positioning method and a positioner of a combined handle, a combined handle and a virtual system, and solves the technical problem that a control handle commonly used in VR head-mounted equipment and a game handheld machine is urgently needed in the prior art to reduce resource waste. The positioning method of the combined handle provided by the application can be used when the combined handle can form a game device together with the game handheld machine and can also form a virtual system together with the head-mounted equipment, thereby improving the versatility of the combined handle. In addition, when the control handle is installed on the handle shell again, the control handle and the handle shell after being installed again need to be recalibrated, which can make the positioning of the combined handle more accurate when a user uses the combination to experience virtual functions, thereby improving the fluency of human-computer interaction and improving the virtual experience of the user.
Owner:PIMAX TECH (SHANGHAI) CO LTD

Static binary code control flow diagram reconstruction method based on value set analysis

The invention discloses a static binary code control flow diagram reconstruction method based on value set analysis, which relates to the field of static binary code analysis, and comprises the following steps: extracting a program instruction set and related data segment information based on a disassembling result of a target binary executable file; obtaining an original control flow diagram, and calculating a virtual function information set based on virtual table information; and constructing a function inner value set by using a work list algorithm, analyzing an indirect jump target address according to the value set, and reconstructing a control flow diagram. According to the method, the binary code can be comprehensively analyzed under reasonable overhead, the accuracy of indirect jump target address analysis is improved, the accuracy of the control flow diagram is ensured, and the method has important significance in improving the quality of a binary code analysis task.
Owner:EAST CHINA NORMAL UNIV

Virtual object configuration method and apparatus, device, and storage medium

The application provides a virtual object configuration method and device, equipment and storage medium, and relates to the technical field of games. The method comprises the following steps: a point configuration interface of a target virtual object is displayed on a graphical user interface; wherein a point control panel and a point configuration sub-interface of a plurality of virtual functions in the target virtual object are displayed in the point configuration interface; in response to a configuration operation for a target attribute input through the point control panel, a point parameter of the target attribute is determined; according to the point parameter of the target attribute, a target point parameter of the target attribute in at least one target virtual function in the plurality of virtual functions is determined; and the updated target point parameter of the target attribute is displayed in the point configuration sub-interface of the at least one target virtual function. Compared with the prior art, the method avoids the problems of being tedious and not intuitive when a player performs a point operation in a game.
Owner:NETEASE (HANGZHOU) NETWORK CO LTD

Calibration method for force measurement device, program, calibration device, and force measurement device

[Problem] To calibrate a force measurement device so that a wide range of force can be accurately measured. [Solution] This calibration method comprises: a step for acquiring a plurality of data points; a step for assuming one of the plurality of data points as a virtual inflection point CP'; a step for calculating a first virtual function and a first determination coefficient R1 2 on the basis of a low-force data point where the magnitude of the force is less than or equal to a virtual inflection value Fk; a step for calculating a second virtual function and a second determination coefficient R2 2 on the basis of a high-force data point where the magnitude of the force is greater than or equal to the virtual inflection value Fk; a step for calculating a sum of the first determination coefficient and the second determination coefficient: R1 2 + R2 2; and a step for defining the virtual inflection value CP' where the sum of the first determination coefficient and the second determination coefficient: R1 2 + R2 2 reaches a maximum as an inflection value CP, defining the first virtual function as a first function f1, and defining the second virtual function as a second function f2 to calculate a Z direction sensitivity characteristic function.
Owner:NISSHA PRINTING CO LTD

Data migration method, storage medium, and computer program product

This application discloses a data migration method, storage medium, and computer program product. The method is applied to a first device, which has a first software process. The method includes: calling a first PCI virtual function device (PCI device) through the first software process; obtaining relevant information about first information of a first virtual machine through the first PCI device; the first PCI device represents the Option ROM in a first DPU of the first device; and sending second information to a second software process on a second device through the first software process, so that the second software process migrates the first information from the first virtual machine to the second virtual machine based on the relevant information of the first information contained in the second information; wherein the second information represents data migration instruction information, the first virtual machine runs on the first device, and the second virtual machine runs on the second device.
Owner:CHINA MOBILE (SUZHOU) SOFTWARE TECH CO LTD +1

Method and apparatus for migrating virtual functions

The application discloses a virtual function migration method and device, and relates to the technical field of computer storage, and comprises the following steps: in the case that a migration instruction for a target virtual function is acquired, performing migration initialization, wherein the migration initialization comprises resource checking on a destination namespace; enabling a double-write buffer mechanism, wherein the double-write buffer mechanism refers to that in the migration process, when a write request is received, write data is written into a source namespace and the destination namespace at the same time, and when a read request is received, the read request is routed to the source namespace; the source namespace is a namespace where the target virtual function currently locates, and the destination namespace is a namespace where the target virtual function is to be migrated to; migrating historical data in the source namespace to the destination namespace; and switching namespace binding of the target virtual function from the source namespace to the destination namespace, so as to solve the core pain point of interrupting I / O services in the related art, and realize real hot migration.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

Virtual function binding by a runtime for enhanced runtime performance

Methods and systems for creating a runtime object for bypassing a runtime and calling directly into a driver. A method includes receiving a call from an application requesting a runtime object, which includes a virtual function for issuing commands to a driver via the runtime. The method also includes creating the runtime object with a first member containing a pointer to a virtual function table in the runtime's memory space. This table maps the virtual function to a memory address in the driver's memory space, corresponding to a function implementation by the driver. Additionally, a second member includes a pointer to another memory address in the driver's memory space, corresponding to an internal driver object related to the runtime object. The method also includes returning a memory address corresponding to the runtime object to the application.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Virtual function operation methods, electronic devices, and media based on logical identifiers

This invention relates to the field of chip technology, and more particularly to a method, electronic device, and medium for operating virtual functions based on logical identifiers. The method includes S1, dividing M virtual functions based on hardware resources; S2, obtaining each B... i m The physical identifier C corresponding to each hardware resource in the system j im S3, Establish each C in the hardware j im and the corresponding logical identifier D j im Mapping relationship; S4, Load software SW into A m A was obtained from m The corresponding software in SW m S5, SW m Get each B i m The total number of corresponding hardware resources g(im); S6, SW m Based on D j im Issue the order, D j im No more than D g(im) im S7, the hardware will assign the corresponding D in each command. j im Convert to the corresponding C j im Execute the corresponding commands. This invention reduces software complexity and communication costs, and improves the efficiency of software commands in virtual functions.
Owner:METAX INTEGRATED CIRCUITS (SHANGHAI) CO LTD

A data processing method and device, electronic equipment and storage medium

This invention provides a data processing method, apparatus, electronic device, and storage medium. The method involves obtaining the overridden function table of subclasses in the executable file of an application. The subclasses inherit from a base class in the executable file. The overridden function table includes the addresses of the original functions in the base class that need to be replaced, the class name of the base class, and the address of the target function used to replace the original functions. The method then determines the virtual function table of the base class, which includes the addresses of functions in the base class. The method searches for the address of the original function in the base class's virtual function table. Finally, the address of the target function replaces the address of the original function in the base class's virtual function table. This avoids replacing the address of a function in the virtual function table that should not have been replaced with the address of the target function, thus preventing replacement errors and preventing the application from calling the wrong function, ultimately preventing application runtime errors.
Owner:WUBA

Virtual function calling method and apparatus, computing device, storage medium, and program product

The application discloses a virtual function calling method and device, a computing device, a storage medium and a program product, and relates to the technical field of computers. The virtual function calling flow in a shared memory scenario is improved, the data structure of an object is completely reserved in the shared memory, and various features of the virtual function are unlimitedly used. The method comprises the following steps: a computing device responds to a first process to initiate a calling request for a target virtual function through an object stored in a shared memory, determines a target data type, the target data type is a data type to which the object belongs when the object is initialized, the computing device acquires a first virtual function table pointer corresponding to the target data type according to a first correspondence relationship, the first correspondence relationship is a correspondence relationship between the first virtual function table pointer and the data types corresponding to each first virtual function table pointer, which is determined according to an address space range corresponding to the first process; and the computing device calls the target virtual function through a virtual function table pointed to by the first virtual function table pointer.
Owner:HUAWEI TECH CO LTD

Service deployment method and device, equipment, storage medium and computer program product

The invention provides a service deployment method and device, equipment, a storage medium and a computer program product, and the method comprises the steps: obtaining virtual function configuration corresponding to at least one network card and container mirror image configuration for a service-oriented radio access network RAN; according to the virtual function configuration and the container mirror image configuration, updating container configuration information; and deploying a target RAN service corresponding to the target demand according to the updated container configuration information. According to the scheme, the RAN service based on the target demand can be automatically deployed, so that automatic deployment of the service RAN and dynamic resource allocation and optimization are realized, the complexity of the RAN service deployment scheme is reduced, the resource management efficiency is improved, the intelligent level and the operation efficiency of the RAN are improved, support is provided for intelligent deployment of a 6G network and the like, and the user experience is improved. At least one of the problems of high complexity and low resource management efficiency of the RAN service deployment scheme in the prior art is well solved.
Owner:ZGC INSTITUTE OF UBIQUITOUS-X INNOVATION & APPLICATIONS

Method and system for calling C + + interface by Python based on cross-language packaging

The invention relates to the technical field of semiconductor device test and measurement data processing, and provides a semiconductor device data screening method based on an ensemble description language, which comprises the following steps of: establishing an emulator base class on a C + + core layer and defining a uniform basic interface and a virtual function; the inheritance simulator base class constructs one or more derived simulator classes; exposing the simulator base class and the derived simulator class to a Python environment by using a Boost Python tool library on a packaging adaptation layer; inheriting and deriving a simulator class through an interface command on a Python user layer, and generating a self-defined simulation component by combining an application demand extension or customization interface method; and executing the simulation task and obtaining a calculation result. The problems that in the prior art, Python and C + + data structures are incompatible, interface calling is complex, and interface classification management is disordered are solved, and organic combination of C + + high-performance calculation and Python customized development is achieved. In a Python user layer, simulator functions are inherited and expanded with a low threshold, and a simulation assembly conforming to a specific application scene is generated and conveniently integrated into an EDA platform.
Owner:PRIMARIUS TECH CO LTD

A virtual table sparsity generation and dynamic filling method for EDA simulation

PendingCN122655653ACompile timeLinker
The application relates to the technical field of EDA simulation, in particular to a virtual table sparsity generation and dynamic filling method for EDA simulation, in which only actual relocation entries and symbolic references of virtual functions overwritten by the subclass are generated in the sparse virtual table of the subclass, a large number of virtual functions inherited from the parent class are replaced by light-weight inheritance marks and inheritance placeholders, the generation of huge repeated function pointer entries for all subclasses in the compiling stage is avoided, the compiling time is greatly reduced, and because the sparse virtual table only contains a small amount of relocation entries of overwritten functions, the amount of relocation information to be processed and analyzed by a linker is greatly reduced; in addition, the filling process of the virtual table is completed through simple copying operation after the parent class virtual table is initialized, the compiling time is further shortened, and the compiling efficiency is improved.
Owner:成都融见软件科技有限公司 +1

Fuzz test case generation method and device, computer device, and storage medium

The application discloses a method and device for generating a fuzzy test case, a computer device and a storage medium. The method comprises the following steps: acquiring intermediate representation code of external software corresponding to a software to be tested; determining a target call list of a virtual function call point corresponding to an external interface of the software to be tested according to the virtual function call point in the intermediate representation code; determining call information of the software to be tested according to the target call list and data flow information and control flow information corresponding to the software to be tested; and generating a fuzzy test case according to the call information. The method can avoid analysis errors caused by directly analyzing the use mode of the external software to the software to be tested and can avoid generating abnormal fuzzy test cases, thereby improving the accuracy of the generation of the fuzzy test case.
Owner:FUDAN UNIVERSITY +1

Agricultural machinery high adaptability embedded software architecture system, method and terminal

This invention provides a highly adaptable embedded software architecture system, method, and terminal for agricultural machinery. It receives user-initiated agricultural machinery operation requests and passes them to the application service layer; based on the operation request, it calls the corresponding service interface and further adapts it into a function call instruction; based on the function call instruction, it calls the corresponding virtual function object and sends a standardized call request to the underlying adaptation components; finally, it executes the corresponding hardware driver operation and system scheduling operation. This invention solves the problem in existing technologies where hardware drivers and system functions on agricultural machinery are highly bound, making flexible adaptation between multiple hardware and operating systems difficult. Targeting the special operating scenarios of agricultural machinery, this invention possesses multi-hardware platform adaptation and multi-operating system compatibility capabilities, while ensuring efficient real-time response and reducing porting and reconstruction costs.
Owner:SHANGHAI HUANGUO INFORMATION TECHNOLOGY CO LTD