CN111209035A - Configuration method and configuration system for software development - Google Patents

Configuration method and configuration system for software development Download PDF

Info

Publication number
CN111209035A
CN111209035A CN202010043046.7A CN202010043046A CN111209035A CN 111209035 A CN111209035 A CN 111209035A CN 202010043046 A CN202010043046 A CN 202010043046A CN 111209035 A CN111209035 A CN 111209035A
Authority
CN
China
Prior art keywords
configuration
user
module
information
service module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010043046.7A
Other languages
Chinese (zh)
Inventor
芦永胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN202010043046.7A priority Critical patent/CN111209035A/en
Publication of CN111209035A publication Critical patent/CN111209035A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/10Requirements analysis; Specification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Abstract

The embodiment of the invention provides a configuration method for software development, which comprises the following steps: acquiring configuration operation and configuration information of a user; generating a corresponding configuration instruction according to the configuration operation and the configuration information, wherein the configuration operation comprises configuration of a service module, configuration of resources and/or dependency relationship of the service module; configuring software according to the configuration instruction; generating a corresponding configuration code according to a configuration result, and storing the configuration code into the Svn to manage the configuration code; and sending the configuration code to the TeamCity to package the software into a corresponding installation package. The embodiment of the invention also provides a configuration system for software development, computer equipment and a readable storage medium. By the embodiment of the invention, the maintenance cost and the labor consumption of the code can be greatly reduced.

Description

