CN115033266A - IDE development system based on Loongson instruction set - Google Patents

IDE development system based on Loongson instruction set Download PDF

Info

Publication number
CN115033266A
CN115033266A CN202210964754.3A CN202210964754A CN115033266A CN 115033266 A CN115033266 A CN 115033266A CN 202210964754 A CN202210964754 A CN 202210964754A CN 115033266 A CN115033266 A CN 115033266A
Authority
CN
China
Prior art keywords
file
engineering
ide
code
identification code
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.)
Pending
Application number
CN202210964754.3A
Other languages
Chinese (zh)
Inventor
龙小昂
胡丽华
朱丹
宋阳
吴耿金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN HUALONG XUNDA INFORMATION TECHNOLOGY CO LTD
Original Assignee
SHENZHEN HUALONG XUNDA INFORMATION TECHNOLOGY CO LTD
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by SHENZHEN HUALONG XUNDA INFORMATION TECHNOLOGY CO LTD filed Critical SHENZHEN HUALONG XUNDA INFORMATION TECHNOLOGY CO LTD
Priority to CN202210964754.3A priority Critical patent/CN115033266A/en
Publication of CN115033266A publication Critical patent/CN115033266A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides an IDE development system based on Loongson instruction set, which relates to the technical field of software program development and comprises a development system consisting of an engineering management module, a code editing module, a program compiling module and a program monitoring module, wherein a corresponding identification code is automatically generated when an engineering file is added or newly built, a file loader detects and acquires the full path name of the engineering file, judges whether to select and execute a corresponding command for the existing engineering file according to the identification code, detects whether the identification code is the same as the identification code of the currently-in-progress communication file, actively destroys the communication file and a file loading process if the identification code is the same as the identification code of the currently-in-progress communication file, and actively destroys duplicate files by the monitoring and the automatic destruction of IDE, thereby being convenient for cleaning the whole file environment and simultaneously being convenient for monitoring and protecting the existing file and the existing file so as to realize the function of the cooperative operation of a plurality of hosts, and the engineering cross-host efficient migration function enables the integrated development work to be more convenient and fast, and the development work efficiency is improved.

Description

IDE development system based on Loongson instruction set
Technical Field
The invention relates to the technical field of software program development, in particular to an IDE development system based on a Loongson instruction set.
Background
Receiving an engineering structure mode switching command according to an engineering structure adaptation method of an MCU integrated development environment disclosed by Chinese patent No. CN113094033A, wherein the engineering structure mode comprises a logic mapping mode and an entity package management mode; switching the mode of the engineering structure according to the mode switching command, and updating a mode identifier, wherein the mode identifier is stored in an engineering file and is used for distinguishing the engineering structure mode; and executing commands of adding, deleting and moving resources in the switched engineering structure mode, wherein the resources comprise a logic directory, an entity directory and a file. The invention can flexibly switch two engineering structures according to the application scene under the condition of not influencing the compiling, programming and debugging of the program, thereby facilitating the resource management and the export of the engineering package; the use habits of different users are compatible, the degree of freedom is expanded, and the use is more convenient and efficient.
An integrated development environment testing device, method and system disclosed according to the Chinese patent number CN104731566A belong to the field of software testing. The device comprises: the system comprises an acquisition module, a test module and a control module, wherein the acquisition module is used for acquiring a method name, a class name, a plug-in identification, a parameter type and a parameter value of a method to be executed, and the method to be executed is used for executing at least one test action; the processing module is used for generating test request information according to the method name, the class name, the plug-in identification, the parameter type and the parameter value of the method to be executed, which are acquired by the acquisition module, wherein the test request information comprises the method name, the class name, the plug-in identification, the parameter type and the parameter value of the method to be executed; and the sending module is used for sending the test request information generated by the processing module to an integrated development environment platform so that the integrated development environment platform executes the method to be executed according to the test request information. The device is used for carrying out integrated development environment test, is convenient to maintain, is simple to debug and has high development efficiency.
In the integrated development environment control development process in the patent document, the following problems exist:
the problem one is that the engineering files generated during project development cannot be migrated across hosts, which is not beneficial to simultaneous real-time synchronous development and use of projects by multiple people, so that the integrated development project becomes complex and is not beneficial to operation;
the second problem is that when the project file is opened in progress, only a monitoring function exists for the communication file, and an emergency control command cannot be actively or indirectly executed for monitoring, so that the monitoring and the protection of the communication file are not facilitated;
the third problem is that when the development system is maintained and constructed in the project file, the code editing and compiling function is simple, the function of code autonomous generation or auxiliary code generation cannot be realized, query cannot be performed on the repetition degree of the code, and the compiling time of the whole project file is easily increased.
Disclosure of Invention
Solves the technical problem
Aiming at the defects of the prior art, the invention provides an IDE development system based on a Loongson instruction set, which solves the following problems:
1. the project management files and the project files are distinguished and then subjected to file identification and IDE identification, so that repeated operation of multiple hosts of the project management files is avoided, different processes are controlled by the multiple hosts at the same time, and repeated operation is prevented;
2. the communication files in execution are autonomously monitored, and repeated communication files are automatically destroyed, so that a great amount of mixed files are prevented, and the existing files are conveniently monitored and protected;
3. the added code is automatically generated, so that the code editing time is saved, the efficiency is improved, the method can be used for similarity query during code writing, and the writing quality is improved.
Technical scheme
In order to realize the purpose, the invention is realized by the following technical scheme: an IDE development system based on Loongson instruction set comprises a development system consisting of an engineering management module, a code editing module, a program compiling module and a program monitoring module, wherein the engineering management module in the development system comprises the following file processing steps:
sp 1: the method comprises the steps of creating an engineering file, wherein the engineering file is created by an appointed directory in an engineering management module and is provided with a specific suffix name, and the engineering file comprises all project source codes in a project, and relative paths, state information and unique identification codes of the project source code storage addresses;
sp 2: loading an engineering file, wherein the engineering file is loaded as a double-click engineering file, a file loader in the engineering management module acquires a full path name of the engineering file, judges whether the engineering file is the engineering file or not through a suffix name, and if the engineering file is confirmed, the file loader reads registry information to acquire an IDE installation position;
sp 3: loading an engineering set, wherein the loading of the engineering set comprises the steps of creating an IDE process, setting a directory where an engineering file is located as an active working space, and loading all source codes and resources in the engineering file through a relative path stored by the engineering file;
sp 4: inquiring the same-name IDE active process, including inquiring the IDM same-name process, wherein the inquiry of the same-name IDE active process is that a file loader searches whether the active process which is the same as the opened IDE process exists in a database in an engineering management module, if so, a communication file is created in a directory where an existing IDE executable file exists, the file loader reads the unique identification code and writes the unique identification code into the communication file, the IDE is maximized and set to a top-layer window, and a circulation waiting mode is entered; if not, finding the active process with the same name as the IDE, and directly executing Sp 3;
sp 5: the method comprises the steps that an IDE monitoring task is executed, the IDE monitoring task is executed by detecting a communication file through an IDE monitoring task plug-in a program monitoring module, when the communication file is detected, a unique identification code in the communication file is read and compared with a unique identification code of a currently active engineering file, and if the unique identification code and the unique identification code are the same, the communication file and a file loader process are initiatively destroyed; if the two are different, prompting to save the currently active engineering file and closing the IDE;
sp 6: and detecting a file loader, namely detecting the IDE process by the file loader, exiting the circular waiting mode if the IDE process is detected to be closed, and executing the sub-step of loading the engineering set.
Preferably, the code editing module comprises grammar brightening, intelligent prompting and format alignment, the grammar brightening is used for endowing different colors to different types of keywords in the source codes for display, the intelligent prompting lists matched variable names, function names and keywords through real-time analysis input for a user to select, and the format alignment is to align the source codes in a uniform indentation mode.
Preferably, the program compiling module comprises an autonomous generation and comparison compiling process of the code, the autonomous generation of the code comprises a basic language representation and a programming language representation, the programming language representation is specifically an identifier sequence, an abstract syntax tree and a control data flow chart, and the comparison compiling process comprises state comparison of a current file and an engineering file, starting the compiling process by taking a current file name as a parameter, modifying a source code file with a compiling error and clearing a temporary file.
Preferably, the program monitoring module is configured to select variables to be monitored from all variable views of the IDE, establish a connection with a runtime through a specific communication protocol, and update values of the selected variables in the IDE in real time.
Preferably, the project file in the project management module has a suffix name of. jic, the project file has a suffix name of. jde, and the default open mode of the project file is bound to the file loader specified under the installation path.
Preferably, the unique identification codes of different project files in the project management module are different, and the four last digits of the unique identification codes are arranged according to the sequence of 1-9999.
Advantageous effects
The invention provides an IDE development system based on a Loongson instruction set. The method has the following beneficial effects:
1. the invention adopts the technical scheme that the corresponding identification code is automatically generated when the engineering file is added or newly built, the file loader detects and acquires the full path name of the engineering file, whether the corresponding command is selected to be executed for the existing engineering file is judged according to the identification code, if the communication file is established for the IDE installation position of the existing file, the IDE installation position of the file can be directly acquired, the communication file is operated, if the communication file is a new file, the communication file is edited and compiled after the corresponding engineering file loading sub-step is executed after the classification and storage according to the working content, and therefore, the function of the cooperative operation of a plurality of hosts is realized, and the engineering cross-host efficient migration function is realized, so that the integrated development work is more convenient, the time cost is reduced, and the development work efficiency is improved.
2. The invention adopts the whole development system to detect the communication file generated in the process of running in real time, detects according to whether the identification code in the communication file is the same as the identification code of the communication file in the process of running currently, if so, actively destroys the communication file and the file loading process, and if not, prompts to store the file in the current activity and closes the monitoring function of the development system.
3. The invention adopts the IDE to add the code self-generating module when compiling the codes of the project files or the communication files, and carries out the auxiliary generation in the file compiling process through the basic language representation and the programming language representation set in the code self-generating module, so that technicians do not need to compile in full text when editing the codes, the problem that the existing code generation only supports basic writing is changed, and simultaneously, the similarity comparison between new codes and data code files can be carried out through the code self-generating module, thereby being convenient for the technicians to carry out the rapid compiling on the contents of the files, saving the compiling time, improving the efficiency and the compiling quality and reducing the repetition rate.
Drawings
FIG. 1 is a central flow diagram of the present invention;
FIG. 2 is a main flow chart of the process of the project management document according to the present invention;
FIG. 3 is a flowchart of the loading identification of project files of the present invention;
FIG. 4 is a flowchart of the IDE monitoring task of the present invention;
FIG. 5 is a plan view of the development system components of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the concrete content of the following embodiments, all description logics are built in the basic logics of the drawings, and the input 1 representation and the output 1 representation in the drawings 1, 3 and 4 are connected, and the flows of the two are communicated with each other; the input 2 is connected with the output 2, and the flows of the input 2 and the output 2 are communicated; the input 3 represents and is connected with the output 3, and the flows of the input 3 and the output 3 are mutually communicated; the input 4 is connected with the output 4, and the flow paths of the two are communicated with each other. And by analogy, the above meanings are represented, and the judgment of the connecting line also represents the judgment logic of the connecting line.
The first embodiment is as follows:
as shown in fig. 1-5, an IDE development system based on a loongson instruction set includes a development system composed of an engineering management module, a code editing module, a program compiling module, and a program monitoring module, and the file processing steps in the engineering management module in the development system are as follows:
sp 1: the method comprises the steps of creating an engineering file, wherein the engineering file is created by an appointed directory in an engineering management module and is provided with a specific suffix name, and the engineering file comprises all project source codes in a project, and relative paths, state information and unique identification codes of the project source code storage addresses;
sp 2: loading an engineering file, wherein the engineering file is loaded as a double-click engineering file, a file loader in the engineering management module acquires a full path name of the engineering file, judges whether the engineering file is the engineering file or not through a suffix name, and if the engineering file is confirmed, the file loader reads registry information to acquire an IDE installation position;
sp 3: loading an engineering set, wherein the loading of the engineering set comprises the steps of creating an IDE process, setting a directory where an engineering file is located as an active working space, and loading all source codes and resources in the engineering file through a relative path stored by the engineering file;
sp 4: the method comprises the steps that a homonymous IDE active process is inquired, wherein the homonymous IDE active process is that a file loader searches whether an active process which is homonymous with an opened IDE exists in a database in an engineering management module, if the active process exists, a communication file is established in a directory where an existing IDE executable file exists, the file loader reads a unique identification code and writes the unique identification code into the communication file, the IDE is maximized and is set to a top-layer window, a circulation waiting mode is entered, and if the file loader does not search the active process which is homonymous with the IDE, the step of loading an engineering set is directly executed;
sp 5: the execution of the IDE monitoring task is to detect the communication file through an IDE monitoring task plug-in a program monitoring module, when the communication file is detected, the unique identification code in the communication file is read and compared with the unique identification code of the currently active engineering file, and if the unique identification code and the unique identification code are the same, the communication file and the file loader process are actively destroyed; if the two are different, prompting to save the currently active engineering file and closing the IDE;
sp 6: and detecting a file loader, namely detecting the IDE process by the file loader, and exiting the loop waiting mode and executing the sub-step of loading the engineering set if the IDE process is detected to be closed.
The code editing module comprises grammar brightening, intelligent prompting and format alignment, the grammar brightening is used for endowing different colors to different types of keywords in the source codes for display, technical personnel can conveniently and quickly find the keywords in the code editing process, the intelligent prompting lists matched variable names, function names and keywords through real-time analysis input for selection of a user, the technical personnel can realize intelligent input in the code editing process, intelligent association of code editing is realized through the intelligent prompting, searching time when the technical personnel input and edit is reduced, time of the whole editing process is reduced, editing efficiency is improved, the format alignment is that the source codes are aligned in a uniform indentation mode, the whole source codes are more convenient to read, the code editing module provides the technical personnel with corresponding communication files for realizing editing, and a database containing the source codes is arranged inside, the intelligent development system provides a comparison basis for code editing in a communication file, and meanwhile, intelligent input is independently learned according to the form habit of a source code, so that the intelligent input is more fit with the input association of technicians, the whole development system is completed in a Loongson instruction set in a Loongson instruction system, the Loongson instruction set is adopted to carry out the basic architecture of the whole integrated development environment, the performance and the smoothness of operation of the whole development system are improved, and the whole development system is more stable.
The program compiling module comprises a code autonomous generation and comparison compiling process, the code autonomous generation comprises a basic language representation and a programming language representation, the programming language representation is specifically an identifier sequence, an abstract syntax tree and a control data flow chart, the code autonomous generation is specifically that technicians compile codes in a communication file, prefixes can be input through the identifier sequence in the compiling process, incomplete identifiers are complemented, complementing objects comprise method names, variable names, parameter names and the like, the identifier complementing can adopt an API method to call the complementing, a ". quadrature." calling method or variable is input after class names, a complete template filled with default parameters is complemented, the technicians can carry out secondary modification on complemented information, the code autonomous complementing comprises but is not limited to a keyword complementing mode, a code segment complementing mode and the like, and the code autonomous complementing is based on data information provided by a code library, the programming language characterization transforms the source code into comparable structured information, such as an abstract syntax tree or program dependency graph that extracts the source code, or establishing a statistical language model for the source code, which is different characterization modes of the source code, and then in the links of model learning and similar comparison, the computer learns the code characteristics in the code corpus, and comparing the context code at the completion position with other code segments, predicting and recommending the code segments with high similarity, wherein different code characterization modes often adopt different similarity and comparison algorithms, such as vector space distance would be employed for the identifier sequence, tree matching techniques would be employed for the abstract syntax tree, etc., in the filtering and integrating link of the completion result, the intelligent code completion method can complete the completion according to the type definition and the grammar rule, filtering, screening, integrating and de-duplicating the completion results, and filtering out the completion results which do not accord with the grammar rule. Finally, in the link of presenting the code completion result, the final recommendation result obtained in the link is returned to the technical staff for selection in a proper way, for example, a candidate window is popped up for the developer to select through a keyboard, meanwhile, the technical staff can realize the comparison with the existing code database through the code self-generation of the compiled codes, thereby being convenient for inquiring the similarity and the repetition rate and improving the overall quality, the IDE is adopted to add a code self-generation module when compiling the codes of the project files or the communication files, the auxiliary generation in the file compiling process is carried out through the basic language representation and the programming language representation set in the code self-generation module, so that the technical staff does not need to compile in full text when editing the codes, the problem that the existing code generation only supports basic writing is changed, and simultaneously, the similarity comparison between the new codes and the data code files can be carried out through the code self-generation module, the method and the device are convenient for technicians to compile the contents of the files quickly, save compiling time, improve efficiency and compiling quality and reduce repetition rate.
Comparing the compiling process comprises comparing the states of the current file and the project file, starting the compiling process by taking the current file name as a parameter, modifying a source code file with a compiling error and clearing a temporary file, storing all source codes when the compiling process is used, judging the steps by comparing whether the states of the current file and the stored state of the project file are consistent, skipping the compiling step of the current file if the states are consistent, performing the compiling process on the current file name as a parameter if the states are inconsistent, entering the next step until the states of the current file and the stored state of the project file are consistent, monitoring the output result of the compiling process when performing the compiling process on the current file name as a parameter, printing an error prompt and ending the file compiling in an error output window if the compiling is failed, continuing to perform the compiling of the next file, modifying the source code file according to the error prompt of the compiling program, saving the modified files, re-executing the compiling operation until all the source code files are compiled successfully, finally clearing the temporary files generated in the compiling process, when clearing the temporary files, automatically popping up a clearing window and checking all the temporary files, a technician can select a clearing option to clear the files in the popped window, simultaneously a technician can check the part to clear the files and select to cancel the clearing operation, a program monitoring module is used for selecting variables needing to be monitored in all variable views of the IDE, establishing connection with the running process through a specific communication protocol, updating the values of the variables selected in the IDE in real time, a project file in a project management module has a suffix name of jic and a suffix name of jde, a default opening mode of the newly-built project file is defined as a file loader specified under an installation path, and a corresponding identification code is automatically generated when the project file is added or bound, the file loader detects and acquires the full path name of the engineering file, judges whether to select to execute a corresponding command for the existing engineering file according to the identification code, if the file is the existing file, a communication file is created at the IDE installation position of the file to be directly acquired for operation, if the file is the new file, the corresponding engineering file loading sub-step is executed after the file is stored according to the classification of the work content, and then the editing and compiling operation are carried out, so that the function of the common cooperative operation of a plurality of hosts and the high-efficiency migration function of the engineering cross-host are realized, the integrated development work is more convenient, the time cost is reduced, and the development work efficiency is improved.
The unique identification codes of different engineering files in the engineering management module are different, four digits behind the unique identification code are arranged according to the sequence of 1-9999, the identification codes arranged in the engineering files are adopted to distinguish the files, the identification codes of different types of engineering files are different, the last four digits in the identification codes in the engineering files are arranged according to the sequence when the identification codes are generated, the identification codes of new or added engineering files are generated after the basic type identification is successful, the internal existing engineering files are compared through the engineering management module before the identification codes are generated, so that the identification code of a new engineering file is the next four digits behind the latest engineering file identification code in the engineering management module, if the four digits behind the latest engineering file identification code are 3210, the four digits behind the identification code of the newly generated engineering file are 3211, and the identification codes of the newly generated engineering files are sorted according to the method, the engineering files in the engineering management module are sequentially sorted according to the initial generation time, meanwhile, when the number of the engineering files in the engineering management file reaches 9999, the identification code of the next engineering file is 10000, the identification code of the next engineering file is 10001, the engineering files are sequentially sorted, after the engineering files with the existing identification codes are deleted, the identification code of the next newly-built engineering file sequentially generates a sequence with the same position as the four positions behind the deleted engineering file, only the subsequent serial number of the newly-generated engineering file is subjected to relaying, the identification code part in the front of the serial number is unique, the whole development system is adopted to carry out real-time detection on the communication files generated in the process, and the detection is carried out according to whether the identification code in the communication files is the same as the identification code of the currently-in-process communication files or not, if the files are the same, the communication files and the file loading process are initiatively destroyed, if the files are different, the files in the current activity are prompted to be stored, the monitoring function of the development system is closed, the repeated files are monitored and autonomously destroyed through the IDE, the whole file environment is convenient to clean, and meanwhile, the existing files and the existing files are convenient to monitor and protect.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a reference structure" does not exclude the presence of other similar elements in a process, method, article, or apparatus that comprises the element.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (6)

1. An IDE development system based on Loongson instruction set, comprising a development system composed of an engineering management module, a code editing module, a program compiling module and a program monitoring module, characterized in that: the file processing steps in the project management module in the development system are as follows:
sp 1: the method comprises the steps of creating an engineering file, wherein the engineering file is created by an appointed directory in an engineering management module and is provided with a specific suffix name, and the engineering file comprises all project source codes in a project, and relative paths, state information and unique identification codes of the project source code storage addresses;
sp 2: loading an engineering file, wherein the engineering file is loaded as a double-click engineering file, a file loader in the engineering management module acquires a full path name of the engineering file, judges whether the engineering file is the engineering file or not through a suffix name, and if the engineering file is confirmed, the file loader reads registry information to acquire an IDE installation position;
sp 3: loading an engineering set, wherein the loading of the engineering set comprises the steps of creating an IDE process, setting a directory where an engineering file is located as an active working space, and loading all source codes and resources in the engineering file through a relative path stored by the engineering file;
sp 4: inquiring the same-name IDE active process, including inquiring the IDM same-name process, wherein the inquiry of the same-name IDE active process is that a file loader searches whether the active process which is the same as the opened IDE process exists in a database in an engineering management module, if so, a communication file is created in a directory where an existing IDE executable file exists, the file loader reads the unique identification code and writes the unique identification code into the communication file, the IDE is maximized and set to a top-layer window, and a circulation waiting mode is entered; if not, finding the active process with the same name as the IDE, and directly executing Sp 3;
sp 5: the execution of the IDE monitoring task is to detect the communication file through an IDE monitoring task plug-in a program monitoring module, when the communication file is detected, the unique identification code in the communication file is read and compared with the unique identification code of the currently active engineering file, and if the unique identification code and the unique identification code are the same, the communication file and the file loader process are actively destroyed; if the two are different, prompting to save the currently active engineering file and closing the IDE;
sp 6: and detecting a file loader, namely detecting the IDE process by the file loader, and exiting the loop waiting mode and executing the sub-step of loading the engineering set if the IDE process is detected to be closed.
2. The Loongson instruction set-based IDE development system of claim 1, wherein: the code editing module comprises grammar brightening, intelligent prompting and format alignment, the grammar brightening is used for endowing different colors to keywords of different types in the source codes for display, the intelligent prompting lists matched variable names, function names and keywords through real-time analysis input for a user to select, and the format alignment is to align the source codes in a uniform indentation mode.
3. The Loongson instruction set-based IDE development system of claim 1, wherein: the program compiling module comprises an autonomous generating and contrasting compiling process of a code, the autonomous generating of the code comprises a basic language representation and a programming language representation, the programming language representation is specifically an identifier sequence, an abstract syntax tree and a control data flow chart, and the contrasting compiling process comprises state comparison of a current file and a project file, starting the compiling process by taking a current file name as a parameter, modifying a source code file with compiling errors and clearing a temporary file.
4. The Loongson instruction set-based IDE development system of claim 1, wherein: the program monitoring module is used for selecting variables to be monitored in all variable views of the IDE, establishing connection with a running machine through a specific communication protocol, and updating values of the selected variables in the IDE in real time.
5. The Loongson instruction set-based IDE development system of claim 1, wherein: the project file in the project management module is given a suffix name of. jic, the project file is given a suffix name of. jde, and the default open mode of the project file is bound to the specified file loader under the installation path.
6. The Loongson instruction set-based IDE development system of claim 1, wherein: the unique identification codes of different project files in the project management module are different, and the four next digits of the unique identification codes are arranged according to the sequence of 1-9999.
CN202210964754.3A 2022-08-12 2022-08-12 IDE development system based on Loongson instruction set Pending CN115033266A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210964754.3A CN115033266A (en) 2022-08-12 2022-08-12 IDE development system based on Loongson instruction set

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210964754.3A CN115033266A (en) 2022-08-12 2022-08-12 IDE development system based on Loongson instruction set

Publications (1)

Publication Number Publication Date
CN115033266A true CN115033266A (en) 2022-09-09

Family

ID=83130850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210964754.3A Pending CN115033266A (en) 2022-08-12 2022-08-12 IDE development system based on Loongson instruction set

Country Status (1)

Country Link
CN (1) CN115033266A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116627392A (en) * 2023-07-25 2023-08-22 杭州比智科技有限公司 Model development method and system based on interactive IDE

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5978585A (en) * 1997-03-27 1999-11-02 Inprise Corporation Development system with improved methods for recompiling dependent code modules
CN107656736A (en) * 2017-09-28 2018-02-02 上海鼎为电子科技(集团)有限公司 Improve the method and device of Android system compilation speed
CN108279904A (en) * 2017-12-26 2018-07-13 努比亚技术有限公司 Code compiling method and terminal
CN110647330A (en) * 2019-09-10 2020-01-03 北京网聘咨询有限公司 Web-oriented just-in-time compiling method and tool
CN112905173A (en) * 2021-05-07 2021-06-04 南京沁恒微电子股份有限公司 Engineering multiplexing implementation method based on Eclipse and integrated development environment thereof
CN114356342A (en) * 2022-01-05 2022-04-15 北京字节跳动网络技术有限公司 Compiling method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5978585A (en) * 1997-03-27 1999-11-02 Inprise Corporation Development system with improved methods for recompiling dependent code modules
CN107656736A (en) * 2017-09-28 2018-02-02 上海鼎为电子科技(集团)有限公司 Improve the method and device of Android system compilation speed
CN108279904A (en) * 2017-12-26 2018-07-13 努比亚技术有限公司 Code compiling method and terminal
CN110647330A (en) * 2019-09-10 2020-01-03 北京网聘咨询有限公司 Web-oriented just-in-time compiling method and tool
CN112905173A (en) * 2021-05-07 2021-06-04 南京沁恒微电子股份有限公司 Engineering multiplexing implementation method based on Eclipse and integrated development environment thereof
CN114356342A (en) * 2022-01-05 2022-04-15 北京字节跳动网络技术有限公司 Compiling method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨博 等: "智能代码补全研究综述", 《软件学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116627392A (en) * 2023-07-25 2023-08-22 杭州比智科技有限公司 Model development method and system based on interactive IDE
CN116627392B (en) * 2023-07-25 2023-11-10 杭州比智科技有限公司 Model development method and system based on interactive IDE

Similar Documents

Publication Publication Date Title
CN107273751B (en) Multi-mode matching-based security vulnerability online discovery method
CN110399300B (en) Python software fuzzy test method based on dynamic type perception
US6944848B2 (en) Technique using persistent foci for finite state machine based software test generation
US11579856B2 (en) Multi-chip compatible compiling method and device
CN109189469B (en) Reflection-based android application micro-servitization method and system
CN109189374B (en) Object structure code generation method and system based on object reference chain
CN112394942B (en) Distributed software development compiling method and software development platform based on cloud computing
CN106874764B (en) A method of Android application readjustment sequence is automatically generated based on call back function modeling
JPH02264329A (en) Automatic program generating device
CN109344230A (en) Code library file generation, code search, connection, optimization and transplantation method
CN110704846B (en) Intelligent human-in-loop security vulnerability discovery method
CN115309451A (en) Code clone detection method, device, equipment, storage medium and program product
CN107133043A (en) Web project packaging method and device based on domestic CPU and operating system
CN115033266A (en) IDE development system based on Loongson instruction set
CN112860312A (en) Method and device for detecting item dependency relationship change
Shomrat et al. Detecting refactored clones
CN108897678B (en) Static code detection method, static code detection system and storage device
Legeard et al. A comparison of the BTT and TTF test-generation methods
CN112395199B (en) Distributed software instance testing method based on cloud computing and software development platform
Ostrowski et al. Knowledge-based software testing agent using evolutionary learning with cultural algorithms
Spreeuwenberg et al. A Knowledge Based Tool to Validate and Verify an Aion Knowledge Base
CN114880672A (en) Binary taint type vulnerability detection method and system based on static taint analysis
CN113485928A (en) Automatic testing method and device for switch
CN113849814A (en) Configurable system bug reproduction system and reproduction method
Zhang et al. Long Method Detection Using Graph Convolutional Networks

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220909