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

103 results about "File descriptor" patented technology

In Unix and related computer operating systems, a file descriptor (FD, less frequently fildes) is an abstract indicator (handle) used to access a file or other input/output resource, such as a pipe or network socket. File descriptors form part of the POSIX application programming interface. A file descriptor is a non-negative integer, generally represented in the C programming language as the type int (negative values being reserved to indicate "no value" or an error condition).

Method for compatible operation of Android camera HAL in container based on memory access virtualization

The invention discloses a compatible operation method for an Android camera HAL in a container based on memory access virtualization, and the method comprises the steps: taking a DMA-Buf memory heap of a Linux kernel host system as a target memory heap, taking an ION memory heap of an Android container system as a source memory heap, building a process exclusive memory management context, an FD cache table and a synchronous fence pool, and carrying out the execution of the process exclusive memory management context, the FD cache table and the synchronous fence pool; kernel registration and node binding of virtual ION equipment, pre-allocation of a first memory pool and access hook registration of kernel layer equipment are completed, and when an ION file descriptor is obtained in an HAL process, legality of a container process is verified, and context binding is initialized to the file descriptor; intercepting a memory allocation request of the HAL process, analyzing and adapting parameters, and preferentially multiplexing first memory pool resources to obtain an ION handle; when a data sharing request is processed, matching an FD cache or generating a new FD through an ION handle; when the HAL process releases the memory, resources are recycled according to a memory source, and when the HAL process exits, the context is cached or destroyed, so that cross-system memory operation compatibility is realized.
Owner:北京麟卓信息科技有限公司

Container application on-screen method based on texture full-process optimization

The invention discloses a container application on-screen method based on texture full-process optimization, which comprises the following steps: taking a swan-gap system as a host and an Android system as a container, distributing a plurality of first buffers by the host, screening out a first texture format by the container, writing original textures of the format generated by rendering into frame buffers, identifying a dirty area of the rendered textures, and displaying the original textures in the frame buffers; packaging the texture data of the region, storing the packaged texture data into a shared memory, transmitting a file descriptor FD to a host, binding an idle first buffer setting priority, a state, a generation timestamp and a texture data pointer at the same time, and obtaining the texture data by the host through the FD; the host establishes a fixed thread task pool, executes multiple tasks in parallel to obtain on-screen texture data, and then updates the state of the first buffer and a texture data pointer; and finally, the host queries the first buffer with the processed state, reads the texture data after sorting according to the priorities and the generation timestamps to finish on-screen, and resets the state of the first buffer to be idle, so that the on-screen delay is effectively reduced, and the actual frame rate of the Android application is improved.
Owner:北京麟卓信息科技有限公司

Heterogeneous event processing method and device, electronic equipment and storage medium

The invention discloses a heterogeneous event processing method and device, electronic equipment and a storage medium. The method comprises the steps that under the condition that a polling thread polls a to-be-processed event, the polling thread stores an event reference of the to-be-processed event in a cache; the polling thread executes write-in operation on the target file based on a preset file descriptor of the target file, so that the state of the target file is converted into a readable state; and under the condition that the business main thread monitors the readable state of the target file, determining an event reference corresponding to the target file based on the file descriptor, acquiring event information of the to-be-processed event based on the event reference, and processing the to-be-processed event based on the event information. In the technical scheme of the invention, the polling thread only needs to cache the reference of the current event information and wait for further processing of the service main thread, the event message does not need to be copied and cached, the message queue lock does not need to be synchronously operated, and the memory occupation and the performance overhead are reduced.
Owner:BEIJING YIHUI INFORMATION TECH CO LTD

Virtual machine QEMU program hot upgrade method, system and equipment

The invention relates to the technical field of virtual machines, and provides a virtual machine QEMU program hot upgrade method, system and device, and the method comprises the steps: starting a source virtual machine to generate an old version QEMU process, and distributing a corresponding virtual memory and an anonymous memory file descriptor for the memory of the source virtual machine through the old version QEMU process; configuring starting parameters of a target virtual machine, starting the target virtual machine on the same host by using the new-version QEMU file and the configured starting parameters of the target virtual machine, and generating a new-version QEMU process; the old version QEMU process establishes connection with the target virtual machine according to the starting parameters of the target virtual machine, and executes initialization of rear-end equipment of the target virtual machine and updating of state information of the virtual machine; and after the initialization of the back-end equipment of the target virtual machine and the updating of the state information of the virtual machine, running the target virtual machine and closing the source virtual machine. According to the method, the QEMU upgrading efficiency can be improved, system and network resources are saved, the success rate of QEMU upgrading is remarkably improved, and the influence of hot upgrading on services is reduced.
Owner:CHINA ELECTRONICS CLOUD DIGITAL INTELLIGENCE TECH CO LTD

Method and apparatus for data sharing

A method and apparatus for data sharing. which are used for improving the usage efficiency of audio data and avoiding frame loss and lagging of a piece of audio. The method includes: acquiring target audio data to be shared between different application programs, and storing the target audio data in a memory; determining a file descriptor corresponding to the target audio data according to a memory address where the target audio data is stored; and sharing the file descriptor between the different application programs, so that the different application programs acquire the target audio data according to the memory address corresponding to the file descriptor.
Owner:BOE TECHNOLOGY GROUP CO LTD

Data processing method and device

The invention provides a data processing method and device, and relates to the field of storage. In the data processing method, a storage server receives a reading request sent by a storage client, determines a plurality of memory file descriptors according to an address space of application data included in a target data object indicated by a parameter of the carried target data object in a memory, and sends the memory file descriptors to the storage client, the plurality of memory file descriptors indicate application data included in the target data object, then memory addresses of the plurality of memory file descriptors are sent to the storage client, so that the storage server maps the memory addresses of the plurality of memory file descriptors into a continuous address space, and an initial address of the continuous address space is returned to the application. Therefore, hot data memory storage with the memory file descriptor as granularity can be realized, so that hot data of one data object is stored in the memory, cold data of the data object is persistently stored in the system file, the memory can cache hot data of more data objects, and the memory utilization rate is improved.
Owner:HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD

Distributed industrial personal computer based on OpenHarmony system and data collaboration method thereof

The invention relates to the technical field of industrial personal computers, and discloses a distributed industrial personal computer based on an OpenHarmony system and a data collaboration method thereof. The method comprises the following steps: registering an industrial runtime service instance, receiving a shared memory access request of an application process, and transmitting a server file descriptor copy to the application process to obtain a client file descriptor; the application process executes mmap mapping on a client file descriptor to obtain a client mapping address, and initializes a global write position counter and a read position counter array; the service process updates a global write position counter and writes industrial data, the application process updates a self read position counter value in a read position counter array, and data verification is sent through a distributed soft bus or complete data is broadcasted to a remote industrial personal computer node through a distributed data management framework. According to the invention, unified and efficient response of the OpenHarmony industrial control system to local real-time data transmission and distributed collaborative operation is realized.
Owner:SHENZHEN HUALONG XUNDA INFORMATION TECH CO LTD

Inter-host process migration method, system, equipment and medium

The invention discloses an inter-host process migration method and system, computer equipment and a medium. The inter-host process migration method comprises the steps of obtaining a memory snapshot, file descriptor information, network state information and register state information of a target process in a source host; determining memory mapping information based on the memory snapshot; sending the memory mapping information, the file descriptor information, the network state information and the register state information to a target host; and performing target process reconstruction in the target host by utilizing the memory mapping information, the file descriptor information, the network state information and the register state information. According to the scheme provided by the invention, the memory copying and recovery of the running process can be realized, the resource continuity and the migration reliability are ensured by combining the file descriptor information, the network state information and the register state information, and the method is suitable for dynamic load balancing and fault recovery scenes in cloud computing and distributed systems.
Owner:SHANDONG CHAOYUE DATA CONTROL ELECTRONICS CO LTD

Data subscription processing method and device based on block chain, readable medium and equipment

The embodiment of the invention provides a data subscription processing method and device based on a block chain, a readable medium and equipment. The data subscription processing method comprises the following steps: in response to a block chain data subscription request sent by a data subscriber, querying target data corresponding to the block chain data subscription request in a local storage space of a block chain node; reading the queried target data into a memory space of the block chain node, and creating a file descriptor corresponding to the target data in the memory space; and sending the file descriptor to an operating system of the block chain node, so that the operating system transmits target data in the memory space to the data subscriber based on the file descriptor. According to the technical scheme, the data copying process in the data subscription process can be reduced, consumption of memory resources and CPU resources is saved, and the subscription processing performance of the block chain system can be improved.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Video conference management method and device, equipment and storage medium

The invention discloses a video conference management method and device, equipment and a storage medium. The method comprises the following steps: establishing an audio and video channel cluster and a control channel cluster; when the conference is created, creating a conference management instance of the virtual video conference in the conference server; when a terminal joins in a video conference, the terminal establishes a control link and an audio and video physical link with a port of a conference server, file descriptors of the control link and the audio and video link are added into respective clusters, and a virtual path from the port of the conference server to a conference management instance is established by taking the file descriptors as identifiers; the control channel cluster forwards the received control signaling to the corresponding conference management instance according to the file descriptor of the control link; and the audio and video channel cluster forwards the received audio and video streams to the corresponding conference management instances according to the file descriptors of the audio and video links. According to the invention, the conference can be quickly created and destroyed, and quick real-time dynamic resource expansion can also be carried out.
Owner:GUANGZHOU AVA ELECTRONICS TECH CO LTD

Cloud storage client hot upgrade method, device and equipment and storage medium

The invention discloses a hot upgrade method, device and equipment for a cloud storage client and a storage medium, relates to the field of computers, is applied to the client, and comprises the following steps: constructing a target cross-process connection to transfer a target mounting file descriptor from an old daemon process to a new daemon process, using the new daemon process to obtain a first user space request based on the target mounted file descriptor; sending a target request takeover signal to the old service process by using the new daemon process, and storing an intermediate state file generated by the old service process based on the target request takeover signal to the local client; and calling the intermediate state file by utilizing the new service process, obtaining the target mounting file descriptor from the new daemon process to process the first user space request, and processing a second user space request which is not processed by the old service process based on the intermediate state file. According to the method and the device, the cloud storage client is upgraded while the service is not interrupted and the data consistency is ensured.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

Network traffic detection method and system, vehicle and computer program product

The invention discloses a network traffic detection method and system, a vehicle and a computer program product. The method is applied to a kernel mode driving end, the kernel mode driving end and a user mode application end run in the same operating system, and the method comprises the steps that process identification information from the user mode application end is received, and the process identification information is used for identifying a process corresponding to a to-be-detected service; identifying that the file is a socket file by using a file descriptor of the file associated with the process identification information, the file descriptor being used for identifying the file opened through the process; according to the socket file, accessing network stack data of a kernel where the kernel mode driving end is located to obtain a traffic detection result of the service, the traffic detection result being used for representing the network traffic used by the service in the process of using the process to perform network communication; and sending a flow detection result to the user mode application end for display. The technical problem of low network flow detection efficiency is solved.
Owner:GUANGZHOU XIAOPENG CONNECTIVITY TECH CO LTD

Method, apparatus and device for monitoring and identifying abnormal operation of file descriptors

The embodiment of the application provides a method, device and equipment for monitoring and identifying abnormal operation of a file descriptor, wherein the method is achieved by a monitoring and identifying module to monitor and identify file descriptor fd operation performed by business software; and when the result of identification matches a file operation filtering rule, it is determined that abnormal operation of the file descriptor fd occurs, so as to realize accurate identification and rapid positioning of the abnormal operation of the file descriptor fd. In addition, the file operation filtering rule is flexible and has strong scalability.
Owner:DATANG MOBILE COMM EQUIP CO LTD

Providing deduplication filesystem operations to a backup utility native to an application

A system call of a Filesystem in Userspace (FUSE) library at a client is mapped to first and second operations of a deduplication filesystem, the system call performing an in-kernel copy between source and destination file descriptors. A filesystem mount point of the deduplication filesystem is presented to an application residing at the client. Upon the application triggering the system call on the mount point, the system call is intercepted. First and second parameters of the system call are examined. The first parameter indicates an offset location in the source file descriptor at which a range of data to copy should start. The second parameter indicates an offset location in the destination file descriptor at which the range of data copied should be inserted. Based on the examination, one of a first or second API of a client-side library residing at the client is called.
Owner:DELL PROD LP

