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

64 results about "Relocation" patented technology

Relocation is the process of assigning load addresses for position-dependent code and data of a program and adjusting the code and data to reflect the assigned addresses. Prior to the advent of multiprocess systems, and still in many embedded systems, the addresses for objects were absolute starting at a known location, often zero. Since multiprocessing systems dynamically link and switch between programs it became necessary to be able to relocate objects using position-independent code. A linker usually performs relocation in conjunction with symbol resolution, the process of searching files and libraries to replace symbolic references or names of libraries with actual usable addresses in memory before running a program.

Dynamic and static fusion binary translation method and system based on dynamic link library

The invention belongs to the field of software transplantation, and particularly relates to a dynamic and static fusion binary translation method and system based on a dynamic link library. The methodincludes: dividing a program by taking a function as a unit, and if the function is a third-party library function, executing the program in a local library replacement mode; if the indirect jump branch instruction exists in the function, placing the function in a dynamic translator part for translation execution, and if the indirect jump branch instruction does not exist in the function, statically translating the function by taking a basic block as a unit, recording relocation information translated by the function, and generating a function relocation information table; analyzing and optimizing the translated target code according to the static analysis information and the relocation information, and generating a dynamic link library for calling the target program in the dynamic execution process; and during dynamic execution, preferentially executing the optimized function according to the relocation information table and the dynamic link library. According to the method, the advantages of static binary translation offline optimization are fully utilized, codes needing to be translated and optimized in the dynamic execution period are statically executed, translation expenditure is reduced, and execution efficiency is improved.
Owner:PLA STRATEGIC SUPPORT FORCE INFORMATION ENG UNIV PLA SSF IEU

Data query method, loading component, search component and storage medium

The invention discloses a data query method, a loading component, a search component and a storage medium. The data query method comprises the following steps: finding a corresponding to-be-loaded address of a to-be-recycled block in a first-level mapping table from a second-level mapping table by the loading component; loading first-level mapping data from a to-be-loaded address of the first-level mapping table to serve as to-be-searched data, and allocating the to-be-searched data to the plurality of search components according to a preset capacity, concurrently processing the received to-be-searched data by the plurality of search components to obtain all effective physical address information, and providing an output data register for a CPU to read the effective physical address information so as to complete migration of the effective data. According to the embodiment of the invention, the query part of a relocation-type GC scheme is realized through the loading component and the search components, and the participation of the CPU is reduced through the cooperative processing of the loading component and the plurality of search components at the same time, so that the effect ofconcurrence of the loading component, the search components and the CPU is achieved, and the data relocation efficiency is greatly improved.
Owner:BIWIN STORAGE TECH CO LTD

Equipment relocation operation recovery method and device, computer equipment and storage medium

ActiveCN113180557AShort timeImprove the efficiency of relocation operationsAutomatic obstacle detectionTravelling automatic controlPathPingVirtual cell
The invention relates to an equipment relocation operation recovery method and device, computer equipment and a storage medium. The method comprises the following steps: when the method detects that the equipment moves, recording an old operation virtual unit where the equipment moves and an original position point, starting a relocation function, determining a new operation virtual unit where the equipment is currently located, and restarting operation on the whole operation area from the new operation virtual unit; in the continuous operation process, if operation on the adjacent operation virtual unit of the old operation virtual unit is completed, acquiring the path cost of moving from the current position to a preset driving-in point and an original position point in the old operation virtual unit; and selecting a point with the minimum path cost as the starting point, recovering the operation in the old operation virtual unit. The point with the minimum path cost is selected as the starting point for re-switching into the operation in the old operation virtual unit, so that the time consumed for recovering the operation of the old operation virtual unit can be remarkably reduced, and the equipment relocation operation efficiency is improved.
Owner:GREE ELECTRIC APPLIANCES INC

Jump table lookup method and device, electronic equipment and storage medium

The embodiment of the invention provides a jump table searching method and device, electronic equipment and a storage medium, and relates to the technical field of electronics. The method comprises the steps of determining functions included in a target file, recognizing instructions in the functions according to an execution sequence of the instructions, recording a recognition sequence, searching and determining a target instruction corresponding to a register read by the dynamic jump instruction according to a reverse sequence of the recognition sequence when the dynamic jump instruction is recognized, and executing the dynamic jump instruction according to the target instruction. And obtaining relocation information of the target instruction and relocation information of other instructions from the target file, and determining a storage area of the jump table based on the relocation information of the target instruction and the relocation information of other instructions. When the jump table is searched, the target instruction is determined by combining the register used by the dynamic jump instruction and the execution sequence of the instruction, and the position of the jump table in the target file is determined according to the relocation information of the target instruction, so that the storage area of the jump table of the dynamic jump instruction in the target file can be rapidly determined.
Owner:龙芯中科(成都)技术有限公司

A Method of Injection Code Generation for On-orbit Maintenance of Spacecraft Based on Secondary Link

The invention provides a spacecraft on-orbit maintenance injection code generation method based on secondary linking. The method comprises the steps that (1) the state of spacecraft on-orbit running software is restored, and an on-orbit state target file is generated; (2) an on-orbit maintenance source code is written; (3) a compiler is used to independently compile the written on-orbit maintenance source code, and a to-be-uploaded target file is generated; (4) a script file for secondary linking is newly created; (5) the on-orbit state target file and the to-be-uploaded target file are linked based on the established script file for secondary linking, and a new executable file is generated; and (6) the new executable file is converted into a linking instruction file or a BIN file, and an injection code instruction with a designated initial address is directly extracted from the linking instruction file or the BIN file. Through the method, on the premise of guaranteeing that an original on-orbit software binary code does not change, a relocation process of all address relevant items in on-orbit maintenance software is automatically realized, and therefore the generation efficiency and correctness of a spacecraft on-orbit maintenance injection code are greatly improved.
Owner:BEIJING INST OF CONTROL ENG
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products