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

9 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 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

Data migration method, storage medium, and computer program product

PendingCN122285174Areduce dependenceSolve bottlenecksOption ROMRelevant information
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

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

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