Configuration method and configuration system for software development
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a configuration method, a configuration system, computer equipment and a readable storage medium for software development.
Background
Different business requirements exist for different users, and different man-machine interaction interfaces exist due to different business requirements, so that various man-machine interaction interface plate-making methods exist. Correspondingly, the more versions of the human-computer interaction interface client, the higher the code maintenance cost and the higher the manpower consumption.
Therefore, the invention aims to solve the problems of multiple versions of the human-computer interaction interface client, high code maintenance cost and high labor consumption.
Disclosure of Invention
In view of the above, there is a need to provide a configuration method, a configuration system, a computer device and a readable storage medium for software development, which can greatly reduce the maintenance cost and labor consumption of code.
In order to achieve the above object, an embodiment of the present invention provides a configuration method for software development, where the method includes:
acquiring configuration operation and configuration information of a user;
generating a corresponding configuration instruction according to the configuration operation and the configuration information, wherein the configuration operation comprises configuration of a service module, configuration of resources and/or dependency relationship of the service module;
configuring software according to the configuration instruction;
generating a corresponding configuration code according to a configuration result and a preset configuration instruction code table, and storing the configuration code into a version library (Svn) to manage the configuration code; and
sending the configuration code to a team city (TeamCity) to package the software into a corresponding installation package.
Optionally, before the step of obtaining the configuration operation and the configuration information of the user, the method further includes the steps of:
acquiring user requirement information input by a user;
determining a demand function according to the user demand information;
comparing the required function with a preset function of a preset service module corresponding to the service module in the service module library;
if the required function is inconsistent with the preset function, configuring the service module; and
and if the required function is consistent with the preset function, acquiring the service module from the service module library.
Optionally, the step of determining a demand function according to the user demand information further includes the steps of:
extracting keyword information from the user demand information; and
and determining a demand function corresponding to the user demand information according to the keyword information.
Optionally, the step of obtaining the configuration operation and the configuration information of the user further includes the steps of:
detecting whether resources meeting the requirement function exist in the resource library, wherein the resources at least comprise pictures, files and/or videos;
when the resource does not exist, acquiring the resource input by the user; and
and when the resource exists, acquiring the resource from the resource library.
Optionally, the step of obtaining the configuration operation and the configuration information of the user further includes the steps of:
acquiring the service module according to the user demand information; and
and setting a calling rule of the business module according to the dependency relationship, wherein the calling rule comprises the sequence of calling or executing the business module.
Optionally, after the step of sending the configuration code to the TeamCity to package the software into a corresponding installation package, the method further includes the steps of:
detecting whether the TeamCity platform completes packaging;
when the packaging is finished, sending notification information to a first user terminal in a preset mode to remind a first user of testing the installation package; and
and sending feedback information to a second user terminal through the preset mode so as to remind the second user that the packaging is finished.
Optionally, the step of sending notification information to the first user terminal in a preset manner when the packaging is completed to remind the first user to test the installation package further includes the steps of:
when receiving a test operation input by a test user, identifying the test operation as a corresponding test instruction; and
and linking to the TeamCity platform according to the test instruction so as to download the installation package from the TeamCity platform.
In order to achieve the above object, an embodiment of the present invention further provides a configuration system for software development, including:
the acquisition module is used for acquiring configuration operation and configuration information of a user;
the generating module is used for generating a corresponding configuration instruction according to the configuration operation and the configuration information, wherein the configuration operation comprises the configuration of a service module, the configuration of resources and/or the dependency relationship of the service module;
the configuration module is used for configuring software according to the configuration instruction;
the generating module is further used for generating a corresponding configuration code according to a configuration result and a preset configuration instruction code table, and storing the configuration code in the Svn so as to manage the configuration code; and
and the sending module is used for sending the configuration code to the TeamCity so as to package the software into a corresponding installation package.
Optionally, the configuration system further includes a determining module and a comparing module, wherein:
the acquisition module is also used for acquiring user requirement information input by a user;
the determining module is used for determining a demand function according to the user demand information;
the comparison module is used for comparing the required function with a preset function of a preset service module corresponding to the service module in the service module library;
the configuration module is further configured to configure the service module when the required function is inconsistent with the preset function; and
and the acquisition module is used for acquiring the service module from the service module library when the required function is consistent with the preset function.
Optionally, the determining module is further configured to:
extracting keyword information from the user demand information; and
and determining a demand function corresponding to the user demand information according to the keyword information.
Optionally, the configuration system further comprises a detection module, wherein:
the detection module is used for detecting whether resources meeting the requirement function exist in the resource library, wherein the resources at least comprise pictures, documentaries and/or videos;
the obtaining module is further configured to obtain the resource input by the user when the resource does not exist; and when the resource exists, acquiring the resource from the resource library.
Optionally, the configuration system further comprises a setting module, wherein:
the acquiring module is further used for acquiring the service module according to the user demand information; and
the setting module is used for setting the calling rule of the business module according to the dependency relationship, wherein the calling rule comprises the sequence of calling or executing the business module.
Optionally, the detection module is further configured to detect whether the TeamCity platform completes packaging;
the sending module is further configured to send notification information to the first user terminal in a preset manner when the packaging is completed so as to remind the first user to test the installation package, and send feedback information to the second user terminal in the preset manner so as to remind the second user that the packaging is completed.
Optionally, the configuration system further includes an identification module and a linking module, wherein:
the identification module is used for identifying the test operation as a corresponding test instruction when receiving the test operation input by a test user; and
the link module is used for linking to the TeamCity platform according to the test instruction so as to download the installation package from the TeamCity platform.
To achieve the above object, the embodiments of the present invention further provide a computer device, a memory of the computer device, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the configuration method for software development as described above.
To achieve the above object, an embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and the computer program is executable by at least one processor to cause the at least one processor to execute the steps of the configuration method for software development as described above.
According to the configuration method, the configuration system, the computer equipment and the readable storage medium for software development, provided by the embodiment of the invention, the business module, the dependency relationship and the resource of the business module are configured according to the user requirement, the configuration result is stored in the Svn, then the configuration result is packaged into the corresponding installation package, and when the completion of packaging is detected, a tester is informed to test the installation package in a preset mode. By the embodiment of the invention, the maintenance cost and the labor consumption of the code are greatly reduced.
Drawings
Fig. 1 is an environmental architecture diagram of a configuration system according to a first embodiment of the invention.
Fig. 2 is a flowchart illustrating a configuration method for software development according to a second embodiment of the present invention.
Fig. 3 is a schematic hardware architecture of a computer device according to a third embodiment of the present invention.
Fig. 4 is a schematic diagram of a program module of a configuration system according to a fourth embodiment of the present invention.
Reference numerals:
Figure BDA0002368423230000051
Figure BDA0002368423230000061
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Example one
Referring to fig. 1, an environment architecture diagram of a configuration system for software development according to a first embodiment of the present invention is shown. The configuration system configures software and saves configuration codes in the Svn so that the Svn manages the configuration codes. The configuration system sends the configuration code to the TeamCity platform to cause the TeamCity platform to package the software into an installation package. And the configuration system detects the packaging progress, and when the software packaging is completed, the configuration system tests the installation package and prompts the completion of the packaging by sending notification information to the first user terminal and the second user terminal.
Example two
Referring to fig. 2, a flowchart of steps of a configuration method for software development according to a second embodiment of the present invention is shown. It is to be understood that the flow charts in the embodiments of the present method are not intended to limit the order in which the steps are performed. It should be noted that the present embodiment is exemplarily described with the computer device 2 as an execution subject. The method comprises the following specific steps:
step S100, obtaining configuration operation and configuration information of a user.
Step S102, generating a corresponding configuration instruction according to the configuration operation and the configuration information, wherein the configuration operation comprises the configuration of a service module, the configuration of resources and/or the dependency relationship of the service module.
In a preferred embodiment, when the service module function in the stored service module library cannot meet the user requirement, the configuration operation of the service module and the resource of the user is obtained, and a corresponding service configuration instruction is generated according to the configuration operation.
In another preferred embodiment, before the configuration operation and the configuration information of the user are obtained, user requirement information input by the user is also obtained. And then, determining a demand function according to the user demand information. Finally, comparing the required function with a preset function of a preset service module corresponding to the service module in the service module library, and if the required function is inconsistent with the preset function, configuring the service module; and if the required function is consistent with the preset function, acquiring the service module from the service module library.
Illustratively, if a service module a (e.g., a user registration module without a gender attribute), a service module B (e.g., a user login module), and a service module C (e.g., a main interface display module) are stored in the service module library, and the user requirements are the service module a '(e.g., a user registration module with a gender attribute), the service module B (e.g., a user login module), and the service module C (e.g., a main interface display module), where the service module a' is to add or delete a part of functions based on the service module a, the service module a is obtained, and the configuration operation of adding or deleting the part of functions is performed on the service module a. For example: the gender attribute is added or deleted in the user registration module. And if the service module library stores a service module A, a service module B and a service module C, and the user requirements are the service module A, the service module B and the service module C, acquiring the service module A, the service module B and the service module C from the service module library.
In a preferred embodiment, when determining the required function according to the user requirement information, keyword information is further extracted from the user requirement information, and then the required function corresponding to the user requirement information is determined according to the keyword information.
Illustratively, if the user requirement information is that the user registration module has a gender attribute, the keyword information "user registration module" and "gender attribute" are extracted. Then, the required functions determined according to the keyword information are 'user registration module' and 'gender attribute'.
In a preferred embodiment, when acquiring configuration operation and configuration information of a user, it is further detected whether a resource meeting the requirement function exists in the resource library, wherein the resource at least comprises a picture, a file and/or a video, and when the resource does not exist, the resource input by the user is acquired; and when the resource exists, acquiring the resource from the resource library.
Illustratively, if the user needs to require the first company introduction function, whether first company introduction information exists in the resource library is detected. And when the introduction information of the company A exists, directly obtaining the introduction information from the resource library. And when the first company introduction information does not exist, obtaining the first company introduction information input by the user, wherein the first company introduction information can be pictures, characters and/or videos.
In another preferred embodiment, when the configuration operation and the configuration information of the user are obtained, the service module is further obtained according to the user requirement information, and then the calling rule of the service module is set according to the dependency relationship, wherein the calling rule comprises the sequence of calling or executing the service module.
Illustratively, when a user installs a new client, the user always registers on the client, and then logs in the client after the registration is successful. At this time, the user registration module and the user login module have dependency, the user registration module is executed first, and then the user login module is executed, so the set calling rule is that the user registration module is executed first, and then the user login module is executed.
In another preferred embodiment, a database stores a plurality of calling rules of pre-dependency setting of different business modules, and then a calling rule corresponding to the dependency relationship is selected from the plurality of calling rules according to the dependency relationship.
And step S104, configuring the software according to the configuration instruction.
And step S106, generating a corresponding configuration code according to the configuration result and a preset configuration instruction code table, and storing the configuration code into the Svn to manage the configuration code.
Illustratively, the user registration module, the user login module and the main interface display module are configured through a configuration instruction, the calling rule of the user registration module, the calling rule of the user login module and the calling rule of the main interface display module are firstly the user registration module, then the user login module and finally the main interface display module, and corresponding resources are called according to the called modules. For example: and calling the company A introduction information by the main interface display module. And when a determination instruction of the user is monitored, judging that the configuration is finished. Then, generating corresponding software configuration codes according to the user registration module, the user login module, the main interface display module, the dependency relationships of the modules and the configuration results of the corresponding resources, and storing the configuration codes into a version library to manage the configuration codes, for example: the version information and modification information configured here are recorded. Illustratively, when the configuration result generates the corresponding configuration code of the software, the configuration instruction is matched with a preset configuration instruction code table, and the matched code corresponding to the configuration instruction is obtained according to the matching result and is stored in the Svn.
Step S108, sending the configuration code to the TeamCity to package the software into a corresponding installation package.
Illustratively, a user registration module, a user login module, a main interface display module, a dependency relationship between the user registration module and the main interface display module, and corresponding resources (such as company introduction information) are sent to a TeamCity platform for packaging, so as to package into an installation package, thereby facilitating the installation of the software.
In a preferred embodiment, please refer to fig. 1, after sending configuration code to the TeamCity platform to package the software into a corresponding installation package, it is also detected whether the TeamCity platform is finished packaging. And when the packaging is finished, sending notification information to the first user terminal in a preset mode so as to remind the first user to test the installation package. And then, sending feedback information to a second user terminal through the presetting so as to remind the second user that the packaging is finished.
Illustratively, when the computer device 2 detects that the software packaging is completed, notifying a tester in an email manner to remind the tester to test the installation package, and notifying a developer in an email manner to remind the developer that the software packaging is completed.
It should be noted that, in another preferred embodiment, the tester and the developer may also be notified in other manners, and the embodiment of the present invention is described by way of an example only in an email manner, which is not limited herein.
In another preferred embodiment, after the packaging is completed and the notification information is sent to the first user terminal in a preset mode, if the test operation input by the test user is received, the test operation is identified as a corresponding test instruction, and the test instruction is linked to the TeamCity platform according to the test instruction so as to download the installation package from the TeamCity platform.
Illustratively, when the tester receives the installation package notification information of which the packaging is completed, the tester clicks a test button, and the computer device 2 receives the test operation and downloads the installation package from the TeamCity platform according to the test operation so as to test the installation package.
By the embodiment of the invention, the maintenance cost and the labor consumption of the code are greatly reduced.
EXAMPLE III
Referring to fig. 3, a hardware architecture diagram of a computer device according to a third embodiment of the present invention is shown. The computer device 2 includes, but is not limited to, a memory 21, a processor 22, and a network interface 23 communicatively coupled to each other via a system bus, and fig. 2 illustrates only the computer device 2 having components 21-23, but it is to be understood that not all of the illustrated components are required and that more or fewer components may alternatively be implemented.
The memory 21 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 21 may be an internal storage unit of the computer device 2, such as a hard disk or a memory of the computer device 2. In other embodiments, the memory may also be an external storage device of the computer device 2, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a flash Card (FlashCard), and the like, provided on the computer device 2. Of course, the memory 21 may also comprise both an internal storage unit of the computer device 2 and an external storage device thereof. In this embodiment, the memory 21 is generally used for storing an operating system installed on the computer device 2 and various application software, such as program codes configuring the system 20. Further, the memory 21 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 22 is typically used to control the overall operation of the computer device 2. In this embodiment, the processor 22 is configured to execute the program codes stored in the memory 21 or process data, such as executing the configuration system 20.
The network interface 23 may comprise a wireless network interface or a wired network interface, and the network interface 23 is generally used for establishing communication connection between the computer device 2 and other electronic devices. For example, the network interface 23 is used to connect the computer device 2 to an external terminal through a network, establish a data transmission channel and a communication connection between the computer device 2 and the external terminal, and the like. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth (Bluetooth), Wi-Fi, and the like.
Example four
Referring to fig. 4, a schematic diagram of program modules of a configuration system according to a fourth embodiment of the present invention is shown. In this embodiment, the configuration system 20 may include or be divided into one or more program modules, and the one or more program modules are stored in a storage medium and executed by one or more processors to implement the present invention and implement the configuration method of the software development described above. Program modules referred to herein in the context of embodiments of the present invention are generally intended to be a series of computer program instructions that can be executed to cause a system 20 to perform a particular function, and are generally more suitable than programs per se for describing the manner in which such programs are executed on a storage medium. The following description will specifically describe the functions of the program modules of the present embodiment:
the obtaining module 201 is configured to obtain configuration operation and configuration information of a user.
A generating module 202, configured to generate a corresponding configuration instruction according to the configuration operation and the configuration information, where the configuration operation includes configuration of a service module, configuration of a resource, and/or a dependency relationship of the service module.
In a preferred embodiment, when the service module function in the stored service module library cannot meet the user requirement, the obtaining module 201 obtains the service module of the user and the configuration operation of the resource, and then the generating module 202 generates the corresponding service configuration instruction according to the configuration operation.
In another preferred embodiment, the configuration system 20 further comprises a determination module 205 and a comparison module 206. Before acquiring the configuration operation and the configuration information of the user, the acquiring module 201 also acquires user requirement information input by the user. Then, the determining module 205 determines the requirement function according to the user requirement information. Finally, the comparing module 206 compares the required function with a preset function of a preset service module corresponding to the service module in the service module library. If the required function is not consistent with the preset function, the configuration module 203 configures the service module; if the required function is consistent with the preset function, the obtaining module 201 obtains the service module from the service module library.
For example, if a service module a (e.g., a user registration module without a gender attribute), a service module B (e.g., a user login module), and a service module C (e.g., a main interface display module) are stored in the service module library, and the user requirement is a service module a '(e.g., a user registration module with a gender attribute), a service module B (e.g., a user login module), and a service module C (e.g., a main interface display module), where the service module a' adds or deletes a part of functions based on the service module a, the obtaining module 201 obtains the service module a, and then the configuration module 203 performs configuration operation of adding or deleting the part of functions on the service module a. For example: the gender attribute is added or deleted in the user registration module. If the service module library stores a service module a, a service module B, and a service module C, and the user demand is also the service module a, the service module B, and the service module C, the obtaining module 201 obtains the service module a, the service module B, and the service module C from the service module library.
In a preferred embodiment, when determining the required function according to the user requirement information, the determining module 205 further extracts keyword information from the user requirement information, and then determines the required function corresponding to the user requirement information according to the keyword information.
For example, if the user requirement information is that the user registration module has a gender attribute, the determining module 205 extracts the keyword information "user registration module" and "gender attribute", and then determines the requirement function as "user registration module" and "gender attribute" according to the keyword information.
In a preferred embodiment, the configuration system 20 further comprises a detection module 207. When the obtaining module 201 obtains the configuration operation and the configuration information of the user, the detecting module 207 further detects whether a resource meeting the requirement exists in the resource library, wherein the resource at least includes a picture, a file and/or a video. When the resource does not exist, the obtaining module 201 obtains the resource input by the user. When the resource exists, the obtaining module 201 obtains the resource from the resource library.
For example, if the user needs to require a company a introduction function, the detection module 207 detects whether company a introduction information exists in the repository. When the first company introduction information exists, the obtaining module 201 obtains the first company introduction information directly from the resource library. When the first company introduction information does not exist, the obtaining module 201 obtains the first company introduction information input by the user, wherein the first company introduction information may be a picture, a character and/or a video.
In another preferred embodiment, the configuration system 20 further includes a setup module 208. When the obtaining module 201 obtains the configuration operation and the configuration information of the user, the service module is further obtained according to the user requirement information. Then, the setting module 208 sets a calling rule of the service module according to the dependency relationship, where the calling rule includes a sequence of calling or executing the service module.
Illustratively, when a user installs a new client, the user always registers on the client, and then logs in the client after the registration is successful. At this time, the user registration module and the user login module have dependency, the user registration module is executed first, and then the user login module is executed, so the set calling rule is that the user registration module is executed first, and then the user login module is executed.
In another preferred embodiment, a database stores a plurality of calling rules of pre-dependency setting of different business modules, and then a calling rule corresponding to the dependency relationship is selected from the plurality of calling rules according to the dependency relationship.
And the configuration module 203 is used for configuring software according to the configuration instruction.
The generating module 202 is further configured to generate a corresponding configuration code according to the configuration result and a preset configuration instruction code table, and store the configuration code in the Svn to manage the configuration code.
Illustratively, the configuration module 203 configures the user registration module, the user login module and the main interface display module through a configuration instruction, and the calling rule of the configuration module is firstly the user registration module, then the user login module and finally the main interface display module, and calls corresponding resources according to the called modules. For example: and calling the company A introduction information by the main interface display module. And when a determination instruction of the user is monitored, judging that the configuration is finished. Then, the generating module 202 generates a configuration code of corresponding software from the user registration module, the user login module, the main interface display module, the dependency relationship between these modules, and the configuration result of the corresponding resource, and stores the configuration code in a version library to manage the configuration code, for example: the version information and modification information configured here are recorded. Illustratively, when the configuration result generates the corresponding configuration code of the software, the configuration instruction is matched with a preset configuration instruction code table, and the matched code corresponding to the configuration instruction is obtained according to the matching result and is stored in the Svn.
A sending module 204, configured to send the configuration code to the Teamcity, so as to package the software into a corresponding installation package.
Illustratively, the sending module 204 sends the user registration module, the user login module, the main interface display module, the dependency relationship between the user registration module and the main interface display module, and the corresponding resources (e.g., introduction information of company a) to the Teamcity platform for packaging, so as to package into an installation package, thereby facilitating the installation of the software.
In a preferred embodiment, referring to fig. 1, after the sending module 204 sends the configuration code to the TeamCity platform to package the software into the corresponding installation package, the detecting module 207 further detects whether the TeamCity platform is packaged completely. When the packaging is completed, the sending module 204 sends notification information to the first user terminal in a preset manner to remind the first user to test the installation package, and sends feedback information to the second user terminal in the preset manner to remind the second user that the packaging is completed.
Illustratively, when the detection module 207 detects that the software packaging is completed, a tester is notified in an email manner to remind the tester to test the installation package, and a developer is notified in an email manner to remind the developer that the software packaging is completed.
It should be noted that, in another preferred embodiment, the tester and the developer may also be notified in other manners, and the embodiment of the present invention is described by way of an example only in an email manner, which is not limited herein.
In another preferred embodiment, the configuration system 20 further comprises an identification module 209 and a linking module 210. When the packaging is completed, after the sending module 204 sends notification information to the first user terminal in a preset manner, if a test operation input by a test user is received, the identifying module 209 identifies the test operation as a corresponding test instruction. Then, the linking module 210 links to the TeamCity platform according to the test instruction, so as to download the installation package from the TeamCity platform.
Illustratively, when the tester receives the installation package notification information of the completed package, clicks a test button, the configuration system 20 receives the test operation, and downloads the installation package from the TeamCity platform according to the test operation to test the installation package.
By the embodiment of the invention, the maintenance cost and the labor consumption of the code are greatly reduced.
The present invention also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server or a rack server (including an independent server or a server cluster composed of a plurality of servers) capable of executing programs, and the like. The computer device of the embodiment at least includes but is not limited to: memory, processor, etc. communicatively coupled to each other via a system bus.
The present embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc., on which a computer program is stored, which when executed by a processor implements corresponding functions. The computer-readable storage medium of this embodiment is used for storing the configuration system 20, and when being executed by a processor, the configuration system implements the configuration method of software development of the second embodiment.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A configuration method for software development, comprising the steps of:
acquiring configuration operation and configuration information of a user;
generating a corresponding configuration instruction according to the configuration operation and the configuration information, wherein the configuration operation comprises configuration of a service module, configuration of resources and/or dependency relationship of the service module;
configuring software according to the configuration instruction;
generating a corresponding configuration code according to a configuration result and a preset configuration instruction code table, and storing the configuration code into the Svn to manage the configuration code; and
and sending the configuration code to the TeamCity to package the software into a corresponding installation package.
2. The configuration method for software development according to claim 1, wherein the step of obtaining the configuration operation and the configuration information of the user further comprises the steps of:
acquiring user requirement information input by a user;
determining a demand function according to the user demand information;
comparing the required function with a preset function of a preset service module corresponding to the service module in the service module library;
if the required function is inconsistent with the preset function, configuring the service module; and
and if the required function is consistent with the preset function, acquiring the service module from the service module library.
3. The configuration method for software development according to claim 2, wherein the step of determining the requirement function according to the user requirement information further comprises the steps of:
extracting keyword information from the user demand information; and
and determining a demand function corresponding to the user demand information according to the keyword information.
4. The configuration method for software development according to claim 1, wherein the step of obtaining the configuration operation and configuration information of the user further comprises the steps of:
detecting whether resources meeting the requirement function exist in the resource library, wherein the resources at least comprise pictures, files and/or videos;
when the resource does not exist, acquiring the resource input by the user; and
and when the resource exists, acquiring the resource from the resource library.
5. The configuration method for software development according to claim 1, wherein the step of obtaining the configuration operation and configuration information of the user further comprises the steps of:
acquiring the service module according to the user demand information; and
and setting a calling rule of the business module according to the dependency relationship, wherein the calling rule comprises the sequence of calling or executing the business module.
6. The method of configuring a software development of claim 1, wherein after said step of sending said configuration code to a TeamCity to package said software into a corresponding installation package, further comprising the steps of:
detecting whether the TeamCity platform completes packaging;
when the packaging is finished, sending notification information to a first user terminal in a preset mode to remind a first user of testing the installation package; and
and sending feedback information to a second user terminal through the preset mode so as to remind the second user that the packaging is finished.
7. The configuration method for software development according to claim 6, wherein the step of sending a notification message to the first user terminal in a preset manner when the packaging is completed to remind the first user to test the installation package further comprises the steps of:
when receiving a test operation input by a test user, identifying the test operation as a corresponding test instruction; and
and linking to the TeamCity platform according to the test instruction so as to download the installation package from the TeamCity platform.
8. A configuration system for software development, comprising:
the acquisition module is used for acquiring configuration operation and configuration information of a user;
the generating module is used for generating a corresponding configuration instruction according to the configuration operation and the configuration information, wherein the configuration operation comprises the configuration of a service module, the configuration of resources and/or the dependency relationship of the service module;
the configuration module is used for configuring software according to the configuration instruction;
the generating module is further used for generating a corresponding configuration code according to a configuration result and a preset configuration instruction code table, and storing the configuration code in the Svn so as to manage the configuration code; and
and the sending module is used for sending the configuration code to the TeamCity so as to package the software into a corresponding installation package.
9. A computer device, characterized by a computer device memory, a processor and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the configuration method for software development according to any one of claims 1-7.
10. A computer-readable storage medium, in which a computer program is stored which is executable by at least one processor to cause the at least one processor to perform the steps of the configuration method for software development according to any one of claims 1-7.
CN202010043046.7A 2020-01-15 2020-01-15 Configuration method and configuration system for software development Pending CN111209035A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010043046.7A CN111209035A (en) 2020-01-15 2020-01-15 Configuration method and configuration system for software development

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010043046.7A CN111209035A (en) 2020-01-15 2020-01-15 Configuration method and configuration system for software development

