CN109347972B - System deployment method, related device and equipment - Google Patents

System deployment method, related device and equipment Download PDF

Info

Publication number
CN109347972B
CN109347972B CN201811357640.2A CN201811357640A CN109347972B CN 109347972 B CN109347972 B CN 109347972B CN 201811357640 A CN201811357640 A CN 201811357640A CN 109347972 B CN109347972 B CN 109347972B
Authority
CN
China
Prior art keywords
subsystem
information
directory
parent
domain name
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.)
Active
Application number
CN201811357640.2A
Other languages
Chinese (zh)
Other versions
CN109347972A (en
Inventor
周群辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Idreamsky Technology Co ltd
Original Assignee
Shenzhen Idreamsky Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Idreamsky Technology Co ltd filed Critical Shenzhen Idreamsky Technology Co ltd
Priority to CN201811357640.2A priority Critical patent/CN109347972B/en
Publication of CN109347972A publication Critical patent/CN109347972A/en
Application granted granted Critical
Publication of CN109347972B publication Critical patent/CN109347972B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Educational Administration (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a system deployment method, a related device and equipment, wherein the method comprises the following steps: the method comprises the steps of creating a global environment object in a parent system, wherein the parent system is an independently operated system, establishing a subsystem domain name mapping table, reading the subsystem domain name mapping table through the parent system, obtaining directory information of the subsystem, covering configuration information in the directory information to the environment object, generating a target system, and setting the target system to be used for reading first information of the subsystem by using the environment object. By adopting the embodiment of the invention, a set of system can be more conveniently and quickly deployed.

Description

System deployment method, related device and equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a system deployment method, a related apparatus, and a device.
Background
The continuous development of science and technology brings great convenience to various aspects of life, work and the like of people. In particular, the development of computer technology has enabled the work of people to become electronic, and many companies have used office systems to complete the work. If the number of people using the system is increased, the original system of the company can hardly meet the daily office requirement. For example: a company department A develops a set of system X, daily office requirements are met, a later department B also needs to use the system X due to business requirements, but the system X cannot be used by the department B due to the fact that multi-user conditions are not considered in the initial stage of system design. There are generally two solutions to such problems: the first scheme is to modify the system; and the second scheme is to deploy a set of system. If the scheme is used once, the development schedule and the development personnel investment of the system X need to be restarted, and if the scheme is used by N departments at the moment and each department has individual requirements, a great deal of labor and time are needed. If the scheme II is used, the system does not need to be modified, and N systems need to be redeployed, so that system fragmentation is easily caused, and later maintenance is not facilitated.
Disclosure of Invention
The embodiment of the invention provides a system deployment method, a system deployment device and a computer readable storage medium, which are used for solving the technical problems that the existing system deployment method needs to spend a large amount of manpower and material resources and is not beneficial to later maintenance.
In order to solve the above technical problem, a first aspect of an embodiment of the present invention discloses a system deployment method, including:
creating a global environment object in a parent system, wherein the parent system is an independently operated system;
establishing a subsystem domain name mapping table, reading the subsystem domain name mapping table through the parent system, and acquiring directory information of the subsystem;
covering the configuration information in the directory information to the environment object to generate a target system;
the target system is arranged to use the environmental object to read first information of the subsystem.
In a possible implementation manner, after creating a global environment object in the parent system, initializing a default value of the environment object; wherein the default values include at least one of: log path, database IP, user account information.
In a possible implementation manner, the subsystem domain name mapping table includes N subsystems, each domain name corresponds to a subsystem path, where N is a natural number greater than or equal to 1.
In one possible implementation, the subsystem path is set according to a preset instruction.
In one possible implementation, the overlaying the configuration information of the subsystem into the environment object to generate the target system includes:
generating a subsystem ID by using a subsystem generation tool and creating a corresponding ID directory under a subsystem directory;
newly creating a configuration file under the ID directory, wherein the configuration file stores the configuration information;
multiplexing second information in the parent system into the subsystem, the second information including at least one of: data sheet structure, core sheet data, HTML webpage, cascading style sheet CSS and system picture.
In a possible implementation manner, after the generating a subsystem ID by using the subsystem generation tool and creating a corresponding ID directory under the subsystem directory, the method further includes:
acquiring configuration information of the subsystem needing to be generated by utilizing a subsystem generation tool;
creating a first directory under the ID directory in a case where path information in the configuration information is a correct path; the first directory contains the configuration file.
In a possible implementation manner, the ID directory displays a corresponding ID of each subsystem, and the first directory further includes first information, second information, and third information for implementing a subsystem personality requirement in each subsystem.
A second aspect of the embodiments of the present invention discloses a system deployment apparatus, including means for performing the method according to the first aspect.
A third aspect of the embodiments of the present invention discloses a system deployment device, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store application program codes, and the processor is configured to call the program codes to execute the method according to the first aspect.
A fourth aspect of embodiments of the present invention discloses a computer-readable storage medium, in which a computer program is stored, the computer program comprising program instructions, which, when executed by a processor, cause the processor to perform the method according to the first aspect.
By implementing the embodiment of the invention, a global environment object can be created in a parent system, wherein the parent system is an independently operated system; establishing a subsystem domain name mapping table, reading the subsystem domain name mapping table through the parent system, and acquiring directory information of the subsystem; covering the configuration information in the directory information to the environment object to generate a target system; the target system is arranged to use the environmental object to read first information of the subsystem. The system does not need to modify all parameters and structures of an original system, namely a mother system, nor needs to completely redeploy one set of system, only needs to modify the mother system, reuses the existing functions of the mother system on the subsystems, and the subsystems have individual requirements, so that the deployed system can meet the individual requirements of a plurality of departments needing to use the system, manpower and material resources are saved, fragmentation is avoided, and later maintenance is facilitated.
Drawings
In order to illustrate embodiments of the present invention or technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Wherein:
FIG. 1 is a schematic flow chart diagram of a system deployment method provided by an embodiment of the present invention;
fig. 2 is a schematic diagram of a mapping table of a domain name of a subsystem according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a subsystem generation tool provided by an embodiment of the present invention;
FIG. 4 is a schematic diagram of a subsystem directory provided by an embodiment of the present invention;
FIG. 5 is a schematic diagram of a subsystem ID directory provided by an embodiment of the present invention;
FIG. 6 is a schematic diagram of another subsystem ID directory provided by an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a system deployment apparatus provided in an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a system deployment device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
In a specific implementation, the road modeling method described in the embodiment of the present invention may be implemented by a terminal device having a deployment system and a generation subsystem, such as a mobile phone, a desktop computer, a laptop computer, and a wearable device, which is not limited herein. Embodiments of the present invention are described with respect to a terminal device as the subject of execution, it being understood that a terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The embodiment of the invention provides a system deployment method, which comprises the following steps: creating a global environment object in a parent system, wherein the parent system is a system capable of independently operating; establishing a subsystem domain name mapping table so that a parent system reads the subsystem domain name mapping table to acquire directory information of a subsystem; overlaying the configuration information of the subsystem into the environment object to generate a target system; the target system is arranged to use the environmental object to read first information of a subsystem. Each of which is described in detail below.
In order to better understand the method for deploying a system, the device for deploying a system, and the device for deploying a system provided in the embodiments of the present invention, a description is first given below of a flow of the method for deploying a system, which is applicable to the embodiments of the present invention. Referring to fig. 1, fig. 1 is a schematic flow chart of a system deployment method according to an embodiment of the present invention, where the system deployment method according to the embodiment of the present invention includes:
step S100, a global environment object is created in a mother system, and the mother system is an independently operated system.
Specifically, the parent system is a system capable of being used independently, and the parent system may perform web service request processing, where it should be noted that the web service request may be that the server receives a request from a user to open the system, or that the server receives a request from the user to open a function in the system, such as a request to upload or download a file. The parent system may handle web service requests initiated by multiple users, but the parent system contains a limited number of users. Creating a global environment object in the parent system, where it is to be noted that the environment object includes a plurality of environment variables, the environment variables are equivalent to setting some parameters for the system or the application program of the user, for example, path environment variables in Windows and DOS operating systems, when the system is required to run a program without telling the complete path of the program, the system should find the program under the current directory, and should also find the path specified in the path. For example, company a has a set of office system X, the system X only meets the use requirements of all employees in department a, the system X can process web service requests sent by the employees in department a, and because of business expansion, department B also needs to use system X, and department B also needs some personalized requirements, then at this time, system X needs to be modified, a global environment object is created in system X, the created global object contains a plurality of environment variables, and the system can realize the search path of the designated executable file, the position of the returned operating system directory, and the like according to the environment variables. The creation of a global environment object only needs to change the parameters in the environment object, and does not need to change the parameters in the whole system, the original functions of the mother system can be still realized during the transformation, the web service request can be processed, and the time for deploying the system is saved.
In a possible embodiment, after creating a global environment object in the parent system, initializing a default value of the environment object is further included; wherein the default values include at least one of: log path, database IP, user account information.
Step S102, a subsystem domain name mapping table is established, the subsystem domain name mapping table is read through the parent system, and directory information of the subsystem is obtained.
Specifically, referring to fig. 2, fig. 2 is a schematic diagram of a domain name mapping table of a subsystem according to an embodiment of the present invention, as shown in fig. 2, each subsystem corresponds to a domain name, and the subsystem can be accessed according to the domain name of the subsystem. For example, if a system X originally used by a department a, needs to be used by a department B, a department C, and a department D, but each department needs to realize personalized requirements, 3 subsystems are needed to realize personalized requirements of three departments respectively, and codes of the system X can be multiplexed to realize functions in the system X, then at this time, there are 3 subsystems and domains corresponding to the 3 subsystems in the subsystem domain name mapping table, the domain name corresponding to each subsystem can be clearly known through the subsystem domain name table, and then the second system domain name mapping table is read through the parent system to obtain directory information of the subsystem. This enables the parent system to take the path of the subsystem.
In a possible implementation manner, the subsystem domain name mapping table includes N subsystems, each domain name corresponds to a subsystem path, where N is a natural number greater than or equal to 1. Referring to fig. 2 again, fig. 2 is a schematic diagram of a mapping table of a domain name of a subsystem according to an embodiment of the present invention, where it should be noted that the number of subsystems is determined according to an actual situation of a user, and may include 1 subsystem, or 2 subsystems, 3 subsystems, or more subsystems, which is not limited herein.
In one possible embodiment, the subsystem path is set according to a preset instruction. It should be noted here that N subsystem paths are required for N subsystems, and the preset instruction may be the number of subsystems input by a system deployment worker on the server, and an instruction generated by the system deployment worker inputting the path of the planned operating subsystem into the server, which is not limited herein.
It should be noted here that the subsystem may be a system that implements one function in the parent system, or the subsystem may call all functions in the parent system, but the subsystem may also implement functions that are not present in the parent system.
And step S104, covering the configuration information in the directory information to the environment object to generate a target system.
Specifically, the configuration information in the directory information of each subsystem is covered in an environment object to generate a target system, the target system is a set of system formed by a mother system and the subsystems, the configuration information in the directory information of each subsystem is covered in the environment object, the subsystems can be accessed through the mother system, each subsystem can be maintained through the mother system, and is associated with the mother system, so that fragmentation can be avoided, each subsystem is not required to be maintained independently, and each subsystem is only required to be maintained through the mother system. It should be noted here that the configuration information of each subsystem includes personalized needs of each subsystem, including: how many users use the system, the functions that are not available on the parent system, the data that needs to be used separately in the subsystem, and the like need to be implemented, and the like, which is not limited herein.
In one possible embodiment, the overlaying the configuration information of the subsystem into the environment object to generate the target system includes: generating a subsystem ID by using a subsystem generation tool and creating a corresponding ID directory under a subsystem directory; newly creating a configuration file under the ID directory, wherein the configuration file stores the configuration information; multiplexing second information in the parent system into the subsystem, the second information including at least one of: data sheet structure, core sheet data, HTML webpage, cascading style sheet CSS and system picture. Referring to fig. 3, fig. 3 is a schematic diagram of a subsystem generation tool according to an embodiment of the present invention. As shown in fig. 3, inputting the configuration parameters of the subsystem into the subsystem generation tool may generate the subsystem, where the left column in fig. 3 represents configuration information that needs to be input, and the right column may input corresponding configuration information, and the configuration information that needs to be input may not be limited to the site name, the bound domain name, the bound port, the database host, the database port, the database user, the database password, the log path, the cache path, and the like shown in the left column in fig. 3, but may also have more configuration information, which is not limited herein. Fig. 4 also needs to be referred to, fig. 4 is a schematic diagram of a subsystem directory according to an embodiment of the present invention, where the subsystem directory has a plurality of subsystem ID directories, each subsystem has its own ID number, and 1000, 1001, and 1002 in fig. 4 all represent ID numbers of subsystems, where the ID numbers are only used to distinguish each subsystem, and the ID numbers are not only 1000, 1001, and 1002, but also 100, 101, and 102, and also 100000, 100001, and 100002, which is not limited herein. Referring to fig. 5, fig. 5 is a schematic diagram of a subsystem ID directory according to an embodiment of the present invention, and fig. 5 shows a directory of a subsystem with ID number 1000 in fig. 4. Referring to fig. 6, fig. 6 is a schematic diagram of another subsystem ID directory provided in an embodiment of the present invention, where at least two directories db and assest exist in the subsystem ID directory, and are used to store a data table structure, core table data, HTML web page, cascading style sheet CSS, system pictures, and the like in a multiplexed parent system, where it is to be noted that the directories db and the directory assest may be arbitrary names, not limited to the names given in fig. 6, and the names given in fig. 6 are only used to distinguish each directory, copy a parent system data table structure and core table data, store subsystem templates/db in fig. 6, and copy subsystem templates/assest stored in fig. 6, HTML page under parent system, CSS style file, system pictures, and the like. Therefore, code multiplexing of the parent system can be realized, the subsystem can directly use the existing resources in the parent system, and the subsystem can be quickly established.
In a possible embodiment, after the generating a subsystem ID by the subsystem generation tool and creating a corresponding ID directory under the subsystem directory, the method further includes: acquiring configuration information of the subsystem needing to be generated by utilizing a subsystem generation tool; creating a first directory under the ID directory in a case where path information in the configuration information is a correct path; the first directory contains the configuration file. Referring to fig. 5 again, the subsystem ID directory shown in fig. 5 includes a first directory, where the first directory includes configuration files, an asset directory, a log directory, a tmp directory, etc., and names of the directories in fig. 5 may be other names, which are not limited to the directory names shown in fig. 5. Creating a first directory under the ID directory in a case where path information in the configuration information is a correct path; the first directory contains the configuration file. The first directory created can be avoided in the wrong path.
In a possible implementation manner, the ID directory displays a corresponding ID of each subsystem, and the first directory further includes the first information, the second information, and the third information for realizing the individual requirements of the subsystems in each subsystem. It should be noted here that the first information may be any information in the subsystem that the environment object can read, such as: user information, log information, picture information, and the like. And are not limited herein. The second information includes at least one of: data sheet structure, core sheet data, HTML webpage, cascading style sheet CSS and system picture. The third information can be information that each subsystem distinguishes from other subsystems, and is information that the subsystem realizes personalized requirements. For example, the subsystem needs a drawing function, and the parent system does not have the drawing function, so that the information that the subsystem has the drawing function is the third information.
HTML, hypertext markup language, an application under the standard universal markup language. "hypertext" refers to the non-text elements that may contain pictures, links, and even music and programs. The structure of the hypertext markup language includes a "Head" part (english: Head) that provides information about a web page, and a "Body" part (english: Body) that provides specific contents of the web page. CSS (Cascading Style Sheets) is a computer language used to represent file styles such as HTML (an application of standard general markup language) or XML (a subset of standard general markup language). The CSS can not only statically modify the web page, but also dynamically format elements of the web page in coordination with various scripting languages. The CSS can accurately control the typesetting of element positions in the webpage at a pixel level, supports almost all font and font styles and has the capability of editing webpage objects and model styles.
Step S106, the target system is set to use the environment object to read the first information of the subsystem.
Specifically, the target system is configured to use the environment object to read the first information of the subsystem, for example, the original function of recording the user log in the parent system is:
addLog ('/log/20180608/1 log', 'A user Access')
In case the target system is set to use the environment object to read the first information of the subsystem, the function of the parent system now recording the user log changes to:
addLog (context.get ('LOG _ PATH'), 'a user access'); here LOG _ PATH is a subsystem configuration parameter. Therefore, the log information of the access subsystem can be stored in the subsystem, and the inconvenience of management and searching caused by the fact that all log information is stored in the parent system is avoided.
According to the embodiment of the invention, a global environment object can be created in a parent system, wherein the parent system is an independently operated system; establishing a subsystem domain name mapping table, reading the subsystem domain name mapping table through the parent system, and acquiring directory information of the subsystem; covering the configuration information in the directory information to the environment object to generate a target system; the target system is arranged to use the environmental object to read first information of the subsystem. The system does not need to modify all parameters and structures of an original system, namely a mother system, nor needs to completely redeploy one set of system, only needs to modify the mother system, reuses the existing functions of the mother system on the subsystems, and the subsystems have individual requirements, so that the deployed system can meet the individual requirements of a plurality of departments needing to use the system, manpower and material resources are saved, fragmentation is avoided, and later maintenance is facilitated.
For example, a company has several departments, such as a business department, a financial department, and a comprehensive department, and the company originally has a set of system X for the business department to use, and employees of the business department can upload the latest business and processed business on the system X, and the leaders of the business department can distribute the business to subordinate departments by using the system X, and the business of the system X is arranged in time sequence, and the deadline for completing each business and the client information corresponding to each business are also given. Later, companies need to realize paperless office work and increase the business process, and each business completed by the business department needs to be completed really only after the auditing of the integration department is passed. The integration department and the finance department also need to use the system X, the integration department needs to check each business and fill in the check opinions on the system, and the finance department needs to calculate the wages of each employee according to the business volume processed by each person. However, the system X only meets the office needs of the staff of the business department, and thus a set of system needs to be deployed to meet the use of the staff of each department, if the system X is redeveloped to meet the needs of each department, all parameters in the system X need to be changed, and the business department cannot use the system X during redevelopment. If one system is developed for the integration part and the finance part, respectively, the business part, the integration part and the finance part are three independent systems, which are inconvenient to manage and maintain. By adopting the method provided by the embodiment of the invention, only the system X is required to be transformed, the system X is taken as a parent system, a global environment object is created in the parent system, and default values in the environment object, such as a log path, a database IP (Internet protocol), account information and the like, are initialized. Two departments need to use, two subsystems are constructed for the use of the integration department and the financial department, the subsystem 1 is assumed to be of the integration department, the subsystem 2 is of the financial department, the domain name mapping tables of the subsystem 1 and the subsystem 2 are further established, and the directory information of the subsystem 1 and the subsystem 2 is obtained by reading the domain name mapping tables through the parent system; overlaying the configuration information in the directory information of subsystem 1 and subsystem 2 to the environment object, generating the target system, the target system being arranged to use the environment object to read the information in subsystem 1 and subsystem 2. The subsystem 1 and the subsystem 2 are generated by a subsystem generation tool, the number of people using the subsystem 1 and the subsystem 2 and a service auditing function which is to be independently realized by a comprehensive department are required to be realized, a financial department needs to realize checking the service volume of each employee, wages are directly calculated on the system according to the service volume, and wages of each employee are automatically sent to a mailbox of each employee through the system and other configuration information are input into the subsystem generation tool to respectively generate the subsystem 1 and the subsystem 2. And original functions and data information of the parent system are copied to the subsystem 1 and the subsystem 2, so that the functions of the parent system can be realized through the subsystems, and personalized requirements can also be realized. The system does not need to modify all parameters and structures of an original system, namely a mother system, nor needs to completely redeploy one set of system, only needs to modify the mother system, reuses the existing functions of the mother system on the subsystems, and the subsystems have individual requirements, so that the deployed system can meet the individual requirements of a plurality of departments needing to use the system, manpower and material resources are saved, fragmentation is avoided, and later maintenance is facilitated.
As shown in fig. 7, which is a schematic structural diagram of a system deployment apparatus provided in an embodiment of the present invention, the system deployment apparatus may include: a creating unit 100, a establishing unit 102, a covering unit 104 and a setting unit 106, wherein:
the system comprises a creating unit 100, a processing unit and a processing unit, wherein the creating unit 100 is used for creating a global environment object in a parent system, and the parent system is an independently operated system;
the establishing unit 102 is configured to establish a subsystem domain name mapping table, read the subsystem domain name mapping table through the parent system, and obtain directory information of the subsystem;
the covering unit 104 is configured to cover the configuration information in the directory information to the environment object, so as to generate a target system;
a setting unit 106 for setting the target system to use the environment object to read the first information of the subsystem.
In a possible embodiment, the apparatus may comprise: after a global environment object is created in the parent system, initializing a default value of the environment object; wherein the default values include at least one of: log path, database IP, user account information.
In a possible embodiment, the apparatus may comprise: the subsystem domain name mapping table comprises N subsystems, each domain name corresponds to a subsystem path, and N is a natural number which is more than or equal to 1.
In a possible embodiment, the apparatus may comprise: the subsystem path is set according to a preset instruction.
In a possible embodiment, the apparatus may comprise: the overlaying of the configuration information of the subsystem into the environmental object to generate the target system comprises:
generating a subsystem ID by using a subsystem generation tool and creating a corresponding ID directory under a subsystem directory;
newly creating a configuration file under the ID directory, wherein the configuration file stores the configuration information;
multiplexing second information in the parent system into the subsystem, the second information including at least one of: data sheet structure, core sheet data, HTML webpage, cascading style sheet CSS and system picture.
In a possible embodiment, the apparatus may comprise: after the generating a subsystem ID by the subsystem generation tool and creating a corresponding ID directory under the subsystem directory, the method further includes:
acquiring configuration information of the subsystem needing to be generated by utilizing a subsystem generation tool;
creating a first directory under the ID directory in a case where path information in the configuration information is a correct path; the first directory contains the configuration file.
In a possible embodiment, the apparatus may comprise: the ID directory displays the corresponding ID of each subsystem, and the first directory also comprises first information, second information and third information for realizing the individual requirements of the subsystems.
It should be noted that the system deployment apparatus 10 in the embodiment of the present invention is the system deployment apparatus in the embodiments of fig. 1 to fig. 6, and functions of each module in the system deployment apparatus 10 may refer to specific implementation manners of the embodiments of fig. 1 to fig. 6 in the embodiments of the methods described above, which are not described herein again.
By implementing the embodiment of the invention, a global environment object can be created in a parent system, wherein the parent system is an independently operated system; establishing a subsystem domain name mapping table, reading the subsystem domain name mapping table through the parent system, and acquiring directory information of the subsystem; covering the configuration information in the directory information to the environment object to generate a target system; the target system is arranged to use the environmental object to read first information of the subsystem. The system does not need to modify all parameters and structures of an original system, namely a mother system, nor needs to completely redeploy one set of system, only needs to modify the mother system, reuses the existing functions of the mother system on the subsystems, and the subsystems have individual requirements, so that the deployed system can meet the individual requirements of a plurality of departments needing to use the system, manpower and material resources are saved, fragmentation is avoided, and later maintenance is facilitated.
In order to better implement the above scheme of the embodiment of the present invention, the present invention further provides a road system deployment apparatus, which is described in detail below with reference to the accompanying drawings:
as shown in fig. 8, which is a schematic structural diagram of the system deployment device provided in the embodiment of the present invention, the system deployment device 110 may include a processor 1101, an input unit 1102, an output unit 1103, a memory 1104 and a communication unit 1105, and the processor 1101, the input unit 1102, the output unit 1103, the memory 1104 and the communication unit 1105 may be connected to each other through a bus 1106. The memory 1104 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 1104 may optionally be at least one memory system located remotely from the processor 1101. The memory 1104 is used for storing application program codes and may include an operating system, a network communication module, a user interface module, and a system deployment program, and the communication unit 1105 is used for information interaction with external units; the processor 1101 is configured to call the program code, and perform the following steps:
creating a global environment object in a parent system through a processor 1101, wherein the parent system is an independently operated system;
establishing a subsystem domain name mapping table through a processor 1101, reading the subsystem domain name mapping table through the parent system, and acquiring directory information of the subsystem; the subsystem domain name table is stored in memory 1104;
overlaying configuration information in the directory information to the environment object through a processor 1101, and generating a target system;
the target system is arranged to use the environment object to read the first information of the subsystem by means of a processor 1101.
It should be noted that the system deployment device 110 in the embodiment of the present invention is the system deployment device in the embodiments in fig. 1 to fig. 6, and specific reference may specifically be made to specific implementation manners of the embodiments in fig. 1 to fig. 6 in the embodiments of the methods described above, which is not described herein again. The above-described structure for the system deployment apparatus 110 is merely one example provided by the embodiments of the present invention, and the system deployment apparatus 110 may have more or less components than those shown, may combine two or more components, or may have a different configuration implementation of the components.
By implementing the embodiment of the invention, a global environment object can be created in a parent system, wherein the parent system is an independently operated system; establishing a subsystem domain name mapping table, reading the subsystem domain name mapping table through the parent system, and acquiring directory information of the subsystem; covering the configuration information in the directory information to the environment object to generate a target system; the target system is arranged to use the environmental object to read first information of the subsystem. The system does not need to modify all parameters and structures of an original system, namely a mother system, nor needs to completely redeploy one set of system, only needs to modify the mother system, reuses the existing functions of the mother system on the subsystems, and the subsystems have individual requirements, so that the deployed system can meet the individual requirements of a plurality of departments needing to use the system, manpower and material resources are saved, fragmentation is avoided, and later maintenance is facilitated.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a usb disk, a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (7)

1. A method of system deployment, comprising:
creating a global environment object in a parent system, wherein the parent system is an independently operated system, the environment object comprises a plurality of environment variables, and the plurality of environment variables are parameters for setting the parent system in the parent system;
generating subsystem IDs by using a subsystem generation tool and creating a corresponding ID directory under the subsystem directory, wherein the ID directory displays the corresponding ID of each subsystem;
acquiring configuration information of the subsystem needing to be generated by utilizing a subsystem generation tool;
under the condition that the path information in the configuration information is a correct path, creating a first directory under the ID directory, wherein the first directory comprises third information for realizing the individual requirements of the subsystem, and the third information is information which is different from other subsystems by the subsystem and is used for realizing the individual requirements of the subsystem;
newly creating a configuration file under the first directory, wherein the configuration file stores the configuration information;
multiplexing second information in the parent system into the subsystem, the second information including at least one of: the system comprises a data table structure, core table data, an HTML webpage, a cascading style sheet CSS and a system picture;
establishing a subsystem domain name mapping table, reading the subsystem domain name mapping table through the parent system, and acquiring directory information of the subsystem; the directory information includes the first directory; covering the configuration information in the directory information to the environment object to generate a target system;
the target system is arranged to use the environmental object to read first information of the subsystem.
2. The method according to claim 1, wherein after creating a global environment object in the parent system, initializing a default value of the environment object; wherein the default values include at least one of: log path, database IP, user account information.
3. The method according to claim 1, wherein the subsystem domain name mapping table comprises N subsystems, each domain name corresponding to a subsystem path, wherein N is a natural number greater than or equal to 1.
4. The method of claim 3, wherein the subsystem path is set according to a preset command.
5. A system deployment apparatus, comprising means for performing the method of any of claims 1-4.
6. A system deployment device comprising a processor, an input device, an output device, and a memory, the processor, the input device, the output device, and the memory being interconnected, wherein the memory is configured to store application program code, and wherein the processor is configured to invoke the program code to perform the method of any of claims 1-4.
7. A computer-readable storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to perform the method according to any of claims 1-4.
CN201811357640.2A 2018-11-14 2018-11-14 System deployment method, related device and equipment Active CN109347972B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811357640.2A CN109347972B (en) 2018-11-14 2018-11-14 System deployment method, related device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811357640.2A CN109347972B (en) 2018-11-14 2018-11-14 System deployment method, related device and equipment

Publications (2)

Publication Number Publication Date
CN109347972A CN109347972A (en) 2019-02-15
CN109347972B true CN109347972B (en) 2022-04-01

Family

ID=65315436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811357640.2A Active CN109347972B (en) 2018-11-14 2018-11-14 System deployment method, related device and equipment

Country Status (1)

Country Link
CN (1) CN109347972B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101221516A (en) * 2008-01-18 2008-07-16 清华大学 Interface seamless integration method and system across operating system platform
CN102014009A (en) * 2010-12-31 2011-04-13 北京佳讯飞鸿电气股份有限公司 Network parameter configuration method for dispatching communication system
CN102214106A (en) * 2010-04-08 2011-10-12 三星电子(中国)研发中心 Automatic dual-system guide method of embedded device
CN102571948A (en) * 2011-12-29 2012-07-11 国云科技股份有限公司 Cloud-computing-based platform as a service (PaaS) platform system and implementation method thereof
CN106168974A (en) * 2016-07-11 2016-11-30 广州视睿电子科技有限公司 The processing method of multisystem screenshotss file and system
CN107528862A (en) * 2017-10-23 2017-12-29 北京京东金融科技控股有限公司 The method and device of domain name mapping
US9942156B1 (en) * 2013-09-27 2018-04-10 Google Llc Flow level dynamic load balancing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7523142B2 (en) * 2001-12-17 2009-04-21 Sap Ag Systems, methods and articles of manufacture for upgrading a database with a shadow system
CN107743075B (en) * 2017-10-23 2021-03-23 广州视源电子科技股份有限公司 Multi-system network interconnection equipment, method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101221516A (en) * 2008-01-18 2008-07-16 清华大学 Interface seamless integration method and system across operating system platform
CN102214106A (en) * 2010-04-08 2011-10-12 三星电子(中国)研发中心 Automatic dual-system guide method of embedded device
CN102014009A (en) * 2010-12-31 2011-04-13 北京佳讯飞鸿电气股份有限公司 Network parameter configuration method for dispatching communication system
CN102571948A (en) * 2011-12-29 2012-07-11 国云科技股份有限公司 Cloud-computing-based platform as a service (PaaS) platform system and implementation method thereof
US9942156B1 (en) * 2013-09-27 2018-04-10 Google Llc Flow level dynamic load balancing
CN106168974A (en) * 2016-07-11 2016-11-30 广州视睿电子科技有限公司 The processing method of multisystem screenshotss file and system
CN107528862A (en) * 2017-10-23 2017-12-29 北京京东金融科技控股有限公司 The method and device of domain name mapping

Also Published As

Publication number Publication date
CN109347972A (en) 2019-02-15

Similar Documents

Publication Publication Date Title
US9600275B2 (en) Smart source code review system
US11635974B2 (en) Providing a different configuration of added functionality for each of the stages of predeployment, deployment, and post deployment using a layer of abstraction
US10558741B2 (en) Concurrent preparation of multiple versions of a website
US9733925B2 (en) Web content management using predetermined project templates
CN113076096B (en) Desktop application program development method, device, equipment and storage medium
US10963537B2 (en) Migrating data for web content management systems
US10331756B2 (en) Accessibility tagger for non-accessibility enabled webpages
US10970047B2 (en) Lossless bi-directional formatting of program source code
US9361086B1 (en) Collating and intelligently sequencing installation documentation
US10984190B2 (en) Atom-based sensible synchronization for information indexing
US20150007006A1 (en) Normalizing a page flow
JP6002302B2 (en) Web application generation system, Web application generation system control method, Web application generation system program, Web application generation device, Web application generation device control method, and Web application generation device program
CN109347972B (en) System deployment method, related device and equipment
US20190171648A1 (en) System and method for implementing an extract transform and load (etl) migration tool
US9135267B2 (en) Method for adding real time collaboration to existing data structure
KR102190795B1 (en) Linkage framework to support integrated management of social welfare information, Integrated social welfare information management system therefrom
CN115485677A (en) Secure data replication in a distributed data storage environment
Neupane Developing a static website and deploying it to Heroku
Parviainen Real-time Web application development using Vert. x 2.0
JP6652724B2 (en) Information processing apparatus, information processing apparatus control method, and program
US11880668B2 (en) Dynamically altering a code execution workflow during development using augmented reality
US8868578B2 (en) Building information technology services from a library of elements
US10936671B2 (en) Linked record declaration of related content items
US11157443B2 (en) Management of history metadata of a file
EP2977914A1 (en) Website framework

Legal Events

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