Software development environment and software development method
Through the combination of the tool set cloud platform and a unified construction platform, the complexity of manual download and configuration of the compilation environment in embedded software development is solved, and the efficient and simplified development process of software development is achieved.
Patent Information
- Application Number
- CN202411616270.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-04-04
AI Technical Summary
The existing embedded software development model requires developers to manually download and configure the compilation environment, resulting in complex preliminary preparations and multiple tool sets need to be installed under a multi-system platform, which is large in size and complex in configuration.
Provides a software development environment, including a tool set cloud platform and a unified construction platform. The Toolset Cloud Platform stores compilation tools in various operating environments. The unified construction platform obtains matching compilation tools from the Toolset Cloud Platform based on the operating environment of the software to be compiled, and installs them on the unified construction platform for compiling software.
There is no need to pay attention to the installation and configuration of the software compilation tool set. Developers only need to pay attention to the development of software functions, which improves the efficiency of software development. The unified construction platform takes up less storage space when compiling software, simplifying the development process.
Smart Images

Figure CN119759352A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of software development technology, and in particular to a software development environment and a software development method. Background Art
[0002] Software development in the mainstream embedded field often needs to be carried out in a specific visual development environment (such as Eclipse, VSCode, etc.). Developers need to manually download and configure the compilation environment, including but not limited to: a specific version of the tool chain, debugger, compilation parameters, etc. The above development model has the following defects:
[0003] 1. Developers need to manually download relevant development resources, such as tool chains, debuggers, etc., which greatly increases the preliminary preparation work for embedded development;
[0004] 2. The development process must be carried out in a visual development environment. Once the developer is developing in a scenario without an IDE, he will not be able to use the auxiliary functions provided by the visual development environment, such as: automatic generation of compilation rules, visual configuration of compilation parameters, etc.
[0005] 3. When it comes to embedded software development scenarios under multiple system platforms, developers need to install tool sets (such as tool chains, SDKs, etc.) for multiple system platforms locally. These tool sets are often large in size and complex in configuration. Summary of the invention
[0006] In view of this, the embodiments of the present application provide a software development environment and a software development method. When software developers use the software development environment of the embodiments of the present application to develop software, they do not need to pay attention to complex functions such as the installation and configuration of the software development tool set, but only need to focus on the functional development of the software itself, thereby improving the efficiency of software development.
[0007] In a first aspect, an embodiment of the present application provides a software development environment, comprising: a tool set cloud platform for storing a software development tool set, which includes compilation tools under various operating environments, each operating environment including at least one of the following: a processor system on which the software runs, an operating system on which the software runs; a unified build platform for obtaining matching compilation tools from the tool set cloud platform according to the operating environment of the software to be compiled, and installing them on the unified build platform for compiling the software to be compiled.
[0008] From the above, the unified construction platform obtains the matching compilation tool from the tool set cloud platform according to the operating environment of the software to be compiled, and installs it on the unified construction platform to compile the software to be compiled. When software developers use the software development environment of the embodiment of the present application to develop software, they do not need to pay attention to the complex functions such as the installation and configuration of the software compilation toolset, but only need to pay attention to the functional development of the software itself, which improves the efficiency of software development, and the unified construction platform occupies less storage space when compiling software.
[0009] In a possible implementation of the first aspect, the development tool set also includes debugging tools for various operating environments; the unified construction platform is also used to obtain matching debugging tools from the tool set cloud platform according to the operating environment of the software to be debugged, and install them on the unified construction platform for debugging the software to be debugged.
[0010] From the above, the unified construction platform obtains the matching debugging tool from the tool set cloud platform according to the operating environment of the software to be debugged, and installs it on the unified construction platform to debug the software to be debugged. When software developers use the software development environment of the embodiment of the present application to develop software, they do not need to pay attention to the complex functions such as the installation and configuration of the software debugging tool set, but only need to pay attention to the functional development of the software itself, thereby further improving the efficiency of software development, and the unified construction platform takes up less storage space when debugging software.
[0011] In a possible implementation manner of the first aspect, the unified construction platform is further used to provide a remote download function to an operating platform of the developed software.
[0012] From the above, the unified build platform is also used to provide remote download function to the operating platform of the developed software, realizing the full process function of compiling, debugging and downloading the developed software.
[0013] In a possible implementation manner of the first aspect, the unified construction platform is further used to generate compilation rules for the developed software according to the operating environment of the software to be compiled.
[0014] From the above, the unified build platform is also used to generate compilation rules for the developed software according to the operating environment of the software to be compiled. Software developers do not need to manually write complex make rules, which not only further improves the efficiency of software development, but also improves the correctness of software compilation.
[0015] In a possible implementation of the first aspect, the unified construction platform is implemented through a cross-operating system language.
[0016] As described above, by realizing a unified construction platform across operating system languages, the unified construction platform can be run on multiple host platforms, thereby improving the applicability of the development environment.
[0017] In a possible implementation of the first aspect, the unified construction platform is located on the cloud where the toolset cloud platform is located.
[0018] As shown above, the unified build platform is located on the cloud where the tool set cloud platform is located, which makes it easy for software developers to access the network for software development, thereby improving the convenience of software development.
[0019] In a possible implementation manner of the first aspect, the unified construction platform is further used to configure a running environment of the software to be compiled or the software to be debugged.
[0020] From the above, the operating environment of the software to be compiled or debugged is configured through a unified construction platform, so that the development environment can develop software for any operating environment.
[0021] In a possible implementation manner of the first aspect, the development environment further includes: a software editor, used to edit the software to be compiled.
[0022] From the above, the development environment includes a software editor, so that the development environment can achieve one-stop work of editing, compiling, debugging and downloading software.
[0023] In a second aspect, an embodiment of the present application provides a software development method, using the development environment described in any implementation mode of the first aspect to compile software, including: uploading a software development tool set to the tool set cloud platform of the development environment, which includes compilation tools for various operating environments, each operating environment including at least one of the following: a processor system on which the software runs, an operating system on which the software runs; obtaining matching compilation tools from the tool set cloud platform according to the operating environment of the software to be compiled through the unified build platform of the development environment, and installing them on the unified build platform; compiling the software to be compiled through the unified build platform.
[0024] From the above, the unified construction platform obtains the matching compilation tool from the tool set cloud platform according to the operating environment of the software to be compiled, and installs it on the unified construction platform to compile the software to be compiled. When software developers use the software development environment of the embodiment of the present application to develop software, they do not need to pay attention to the complex functions such as the installation and configuration of the software compilation toolset, but only need to pay attention to the functional development of the software itself, which improves the efficiency of software development, and the unified construction platform occupies less storage space when compiling software.
[0025] In a possible implementation of the first aspect, the development tool set also includes debugging tools for various operating environments, and the software development method also includes: obtaining matching debugging tools from the tool set cloud platform according to the operating environment of the software to be debugged through the unified construction platform of the development environment, and installing them on the unified construction platform; debugging the software to be debugged through the unified construction platform; downloading the debugged software to a platform that meets the operating environment of the software to be debugged through the unified construction platform.
[0026] From the above, the unified construction platform obtains the matching debugging tool from the tool set cloud platform according to the operating environment of the software to be debugged, and installs it on the unified construction platform to debug the software to be debugged. When software developers use the software development environment of the embodiment of the present application to develop software, they do not need to pay attention to the complex functions such as the installation and configuration of the software debugging tool set, but only need to pay attention to the functional development of the software itself, thereby further improving the efficiency of software development, and the unified construction platform takes up less storage space when debugging software.
[0027] In a possible implementation manner of the second aspect, the software development method further includes: remotely downloading the developed software to a running platform of the developed software through the unified construction platform.
[0028] From the above, the unified build platform is also used to provide remote download function to the operating platform of the developed software, realizing the full process function of compiling, debugging and downloading the developed software.
[0029] In a possible implementation of the second aspect, the software development method further includes: generating, through the unified construction platform, compilation rules for the developed software according to the operating environment of the software to be compiled.
[0030] From the above, the unified build platform is also used to generate compilation rules for the developed software according to the operating environment of the software to be compiled. Software developers do not need to manually write complex make rules, which not only further improves the efficiency of software development, but also improves the correctness of software compilation.
[0031] In a possible implementation of the second aspect, the unified construction platform is implemented through a cross-operating system language.
[0032] As described above, by realizing a unified construction platform across operating system languages, the unified construction platform can be run on multiple host platforms, thereby improving the applicability of the development environment.
[0033] In a possible implementation of the second aspect, the unified construction platform is located on the cloud where the toolset cloud platform is located.
[0034] As shown above, the unified build platform is located on the cloud where the tool set cloud platform is located, which makes it easy for software developers to access the network for software development, thereby improving the convenience of software development.
[0035] In a possible implementation of the second aspect, the software development method further includes: configuring a running environment of the software to be compiled or the software to be debugged through the unified construction platform.
[0036] From the above, the operating environment of the software to be compiled or debugged is configured through a unified construction platform, so that the development environment can develop software for any operating environment.
[0037] In a possible implementation of the second aspect, the software development method further includes: editing the software to be compiled by using a software editor.
[0038] From the above, the development environment includes a software editor, so that the development environment can achieve one-stop work of editing, compiling, debugging and downloading software. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 This is a structural diagram of a software development environment embodiment 1 of the present application;
[0040] Figure 2 This is a structural diagram of a second embodiment of a software development environment of the present application;
[0041] Figure 3 A schematic diagram of the relationship between modules of a unified construction platform of a second embodiment of a software development environment of the present application;
[0042] Figure 4 A schematic diagram of the development environment and external cooperation method of a software development environment embodiment 1 of the present application;
[0043] Figure 5 A flowchart of a software development method embodiment 1 of the present application;
[0044] Figure 6 This is a flowchart of a second embodiment of a software development method of the present application. DETAILED DESCRIPTION
[0045] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0046] In the following description, the terms "first\second\third, etc." or module A, module B, module C, etc. are only used to distinguish similar objects, or to distinguish different embodiments, and do not represent a specific ordering of the objects. It can be understood that the specific order or sequence can be interchanged where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0047] In the following description, the numbers representing the steps, such as S110, S120, etc., do not necessarily mean that the steps must be executed in this manner. If permitted, the order of the previous and next steps can be interchanged, or they can be executed simultaneously.
[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0049] The embodiments of the present application provide a software development environment and a software development method, wherein the development environment includes: a tool set cloud platform for storing a software development tool set, which includes compilation tools under various operating environments, and each operating environment includes at least one of the following: a processor system on which the software runs, an operating system on which the software runs; a unified construction platform for obtaining matching compilation tools from the tool set cloud platform according to the operating environment of the software to be compiled, and installing the matching compilation tools on the unified construction platform for compiling the software to be compiled.
[0050] When software developers use the software development environment of the embodiment of the present application to develop software, they obtain matching compilation tools from the tool set cloud platform according to the operating environment of the software to be compiled through the unified construction platform, and install them on the unified construction platform to compile the software to be compiled. When software developers use the software development environment of the embodiment of the present application to develop software, they do not need to pay attention to complex functions such as the installation and configuration of the software compilation toolset, but only need to pay attention to the functional development of the software itself, which improves the efficiency of software development, and the unified construction platform takes up less storage space when compiling software.
[0051] The following describes various embodiments of the present application in conjunction with the accompanying drawings. Figure 1 A first embodiment of a software development environment of the present application is introduced.
[0052] Figure 1 The structure of a first embodiment of a software development environment is shown, including: a tool set cloud platform 110 and a unified construction platform 120.
[0053] The tool set cloud platform 110 is used to store software development tool sets, which include compilation tools for various operating environments, and each operating environment includes at least one of the following: a processor system on which the software runs, and an operating system on which the software runs.
[0054] Among them, the processor system includes the architecture, manufacturer and release version of the processor (CPU). For example, the processor architecture includes ARM, x86 and other architectures; the operating system includes various real-time and non-real-time operating systems. For example, the non-real-time operating system includes Windows and Linux.
[0055] Among them, the tool set cloud platform 110 has the characteristics of high disk usage and diverse versions, and can support software compilation in various operating environments.
[0056] In some embodiments, the development tool set also includes debugging tools for various operating environments, which can support software debugging in various operating environments.
[0057] In some embodiments, the administrator of the development environment uploads the development toolset of the mainstream operating environment to the toolset cloud platform 110, including at least the development toolset of the software to be developed. It should be noted that in each embodiment of the present application, the software to be developed includes software to be compiled and software to be debugged.
[0058] In some embodiments, the toolset cloud platform 110 is built based on the Vue framework and communicates with the unified build platform 120 using the HTTP protocol.
[0059] The unified construction platform 120 includes corresponding compilation tools that are automatically adapted from the tool set cloud platform 110 according to the operating environment of the software to be compiled, and are installed on the unified construction platform 120 and are respectively used to compile the software to be compiled.
[0060] The unified construction platform 120 will automatically install corresponding development tools for developers according to the operating environment requirements of the developer's target platform, thereby omitting the tedious and complicated configuration process in the early stage for the developer.
[0061] The unified construction platform 120 provides automatic matching and installation functions for development tool sets, so it has the characteristic of small disk usage.
[0062] In some embodiments, the compilation tool of the software to be compiled includes a tool chain and SDK for compiling the software.
[0063] In some embodiments, the unified build platform 120 is also used to generate compilation rules for the developed software according to the operating environment of the software to be compiled, and the developer does not need to manually write complex make rules.
[0064] In some embodiments, when the development toolset also includes debugging tools for various operating environments, the unified build platform 120 is also used to obtain corresponding debugging tools from the toolset cloud platform according to the operating environment of the software to be debugged, and install them on the unified build platform 120 for debugging the software to be debugged.
[0065] In some embodiments, the unified construction platform 120 is also used to configure the operating environment of the software to be compiled or debugged.
[0066] In some embodiments, the unified construction platform 120 is further configured to provide a remote download function to a platform that meets the operating environment of the software that has passed debugging, so as to download the software that has passed debugging.
[0067] In some embodiments, the unified build platform 120 is also used to generate compilation rules for the developed software according to the operating environment of the software to be compiled, and the developer does not need to manually write complex make rules.
[0068] In some embodiments, the unified construction platform 120 is implemented by a cross-operating system language. For example, the cross-operating system language is Python, and the unified construction platform 120 is implemented by the Python programming language. The unified construction platform 120 provides core functions for embedded development, such as: compilation, downloading, and debugging of embedded target files. Due to the natural cross-platform characteristics of Python, the unified construction platform 120 can run on multiple host platforms (such as mainstream Linux, Windows, etc.)
[0069] In some embodiments, the compilation tool of the software to be compiled includes a tool chain and SDK for compiling the software.
[0070] In some embodiments, the unified construction platform 120 is located on the cloud where the tool set cloud platform 110 is located, and provides an interface to developers, who access it through the Internet.
[0071] In some embodiments, a software development environment further includes: a software editor for editing the software to be compiled.
[0072] In summary, when a software developer develops software using the software development environment described in the first embodiment of a software development environment, the software developer obtains matching compilation tools from the tool set cloud platform according to the operating environment of the software to be compiled through the unified construction platform, and installs them on the unified construction platform to compile the software to be compiled. When the software developer develops software using the software development environment of the embodiment of the present application, there is no need to pay attention to the complex functions such as the installation and configuration of the software compilation tool set, and only needs to pay attention to the functional development of the software itself, which improves the efficiency of software development. The functional development of the software itself improves the efficiency of software development, and the unified construction platform takes up less storage space when compiling software.
[0073] Combine the following Figures 2 to 4 A second embodiment of a software development environment is introduced. The second embodiment of a software development environment inherits the technical solution of the first embodiment of a software development environment, has all its advantages, and provides a more detailed module solution for a unified construction platform, which not only realizes the matching and installation of software compilation tool sets, but also the automatic generation of compilation rules, matching and installation of debugging tool sets, and download functions, further improving the efficiency of software development.
[0074] Figure 2 The structure of a second embodiment of a software development environment is shown, including: a tool set cloud platform 210, a unified construction platform 220 and a software editor 230.
[0075] The tool set cloud platform 210 is located on the cloud and is used to store software development tool sets, which include compilation tools and debugging tools for various operating environments, and each operating environment includes at least one of the following: a processor system for software operation, and an operating system for software operation. The operating environment includes an operating environment for an embedded target machine. For example, the operating environment for the embedded target machine uses an ARM processor, and a real-time operating system runs on the ARM processor.
[0076] The development tool set uploaded by the manager of the software development environment to the tool set cloud platform 210 includes tool chains and SDKs for various operating environments. It has the characteristics of high disk usage and diverse versions, and can support software compilation in various operating environments.
[0077] The tool set cloud platform 210 is built based on the Web system using the Vue framework and communicates with the unified construction platform 220 using the HTTP protocol.
[0078] The unified construction platform 220 is located on the cloud where the tool set cloud platform 210 is located. The unified construction platform 220 is implemented using the Python programming language. The unified construction platform 220 provides core functions for embedded development, such as: compilation, downloading, and debugging of embedded target files. Due to the natural cross-platform characteristics of Python, the unified construction platform 220 can run on multiple host platforms (such as mainstream Linux, Windows, etc.).
[0079] The unified construction platform 220 includes a development interface module 2210 , a dependency management module 2220 , an environment matching module 2230 , a tool installation module 2240 , a rule generation module 2250 and a remote download module 2260 .
[0080] The development interface module 2210 is used to provide a development interface to software developers. Software developers access the software development environment through the development interface module 2210 to compile and debug software.
[0081] The dependency management module 2220 is used to configure the operating environment of the software to be developed so as to facilitate matching by the environment matching module 2230. The software to be developed includes software to be compiled and software to be debugged.
[0082] For example, when configuring the operating environment of the software to be developed, the software developer needs to specify the operating environment of the target platform through the dependency management module 2220, and the format example is as follows:
[0083] prj bu il d--arch arm--src_d ir / root / app
[0084] In the above example, the software developer specifies the target platform as arm through the --arch parameter. The dependency management module 2220 is also used to automatically generate build rules for the software developer, and the build rules are recognized by the tool set cloud platform 210 to complete the adaptation for the development tool.
[0085] The environment matching module 2230 is used to automatically adapt the corresponding compilation tool from the tool set cloud platform 210 according to the operating environment of the software to be compiled, and is also used to automatically adapt the corresponding debugging tool from the tool set cloud platform 210 according to the operating environment of the software to be debugged. The environment matching module 2230 adapts the development tools on the tool set cloud platform 210 according to the build rules generated by the dependency management module 2220 and recognized by the tool set cloud platform 210.
[0086] According to the operating environment requirements of the developer's target platform, the corresponding development tools are automatically matched to the developer, thus omitting the tedious and complicated configuration process in the early stage.
[0087] The tool installation module 2240 is used to install the compilation tools and debugging tools obtained by the environment matching module 2230 on the unified construction platform 220, and delete them from the unified construction platform 220 after completion. The unified construction platform 120 provides automatic matching and installation functions for development tool sets, so it has the characteristic of small disk usage.
[0088] The rule generation module 2250 is used to generate the compilation rules of the developed software according to the operating environment of the software to be compiled, and the developer does not need to manually write complex make rules.
[0089] The remote download module 2260 is used to provide a remote download function to a platform that meets the operating environment of the debugged software, so as to download the debugged software. The debugged software is downloaded in an installation image mode, so as to be installed and run on the platform that meets the operating environment of the debugged software.
[0090] The software editor 230 is used to edit the software to be compiled, and it can be located on the cloud where the tool set cloud platform 210 is located or on the computer of the software developer.
[0091] Figure 3 The figure shows the relationship between the modules of the unified construction platform 220 of the second embodiment of a software development environment.
[0092] Among them, the unified construction platform 220 is connected through the development interface module 2210, and then the operating environment of the software to be developed is configured through the dependency management module 2220. After that, the unified construction platform 220 automatically adapts the corresponding compilation tools and debugging tools from the toolset cloud platform 210 according to the operating environment through the environment matching module 2230, and installs them on the unified construction platform 220 through the tool installation module 2240. At the same time, the rule generation module 2250 is used to generate compilation rules for the developed software according to the operating environment, and developers do not need to manually write complex make rules.
[0093] Among them, when the software to be developed generates an installable image after compilation and debugging, it accesses the unified construction platform 220 through the development interface module 2210, and calls the remote download module 2260 to provide a remote download function to the platform that meets the operating environment of the debugged software, so as to download the installation image of the developed software for installation.
[0094] Figure 4 The invention shows a method of cooperation between the development environment and the external environment described in the second embodiment of a software development environment.
[0095] Among them, the development environment manager uploads the mainstream development tool set to the tool set cloud platform 210 of the development environment; the software developer accesses the unified construction platform 220 to develop software, and the unified construction platform 220 implements dependency generation (configures the operating environment of the software to be developed), and automatically matches the corresponding compilation tools and debugging tools automatically adapted from the tool set cloud platform 210, and installs them on the unified construction platform 220. When the software to be developed generates an installable image after compilation and debugging, the software is downloaded and installed to the operating platform that meets the software requirements.
[0096] The implementation process of the software development environment described in the second embodiment of a software development environment includes the following steps:
[0097] 1) Building a tool set cloud platform 210 based on the Web system;
[0098] 2) Building a basic framework of the unified construction platform 220, and implementing each submodule of the unified construction platform 220 on the basic framework;
[0099] 3) Provide development interfaces for software developers.
[0100] In summary, when software developers use the software development environment described in the second software development environment embodiment to develop software, they can achieve software compilation tool set matching and installation, automatic generation of compilation rules, debugging tool set matching and installation, and download functions, further improving the efficiency of software development.
[0101] The following describes various method embodiments of the present application in conjunction with the accompanying drawings. Figure 5 A first embodiment of a software development method is introduced.
[0102] A software development method embodiment 1 uses a software development environment embodiment 1 to compile software, and has all the advantages of a software development environment embodiment 1.
[0103] Figure 5 The flowchart of a first embodiment of a software development method is shown, including steps S510 to S530.
[0104] S510: The administrator of the development environment uploads the development toolset of the mainstream operating environment to the toolset cloud platform of the development environment.
[0105] The tool set includes compilation tools for various operating environments, and each operating environment includes at least one of the following: a processor system on which the software runs, and an operating system on which the software runs.
[0106] S520: The software developer obtains a matching compilation tool from the tool set cloud platform according to the operating environment of the software to be compiled through the unified construction platform of the development environment, and installs the tool on the unified construction platform.
[0107] Among them, by automatically matching and installing compilation tools through a unified build platform, developers do not need to pay attention to complex functions such as installation and configuration of software compilation toolsets.
[0108] Among them, the unified build platform and the tool set cloud platform communicate and interact based on the HTTP protocol.
[0109] S530: The software developer compiles the software to be compiled through the unified construction platform.
[0110] Among them, the unified build platform only installs the compilation tools of the software to be compiled, which takes up less resources.
[0111] Combine the following Figure 6 A second embodiment of a software development method is introduced.
[0112] A software development method embodiment 2 uses a software development environment embodiment 2 to compile software, and has all the advantages of a software development environment embodiment 2.
[0113] Figure 6The flowchart of the second embodiment of a software development method is shown, including steps S610 to S670.
[0114] S610: The administrator of the development environment uploads the development toolset of the mainstream operating environment to the toolset cloud platform of the development environment.
[0115] Among them, the toolset includes compilation tools and debugging tools for various operating environments.
[0116] S620: The software developer edits the software to be developed through the software editor.
[0117] The software editor may be any type of editor, and may be on the cloud or locally.
[0118] S630: The software developer configures environment parameters related to the operating environment of the software to be developed through the unified construction platform of the development environment.
[0119] The environmental parameters include a processor system and an operating system. The software to be developed in this embodiment is a processor system and an operating system of an embedded system, the processor includes an ARM processor, and the operating system supports a real-time operating system.
[0120] Among them, software developers access the unified build platform through the development interface module of the unified build platform, and use the dependency management module of the unified build platform to configure environmental parameters related to the operating environment.
[0121] S640: The unified construction platform automatically matches the compilation tool and the debugging tool of the software to be developed according to the operating environment of the software to be developed, and installs them on the unified construction platform.
[0122] Among them, the unified build platform only installs a matching tool set, including compilation and debugging tools for the compiled software that matches the operating environment of the software to be developed, such as related tool chains and SDKs, which takes up less resources.
[0123] The unified build platform uses its environment matching module to automatically match the compilation tools and debugging tools of the software to be developed, and uses the tool installation module to automatically install the matching compilation and debugging tools on the unified build platform.
[0124] Among them, the unified build platform and the tool set cloud platform communicate and interact based on the HTTP protocol.
[0125] S650: The unified construction platform automatically generates compilation rules for the software to be developed according to the operating environment of the software to be developed.
[0126] Among them, software developers do not need to manually write complex make rules, further improving the efficiency of software development.
[0127] The unified construction platform uses its rule generation module to automatically generate compilation rules that match the operating environment of the software to be developed.
[0128] S660: Software developers compile and debug the software to be developed on the unified build platform.
[0129] Among them, the software developer first accesses the unified build platform through the development interface module of the unified build platform, and then uses the compilation tools and automatically generated compilation rules automatically matched and installed by the unified build platform to complete the compilation of the software to be developed, and then uses the debugging tools automatically matched and installed by the unified build platform to debug the software to be developed.
[0130] S670: The software developer downloads the debugged software to the software running platform through the unified build platform.
[0131] Among them, the software developer accesses the unified build platform through the development interface module of the unified build platform, and uses the remote download module of the unified build platform to download the debugged software.
[0132] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may also include more other equivalent embodiments without departing from the concept of the present application, all of which belong to the scope of protection of the present application.
Claims
1. A software development environment, characterized in that: include: A tool set cloud platform is used to store software development tool sets, which include compilation tools for various operating environments, each of which includes at least one of the following: the processor system on which the software runs, the operating system on which the software runs; The unified construction platform is used to obtain matching compilation tools from the tool set cloud platform according to the operating environment of the software to be compiled, and install the matching compilation tools on the unified construction platform to compile the software to be compiled.
2. The development environment according to claim 1, characterized in that: The development tool set also includes debugging tools for various operating environments; The unified construction platform is also used to obtain matching debugging tools from the tool set cloud platform according to the operating environment of the software to be debugged, and install them on the unified construction platform for debugging the software to be debugged.
3. The development environment according to claim 1, characterized in that: The unified construction platform is also used to provide a remote download function to the operating platform of the developed software.
4. The development environment according to claim 1, characterized in that: The unified construction platform is also used to generate compilation rules for the developed software according to the operating environment of the software to be compiled.
5. The development environment according to claim 1, characterized in that: The unified construction platform is implemented through a cross-operating system language.
6. The development environment according to claim 1, characterized in that: The unified construction platform is located on the cloud where the tool set cloud platform is located.
7. The development environment according to claim 2, characterized in that: The unified construction platform is also used to configure the operating environment of the software to be compiled or debugged.
8. The development environment according to claim 1, characterized in that: Also includes: A software editor is used to edit the software to be compiled.
9. A software development method, characterized in that: Compiling software using the development environment described in any one of claims 1 to 8 comprises: Upload the software development tool set to the tool set cloud platform of the development environment, which includes compilation tools for various operating environments, each operating environment includes at least one of the following: the processor system on which the software runs, the operating system on which the software runs; Obtaining a matching compilation tool from the tool set cloud platform according to the operating environment of the software to be compiled through the unified construction platform of the development environment, and installing the tool on the unified construction platform; The software to be compiled is compiled through the unified construction platform.
10. The method according to claim 9, characterized in that: The development tool set also includes debugging tools for various operating environments, and the method further includes: Obtaining a matching debugging tool from the tool set cloud platform according to the operating environment of the software to be debugged through the unified construction platform of the development environment, and installing the matching debugging tool on the unified construction platform; Debugging the software to be debugged through the unified construction platform; The debugged software is downloaded to a platform that meets the operating environment of the debugged software through the unified construction platform.