A method for protecting high-frequency critical resources in embedded real-time operating system device management

This invention belongs to the field of computer system software technology, specifically relating to a method for protecting high-frequency critical resources in embedded real-time operating system device management. It improves the efficiency of concurrent execution of multi-core programs in high-frequency critical sections of device management when acquiring file descriptor driver information, reduces the proportion of programs that cannot be executed concurrently in critical sections, and enhances the concurrent execution capability of multi-core programs in high-frequency critical sections of device management while ensuring the multi-core determinism of programs. This brings a significant performance improvement to operating system device management.
Owner:XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA

A memory performance testing method and device, microprocessor architecture and storage medium

The application provides a memory performance test method and device, a microprocessor architecture and a storage medium, and is applied to the technical field of computers. After obtaining a memory mapping request of a user state program, the method obtains target page table attributes associated with a target file descriptor carried by the memory mapping request and allocates target physical memory. Then, the method configures page table entries of a memory page table according to the target page table attributes, establishes address mapping between the target physical memory and a virtual address space in the memory page table, and finally feeds back address information of the virtual address space to the user state program, so that the user state program performs memory testing based on the obtained address information. The file descriptor is associated with target page table attributes preconfigured by the user state program. By initiating a memory mapping request carrying different file descriptors, virtual address spaces mapped according to different page table attributes can be obtained, the test process is greatly simplified, the flexibility of the test process is improved, and the test efficiency is improved.
Owner:PHYTIUM TECH CO LTD +1

Multi-threaded file management method and apparatus, storage medium, and electronic device

The application discloses a multi-thread file management method and device, a storage medium and an electronic equipment, relates to the technical field of file management, and comprises the following steps: receiving a first instruction sent by a first thread, wherein the first instruction is used for indicating to close a target file, and the first instruction comprises a first descriptor; accessing a descriptor mapping table, finding a second descriptor corresponding to the first descriptor, wherein the second descriptor is used for indicating the target file, and the descriptor mapping table is used for storing a mapping relationship between the first descriptor and the second descriptor; in the case that the first descriptor exists in the descriptor mapping table, deleting the mapping relationship, and closing the target file based on the second descriptor. The application solves the problem of low safety of the file descriptor management method in the related art, and achieves the technical effect of improving program safety.
Owner:LANGCHAO ELECTRONIC INFORMATION IND CO LTD

Operating system fingerprint simulation method, device, equipment, medium and product

The invention discloses an operating system fingerprint simulation method and device, equipment, a medium and a product. The method comprises the following steps: capturing a plurality of first detection messages received by a detection host by using an eBPF program through an eBPF virtual machine in a kernel mode; feature information corresponding to the multiple first detection messages is extracted, a second detection message in the multiple first detection messages is determined according to the feature information, and the second detection message belongs to an Nmap operating system fingerprint detection packet in any detection stage in Nmap operating system fingerprint scanning; filtering the second detection message; generating a performance event according to attribute information of an Nmap operating system fingerprint detection packet corresponding to the second detection message, and storing the performance event in an eBPF map data structure; and the user mode program reads the corresponding performance event through the file descriptor so as to simulate the fingerprint of the Nmap operating system. According to the embodiment of the invention, the influence on the performance of the operating system can be reduced to the minimum while the fingerprint of the operating system is disguised.
Owner:NO 30 INST OF CHINA ELECTRONIC TECH GRP CORP +1

Gapless Asynchronous Data Recording

An aircraft recording system provides gapless asynchronous data recording. A data acquisition system is connected to a data ingestion interface, such that data acquisition system captures avionics data. An endpoint is associated with the aircraft data acquisition system and located remotely from the aircraft, which persists the plurality of events. An asynchronous messaging platform is provided that is adapted to digest and publish a plurality of packet payload words. A data file caching system is provided that is adapted to cache aircraft data files by ingesting data from the asynchronous messaging platform, writing the ingested data to a cache buffer, and based on a determination that a file descriptor is available, flushing the cache buffer to the file descriptor. A data file persistence system persists the aircraft data files by claiming the file descriptor, flushing the cache buffer to physical storage, and releasing the file descriptor.
Owner:TEXTRON INNOVATIONS INC

Picture storage method and apparatus, and terminal device

Methods, devices, and storage media are provided, including detecting adding a lock to an album stored in a first internal storage area corresponding to a gallery, and in response, adding the lock to the album and starting a system application corresponding to the lock, sending a picture name in the album to the system application through a file opening interface between the gallery and the system application, and where a second internal storage area corresponding to the system application does not include a picture file for the picture name, creating the picture file in the second internal storage area, obtaining a first file descriptor of the picture file, and returning the descriptor to the gallery, obtaining picture content written by the gallery into the second internal storage area based on the descriptor, disabling the file opening interface, and storing the picture content in the second internal storage area.
Owner:HUAWEI TECH CO LTD

Resource access method and device, storage medium and electronic equipment

The invention discloses a resource access method and device, a storage medium and electronic equipment. The method comprises the steps that a resource access request is received, the resource access request is used for requesting to access a target resource, and the target resource corresponds to a target proxy object; in response to the resource access request, opening a target file corresponding to the target proxy object, and obtaining a target file descriptor; obtaining a target proxy object through the target file descriptor; and accessing the target resource based on the target proxy object. According to the method and the device, when the resources of the server side are accessed, adaptation does not need to be carried out due to different operating systems.
Owner:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD

RDMA-based end-to-end multi-core data direct connection method

The invention relates to an end-to-end multi-core data direct connection method based on RDMA (Remote Direct Memory Access), which comprises the following steps: 1) an equipment enumeration step: identifying and acquiring type information and a physical DMA memory of each heterogeneous chip; 2) a chip memory binding and virtual mapping step: binding a DMA memory with a file descriptor, and constructing a unified virtual address space to realize cross-chip memory pooling management; (3) a data direct connection step: binding a file descriptor with an RDMA memory registration object, establishing an end-to-end data transmission channel, and finishing high-speed data transmission under the condition of no CPU (Central Processing Unit) participation; and 4) a resource release step: uniformly recovering equipment resources and updating state information after the task is completed. By taking the data processing unit as a core, the unified memory view is constructed, and cross-chip RDMA straight-through transmission is realized, so that CPU intervention and host memory overhead are remarkably reduced, and the overall performance of the system is improved.
Owner:西安翔腾微电子科技有限公司

Forwarding synchronization method and device based on HLS streaming media load balancing

The invention discloses an HLS streaming media load balancing-based forwarding synchronization method, which comprises the following steps of: writing into a node in a server cluster through a scheduling algorithm on the basis of an RTMP (Real Time Messaging Protocol) stream pushing access address, and obtaining a live broadcast data stream through a client on the basis of an HTTP-FLV (Hyper Text Transfer Protocol-Flash Virtualization) address; based on the real-time code stream data, driving and starting a slicer process by starting an hls instruction; obtaining first slice fragment data by waiting for a preset key frame interval based on the real-time code stream data, obtaining a slice file through a packaging module based on the first slice fragment data, and storing the slice file in a disk; a slice file storage disk successfully drives a closing file descriptor and generates a completion signal file, and the completion signal file is written into an index file of an HLS protocol in real time through a sliding window; copying the slice file and the index file to other nodes in the server cluster through a tool based on the completion signal file; and driving a deletion completion signal file based on the copy success signal, and deleting the historical slice file and the index record in real time to realize storage of the latest time sequence file in the disk.
Owner:SHANGHAI RUIHUA YIHANG DIGITAL TECHNOLOGY CO LTD +1

An intelligent file uploading method, device and system

The application discloses an intelligent file uploading method, device and system, the method is applied to a file uploading device, the file uploading device comprises a first information processing end and a second information processing end, and the method comprises the following steps: the first information processing end determines file descriptor information and target device address information of a to-be-uploaded file; the second information processing end determines a file content mapping result according to the file descriptor information, performs block reading and writing to a data cache area on the file content mapping result, performs data reading and uploading on the block data in the data cache area according to the target device address information, and obtains a file uploading result. It can be seen that the application can improve the comprehensiveness and integrity, rationality and feasibility of the file uploading mode, reads, writes and uploads according to blocks, avoids loading all large files into the memory at once, improves the efficiency, stability and accuracy of file transmission and uploading, and improves the accuracy and reliability of the uploaded files.
Owner:SHENZHEN GREEN CONNECTION TECH CO LTD

