CN112699253A - Source code positioning method, system, medium and device - Google Patents
Source code positioning method, system, medium and device Download PDFInfo
- Publication number
- CN112699253A CN112699253A CN201911012598.5A CN201911012598A CN112699253A CN 112699253 A CN112699253 A CN 112699253A CN 201911012598 A CN201911012598 A CN 201911012598A CN 112699253 A CN112699253 A CN 112699253A
- Authority
- CN
- China
- Prior art keywords
- source code
- keyword information
- search
- file
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000004590 computer program Methods 0.000 claims description 13
- 230000014509 gene expression Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/38—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Library & Information Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a source code positioning method, a system, a medium and a device, wherein the method comprises the following steps: acquiring a record related to a source code to be positioned in a database, wherein the record comprises historical position information and keyword information of a source code file in which the source code to be positioned is located; and searching the source code to be positioned by a method of gradually enlarging the search range on the basis of the historical position information and the keyword information in the source code file where the source code to be positioned is located. The source code positioning method, the source code positioning system, the source code positioning medium and the source code positioning device are used for conveniently positioning the source code without updating the database when the source code positioning is not accurate through a code positioning program or the record of the database can be positioned only after the source code file is changed and the database is not required to be updated.
Description
Technical Field
The present invention relates to the field of source code positioning technologies, and in particular, to a method, a system, a medium, and an apparatus for source code positioning.
Background
Under the UNIX environment, the problems that source code positioning is not accurate through a code positioning program or source code files are changed, so that records of a database need to be updated to perform source code positioning sometimes occur. A simple solution is proposed to the above two problems.
Therefore, it is desirable to solve the problem that the source code positioning by the code positioning program is not accurate, or the source code file is changed, so that the records of the database need to be updated to perform the source code positioning again.
Disclosure of Invention
In view of the above drawbacks of the prior art, an object of the present invention is to provide a method, a system, a medium, and an apparatus for locating a source code, which are used to solve the problem in the prior art that source code locating is not accurate through a code locating program, or source code files are changed, so that records of a database need to be updated before source code locating can be performed.
To achieve the above and other related objects, the present invention provides a source code positioning method, including the following steps: acquiring a record related to a source code to be positioned in a database, wherein the record comprises historical position information and keyword information of a source code file in which the source code to be positioned is located; and searching the source code to be positioned by a method of gradually enlarging the search range on the basis of the historical position information and the keyword information in the source code file where the source code to be positioned is located.
In an embodiment of the present invention, the method for gradually expanding the search range includes: determining the historical position of the source code to be positioned in the source code file according to the historical position information of the source code to be positioned; expanding the historical position to a first preset range by taking the historical position as a center to search the keyword information so as to find the source code to be positioned; when the source code to be positioned is not found by searching the keyword information in a first preset range, expanding the history position to a second preset range by taking the history position as a center to search the keyword information so as to find the source code to be positioned; and when the source code to be positioned is not found by searching the keyword information in the second preset range, expanding the history position to a third preset range by taking the history position as a center to search the keyword information so as to find the source code to be positioned.
In an embodiment of the present invention, the method for gradually expanding the search range searches for the keyword information of the source code to be located in the source code file based on a regular matching method.
In an embodiment of the present invention, after the source code file finds the source code to be located, the existing location information of the source code file where the source code file is located is recorded in a database.
To achieve the above object, the present invention further provides a source code positioning system, including: acquiring a recording module and a searching module; the acquisition recording module is used for acquiring records of the source code to be positioned in a database, wherein the records comprise historical position information and keyword information of a source code file in which the source code to be positioned is located;
the search module is used for searching the source code to be positioned through a method of gradually enlarging a search range on the basis of the historical position information and the keyword information in the source code file where the source code to be positioned is located.
In an embodiment of the present invention, the search module is further configured to: determining the historical position of the source code to be positioned in the source code file according to the historical position information of the source code to be positioned; expanding the historical position to a first preset range by taking the historical position as a center to search the keyword information so as to find the source code to be positioned; when the source code to be positioned is not found by searching the keyword information in a first preset range, expanding the history position to a second preset range by taking the history position as a center to search the keyword information so as to find the source code to be positioned; and when the source code to be positioned is not found by searching the keyword information in the second preset range, expanding the history position to a third preset range by taking the history position as a center to search the keyword information so as to find the source code to be positioned.
In an embodiment of the present invention, the method for gradually expanding the search range searches for the keyword information of the source code to be located in the source code file based on a regular matching method.
In an embodiment of the present invention, the system further includes a recording module, where the recording module is configured to record, in a database, existing location information of the source code file where the source code file is located after the source code file finds the source code to be located.
To achieve the above object, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which when executed by a processor, implements any of the above-mentioned source code locating methods.
In order to achieve the above object, the present invention further provides a source code positioning apparatus, including: a processor and a memory; the memory is used for storing a computer program; the processor is connected to the memory and is configured to execute the computer program stored in the memory, so as to enable the source code positioning apparatus to execute any of the above-mentioned source code positioning methods.
As described above, the method, system, medium and apparatus for locating a source code according to the present invention have the following advantages: the method and the device are used for conveniently positioning the source code under the condition that the database does not need to be updated when the source code positioning is not accurate through the code positioning program or the source code file is changed to cause that the record of the database needs to be updated for positioning again.
Drawings
FIG. 1a is a flow chart illustrating a source code locating method according to an embodiment of the present invention;
FIG. 1b is a flow chart of a source code locating method according to another embodiment of the present invention;
FIG. 1c is a flowchart illustrating a source code locating method according to another embodiment of the present invention;
FIG. 2 is a schematic diagram of a source code positioning system according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a source code positioning apparatus according to an embodiment of the invention.
Description of the element reference numerals
21 acquisition recording module
22 search module
31 processor
32 memory
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, so that the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, the type, quantity and proportion of the components in actual implementation can be changed freely, and the layout of the components can be more complicated.
The source code positioning method, the system, the medium and the device are used for conveniently positioning the source code under the condition that the database does not need to be updated when the source code positioning is not accurate through a code positioning program or the record of the database can be positioned only after the source code file is changed.
As shown in fig. 1, in an embodiment, the source code positioning method of the present invention includes the following steps:
step S11, obtaining a record related to the source code to be positioned in the database, wherein the record comprises the historical position information and the keyword information of the source code file in which the source code to be positioned is located.
In particular, the source code locating method is used in the present application because there is no way to directly find the source code to be located based on the original record of the source code to be located.
Specifically, a record in the database about the source code to be located is obtained by the code location program. Specifically, the code location procedure includes, but is not limited to: vim and emacs. Vim is a well-known powerful, highly customizable text editor similar to Vi, with many features improved and added on the basis of Vi. VIM is free software. Emacs, a well-known integrated development environment and text editor.
For example, the record of the source code to be located includes the following:
code library format table
Specifically, the record of the source code to be positioned in the database is the record of the file path of the code library format table, and the historical position information and the keyword information of the source code file where the source code to be positioned is located can be acquired through the file path. Specifically, the historical position information is a line number, and the keyword information is a file offset number.
Specifically, the historical location information may also be specific line number information of the source code to be located in the source code file, and the keyword information includes, but is not limited to, a line number name, a variable name, a structure, and a language of the source code to be located. The line number name refers to the specific line number of the source code to be positioned; the variable name refers to a variable name of the source code to be positioned, specifically, the variable name should be capable of describing information represented by the variable, the variable name is represented by a lower case letter, and the middle of the variable name is divided by an underline; the structure body is a data set formed by a series of data with the same type or different types, and is also called a structure; the language to which the subject language refers includes, but is not limited to: language C, language C + +, java, Python.
Step S12, based on the historical location information and the keyword information, finding the source code to be located by gradually enlarging the search range in the source code file where the source code to be located is located.
Specifically, the method for gradually expanding the search range includes: determining the historical position of the source code to be positioned in the source code file according to the historical position information of the source code to be positioned; expanding the historical position to a first preset range by taking the historical position as a center to search the keyword information so as to find the source code to be positioned; when the source code to be positioned is not found by searching the keyword information in a first preset range, expanding the history position to a second preset range by taking the history position as a center to search the keyword information so as to find the source code to be positioned; and when the source code to be positioned is not found by searching the keyword information in the second preset range, expanding the history position to a third preset range by taking the history position as a center to search the keyword information so as to find the source code to be positioned. Specifically, if the source code file is large, the search for the keyword information may be performed by expanding to a fourth preset range with the historical position as a center to find the source code to be located when the search for the keyword information in a third preset range does not find the source code to be located. If the source code is not found, the historical position is gradually used as the center to be expanded to a fifth preset range, a sixth preset range and the like until the source code to be located is found. For example, as shown in fig. 1b, determining the historical position of the source code to be located in the source code file according to the historical position information of the source code to be located; expanding a search range to a first preset range by taking the historical position as a center to search the keyword information so as to find the source code to be positioned; when the source code to be positioned is not found by searching the keyword information in a first preset range, expanding a search range to a second preset range by taking the historical position as a center to search the keyword information so as to find the source code to be positioned; and when the source code to be positioned is not found by searching the keyword information in a second preset range, expanding a search range to a full file of the source code file by taking the historical position as a center to search the keyword information so as to find the source code to be positioned. For another example, the historical position of the source code to be positioned in the source code file is determined according to the historical position information of the source code to be positioned; expanding a search range to a first preset range of five upper and lower behaviors of the historical position by taking the historical position as a center to search the keyword information so as to find the source code to be positioned; when the source code to be positioned is not found by searching the keyword information in a first preset range, expanding a search range to a second preset range from the upper twenty rows of the history position by taking the history position as a center to search the keyword information so as to find the source code to be positioned; and when the source code to be positioned is not found by searching the keyword information in a second preset range, expanding a search range to a full file of the source code file by taking the historical position as a center to search the keyword information so as to find the source code to be positioned. Thus, source code positioning is facilitated without updating the database. Therefore, the method for gradually expanding the search range is progressive, so that the full file of the source code file is not required to be searched at a time, and higher search efficiency can be achieved.
Specifically, the method for gradually expanding the search range searches the keyword information of the source code to be positioned in the source code file based on a regular matching method. Specifically, the regular matching is also called: regular expressions, also known as Regular expressions, Regular expressions (English: Regular Expression, often abbreviated in code as regex, regexp or RE), a concept of computer science. Regular expressions use a single string to describe, match, a series of strings that conform to a certain syntactic rule. In many text editors, regular expressions are typically used to retrieve, replace, etc. text that conforms to a certain pattern.
Specifically, searching keyword information of the source code to be positioned in the source code file based on grep. grep is used to find qualified strings in the file. The grep is used for searching for a file with content containing a specified template style, and if the content of a certain file is found to conform to the specified template style, the preset grep displays the column containing the template style. If no file name is specified, or a given file name is-then grep reads the data from the standard input device.
Specifically, after the source code file finds the source code to be located, the existing position information of the source code to be located in the source code file is recorded in a database. Thus, when the source code to be located is searched next time, the steps S11 and S12 are not needed, and the source code to be located can be found in the source code file directly based on the record, i.e. directly located to the correct place.
Specifically, as shown in fig. 1c, the source code locating method is used in the present application because there is no way to directly find the source code to be located based on the original record of the source code to be located (starting when the original system code locating software fails to locate). Acquiring a record (loading code database) about a source code to be positioned in a database, wherein the record comprises historical position information and keyword information of a source code file in which the source code to be positioned is located (reading a cursor to acquire a code keyword, and searching code data according to the keyword to acquire a target file name and a line number (namely the keyword information and the line number name of the source code to be positioned)). Determining the historical position of the source code to be positioned in the source code file according to the historical position information of the source code to be positioned; expanding a search range to a first preset range by taking the historical position (the row) as a center to search the keyword information so as to find the source code to be positioned; when the source code to be positioned is not found by searching the keyword information in a first preset range, expanding a search range to a second preset range by taking the historical position as a center to search the keyword information so as to find the source code to be positioned; and when the source code to be positioned is not found by searching the keyword information in a second preset range, expanding a search range to a full file of the source code file by taking the historical position as a center to search the keyword information so as to find the source code to be positioned.
As shown in fig. 2, in an embodiment, the source code positioning system of the present invention, the acquisition recording module 21 and the search module 22; the obtaining recording module 21 is configured to obtain a record of a source code to be located in a database, where the record includes historical position information and keyword information of a source code file in which the source code to be located is located; the search module 22 is configured to find the source code to be located by gradually enlarging a search range in the source code file where the source code to be located is located based on the historical location information and the keyword information.
The search module 22 is further configured to: determining the historical position of the source code to be positioned in the source code file according to the historical position information of the source code to be positioned; expanding the historical position to a first preset range by taking the historical position as a center to search the keyword information so as to find the source code to be positioned; when the source code to be positioned is not found by searching the keyword information in a first preset range, expanding the history position to a second preset range by taking the history position as a center to search the keyword information so as to find the source code to be positioned; and when the source code to be positioned is not found by searching the keyword information in the second preset range, expanding the history position to a third preset range by taking the history position as a center to search the keyword information so as to find the source code to be positioned.
Specifically, the method for gradually expanding the search range searches the keyword information of the source code to be positioned in the source code file based on a regular matching method.
The recording module 21 is configured to record, in a database, the existing position information of the source code file where the source code file is located, of the source code to be located after the source code file finds the source code to be located.
It should be noted that the structures and principles of the obtaining recording module 21 and the searching module 22 correspond to the steps in the source code positioning method one to one, and therefore are not described herein again.
It should be noted that the division of the modules of the above system is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the x module may be a processing element that is set up separately, or may be implemented by being integrated in a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and the function of the x module may be called and executed by a processing element of the apparatus. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
In an embodiment of the present invention, the present invention further includes a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement any of the above-mentioned source code positioning methods.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
As shown in fig. 3, in an embodiment, the source code positioning apparatus of the present invention includes: a processor 31 and a memory 32; the memory 32 is for storing a computer program; the processor 31 is connected to the memory 32, and is configured to execute the computer program stored in the memory 32, so as to make the source code positioning apparatus execute any one of the source code positioning methods.
Specifically, the memory 32 includes: various media that can store program codes, such as ROM, RAM, magnetic disk, U-disk, memory card, or optical disk.
Preferably, the Processor 31 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components.
In summary, the source code positioning method, system, medium and apparatus of the present invention are used to facilitate source code positioning without updating the database when the source code positioning performed by the code positioning program is inaccurate or the records of the database need to be updated to perform positioning after the source code file is changed. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.
Claims (10)
1. A method for locating a source code, comprising the steps of:
acquiring a record related to a source code to be positioned in a database, wherein the record comprises historical position information and keyword information of a source code file in which the source code to be positioned is located;
and searching the source code to be positioned by a method of gradually enlarging the search range on the basis of the historical position information and the keyword information in the source code file where the source code to be positioned is located.
2. The method of claim 1, wherein the step-by-step expanding the search range comprises:
determining the historical position of the source code to be positioned in the source code file according to the historical position information of the source code to be positioned;
expanding the historical position to a first preset range by taking the historical position as a center to search the keyword information so as to find the source code to be positioned;
when the source code to be positioned is not found by searching the keyword information in a first preset range, expanding the history position to a second preset range by taking the history position as a center to search the keyword information so as to find the source code to be positioned;
and when the source code to be positioned is not found by searching the keyword information in the second preset range, expanding the history position to a third preset range by taking the history position as a center to search the keyword information so as to find the source code to be positioned.
3. The method for locating source code according to claim 1, wherein the method for gradually expanding the search range searches the keyword information of the source code to be located in the source code file based on a regular matching method.
4. The method for locating source code according to claim 1, wherein after the source code file finds the source code to be located, existing position information of the source code to be located in the source code file is recorded in a database.
5. A source code location system, comprising: acquiring a recording module and a searching module;
the acquisition recording module is used for acquiring records of the source code to be positioned in a database, wherein the records comprise historical position information and keyword information of a source code file in which the source code to be positioned is located;
the search module is used for searching the source code to be positioned through a method of gradually enlarging a search range on the basis of the historical position information and the keyword information in the source code file where the source code to be positioned is located.
6. The source code location system of claim 5, wherein the search module is further configured to:
determining the historical position of the source code to be positioned in the source code file according to the historical position information of the source code to be positioned;
expanding the historical position to a first preset range by taking the historical position as a center to search the keyword information so as to find the source code to be positioned;
when the source code to be positioned is not found by searching the keyword information in a first preset range, expanding the history position to a second preset range by taking the history position as a center to search the keyword information so as to find the source code to be positioned;
and when the source code to be positioned is not found by searching the keyword information in the second preset range, expanding the history position to a third preset range by taking the history position as a center to search the keyword information so as to find the source code to be positioned.
7. The system according to claim 5, wherein the method for gradually expanding the search range searches the keyword information of the source code to be located in the source code file based on a regular matching method.
8. The source code positioning system according to claim 5, further comprising a recording module, configured to record, in a database, existing location information of the source code file where the source code file is located, after the source code file finds the source code to be positioned.
9. A computer-readable storage medium, on which a computer program is stored, the computer program being executable by a processor for implementing the source code location method of any one of claims 1 to 4.
10. A source code locating apparatus, comprising: a processor and a memory;
the memory is used for storing a computer program;
the processor is coupled to the memory and configured to execute the computer program stored in the memory to cause the source code location apparatus to perform the source code location method of any of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911012598.5A CN112699253B (en) | 2019-10-23 | 2019-10-23 | Source code positioning method, system, medium and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911012598.5A CN112699253B (en) | 2019-10-23 | 2019-10-23 | Source code positioning method, system, medium and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112699253A true CN112699253A (en) | 2021-04-23 |
CN112699253B CN112699253B (en) | 2024-10-01 |
Family
ID=75505220
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911012598.5A Active CN112699253B (en) | 2019-10-23 | 2019-10-23 | Source code positioning method, system, medium and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112699253B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010004509A (en) * | 1999-06-29 | 2001-01-15 | 윤종용 | Searching method for programmed source codes |
US20020010682A1 (en) * | 2000-07-20 | 2002-01-24 | Johnson Rodney D. | Information archival and retrieval system for internetworked computers |
CN103744788A (en) * | 2014-01-22 | 2014-04-23 | 扬州大学 | Feature localization method based on multi-source software data analysis |
US20140173561A1 (en) * | 2012-12-13 | 2014-06-19 | Microsoft Corporation | Association of metadata with source code and applications and services premised thereon |
US20190205125A1 (en) * | 2017-12-28 | 2019-07-04 | Semmle Limited | Determining provenance of files in source code projects |
CN110018983A (en) * | 2017-09-27 | 2019-07-16 | 华为技术有限公司 | A kind of metadata query method and device |
-
2019
- 2019-10-23 CN CN201911012598.5A patent/CN112699253B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010004509A (en) * | 1999-06-29 | 2001-01-15 | 윤종용 | Searching method for programmed source codes |
US20020010682A1 (en) * | 2000-07-20 | 2002-01-24 | Johnson Rodney D. | Information archival and retrieval system for internetworked computers |
US20140173561A1 (en) * | 2012-12-13 | 2014-06-19 | Microsoft Corporation | Association of metadata with source code and applications and services premised thereon |
CN103744788A (en) * | 2014-01-22 | 2014-04-23 | 扬州大学 | Feature localization method based on multi-source software data analysis |
CN110018983A (en) * | 2017-09-27 | 2019-07-16 | 华为技术有限公司 | A kind of metadata query method and device |
US20190205125A1 (en) * | 2017-12-28 | 2019-07-04 | Semmle Limited | Determining provenance of files in source code projects |
Also Published As
Publication number | Publication date |
---|---|
CN112699253B (en) | 2024-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112559554B (en) | Query statement optimization method and device | |
KR20090048624A (en) | Dynamic fragment mapping | |
US11222067B2 (en) | Multi-index method and apparatus, cloud system and computer-readable storage medium | |
US20140082021A1 (en) | Hierarchical ordering of strings | |
CN114491172B (en) | Rapid retrieval method, device and equipment for tree structure nodes and storage medium | |
US8862556B2 (en) | Difference analysis in file sub-regions | |
US20240256613A1 (en) | Data processing method and apparatus, readable storage medium, and electronic device | |
CN110704573B (en) | Catalog storage method, catalog storage device, computer equipment and storage medium | |
CN111813744A (en) | File searching method, device, equipment and storage medium | |
CN114840487A (en) | Metadata management method and device for distributed file system | |
CN112612905B (en) | Data processing method, system, computer and readable storage medium based on elastic search | |
CN116303625B (en) | Data query method and device, storage medium and electronic equipment | |
CN116150093B (en) | Method for realizing object storage enumeration of objects and electronic equipment | |
US7302377B1 (en) | Accelerated event queue for logic simulation | |
CN112699253B (en) | Source code positioning method, system, medium and device | |
CN116610700A (en) | Query statement detection method and device and storage medium | |
CN110019295B (en) | Database retrieval method, device, system and storage medium | |
CN116010419A (en) | Method and device for creating unique index and optimizing logic deletion | |
CN111666278A (en) | Data storage method, data retrieval method, electronic device and storage medium | |
KR101828466B1 (en) | Method and apparatus for providing an object-based storage interface on the storage device based on file system | |
CN113632072A (en) | Scalable data skipping | |
CN109033201A (en) | A kind of acquisition methods, device and the electronic equipment of file difference data | |
CN115408491B (en) | Text retrieval method and system for historical data | |
KR20030032499A (en) | A method for matching subsequence based on time-warping in sequence databases | |
CN116521734A (en) | Data query method, device, medium and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |