Linux Data transmission method and device and user terminal
A data transmission method and the technology of the first address, applied in the field of devices and user terminals, Linux data transmission method, can solve the problems of inconvenient data transmission, restriction of data transmission operation of the operating system, system burden and slow down system operation, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] refer to figure 2 , the first embodiment of the present invention provides a Linux data transmission method, including:
[0050] Step S10, generating an address translation interface between the virtual address and the physical address according to the known first address of the physical space and the first address of the mapped virtual space;
[0051] As mentioned above, what needs to be understood is that Linux is a set of Unix-like operating systems that are free to use and spread freely. It is a multi-user, multi-tasking, multi-threading and multi-CPU operating system based on POSIX and UNIX. It can run major UNIX utility software, application programs and network protocols. It supports 32-bit and 64-bit hardware. Linux inherits Unix's network-centric design idea and is a multi-user network operating system with stable performance.
[0052] As mentioned above, based on the Linux system, a large amount of CPU needs to be used for data transmission, so as to reali...
Embodiment 2
[0059] refer to image 3 , the second embodiment of the present invention provides a Linux data transmission method, based on the above figure 2 In the first embodiment shown, before the step S10 "generate an address translation interface between the virtual address and the physical address according to the known first address of the physical space and the first address of the mapped virtual space", it also includes:
[0060] Step S30, when the memory space is initialized, map the physical memory reserved or requested by the system through mmap to obtain the first address of the virtual space.
[0061] Above, what needs to be understood is that mmap maps a file or other object into memory. Files are mapped onto multiple pages, and if the size of the file is not the sum of the sizes of all pages, the unused space of the last page will be cleared. mmap plays a big role in the user space mapping call system. The mmap operation provides a mechanism for user programs to directl...
Embodiment 3
[0064] refer to Figure 4 , the third embodiment of the present invention provides a Linux data transmission method, based on the above figure 2 In the first embodiment shown, after the step S10 "generate an address translation interface between the virtual address and the physical address according to the known first address of the physical space and the first address of the mapped virtual space", it also includes:
[0065] Step S40, after the available memory is released, confirm the adjacent available memory adjacent to the available memory;
[0066] As mentioned above, this embodiment implements memory allocation management by establishing a memory management mechanism. After the memory is released through the user's use or the system's automatic allocation, the memory management mechanism confirms the released free memory and its adjacent adjacent available memory, for example, the available memory adjacent to the memory address of the available memory in the memory poo...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com