File descriptor processing method and device and readable storage medium

The invention relates to a file descriptor processing method and device and a readable storage medium, and relates to the technical field of data processing, and the method comprises the steps: recording a first execution unit for creating a target file descriptor; determining whether a second execution unit of a current operation target file descriptor is the first execution unit; and displaying error reporting information in response to the fact that the second execution unit is not the first execution unit. By using the file descriptor processing method provided by the invention, the workload of a developer can be reduced while the file descriptor is prevented from being accidentally closed.
Owner:BEIJING XIAOMI MOBILE SOFTWARE CO LTD

Methods for non-invasive API discovery, monitoring and exploitation detection in third-party processes

System and method for non-invasive monitoring and exploitation detection in third-party software processes. The system includes modules for scanning process memory to identify sensitive credentials such as application programming interface (API) keys and tokens, monitoring opened file descriptors including files, sockets, and inter-process communication channels, and analyzing network activity including domain name system (DNS) requests and encrypted connections. Runtime metadata such as privileges, environment variables and resource usage is also collected. The system correlates these signals to detect indicators of exploitation, such as unauthorized access, privilege escalation, or injected payloads, without modifying or instrumenting the monitored process. Integration with external security systems may enhance detection accuracy. Alerts and reports are generated in real-time to support incident response and forensic analysis.
Owner:WALLARM INC

Network connection thermal migration method and corresponding device

The invention provides a network connection live migration method, which comprises the following steps that: a client is connected with a server in a first network through a first socket when running a target application, and a second socket for being connected with a server migrated to a second network can be created; and replacing the first socket pointed by the file descriptor of the target application with the second socket so as to enable the file descriptor to point to the second socket, thereby realizing network connection live migration of the client. Similarly, the server can also realize network connection thermal migration by replacing sockets. Therefore, the client / server can call the second socket to communicate with the server / client in a new network through the unchanged file descriptor after network connection live migration, and the service of the application is kept to be connected at the position before migration and continuously run, so that the risk of service interruption caused by network connection live migration is reduced, and the service efficiency is improved. And the operation efficiency of the target application is improved.
Owner:HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD

A file operation tracking method, device and equipment based on eBPF

The present invention relates to the technical field of operating system kernel monitoring, and discloses a file operation tracking method, device and equipment based on eBPF. The method includes: responding to a real-time tracking request, traversing all processes, historical file descriptors opened by the processes and historical working directories corresponding to the processes, and determining the historical file descriptors and historical working directories of the current process according to the process control symbol of the current process; obtaining the relative path of the file opened in real time by the current process; determining the absolute path of the file opened in real time according to the historical file descriptors of the current process and the relative path of the file opened in real time, or according to the historical working directory of the current process and the relative path of the file opened in real time. The present invention avoids the performance loss caused by frequent data exchange between user space and kernel space, has minimal impact on business performance, has strong real-time performance, improves tracking efficiency and accuracy, collects system call parameters to track process file operations, and has more flexible monitoring functions.
Owner:北京长擎量子技术有限公司

Process monitoring method, computer program product and electronic device

The embodiments of the present application provide a process monitoring method, a computer program product, and an electronic device. The method includes: determining a first process; obtaining a file descriptor based on a process identifier of the first process; using the file descriptor to monitor the process status of the first process; when the process status of the first process is a preset state, reading the process information of the first process so that the second process obtains the process information of the first process. The technical solution provided by the embodiments of the present application can solve the problem of process status synchronization between any two processes, and the solution is relatively simple to implement; in addition, the technical solution provided by the embodiments of the present application not only monitors the exit of the process, but also monitors any state of the process, and can also read the process information of the process in each state, which is helpful for the maintenance and management of the system program.
Owner:ALIBABA CLOUD COMPUTING CO LTD +1