CN109347972A - A kind of system deployment method, relevant apparatus and equipment - Google Patents
A kind of system deployment method, relevant apparatus and equipment Download PDFInfo
- Publication number
- CN109347972A CN109347972A CN201811357640.2A CN201811357640A CN109347972A CN 109347972 A CN109347972 A CN 109347972A CN 201811357640 A CN201811357640 A CN 201811357640A CN 109347972 A CN109347972 A CN 109347972A
- Authority
- CN
- China
- Prior art keywords
- subsystem
- information
- catalogue
- mother
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network 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 kind of system deployment method, relevant apparatus and equipment, this method comprises: one global environmental objects of creation in mother system, the mother system is an independently operated system, establish subsystem domain name mapping table, the subsystem domain name mapping table is read by the mother system, obtain the directory information of the subsystem, configuration information in the directory information is covered into the environmental objects, goal systems is generated, the goal systems is arranged to remove to read the first information of the subsystem using the environmental objects.Using the embodiment of the present invention, can it is more convenient, quickly dispose set of system.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of system deployment methods, relevant apparatus and equipment.
Background technique
The continuous development of science and technology brings great convenience to various aspects such as people's lives, work.Especially calculate
The development of machine technology, so that the work of people is gradually electronic, many companies complete work using office system.If one
Company is being continuously increased using the personnel of system, then the original system of company would become hard to meet routine office work demand.Such as: it is public
Department of department A develops set of system X, has met routine office work demand, behind due to business need, department B also will use be
Unite X, but since system design initial stage does not consider multi-user's situation, department B is not available system X.For such a problem,
General there are two types of solutions: scheme one is exactly to modify system;Scheme two is exactly to dispose set of system again.If operational version
As soon as then need restarting systems X exploitation waiting and developer investment, if at this time YouNGe department use, and
There are individual needs in subsidiary each department, it is necessary to spend a large amount of manpower and time.If operational version two, do not need pair
System is transformed, and is needed to redeploy N number of system, is easy to cause system fragmentation in this way, is unfavorable for later maintenance.
Summary of the invention
The embodiment of the present invention provide a kind of system deployment method, a kind of system deployment device, a kind of system deployment equipment, with
And a kind of computer readable storage medium, it needs to spend a large amount of human and material resources to solve existing system deployment method, and not
The technical issues of conducive to later maintenance.
In order to solve the above-mentioned technical problem, first aspect of the embodiment of the present invention discloses one kind and is directed to system deployment method,
Include:
One global environmental objects of creation in mother system, the mother system are an independently operated system;
Subsystem domain name mapping table is established, the subsystem domain name mapping table is read by the mother system, described in acquisition
The directory information of subsystem;
Configuration information in the directory information is covered into the environmental objects, generates goal systems;
The goal systems is arranged to remove to read the first information of the subsystem using the environmental objects.
In one possible implementation, after one global environmental objects of the creation in mother system, also
It is initialized including the default value to the environmental objects;Wherein, default value includes at least one of the following: log path, number
According to library IP, user account information.
It in one possible implementation, include N number of subsystem, each domain name pair in the subsystem domain name mapping table
Answer a sub- system path, wherein the natural number that N is >=1.
In one possible implementation, the subsystem path is set according to preset instructions.
In one possible implementation, described cover the configuration information of subsystem in the environmental objects generates
Goal systems, comprising:
Subsystem ID is generated using subsystem Core Generator and corresponding ID catalogue is created under subsystem catalog;
Configuration file is created under the ID catalogue, the configuration file saves the configuration information;
By the second information multiplexing in the mother system into the subsystem, second information includes following at least one
: data list structure, core table data, the html web page page, cascading style sheets CSS, system picture.
In one possible implementation, described using subsystem Core Generator generation subsystem ID and in subsystem mesh
After the corresponding ID catalogue of the lower creation of record, further includes:
The configuration information for needing the subsystem generated is obtained using subsystem Core Generator;
In the case that routing information in the configuration information is correct path, the first mesh is created under the ID catalogue
Record;First catalogue includes the configuration file.
In one possible implementation, the correspondence ID of each subsystem is shown in the ID catalogue, described first
Catalogue also includes the first information, the second information and the third information for realizing subsystem individual needs in each subsystem.
Second aspect of the embodiment of the present invention discloses a kind of system deployment device, including executing the side such as above-mentioned first aspect
The unit of method.
The third aspect of the embodiment of the present invention discloses a kind of system deployment equipment, including processor, input equipment, output are set
Standby and memory, the processor, input equipment, output equipment and memory are connected with each other, wherein the memory is for depositing
Application code is stored up, the processor is configured for calling said program code, execute as described in above-mentioned first aspect
Method.
Fourth aspect of the embodiment of the present invention discloses a kind of computer readable storage medium, and the computer storage medium is deposited
Computer program is contained, the computer program includes program instruction, and described program instruction makes described when being executed by a processor
Processor executes the method such as above-mentioned first aspect.
Implement the embodiment of the present invention, it can be described maternal by one global environmental objects of creation in mother system
System is an independently operated system;Subsystem domain name mapping table is established, the subsystem domain name is read by the mother system
Mapping table obtains the directory information of the subsystem;Configuration information in the directory information is covered into the environmental objects,
Generate goal systems;The goal systems is arranged to remove to read the first information of the subsystem using the environmental objects.
It does not need to modify to all parameters of primal system i.e. mother system, structure, does not need to redeploy set of system completely yet, only
It needs to be transformed mother system, the existing capability of mother system is multiplexed on subsystem, subsystem also has individual needs, in this way
The system of deployment can satisfy multiple individual needs for needing the department using system, also save human and material resources, and will not
Fragmentation is generated, later maintenance is convenient for.
Detailed description of the invention
In order to illustrate the embodiment of the present invention or technical solution in the prior art, embodiment or the prior art will be retouched below
Attached drawing needed in stating is briefly described.
Wherein:
Fig. 1 is a kind of schematic flow diagram of system deployment method provided in an embodiment of the present invention;
Fig. 2 is subsystem domain name mapping table schematic diagram provided in an embodiment of the present invention;
Fig. 3 is subsystem Core Generator schematic diagram provided in an embodiment of the present invention;
Fig. 4 is subsystem catalog schematic diagram provided in an embodiment of the present invention;
Fig. 5 is subsystem ID catalogue schematic diagram provided in an embodiment of the present invention;
Fig. 6 is another subsystem ID catalogue schematic diagram provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of system deployment device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of system deployment equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment
And be not intended to limit the present invention.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
In the specific implementation, the method for road modeling described in the embodiment of the present invention can be by mobile phone, desktop computer, above-knee meter
The terminal device realization that calculation machine, wearable device etc. have deployment system, generate subsystem, is not construed as limiting herein.To the present invention
Embodiment is described by executing subject of terminal device, it should be appreciated that terminal may include such as physical keyboard, mouse
And/or one or more of the other physical user-interface device of control-rod.
The embodiment of the present invention provides a kind of system deployment method, comprising: one global environment of creation in mother system
Object, the mother system can be with independently operated systems for one;Subsystem domain name mapping table is established so that mother system is read
The subsystem domain name mapping table obtains the directory information of subsystem;The configuration information of subsystem is covered into the environment pair
As middle generation goal systems;The goal systems is arranged to remove the first information of reading subsystem using the environmental objects.
It is described in detail individually below.
A kind of deployment system method, deployment system device and deployment that embodiment provides in order to better understand the present invention
The process of system equipment, a kind of deployment system method being first applicable in below the embodiment of the present invention is described.Referring to Fig. 1,
Fig. 1 is the flow diagram of deployment system method provided in an embodiment of the present invention, the deployment system method in the embodiment of the present invention
Include:
Step S100, one global environmental objects of creation in mother system, the mother system are an independent operating
System.
Specifically, mother system is the system that can independently use, and mother system can carry out web service request processing,
Herein it should be noted that web service request can be server receives user and to open the request of system, it is also possible to take
Business device receive user will in opening system a certain function request, such as uploaded or downloaded the request of file.Mother system
It can handle multiple Client-initiated web service requests, but the quantity using user that mother system includes is conditional.?
A global environmental objects are created in the mother system, herein it should be noted that containing multiple environment in environmental objects
Variable, environmental variance, which is equivalent to, is arranged some parameters, such as Windows and DOS operation to system or the application program of user
Path environmental variance in system, when requiring system to run a program without fullpath where telling its program,
System is in addition to other than finding this program below current directory, the path that should also specify into path is gone for.For example, company A
There is a set of office system X, system X only meets the use demand of all employees of department A, and system X can handle department A employee transmission
Web service request, and due to operation expanding, department B is also required to using system X, and department B also needs some personalizations
Demand, then at this time, it may be necessary to being transformed to system X, one global environmental objects of creation, the overall situation of creation in system X
It include multiple environmental variances in object, system can go the searching route for realizing specified executable file according to environmental variance, return
Go back to the position etc. of operating system catalogue.As soon as creating a global environmental objects, only need to change the parameter in environmental objects,
It does not need for the parameter in whole system to be modified, the function of script still may be implemented in mother system when transformation, can
To handle web service request, the time of deployment system is more saved in this way.
In a kind of feasible embodiment, after one global environmental objects of the creation in mother system, also
It is initialized including the default value to the environmental objects;Wherein, default value includes at least one of the following: log path, number
According to library IP, user account information.
Step S102, subsystem domain name mapping table is established, the subsystem domain name mapping table is read by the mother system,
Obtain the directory information of the subsystem.
Specifically, referring to Fig. 2, Fig. 2 is subsystem domain name mapping table schematic diagram provided in an embodiment of the present invention, such as Fig. 2
Shown, each subsystem corresponds to a domain name, can access sub-system according to the domain name of subsystem.For example,
If a system X has a department A use originally, present department B, department C, department D are also required to using but each department needs
Realize individual demand, it is therefore desirable to which 3 subsystems go to realize the individual demand of three departments respectively, and can multiplex system
The code of X goes the function in realization system X, then at this point, just having 3 subsystems and 3 sons in subsystem domain name mapping table
The corresponding domain name of system is clear that the corresponding domain name of each subsystem by subsystem domain famous-brand clock, then passes through institute
It states mother system and reads the second system domain name mapping table, obtain the directory information of the subsystem.It can make mother system in this way
Obtain the path of subsystem.
It include N number of subsystem, each domain name pair in the subsystem domain name mapping table in a kind of feasible embodiment
Answer a sub- system path, wherein the natural number that N is >=1.It is provided in an embodiment of the present invention referring to Fig. 2, Fig. 2
Subsystem domain name mapping table schematic diagram, herein it should be noted that the number of subsystem is depending on the actual conditions of user
, there can be 1, there can also be 2, it is 3, multiple, herein without limitation.
In a kind of feasible embodiment, the subsystem path is set according to preset instructions.It needs herein
It is bright, need N number of subsystem just to have N number of subsystem path, the preset instructions can be system deployment personnel and service
The path of planning operation subsystem is input to server generation by the subsystem number that inputs on device and system deployment personnel
Instruction, herein without limitation.
Herein it should be noted that subsystem can be the system for realizing some function in mother system, it is also possible to son
System can call function all in mother system, but subsystem can also realize the function not having in mother system.
Step S104, the configuration information in the directory information is covered into the environmental objects, generates goal systems.
Specifically, the configuration information in the directory information of each subsystem is covered in environmental objects, generates target system
System, goal systems is the set of system formed by mother system and subsystem, will match confidence in the directory information of each subsystem
Breath covers in environmental objects, by mother system also accessible subsystem, can safeguard each subsystem by mother system, often
A subsystem is all associated with mother system, and this will avoid generating fragmentations, safeguards each subsystem without individually going, only
It needs to safeguard each subsystem by mother system.Herein it should be noted that the configuration information of each subsystem includes
The personal needs of each subsystem, comprising: how many a users use, and need to realize the function not having on mother system and son
Data for needing individually to use in system etc., herein without limitation.
In a kind of feasible embodiment, described cover the configuration information of subsystem in the environmental objects is generated
Goal systems, comprising: generate subsystem ID using subsystem Core Generator and create corresponding ID catalogue under subsystem catalog;
Configuration file is created under the ID catalogue, the configuration file saves the configuration information;By in the mother system
Two information multiplexings into the subsystem, second information include at least one of the following: data list structure, core table data,
The html web page page, cascading style sheets CSS, system picture.Referring to Fig. 3, Fig. 3 is that subsystem provided in an embodiment of the present invention is raw
At tool schematic diagram.Subsystem can be generated as shown in figure 3, the configuration parameter of subsystem is input in subsystem Core Generator
It unites, a column on the left side indicate that the configuration information for needing to input, the column of the right one can input corresponding configuration information, need in Fig. 3
The configuration information of input can be not limited to site name, binding domain name, bundling port, data shown in a column on the left side in Fig. 3
Library host, database port, database user, database password, log path, cache path etc. can also have more
Configuration information, herein without limitation.It need to also be subsystem catalog signal provided in an embodiment of the present invention refering to Fig. 4, Fig. 4 herein
Figure has multiple subsystem ID catalogues under subsystem catalog, and each subsystem has the ID number of oneself, in Fig. 4 1000,1001,
1002 indicate the ID number of subsystem, and ID number herein is used only to distinguish each subsystem, ID number is not only 1000,
1001,1002, it can also be also possible to 100000,100001,100002 with 100,101,102, be not construed as limiting herein.It refers to
Fig. 5, Fig. 5 are subsystem ID catalogue schematic diagrames provided in an embodiment of the present invention, are that ID number is 1000 in Fig. 4 shown in Fig. 5
The catalogue of subsystem.Fig. 6 is referred to, Fig. 6 is another subsystem ID catalogue schematic diagram provided in an embodiment of the present invention, subsystem ID
At least there is two such catalogue db and assest, the data list structure in mother system for storing multiplexing, core in catalogue
Table data, the html web page page, cascading style sheets CSS, system picture etc., herein it should be noted that catalogue db and catalogue
Assest can be arbitrary title, be not limited to the title provided in Fig. 6, the title that catalogue is provided in Fig. 6 is intended merely to distinguish
Each catalogue replicates a mother system data list structure and core table data, is stored in such as the subsystem in Fig. 6
Templates/db, html page under mother system, CSS style file, system picture etc. are also required to duplication portion and are stored in such as Fig. 6
In subsystem templates/assest.The code reuse of mother system may be implemented in this way, subsystem can be directly using mother
Existing resource in system, can quickly create subsystem.
It is described using subsystem Core Generator generation subsystem ID and in subsystem mesh in a kind of feasible embodiment
After the corresponding ID catalogue of the lower creation of record, further includes: obtain the subsystem for needing to generate using subsystem Core Generator
Configuration information;In the case that routing information in the configuration information is correct path, is created under the ID catalogue
One catalogue;First catalogue includes the configuration file.Referring to Fig. 5, wrapped under subsystem ID catalogue shown in Fig. 5
It include configuration file, assest catalogue, log catalogue, tmp catalogue etc., catalogue in Fig. 5 in the first catalogue containing the first catalogue
Title is also possible to other titles, is not limited to the directory name provided in Fig. 5.Routing information in the configuration information is
In the case where correct path, the first catalogue is created under the ID catalogue;First catalogue includes the configuration file.It can be with
Avoid the first catalogue of creation in the path of mistake.
In a kind of feasible embodiment, the correspondence ID of each subsystem is shown in the ID catalogue, described first
Catalogue also includes the first information, the second information and the third information for realizing subsystem individual needs in each subsystem.This
Place it should be noted that the first information can be any information in the subsystem that environmental objects can be read, such as: user
Information, log information, pictorial information etc..Herein without limitation.Second information includes at least one of the following: tables of data knot
Structure, core table data, the html web page page, cascading style sheets CSS, system picture.Third information can be each subsystem
The information of difference and other subsystems is the information that subsystem realizes individual demand.For example, it needs and draws in subsystem
The function of figure, and be without this function, then making subsystem have the information of drawing function is exactly third in mother system
Information.
HTML, i.e. hypertext markup language, an application under standard generalized markup language." hypertext " just refers to the page
It inside may include picture, link or even the non-legible element such as music, program.The structure of hypertext markup language includes " head " portion
Divide (English: Head) and " main body " part (English: Body), wherein " head " portion provides the information about webpage, " main body " part
The particular content of webpage is provided.CSS (Cascading Style Sheets, cascading style sheets) is that one kind is used to show HTML
The calculating of the files pattern such as (application of standard generalized markup language) or XML (a subset of standard generalized markup language)
Machine language.CSS not only can statically modified web page, various scripting languages can also be cooperated dynamically to carry out to webpage each element
It formats.CSS can accurately control the typesetting progress Pixel-level of element position in webpage, support almost all of font size
Pattern possesses the ability to web object and model pattern editor.
Step S106, the goal systems is arranged to remove to read the first letter of the subsystem using the environmental objects
Breath.
Specifically, the goal systems is arranged to remove to read the first letter of the subsystem using the environmental objects
Breath, for example, original record user journal function in mother system are as follows:
AddLog (' ./log/20180608/1.log ', ' party A-subscriber's access ')
The goal systems is being arranged to go to read the feelings of the first information of the subsystem using the environmental objects
Under condition, the function that mother system records user journal now just changes are as follows:
AddLog (Context.get (' LOG_PATH '), ' party A-subscriber's access ');LOG_PATH herein is exactly subsystem
Configuration parameter.The log information of access sub-system can be thus stored in subsystem, avoid all log informations all
It is placed on mother system, be not easy to manage and is searched.
It through the embodiment of the present invention, can be described maternal by one global environmental objects of creation in mother system
System is an independently operated system;Subsystem domain name mapping table is established, the subsystem domain name is read by the mother system
Mapping table obtains the directory information of the subsystem;Configuration information in the directory information is covered into the environmental objects,
Generate goal systems;The goal systems is arranged to remove to read the first information of the subsystem using the environmental objects.
It does not need to modify to all parameters of primal system i.e. mother system, structure, does not need to redeploy set of system completely yet, only
It needs to be transformed mother system, the existing capability of mother system is multiplexed on subsystem, subsystem also has individual needs, in this way
The system of deployment can satisfy multiple individual needs for needing the department using system, also save human and material resources, and will not
Fragmentation is generated, later maintenance is convenient for.
For example, there are several departments such as business department, Finance Department, Synthesis Department in a company, and there is set of system X in company originally
It is used to business department, the employee of business department can upload the good business of nearest business and upload process, business in system X
The leader in portion can use system X and distribute business to subordinate, and the business of system X is sequentially arranged, and it is every to give completion
The deadline of one business and the corresponding customer information of each business.Later company will realize paperless office, and
The process of increase business, each business that business department completes need the audit of Synthesis Department this business after just to calculate really
It completes.Synthesis Department and Finance Department are also required to use system X, and Synthesis Department needs to audit each business, in system
On fill in audit opinion, Finance Department needs the portfolio handled according to everyone to calculate the wage of each employee.But system X
The personnel for only meeting business department handle official business demand, and then needing to dispose set of system and can satisfy the employee of each department makes
With, if develop all parameters for needing to change to meet the needs of each department in system X again to system X, and
And business department can not use system X when exploitation again, due to needing to change all parameters of system X, compare and expend people
Power, the time, and also influence the normal use of business department.If respectively Synthesis Department and Finance Department develop a system,
Business department, Synthesis Department, Finance Department are not easy to manage and maintain with regard to three independent systems.Using provided in an embodiment of the present invention
Method, it is only necessary to system X is transformed, using system X as mother system, a global environment pair is created in mother system
As, and the default value in initialization context object, such as log path, database IP, account information.There are two departments to need
It uses, constructs two subsystems just so that Synthesis Department and Finance Department use, it is assumed that subsystem 1 is Synthesis Department, and subsystem 2 is
Finance Department, the domain name mapping table of subsystem 1 and subsystem 2 is resettled, domain name mapping table is read by mother system, obtains subsystem
The directory information of system 1 and subsystem 2;Configuration information in the directory information of subsystem 1 and subsystem 2 is covered into environment pair
As generating goal systems, goal systems being arranged to the letter gone in reading subsystem 1 and subsystem 2 using the environmental objects
Breath.Subsystem 1 and subsystem 2 are generated using subsystem Core Generator, by the number of users of subsystem 1 and subsystem 2, with
And Synthesis Department's business audit function to be implemented separately, Finance Department needs to realize the portfolio for checking each employee, according to business
Amount directly calculates wage in system, and the salary bill of each employee is sent automatically to the mailbox etc. of each employee by system
Equal configuration informations are input in subsystem Core Generator to generate subsystem 1 and subsystem 2 respectively.And by original function of mother system
Energy and data information copy in subsystem 1 and subsystem 2, so that the function of mother system may be implemented by subsystem, and
It can also realize personalized demand.It does not need to modify to all parameters of primal system i.e. mother system, structure, not need yet
Set of system is redeployed completely, it is only necessary to mother system is transformed, the existing capability of mother system is multiplexed on subsystem,
Subsystem also has individual needs, and the system disposed in this way can satisfy multiple individual needs for needing the department using system,
Human and material resources have been saved, and fragmentation will not be generated, have been convenient for later maintenance.
The structural schematic diagram of system deployment device provided in an embodiment of the present invention as shown in Figure 7, system deployment device can
To include: creating unit 100, establish unit 102, capping unit 104 and setting unit 106, in which:
Creating unit 100, for one global environmental objects of creation in mother system, the mother system is one only
The system of vertical operation;
Unit 102 is established, for establishing subsystem domain name mapping table, the subsystem domain name is read by the mother system
Mapping table obtains the directory information of the subsystem;
Capping unit 104 generates target for the configuration information in the directory information to be covered the environmental objects
System;
Setting unit 106, for the goal systems to be arranged to go to read the subsystem using the environmental objects
The first information.
In a kind of feasible embodiment, the apparatus may include: one overall situation of the creation in mother system
Environmental objects after, further include being initialized to the default value of the environmental objects;Wherein, default value include it is following at least
One: log path, database IP, user account information.
In a kind of feasible embodiment, the apparatus may include: comprising N number of in the subsystem domain name mapping table
Subsystem, each domain name correspond to a sub- system path, wherein the natural number that N is >=1.
In a kind of feasible embodiment, the apparatus may include: the subsystem path is according to preset instructions
Setting.
In a kind of feasible embodiment, the apparatus may include: it is described to cover the configuration information of subsystem
Goal systems is generated in the environmental objects, comprising:
Subsystem ID is generated using subsystem Core Generator and corresponding ID catalogue is created under subsystem catalog;
Configuration file is created under the ID catalogue, the configuration file saves the configuration information;
By the second information multiplexing in the mother system into the subsystem, second information includes following at least one
: data list structure, core table data, the html web page page, cascading style sheets CSS, system picture.
In a kind of feasible embodiment, the apparatus may include: it is described to generate son using subsystem Core Generator
System identifier and after creating corresponding ID catalogue under subsystem catalog, further includes:
The configuration information for needing the subsystem generated is obtained using subsystem Core Generator;
In the case that routing information in the configuration information is correct path, the first mesh is created under the ID catalogue
Record;First catalogue includes the configuration file.
In a kind of feasible embodiment, the apparatus may include: each subsystem is shown in the ID catalogue
Correspondence ID, first catalogue also includes the first information in each subsystem, the second information and realizes subsystem individual character
The third information of demand.
It should be noted that the system deployment device 10 in the embodiment of the present invention is that above-mentioned Fig. 1 is into Fig. 6 embodiment
System disposes device, and the function of each module can be corresponded to reference to Fig. 1 to Fig. 6 in above-mentioned each method embodiment in the system deployment device 10
The specific implementation of embodiment, which is not described herein again.
Implement the embodiment of the present invention, it can be described maternal by one global environmental objects of creation in mother system
System is an independently operated system;Subsystem domain name mapping table is established, the subsystem domain name is read by the mother system
Mapping table obtains the directory information of the subsystem;Configuration information in the directory information is covered into the environmental objects,
Generate goal systems;The goal systems is arranged to remove to read the first information of the subsystem using the environmental objects.
It does not need to modify to all parameters of primal system i.e. mother system, structure, does not need to redeploy set of system completely yet, only
It needs to be transformed mother system, the existing capability of mother system is multiplexed on subsystem, subsystem also has individual needs, in this way
The system of deployment can satisfy multiple individual needs for needing the department using system, also save human and material resources, and will not
Fragmentation is generated, later maintenance is convenient for.
For the ease of better implementing the above scheme of the embodiment of the present invention, the present invention also correspondence provides a kind of road system
Deployment facility is described in detail with reference to the accompanying drawing:
The structural schematic diagram of system deployment equipment provided in an embodiment of the present invention as shown in Figure 8, system deployment equipment 110
It may include processor 1101, input unit 1102, output unit 1103, memory 1104 and communication unit 1105, processor
1101, input unit 1102, output unit 1103, memory 1104 and communication unit 1105 can mutually be interconnected by bus 1106
It connects.Memory 1104 can be high speed RAM memory, be also possible to non-volatile memory (non-volatile
Memory), a for example, at least magnetic disk storage.Memory 1104 optionally can also be that at least one is located remotely from aforementioned place
Manage the storage system of device 1101.Memory 1104 may include operating system, network communication mould for storing application code
Block, Subscriber Interface Module SIM and system deployment program, communication unit 1105 are used to carry out information exchange with external unit;Processor
1101 are configured for calling said program code, execute following steps:
By the one global environmental objects of the creation in mother system of processor 1101, the mother system is an independence
The system of operation;
Subsystem domain name mapping table is established by processor 1101, the subsystem domain name is read by the mother system and is reflected
Firing table obtains the directory information of the subsystem;Subsystem domain famous-brand clock is stored in memory 1104;
The configuration information in the directory information is covered into the environmental objects by processor 1101, generates target system
System;
The goal systems is arranged to go to read the subsystem using the environmental objects by processor 1101
The first information.
It should be noted that the system deployment equipment 110 in the embodiment of the present invention is above-mentioned Fig. 1 into Fig. 6 embodiment
System deployment equipment can specifically correspond to the specific implementation with reference to Fig. 1 in above-mentioned each method embodiment to Fig. 6 embodiment, this
In repeat no more.The above-mentioned structure for system deployment equipment 110 is only an example provided in an embodiment of the present invention, also,
System deployment equipment 110 can have components more more or fewer than the component shown, can combine two or more components, or
Person can have the different configurations of component to realize.
Implement the embodiment of the present invention, it can be described maternal by one global environmental objects of creation in mother system
System is an independently operated system;Subsystem domain name mapping table is established, the subsystem domain name is read by the mother system
Mapping table obtains the directory information of the subsystem;Configuration information in the directory information is covered into the environmental objects,
Generate goal systems;The goal systems is arranged to remove to read the first information of the subsystem using the environmental objects.
It does not need to modify to all parameters of primal system i.e. mother system, structure, does not need to redeploy set of system completely yet, only
It needs to be transformed mother system, the existing capability of mother system is multiplexed on subsystem, subsystem also has individual needs, in this way
The system of deployment can satisfy multiple individual needs for needing the department using system, also save human and material resources, and will not
Fragmentation is generated, later maintenance is convenient for.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a kind of computer-readable storage Jie
In matter, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be U
Disk, magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random
Access Memory, RAM) etc..
The disclosure can be system, method and/or computer program product.Computer program product may include computer
Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the disclosure.
Computer readable storage medium, which can be, can keep and store the tangible of the instruction used by instruction execution equipment
Equipment.Computer readable storage medium for example can be-- but it is not limited to-- storage device electric, magnetic storage apparatus, optical storage
Equipment, electric magnetic storage apparatus, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium
More specific example (non exhaustive list) includes: portable computer diskette, hard disk, random access memory (RAM), read-only deposits
It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), portable
Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon
It is stored with punch card or groove internal projection structure and the above-mentioned any appropriate combination of instruction.Calculating used herein above
Machine readable storage medium storing program for executing is not interpreted that instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations lead to
It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire
Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/
Processing equipment, or outer computer or outer is downloaded to by network, such as internet, local area network, wide area network and/or wireless network
Portion stores equipment.Network may include copper transmission cable, optical fiber transmission, wireless transmission, router, firewall, interchanger, gateway
Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted
Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment
In calculation machine readable storage medium storing program for executing.
Computer program instructions for executing disclosure operation can be assembly instruction, instruction set architecture (ISA) instructs,
Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages
The source code or object code that any combination is write, the programming language include the programming language-of object-oriented such as
Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer
Readable program instructions can be executed fully on the user computer, partly execute on the user computer, be only as one
Vertical software package executes, part executes on the remote computer or completely in remote computer on the user computer for part
Or it is executed on server.In situations involving remote computers, remote computer can pass through network-packet of any kind
It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit
It is connected with ISP by internet).In some embodiments, by utilizing computer-readable program instructions
Status information carry out personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or can
Programmed logic array (PLA) (PLA), the electronic circuit can execute computer-readable program instructions, to realize each side of the disclosure
Face.
Referring herein to according to the flow chart of the method, apparatus (system) of the embodiment of the present disclosure and computer program product and/
Or block diagram describes various aspects of the disclosure.It should be appreciated that flowchart and or block diagram each box and flow chart and/
Or in block diagram each box combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to general purpose computer, special purpose computer or other programmable datas
The processor of processing unit, so that a kind of machine is produced, so that these instructions are passing through computer or other programmable datas
When the processor of processing unit executes, function specified in one or more boxes in implementation flow chart and/or block diagram is produced
The device of energy/movement.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to
It enables so that computer, programmable data processing unit and/or other equipment work in a specific way, thus, it is stored with instruction
Computer-readable medium then includes a manufacture comprising in one or more boxes in implementation flow chart and/or block diagram
The instruction of the various aspects of defined function action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other
In equipment, so that series of operation steps are executed in computer, other programmable data processing units or other equipment, to produce
Raw computer implemented process, so that executed in computer, other programmable data processing units or other equipment
Instruct function action specified in one or more boxes in implementation flow chart and/or block diagram.
The flow chart and block diagram in the drawings show system, method and the computer journeys according to multiple embodiments of the disclosure
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
One module of table, program segment or a part of instruction, the module, program segment or a part of instruction include one or more use
The executable instruction of the logic function as defined in realizing.In some implementations as replacements, function marked in the box
It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel
Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or
The combination of each box in flow chart and the box in block diagram and or flow chart, can the function as defined in executing or dynamic
The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (10)
1. a kind of system deployment method characterized by comprising
One global environmental objects of creation in mother system, the mother system are an independently operated system;
Subsystem domain name mapping table is established, the subsystem domain name mapping table is read by the mother system, obtains the subsystem
The directory information of system;
Configuration information in the directory information is covered into the environmental objects, generates goal systems;
The goal systems is arranged to remove to read the first information of the subsystem using the environmental objects.
2. the method according to claim 1, wherein one global environment pair of the creation in mother system
As later, further including being initialized to the default value of the environmental objects;Wherein, default value includes at least one of the following: day
Will path, database IP, user account information.
3. the method according to claim 1, wherein in the subsystem domain name mapping table include N number of subsystem,
Each domain name corresponds to a sub- system path, wherein the natural number that N is >=1.
4. according to the method described in claim 3, it is characterized in that, the subsystem path is set according to preset instructions.
5. according to the method described in claim 4, it is characterized in that, described cover the environment for the configuration information of subsystem
Goal systems is generated in object, comprising:
Subsystem ID is generated using subsystem Core Generator and corresponding ID catalogue is created under subsystem catalog;
Configuration file is created under the ID catalogue, the configuration file saves the configuration information;
By the second information multiplexing in the mother system into the subsystem, second information is included at least one of the following:
Data list structure, core table data, the html web page page, cascading style sheets CSS, system picture.
6. according to the method described in claim 5, it is characterized in that, described generate subsystem ID simultaneously using subsystem Core Generator
After creating corresponding ID catalogue under subsystem catalog, further includes:
The configuration information for needing the subsystem generated is obtained using subsystem Core Generator;
In the case that routing information in the configuration information is correct path, the first catalogue is created under the ID catalogue;
First catalogue includes the configuration file.
7. according to the method described in claim 6, it is characterized in that, showing the correspondence of each subsystem in the ID catalogue
ID, first catalogue also include the first information, the second information and realization subsystem individual needs in each subsystem
Third information.
8. a kind of system deployment device, which is characterized in that including for executing the method according to claim 1 to 7
Unit.
9. a kind of system deployment equipment, which is characterized in that including processor, input equipment, output equipment and memory, the place
It manages device, input equipment, output equipment and memory to be connected with each other, wherein the memory is for storing application code, institute
It states processor to be configured for calling said program code, executes the method according to claim 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that the computer storage medium is stored with computer program,
The computer program includes program instruction, and described program instruction makes the processor execute such as right when being executed by a processor
It is required that the described in any item methods of 1-7.
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 true CN109347972A (en) | 2019-02-15 |
CN109347972B 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 (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030130985A1 (en) * | 2001-12-17 | 2003-07-10 | Volker Driesen | Systems, methods and articles of manufacture for upgrading a database with a shadow system |
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 |
CN107743075A (en) * | 2017-10-23 | 2018-02-27 | 广州视源电子科技股份有限公司 | A kind of multisystem network InterWorking Equipment, method and device |
US9942156B1 (en) * | 2013-09-27 | 2018-04-10 | Google Llc | Flow level dynamic load balancing |
-
2018
- 2018-11-14 CN CN201811357640.2A patent/CN109347972B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030130985A1 (en) * | 2001-12-17 | 2003-07-10 | Volker Driesen | Systems, methods and articles of manufacture for upgrading a database with a shadow system |
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 |
CN107743075A (en) * | 2017-10-23 | 2018-02-27 | 广州视源电子科技股份有限公司 | A kind of multisystem network InterWorking Equipment, method and device |
Non-Patent Citations (2)
Title |
---|
刘鑫: "基于嵌入式技术的移动物体监控系统的设计与实现", 《山东工业技术》 * |
魏百超: "基于可复用子系统的软件框架研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Also Published As
Publication number | Publication date |
---|---|
CN109347972B (en) | 2022-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11093216B2 (en) | Automatic discovery of microservices from monolithic applications | |
CN108279932B (en) | Method and device for dynamically configuring user interface of mobile terminal | |
CN110520859A (en) | More intelligent copy/paste | |
CN110472207A (en) | List generation method and device | |
US10331756B2 (en) | Accessibility tagger for non-accessibility enabled webpages | |
CN102693127B (en) | Data-driven schema for describing and executing management tasks in a graphical user interface | |
CN111079047A (en) | Web-oriented page construction system | |
CN109981322A (en) | The method and apparatus of cloud resource management based on label | |
WO2021249070A1 (en) | Automating an adoption of cloud services | |
US11636099B2 (en) | Domain-specific labeled question generation for training syntactic parsers | |
US20190354577A1 (en) | Atom-based sensible synchronization for information indexing | |
US20240127379A1 (en) | Generating actionable information from documents | |
US8667382B2 (en) | Configurable field definition document | |
KR102595140B1 (en) | Method for unifying tool and information coming from multiple information sources, and computer program product and device using same | |
US20190171648A1 (en) | System and method for implementing an extract transform and load (etl) migration tool | |
CN109347972A (en) | A kind of system deployment method, relevant apparatus and equipment | |
CN114201157A (en) | Method and system for customizing target service module by low code | |
US11494720B2 (en) | Automatic contract risk assessment based on sentence level risk criterion using machine learning | |
US10970347B2 (en) | Managing user activity context using an activity context graph | |
US11868319B2 (en) | File storage system based on attributes of file components | |
CN109767135A (en) | A kind of communication construction policing services system | |
US11443101B2 (en) | Flexible pseudo-parsing of dense semi-structured text | |
CN116611418B (en) | Report processing method and device based on online editing, electronic equipment and medium | |
US10936671B2 (en) | Linked record declaration of related content items | |
Widayat et al. | Cloud IaaS Enterprise Architecture Design on Multiplatform Integrated Information System using Cloud Ecosystem Reference Model and TOGAF |
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 |