This disclosure claims priority to Chinese patent application No. CN202110693141.6, titled “method for auxiliary processing of software development, device, storage medium and program product”, filed on Jun. 22, 2021, the content of which are incorporated herein by reference in their entirety.
The present disclosure relates to fields of a software research and development, a cloud server, and the like in computer technology, and in particular, to a method for auxiliary processing of a software development, a device, a storage medium, and a program product.
Various Devops tools exist for code scanning, cloud compilation and other verification functions, and corresponding verification functions for a developed code project are implemented on respective platforms. When using the Devops tool to perform the corresponding verification functions, a developer needs to submit a code to be verified to a corresponding platform, and perform a verification operation such as code scanning or compilation on the corresponding platform. A tool entry is complicated, an interaction logic is rigid, and it is inconvenient for the developer to use, resulting in a low efficiency of a software development.
The present disclosure provides a method for auxiliary processing of a software development, a device, a storage medium and a program product.
According to a first aspect of the present disclosure, there is provided a method for auxiliary processing of a software development, including:
According to a second aspect of the present disclosure, there is provided an apparatus for auxiliary processing of a software development, including:
According to a third aspect of the present disclosure, there is provided an electronic device, including:
According to a fourth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions allow a computer to implement the method according to the first aspect.
According to a fifth aspect of the present disclosure, there is provided a computer program product, the computer program product including: a computer program, wherein the computer program is stored in a readable storage medium, at least one processor of an electronic device may read the computer program from the readable storage medium, and the at least one processor executes the computer program to allow the electronic device to perform the method according to the first aspect.
According to the fifth aspect of the present disclosure, there is provided a computer program including program code, wherein the computer program, when executed by a computer, is allowed to implement the method according to any of the embodiments described above.
Techniques according to the present disclosure improve an efficiency of a software development.
It should be understood that content described in this section is not intended to identify key or critical features in the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will be easily understood through the following description.
The accompanying drawings are used to provide a better understanding of the present solution, and are not to be construed as limiting the present disclosure.
The following describes exemplary embodiments of the present disclosure with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Therefore, those of ordinary skilled in the art should realize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Likewise, for clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
The present disclosure provides a method for auxiliary processing of a software development, a device, a storage medium and a program product, and relates to fields of a software research and development, a cloud server, and the like in computer technology, so as to improve an efficiency of a software development.
The method for auxiliary processing of a software development provided by the present disclosure may be specifically applied to a local integrated development environment (IDE) such as VS Code, IDEA, PyCharm, etc. used by a user (such as a researcher) during a software development. An auxiliary research and development function of a software development is provided in the local integrated development environment, such as code scanning, compilation, automatic error correction for coding standard and formatting, etc., so as to empower various auxiliary research and development functions of a software development to the user's local programming site to realize data online of research and development process and capability preposition, which solves local verification capabilities such as code scanning, compilation, automatic error correction for coding standard and formatting, connects an entire development and testing process in series, and is effectively combined with the user's programming site, so as to improve an research and development efficiency of the user.
Exemplarily, the method may be implemented by means of an intelligent research and development assistant, etc. By installing the intelligent research and development assistant in a local integrated development environment, the auxiliary processing of software development may be realized. A development interface after the intelligent research and development assistant is installed in the local integrated development environment may be shown in
In addition, in
As shown in
In step S201, according to an auxiliary operation command information input by a user, an auxiliary research and development function matched with the auxiliary operation command information is identified in a local integrated development environment.
In this embodiment, one or more auxiliary research and development functions are integrated in the local integrated development environment. An information input region is provided in the development interface. According to the auxiliary operation command information input by the user in the information input region, the auxiliary research and development function matched with the auxiliary operation command information is identified.
Each auxiliary research and development function has unique identification information, and different auxiliary research and development functions may be distinguished through the identification information.
For example, a name, alias, etc. of the auxiliary research and development function may be used as the identification information, and other information of the auxiliary research and development function that is easily recognized and remembered by the user may be used as the identification information, which may be set according to an actual application scenario, and is not limited specifically herein.
Optionally, when the auxiliary operation command information input by the user is matched with the identification information of the auxiliary research and development function, it is determined that the auxiliary operation command information is matched with the auxiliary research and development function.
In step S202, an operation request is sent to a service platform corresponding to the auxiliary research and development function in response to determining that the auxiliary research and development function is implemented by the corresponding service platform. The operation request is used to instruct the service platform to perform an operation corresponding to the auxiliary research and development function, and feed back an execution result of the auxiliary research and development function.
In this embodiment, the auxiliary research and development function integrated in the local integrated development environment may not be implemented locally, but by a service platform corresponding to the auxiliary research and development function.
If the auxiliary research and development function is implemented by the corresponding service platform, then the intelligent research and development assistant automatically initiates a corresponding operation request of the auxiliary research and development function to the corresponding service platform, without requiring manual operation by the user.
The operation request includes data required by the service platform to perform the operation corresponding to the auxiliary research and development function.
After receiving the operation request, the service platform corresponding to the auxiliary research and development function performs the operation corresponding to the auxiliary research and development function, so as to obtain the execution result of the auxiliary research and development function, and feed backs the execution result of the auxiliary research and development function to the intelligent research and development assistant.
In step S203, the execution result of the auxiliary research and development function is acquired.
The intelligent research and development assistant acquires the execution result of the auxiliary research and development function fed back by the service platform corresponding to the auxiliary research and development function.
In this embodiment, one or more auxiliary research and development functions are integrated in the local integrated development environment. In the local integrated development environment, according to the auxiliary operation command information input by the user, the auxiliary research and development function matched with the auxiliary operation command information is identified. If it is determined that the auxiliary research and development function is implemented by the corresponding service platform, then the operation request is automatically sent to the service platform corresponding to the auxiliary research and development function, so that the service platform performs the operation corresponding to the auxiliary research and development function according to the operation request and feeds back the execution result of the auxiliary research and development function, so as to obtain the execution result of the auxiliary research and development function, and empower the auxiliary research and development function of a software development to the user's local programming site. The auxiliary research and development function is effectively combined with the user's programming site without manual operation, thereby improving a research and development efficiency of a user.
In this embodiment, after identifying, according to an auxiliary operation command information input by a user, an auxiliary research and development function matched with the auxiliary operation command information in a local integrated development environment, the method further includes: performing, if it is determined that the auxiliary research and development function is implemented in the local integrated development environment, an operation corresponding to the auxiliary research and development function in the local integrated development environment, and acquiring an execution result of the auxiliary research and development function.
As shown in
In step S301, a dialog box is displayed in the development interface of the local integrated development environment.
One or more auxiliary research and development functions are integrated in the local integrated development environment. An information input region is provided in the development interface. According to the auxiliary operation command information input by the user in the information input region, the auxiliary research and development function matched with the auxiliary operation command information is identified.
In this embodiment, the information input region may be a dialog box, and the dialog box is displayed in the development interface of the local integrated development environment after the auxiliary research and development function is integrated in the local integrated development environment. A visual interaction between the user and the intelligent research and development assistant may be realized through a dialogue-like interaction mode, and operation results of various auxiliary research and development functions may be displayed intuitively, a friendliness of the interaction of the intelligent research and development assistant may be improved.
Optionally, the intelligent research and development assistant may be implemented in a form of a plug-in, and the intelligent research and development assistant plug-in is installed in the local integrated development environment, and the intelligent research and development assistant plug-in is used to realize the auxiliary processing of software development.
After the intelligent research and development assistant plug-in is successfully installed, a dialog box is displayed in the development interface of the local integrated development environment. In this way, the intelligent research and development assistant is empowered to the local integrated development environment in a form of a plug-in, which may effectively combine various software development auxiliary research and development functions with a local programming thread, and may improve a usability of the intelligent research and development assistant.
In step S302, an auxiliary operation command information input by a user in the dialog box is acquired.
The user may input the auxiliary operation command information in the dialog box displayed on the development interface.
The intelligent research and development assistant may acquire the auxiliary operation command information input by the user in the dialog box.
Through the above-mentioned steps S301 to S302, the visual interaction between the user and the intelligent research and development assistant may be realized through the dialogue-like interaction mode, the operation results of various auxiliary research and development functions may be presented intuitively, and the friendliness of the interaction of the intelligent research and development assistant may be improved.
In step S303, according to an auxiliary operation command information input by a user, an auxiliary research and development function matched with the auxiliary operation command information is identified in a local integrated development environment.
Each auxiliary research and development function has unique identification information, and different auxiliary research and development functions may be distinguished through the identification information.
For example, a name, alias, command, etc. of the auxiliary research and development function may be used as the identification information, and other information of the auxiliary research and development function that is easily recognized and remembered by the user may also be used as the identification information, which may be set according to an actual application scenario, and is not specifically limited herein.
Optionally, when the auxiliary operation command information input by the user is matched with the identification information of the auxiliary research and development function, it is determined that the auxiliary operation command information is matched with the auxiliary research and development function.
For example, a code scanning function includes an increment scanning function and a full scanning function. Taking the increment scanning function as an example, the identification information may include a function name “increment scanning”. As shown in
Exemplarily, the auxiliary operation command information input by the user may be a description language (as shown in
Optionally, natural language processing may be performed on the auxiliary operation command information input by the user to determine the auxiliary research and development function matched with the auxiliary operation command information, which may accurately identify the auxiliary research and development function matched with the auxiliary operation command information, and improve an accuracy and usability of the intelligent research and development assistant.
Optionally, if it fails to determine the auxiliary research and development function matched with the auxiliary operation command information, an error prompt information is displayed. The error prompt information is used to remind the user that the auxiliary operation command information input by the user is inaccurate, and the matching auxiliary research and development function may not be identified. This may facilitate the user to re-input, which improves the friendliness and usability of the intelligent research and development assistant.
For example, the user may be informed of an error prompt information (“I don't understand what you mean yet”) in a form of a dialog in a dialog box.
In step S304, an operation request is sent to a service platform corresponding to the auxiliary research and development function in response to determining that the auxiliary research and development function is implemented by the corresponding service platform. The operation request is used to instruct the service platform to perform an operation corresponding to the auxiliary research and development function, and feed back an execution result of the auxiliary research and development function.
In this embodiment, the auxiliary research and development functions implemented by the corresponding service platform may be integrated into the local integrated development environment.
The auxiliary research and development functions implemented by the corresponding service platform include but are not limited to: code scanning and compilation. The code scanning may include increment scanning and full scanning, and the increment scanning and the full scanning may be used as an independent auxiliary research and development function respectively.
After determining the auxiliary research and development function matched with the auxiliary operation command information, if the auxiliary research and development function is implemented by the corresponding service platform, then the intelligent research and development assistant automatically initiates a corresponding operation request of the auxiliary research and development function to the corresponding service platform, without requiring manual operation by the user.
The operation request includes data required by the service platform to perform the operation corresponding to the auxiliary research and development function.
After receiving the operation request, the service platform corresponding to the auxiliary research and development function performs the operation corresponding to the auxiliary research and development function, so as to obtain the execution result of the auxiliary research and development function, and feeds back the execution result of the auxiliary research and development function to the intelligent research and development assistant.
Optionally, after sending the operation request to the service platform corresponding to the auxiliary research and development function, and before obtaining the execution result of the auxiliary research and development function, a prompt information indicating that the auxiliary research and development function is being executed may also be displayed in the dialog box to show a progress of the auxiliary research and development function to the user, which improves the friendliness and usability of the intelligent research and development assistant.
In step S305, in response to determining that the auxiliary research and development function is implemented in the local integrated development environment, the operation corresponding to the auxiliary research and development function is performed in the local integrated development environment, and the execution result of the auxiliary research and development function is acquired.
In this embodiment, an auxiliary research and development function directly implemented locally may be integrated into the local integrated development environment.
The auxiliary research and development functions directly implemented locally include but are not limited to: real-time error correction for coding standard, and coding standard formatting.
After determining the auxiliary research and development function matched with the auxiliary operation command information, if it is determined that the auxiliary research and development function is implemented in the local integrated development environment, the intelligent research and development assistant directly performs the operation corresponding to the auxiliary research and development function in the local integrated development environment, and obtains the execution result of the auxiliary research and development function.
Optionally, after the operation corresponding to the auxiliary research and development function is performed in the local integrated development environment, and before the execution result of the auxiliary research and development function is acquired, a prompt information indicating that the auxiliary research and development function is being performed may also be displayed in the dialog box to show a progress of the auxiliary research and development function to the user, which improves the friendliness and usability of the intelligent research and development assistant.
In step S306, the execution result of the auxiliary research and development function is acquired.
The local integrated development environment may integrate not only the auxiliary research and development functions such as code scanning and compilation implemented by the corresponding service platform, but also the auxiliary research and development functions such as real-time error correction for coding standard and coding standard formatting implemented directly locally. Whether the auxiliary research and development function is implemented locally or on the corresponding service platform, the intelligent research and development assistant may acquire the execution result of the auxiliary research and development function.
If the auxiliary research and development function is implemented by the corresponding service platform, the intelligent research and development assistant acquires the execution result of the auxiliary research and development function fed back by the corresponding service platform.
If the auxiliary research and development function is implemented in the local integrated development environment, the intelligent research and development assistant may acquire the execution result of the auxiliary research and development function after performing the operation corresponding to the auxiliary research and development function.
In step S307, the execution result is displayed.
In this embodiment, the execution result may be displayed in the dialog box in a form of dialog interaction.
After acquiring the execution result of the auxiliary research and development function, the intelligent research and development assistant may display the execution result in the dialog box in the form of dialog interaction, and may intuitively display the execution result of the auxiliary research and development function to the user.
The local integrated development environment may integrate not only the auxiliary research and development functions such as code scanning and compilation implemented by the corresponding service platform, but also the auxiliary research and development functions such as real-time error correction for coding standard and coding standard formatting implemented directly locally, so as to empower various auxiliary research and development functions of software development to the user's local programming site to realize data online of research and development process and capability preposition, solve local verification capabilities such as code scanning, compilation, automatic error correction for coding standard and formatting, connect an entire development and testing process in series, and effectively combine the auxiliary research and development function with the user's programming site to improve an research and development efficiency of the user.
In an alternative embodiment, if the auxiliary research and development function is code scanning, then a file in a current work region is acquired, so that a development file to be processed is obtained. A code scanning request is sent to a code scanning platform. The code scanning request includes the development file to be processed, and the code scanning request is used to instruct the code scanning platform to perform code scanning on the development file and return the code scanning result.
The file in the current work region is automatically packaged by the intelligent research and development assistant as a file to be scanned. When an operation request is sent to the code scanning platform, the file to be scanned will be sent to the code scanning platform together, without requiring the user to manually upload codes to the code scanning platform and trigger a scanning operation, which simplifies the user's operation process and improves an efficiency of the user's software development.
The code scanning function may realize a scanning of a coding standard problem, a defect problem, a security loophole, etc. in a file.
Further, acquiring the execution result of the auxiliary research and development function includes: acquiring the code scanning result of the development file.
Optionally, the code scanning result may include a defect report. After acquiring the code scanning result of the development file, the intelligent research and development assistant may also parse the defect report and locate a location of a defect in the development file, and mark the code line with the defect in the development file according to the location of the defect in the development file.
In this way, a defect existing in the code may be visually marked on a programming site, and the user does not need to check a position of the code with defect in the development file by himself by referring to the defect report, which is convenient for the user to locate the defect position, promotes the user to find and solve the defect as soon as possible, and improves the efficiency of software development.
Optionally, when the marked code line is selected, the defect information corresponding to the marked code line is displayed (as shown in
For example, the code line with the defect may be marked in the development file by underlining a wavy line, underlining a red wavy line, adding a background color, and the like. When the user moves a mouse cursor to the marked code line, the defect information corresponding to the marked code line is displayed.
In addition, a method of marking the code line with the defect in the development file may be set and adjusted according to an actual application scenario, and different types of defects may be marked in different ways, which is not specifically limited in this embodiment.
Optionally, link information of the defect report may also be displayed (as shown in
In an alternative embodiment, if the auxiliary research and development function is compilation, then a compilation request is sent to the compilation platform, the compilation request includes information of the code to be compiled, and the compilation request is used to instruct the compilation platform to compile the code to be compiled and obtain a compilation result file.
The compilation request is automatically sent to the compilation platform through the intelligent research and development assistant, without requiring the user to manually open the compilation platform and trigger the compilation operation, which simplifies the user's operation process and improves the efficiency of the user's software development.
Further, acquiring the execution result of the auxiliary research and development function includes: pulling the compilation result file into the local integrated development environment automatically.
Optionally, the compilation request is also used to instruct the compilation platform to record a compilation log. After sending the compilation request to the compilation platform, the intelligent research and development assistant may also display the link information of the compilation log. When the link information of the compilation log is triggered, the compilation log is displayed and/or downloaded to facilitate the user to view and download the compilation log.
Exemplarily, the execution result of the compilation may include whether a compilation task is successfully performed, and relevant information of the compilation task. As shown in
In an alternative embodiment, if the auxiliary research and development function is the real-time error correction for coding standard, then a coding standard problem in the current file is checked in real time. In the current file, a location of the coding standard problem and problem description information of the coding standard problem are displayed.
In this way, the coding standard problem existing in the code may be visually displayed on the programming site, without requiring the user to check the development file specification problem, which is convenient for the user to locate the location of the coding standard problem, and promotes the user to find and correct the coding standard problem in the file as soon as possible, and improves the standardization of the code and the efficiency of software development.
Optionally, displaying the location of the coding standard problem and the problem description information of the coding standard problem in the current file include the following operations. The code line with coding standard problem is marked in the current file. When the marked code line is selected, the problem description information of the coding standard problem corresponding to the marked code line is displayed (as shown in
For example, the code line with the coding standard problem may be marked in the development file by underlining a wavy line, underlining a red wavy line, adding a background color, and the like. When the user moves a mouse cursor to the marked code line, the problem description information of the coding standard problem corresponding to the marked code line is displayed.
In addition, a method of marking the code line with coding standard problem in the development file may be set and adjusted according to an actual application scenario, which is not specifically limited in this embodiment.
In this embodiment, the function of real-time error correction for coding standard may be turned on or off. After the function of real-time error correction for coding standard is turned on, the intelligent research and development assistant performs the processing of the real-time error correction for coding standard on the current file in real time. When the function of real-time error correction for coding standard is turned off, the intelligent research and development assistant will no longer performs the processing of the real-time error correction for coding standard.
In an alternative embodiment, if the auxiliary research and development function is coding standard formatting, the coding standard problem in the current file is corrected.
In this way, the intelligent research and development assistant may automatically correct coding standard problems in the current file without requiring the user to manually modify the coding standard problems one by one, which greatly improves the efficiency of software development.
Optionally, after correcting the coding standard problem in the current file, the method further includes: restoring the current file to a state before the correction in response to a formatting undo operation on the current file.
Optionally, after correcting the coding standard problem in the current file, if there is a coding standard problem that may not be corrected automatically, a prompt information for prompting that there is a coding standard problem that may not be corrected may be displayed (as shown in
Optionally, the function of coding standard formatting may correct the coding standard problem in the current file based on the coding standard problem in the current file in the execution result of the real-time error correction for coding standard after the real-time error correction for coding standard is performed.
In addition, the function of coding standard formatting may also be performed independently, and a process of performing coding standard formatting includes: checking the coding standard problem in the current file, and correcting the coding standard problem in the current file.
Optionally, the intelligent research and development assistant plug-in may realize all the auxiliary research and development functions described above, that is, all the auxiliary research and development functions may be integrated into one plug-in. By installing the plug-in in the local integrated development environment, all the auxiliary research and development functions may be realized in the local integrated development environment.
Optionally, any of the auxiliary research and development functions may be implemented as a separate plug-in. For example, the function of real-time error correction for coding standard may be implemented with a separate coding standard checking plug-in. When the real-time error correction for coding standard needs to be turned on, the coding standard checking plug-in needs to be installed in the local integrated development environment. After the coding standard checking plug-in is successfully installed, the function of real-time error correction for coding standard may be turned on by restarting the local integrated development environment. An example of installing the coding standard checking plug-in is shown in
The local integrated development environment may integrate not only the auxiliary research and development functions such as code scanning and compilation implemented by the corresponding service platform, but also the auxiliary research and development functions such as real-time error correction for coding standard and coding standard formatting implemented directly locally, so as to empower various auxiliary research and development functions of software development to the user's local programming site to realize data online of research and development process and capability preposition, solve local verification capabilities such as code scanning, compilation, automatic error correction for coding standard and formatting, connect an entire development and testing process in series, and effectively combine the auxiliary research and development function with the user's programming site to improve an research and development efficiency of the user.
In the embodiments of the present disclosure, various auxiliary research and development functions are empowered to the local IDE at an engineer programming site, and conventional research and development operations such as code scanning, compilation, real-time error correction for coding standard and formatting are performed through a dialogue-like interaction, so that the interaction mode is smoother, and various operation results may be visually presented. A development testing capability is shifted to the left, a local verification capability is supplemented, the entire development and testing process is connected in series, a closed loop is formed, and entrances of various Devops research and development tools are unified, which solves problems of complex tool entrances, cumbersome switching, and low use efficiency. The auxiliary research and development function is effectively combined with the engineer programming site, which improves the research and development efficiency.
Specifically, the function identification module 801 is used to identify, according to an auxiliary operation command information input by a user, an auxiliary research and development function matched with the auxiliary operation command information in a local integrated development environment.
The first auxiliary module 802 is used to send an operation request to a service platform corresponding to the auxiliary research and development function in response to determining that the auxiliary research and development function is implemented by the corresponding service platform. The operation request is used to instruct the service platform to perform an operation corresponding to the auxiliary research and development function, and feeds back an execution result of the auxiliary research and development function.
The execution result processing module 803 is used to acquire the execution result of the auxiliary research and development function.
The apparatus provided by the embodiment of the present disclosure may be specifically used to execute the method embodiment provided by the first embodiment described above, and the specific functions will not be repeated herein.
In this embodiment, one or more auxiliary research and development functions are integrated in the local integrated development environment. In the local integrated development environment, according to the auxiliary operation command information input by the user, the auxiliary research and development function matched with the auxiliary operation command information is identified. If it is determined that the auxiliary research and development function is implemented by the corresponding service platform, then the operation request is automatically sent to the service platform corresponding to the auxiliary research and development function, so that the service platform performs the operation corresponding to the auxiliary research and development function according to the operation request and feeds back the execution result of the auxiliary research and development function, so as to obtain the execution result of the auxiliary research and development function, and empower the auxiliary research and development function of a software development to the user's local programming site. The auxiliary research and development function is effectively combined with the user's programming site without manual operation, thereby improving a research and development efficiency of a user.
Specifically, the function identification module 901 is used to identify, according to an auxiliary operation command information input by a user, an auxiliary research and development function matched with the auxiliary operation command information in a local integrated development environment.
The first auxiliary module 902 is used to send an operation request to a service platform corresponding to the auxiliary research and development function in response to determining that the auxiliary research and development function is implemented by the corresponding service platform. The operation request is used to instruct the service platform to perform an operation corresponding to the auxiliary research and development function, and feeds back an execution result of the auxiliary research and development function.
The execution result processing module 903 is used to acquire the execution result of the auxiliary research and development function.
In an alternative embodiment, as shown in
The execution result processing module 903 includes:
In an alternative embodiment, the code scanning result includes a defect report, and the code scanning result processing sub-module is further used to:
In an alternative embodiment, the code scanning result processing sub-module is further used to:
In an alternative embodiment, the code scanning result processing sub-module is further used to:
In an alternative embodiment, as shown in
The execution result processing module 903 includes:
In an alternative embodiment, the compilation request is further used to instruct the compilation platform to record a compilation log.
The compilation result processing sub-module is further used to:
In an alternative embodiment, as shown in
In an alternative embodiment, as shown in
The execution result processing module 903 includes:
In an alternative embodiment, the real-time error correction for coding standard result processing sub-module is further used to:
In an alternative embodiment, as shown in
In an alternative embodiment, the coding standard formatting sub-module is further used to:
In an alternative embodiment, the function identification module is further used to:
In an alternative embodiment, the function identification module is further used to:
In an alternative embodiment, as shown in
In an alternative embodiment, the execution result processing module is further used to:
In an alternative embodiment, the execution result processing module is further used to:
The apparatus provided by the embodiment of the present disclosure may be specifically used to execute the method embodiment provided by the second embodiment described above, and the specific functions will not be repeated herein.
The local integrated development environment may integrate not only the auxiliary research and development functions such as code scanning and compilation implemented by the corresponding service platform, but also the auxiliary research and development functions such as real-time error correction for coding standard and coding standard formatting implemented directly locally, so as to empower various auxiliary research and development functions of software development to the user's local programming site to realize data online of research and development process and capability preposition, solve local verification capabilities such as code scanning, compilation, automatic error correction for coding standard and formatting, connect an entire development and testing process in series, and effectively combine the auxiliary research and development function with the user's programming site to improve an research and development efficiency of the user.
In the embodiments of the present disclosure, various auxiliary research and development functions are empowered to the local IDE at an engineer programming site, and conventional research and development operations such as code scanning, compilation, real-time error correction for coding standard and formatting are performed through a dialogue-like interaction, so that the interaction mode is smoother, and various operation results may be visually presented. A development testing capability is shifted to the left, a local verification capability is supplemented, the entire development and testing process is connected in series, a closed loop is formed, and entrances of various Devops research and development tools are unified, which solves problems of complex tool entrances, cumbersome switching, and low use efficiency. The auxiliary research and development function is effectively combined with the engineer programming site, which improves the research and development efficiency.
In the technical solution of the present disclosure, the acquisition, storage and application of the user's personal information involved are in compliance with the provisions of relevant laws and regulations, and do not violate public order and good customs.
According to the embodiments of the present disclosure, the present disclosure further provides an electronic device and a readable storage medium.
According to the embodiments of the present disclosure, the present disclosure further provides a computer program product, the computer program product includes: a computer program stored in the readable storage medium; at least one processor of the electronic device may read the computer program from the readable storage medium, and at least one processor executes the computer program so that the electronic device executes the solution provided by any of the embodiments described above.
As shown in
A plurality of components in the device 1000 are connected to the I/O interface 1005, including: an input unit 1006, such as a keyboard, a mouse, etc.; an output unit 1007, such as various types of displays, speakers, etc.; a storage unit 1008, such as a magnetic disk, an optical disk, etc.; and a communication unit 1009, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1009 allows the device 1000 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.
The computing unit 1001 may be various general-purpose and/or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 1001 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various computing units that run a machine learning model algorithm, a digital signal processing processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 1001 performs the various methods and processes described above, such as the method for auxiliary processing of a software development. For example, in some embodiments, the method for auxiliary processing of a software development may be implemented as a computer software program tangibly contained in a machine-readable medium, such as the storage unit 1008. In some embodiments, part or all of the computer program may be loaded and/or installed on the device 1000 via the ROM 1002 and/or the communication unit 1009. When the computer program is loaded into the RAM 1003 and executed by the computing unit 1001, one or more steps of the method for auxiliary processing of a software development described above may be performed. Alternatively, in other embodiments, the computing unit 1001 may be configured to perform the method for auxiliary processing of a software development by any other suitable means (e.g., by means of firmware).
Various embodiments of the systems and techniques described above herein may be implemented in a digital electronic circuitry system, an integrated circuit system, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), an application specific standard product (ASSP), a system on chip (SOC), a load programmable logic device (CPLD), a computer hardware, a firmware, a software, and/or a combination thereof. These various embodiments may include: being implemented in one or more computer programs; the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor; the programmable processor may be a special-purpose or general-purpose programmable processor; data and instructions may be received from a storage system, at least one input device, and at least one output device, and the data and instructions may be transmitted to the storage system, the at least one input device, and the at least one output device.
The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. The program code may be provided to a processor or controller of a general purpose computer, a special purpose computer or other programmable data processing apparatus, such that the program code, when executed by the processor or controller, performs functions/operations specified in the flowchart and/or the block diagram. The program code may be executed entirely on a machine, partly on a machine, as a stand-alone software package, partly on a machine and partly on a remote machine, or entirely on a remote machine or server.
In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, an apparatus or a device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable media may include, but are not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage media would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In order to provide interaction with a user, the systems and techniques described herein may be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user, and a keyboard and pointing device (e.g., a mouse or trackball) through which a user may provide input to the computer. Other kinds of devices may also be used to provide interaction with the user; for example, a feedback provided to the user may be any form of sensory feedback (e.g., a visual feedback, an auditory feedback, or a tactile feedback); and input from the user may be received in any form (including an acoustic input, a voice input, or a tactile input).
The systems and techniques described herein may be implemented on a computing system including a back-end component (e.g., as a data server), or a computing system including a middleware component (e.g., an application server), or a computing system including a front-end component (e.g., a user computer having a graphical user interface or web browser through which a user may interact with implementations of the systems and techniques described herein), or a computing system including any combination of the backend component, the middleware component, and the front-end component. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of the communication network include: Local Area Network (LANs), Wide Area Network (WANs), and the Internet.
A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. A relationship of client and server is generated by a computer program running on the corresponding computers and having a client-server relationship to each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, so as to solve defects of difficult management and weak business scalability in the traditional physical host and VPS (“Virtual Private Server”) service. The server may also be a server of a distributed system, or a server combined with a blockchain.
According to another aspect of the embodiments of the present application, the embodiments of the present application further provide a computer program including program code, the computer program, when executed by a computer, is allowed to implement the method according to any of the embodiments described above.
It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, the steps described in the present application may be executed in parallel, sequentially or in different orders, and as long as the desired results of the technical solutions disclosed in the present disclosure may be achieved, no limitation is imposed herein.
The specific embodiments described above do not constitute a limitation on the scope of protection of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions may be made according to design requirements and other factors. Any modifications, equivalents, improvements and the like made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202110693141.6 | Jun 2021 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/131091 | 11/17/2021 | WO |