Publications (1)

Publication Number Publication Date
CN111209035A true CN111209035A (en) 2020-05-29

Family

ID=70782988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010043046.7A Pending CN111209035A (en) 2020-01-15 2020-01-15 Configuration method and configuration system for software development

Country Status (1)

Country Link
CN (1) CN111209035A (en)

Similar Documents

Publication Publication Date Title
CN108427705B (en) Electronic device, distributed system log query method and storage medium
CN110704521A (en) Interface data access method and system
CN109558320B (en) System testing method, device, system, equipment and computer readable storage medium
CN112039900B (en) Network security risk detection method, system, computer device and storage medium
CN107644075B (en) Method and device for collecting page information
CN113448862B (en) Software version testing method and device and computer equipment
CN110688096A (en) Method, device, medium and electronic equipment for constructing application program containing plug-in
CN112631924A (en) Automatic testing method and device, computer equipment and storage medium
CN111563015A (en) Data monitoring method and device, computer readable medium and terminal equipment
CN107368407B (en) Information processing method and device
CN113138768B (en) Application package generation method and device, electronic equipment and readable storage medium
CN112083925A (en) Data acquisition method, device, equipment and storage medium based on H5 page development
CN110837500A (en) Data screening method and device based on local embedded window and computer equipment
CN111209035A (en) Configuration method and configuration system for software development
CN106156235B (en) Picture downloading method and system based on Android platform
CN113378180A (en) Vulnerability detection method and device, computer equipment and readable storage medium
CN113821249A (en) Project development configuration method and device, electronic equipment and readable storage medium
CN112417324A (en) Chrome-based URL (Uniform resource locator) interception method and device and computer equipment
CN112685071A (en) Application program repairing method, device, equipment and storage medium
JP6903978B2 (en) Mobile terminals, server devices, information processing systems, control methods, and programs
CN110704498A (en) Data extraction method, device, equipment and computer readable storage medium
CN111198721A (en) Application program running method and device
CN112650509B (en) Application installation package generation method and device, computer equipment and storage medium
CN111414190B (en) Request processing method and device
CN107547751B (en) Media resource saving method, media resource saving device and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination