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

File searching method, device and equipment based on embedded device

An embedded device and file retrieval technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as affecting the normal operation of embedded devices, occupying a large CPU, stack resource cache resources, etc.

Active Publication Date: 2013-04-03
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a file retrieval method based on an embedded device, so as to solve the problem that when the embedded device uses the traditional retrieval method to retrieve, a large amount of CPU, stack resources and cache resources are occupied, which affects the normal operation of the embedded device

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 searching method, device and equipment based on embedded device
  • File searching method, device and equipment based on embedded device
  • File searching method, device and equipment based on embedded device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] figure 1 It shows the implementation process of file retrieval based on embedded devices provided by the first embodiment of the present invention, and the process is described in detail as follows:

[0039] In step S101, a linked list is established, and the nodes of the linked list are used to store the absolute path of the directory to be retrieved.

[0040] The traditional file system structure is a tree structure. If the user knows the keyword of the file or directory to be retrieved and the search scope (the directory to be retrieved), the directory path of the directory to be retrieved can be directly stored in the initial retrieval node of the linked list to reduce the retrieval scope.

[0041] Preferably, the directory to be retrieved may include: a file directory of a local storage device, or a mounted directory of a storage device externally connected to the embedded device, or a remote directory of a storage device in a device communicating with the embedde...

Embodiment 2

[0075] image 3 The structure of the file retrieval device based on the embedded device provided by the second embodiment of the present invention is shown. For the convenience of description, only the parts related to the embodiment of the present invention are shown.

[0076] The file retrieval device based on embedded devices can be a software unit, a hardware unit or a combination of software and hardware running in each terminal device (such as a player, a lighting fixture, a remote control, and a data collector), or it can be used as an independent The pendant is integrated into the terminal device or runs in the application system of the terminal device.

[0077] This embodiment provides a file retrieval device based on an embedded device, which can include a linked list establishment unit 21, an initial retrieval node determination unit 28, a retrieval unit 22, a node addition unit 23, a retrieval result storage unit 24, and a node movement unit 25, wherein each The f...

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 invention is applicable to the field of embedded devices and provides a file searching method, a file searching device and file searching equipment based on an embedded device. The method comprises the following steps: through establishment of a link list, when a searching request is received, according to keywords in the searching request, taking an initial node as a searching node and beginning searching; if a new directory is found, adding a node behind an existing node in the link list; if a file or a directory matched with the keywords is searched, storing an absolute path and file information of the file or / and an absolute path and directory information of the directory in a storage list; and if the link list has a next node, moving the searching node to the next node till all the nodes are searched. By the method, the device and the equipment, the directory required to be searched is stored in the link list; and under the conditions that small CPU (central processing unit) resources, stack resources and cache resources are occupied, sequential transverse search of the embedded device on a tree-structured directory is achieved and the normal working of the embedded device is ensured.

Description

technical field [0001] The invention belongs to the field of embedded devices, and in particular relates to a file retrieval method, device and device based on embedded devices. Background technique [0002] At present, products based on embedded devices have penetrated into various fields, such as: players, lamps and so on. With the enrichment of products based on embedded devices, more and more files are stored in embedded devices; when controlling external devices through embedded devices, embedded devices need to read files of external devices to obtain data; in addition, embedded Mobile devices can be connected to other devices wirelessly or wiredly and retrieve data after file retrieval. [0003] When the embedded device retrieves internal files or external files, due to the limited system resources of the microprocessor in the embedded device, especially the CPU, stack resources and cache resources; if the file system is too large and there are too many subdirectorie...

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
IPC IPC(8): G06F17/30
Inventor 陈勇
Owner GUANGDONG OPPO MOBILE TELECOMM CORP 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