Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

File descriptor detection method and device, vehicle-mounted equipment and vehicle

A file descriptor and detection method technology, applied in the detection of file descriptors, in-vehicle equipment and vehicles, can solve problems such as file descriptor leakage, and achieve the effect of avoiding serious leakage

Pending Publication Date: 2021-02-09
BEIJING CO WHEELS TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, before a file descriptor (File Descriptor, FD) leak occurs, the upper limit of the number of files supported by different processes is different, because it is impossible to accurately confirm whether a file descriptor leak occurs, and it can only be detected by leaking to a certain number. leak determination
At present, when the number of files opened by the process is greater than or equal to the maximum number, such as 1024, the vehicle controller will alarm, and at this time, the file descriptor has been seriously leaked

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
  • File descriptor detection method and device, vehicle-mounted equipment and vehicle
  • File descriptor detection method and device, vehicle-mounted equipment and vehicle
  • File descriptor detection method and device, vehicle-mounted equipment and vehicle

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that, in the case of no conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.

[0049] In the following description, many specific details are set forth in order to fully understand the present disclosure, but the present disclosure can also be implemented in other ways than described here; obviously, the embodiments in the description are only some of the embodiments of the present disclosure, and Not all examples.

[0050] The on-board equipment in the vehicle can run multiple processes. Each process needs to open the corresponding file when performing a specific task. For example, when the process needs to display pictures, it can open the picture file for display. The maximum number of files that can be op...

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 embodiment of the invention relates to a file descriptor detection method and device, vehicle-mounted equipment and a vehicle. The method comprises the steps: obtaining the number of files openedby all running processes; determining the process of which the file number is greater than or equal to an alarm threshold as a target process, wherein the alarm threshold value is determined based onthe upper limit value of the number of files supported by each process and the maximum value of the number of files opened by the system supporting process; and uploading the file descriptor record information of the target process to the cloud. The alarm threshold value of the embodiment of the invention can be suitable for different processes, each process can be automatically monitored based onthe alarm threshold value, the leakage of the file descriptor is early warned in advance, and the serious leakage of the file descriptor is avoided.

Description

technical field [0001] The present disclosure relates to the technical field of vehicle control, and in particular to a file descriptor detection method, device, vehicle-mounted equipment, and vehicle. Background technique [0002] With the continuous development of vehicle technology and Internet technology, vehicles are becoming more and more intelligent and can provide multiple functions. [0003] Multiple processes can run in the on-board device in the vehicle, and the maximum number of files that can be opened by each process is limited. However, before a file descriptor (File Descriptor, FD) leak occurs, the upper limit of the number of files supported by different processes is different, because it is impossible to accurately confirm whether a file descriptor leak occurs, and it can only be detected by leaking to a certain number. Leakage is OK. At present, when the number of files opened by the process is greater than or equal to the maximum number, for example, 10...

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 Applications(China)
IPC IPC(8): G06F11/30G06F16/16H04L29/08
CPCG06F11/3051G06F11/302G06F16/16H04L67/06H04L67/10
Inventor 孔川
Owner BEIJING CO WHEELS TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products