System call method, apparatus and electronic device

A technology of equipment and calling tables, which is applied in the computer field and can solve problems such as poor performance and poor exception handling performance

Active Publication Date: 2021-03-02
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This way of using the Windows kernel can easily lead to poor exception handling performance when implementing system calls through int80 instructions, which in turn makes the performance of implementing the above system calls through int80 instructions poor.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • System call method, apparatus and electronic device
  • System call method, apparatus and electronic device
  • System call method, apparatus and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. the embodiment. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0027] Considering the poor performance of exception handling of the existing simulators, resulting in poor system call performance, the embodiment of the present invention provides a system call method, device and electronic equipment, the technology can be applied to computers, mobile phones, tablet computers , game devices and other devices that can configure emulators.

[0028] ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention provides a system call method, device and electronic equipment, wherein the method includes: when running the simulator on the operating system, loading the library file of the simulator and the system call table of the simulator obtained by pre-scanning; wherein, The system call table includes: the system file of the simulated system call in the emulator, and the location information of the system file; from the system call table, find the target system file associated with the library file; in the system call table, the The location information of the target system file is modified to an execution function corresponding to the simulator, so as to call the target system file through the execution function. In the present invention, by modifying the system call table of the simulator, when simulating the system call system file, the execution function jumps to the system file to be called, cuts off the generation of int80 instructions and other soft interrupt instructions, and improves the execution speed of the system call , and improved system call performance for the emulator.

Description

technical field [0001] The present invention relates to the technical field of computers, in particular to a system calling method, device and electronic equipment. Background technique [0002] The Android X86 can realize running the Android system on the Windows x86 system, that is, based on the Android X86, it is possible to run the Android emulator on the Windows operating system. During the running of the simulator, system calls need to be implemented through relevant instructions. In the related technology, the system call between Android X86 and Windows x86 is realized by int80 instruction; in the process of realizing system call by int80 instruction, Windows kernel needs to be used. This way of using the Windows kernel may easily lead to poor exception handling performance when the system call is implemented through the int80 instruction, which in turn makes the performance of the above system call implemented through the int80 instruction poor. Contents of the in...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/455G06F9/445
CPCG06F9/45558G06F9/44521G06F9/4812G06F2009/45579G06F8/53
Inventor 刘京洋邹永斌姚奕涛
Owner NETEASE (HANGZHOU) NETWORK CO LTD
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