CN109614159A - Plan target distribution, introduction method and device - Google Patents

Plan target distribution, introduction method and device Download PDF

Info

Publication number
CN109614159A
CN109614159A CN201710940156.1A CN201710940156A CN109614159A CN 109614159 A CN109614159 A CN 109614159A CN 201710940156 A CN201710940156 A CN 201710940156A CN 109614159 A CN109614159 A CN 109614159A
Authority
CN
China
Prior art keywords
plan target
server
issued
executable file
plan
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
Application number
CN201710940156.1A
Other languages
Chinese (zh)
Other versions
CN109614159B (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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum 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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201710940156.1A priority Critical patent/CN109614159B/en
Publication of CN109614159A publication Critical patent/CN109614159A/en
Application granted granted Critical
Publication of CN109614159B publication Critical patent/CN109614159B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of distribution of plan target, introduction method and devices, first determine the multiple servers for needing to be implemented plan target to be issued, then, verify these servers one by one whether all in the current field;If obtaining the corresponding plan target executable file of plan target to be issued all in the current field, being then distributed to above-mentioned multiple servers.Server is received and is directly executed after plan target executable file, execution the result is that the corresponding XML file of plan target to be issued and bibliographic structure are imported into designated position.Plan target to be issued actively is distributed to the multiple servers for needing to be implemented the plan target to be issued using this method by domain control server, so that concurrently issuing automatically for the task that realizes a plan, improves the downloading speed and efficiency of plan target.

Description

Plan target distribution, introduction method and device
Technical field
The present invention relates to field of computer technology more particularly to a kind of distributions of plan target, introduction method and device.
Background technique
In the operation of Windows server and maintenance process, frequently encountering in domain has tens even up to a hundred servers Upper distributed deployment handles same program, that is, these programs are run on a different server respectively.In order to specified These programs disposed on time automatic running different server, it will usually the plan target journey provided using windows system Sequence is managed collectively.
Currently, being intended to task and importeding into need to be implemented the process of the server of the plan target to be each server meter It draws in task management server and downloads corresponding plan target one by one, then, then execute the plan target of downloading.Work as executive plan When the node of task is more, using this downloading mode one by one, the downloading overall time needed can be very long, and bulk velocity is very slow, Low efficiency.
Summary of the invention
In view of the above problems, it proposes the present invention provides a kind of distribution of plan target, introduction method and device, to solve The technical issues of calculating inadequate resource caused by storing data using test cluster.Its specific technical solution is as follows:
In a first aspect, being applied in domain control server, comprising: really this application provides a kind of plan target distribution method Multiple servers of plan target to be issued are executed calmly;
The multiple server is successively verified whether in the current field;
When determining that the multiple server is in described the current field, the corresponding plan of the plan target to be issued is obtained Task executable file, the plan target executable file is according to the corresponding extensible markup language of the plan target to be issued It says file and bibliographic structure, and imports relevant instruction information and obtain;
Distribute the plan target executable file to the multiple server, so that the server is according to the importing The extensible markup language document and the bibliographic structure are imported into designated position by relevant instruction information.
Optionally, described when determining that the multiple server is in described the current field, it obtains described wait issue plan times It is engaged in corresponding plan target executable file, comprising:
The plan target pair to be issued is obtained from the template server for being configured the plan target to be issued The extensible markup language document and bibliographic structure answered;
It obtains and imports relevant instruction information;
By the corresponding extensible markup language document of plan target to be issued and the bibliographic structure and described lead Enter relevant instruction information and is packaged into the plan target executable file.
Optionally, described when determining that the multiple server is in described the current field, it obtains described wait issue plan times It is engaged in corresponding plan target executable file, comprising:
The executable text of the plan target is obtained from the template server for being configured the plan target to be issued Part, the plan target executable file is by the template server by the extensible markup language document, the catalogue knot Structure and the importing relevant instruction information encapsulate to obtain.
It is optionally, described successively to verify the multiple server whether in the current field, comprising:
Obtain the computer name of the server;
Judge in the computer name of the server whether include described the current field domain name;
When in the computer name including the domain name of described the current field, determine the server in described the current field;
When not including the domain name of described the current field in the computer name, determine the server not in described the current field It is interior.
Optionally, the method also includes: when the server is not in described the current field, the server is added In described the current field.
Optionally, distribute the plan target executable file to the multiple server, comprising:
Group policy is added on domain control server;
The plan target executable file is sent to the multiple server respectively according to the group policy.
Second aspect, the embodiment of the present application also provides a kind of plan target introduction method, applied to executive plan task In server, comprising:
The plan target executable file of domain control server distribution is received, the plan target executable file is according to wait hold The corresponding extensible markup language document of row plan target and bibliographic structure, and import dependent instruction and obtain, and by the domain Control server is issued to the server after detecting the server in the current field;
It parses the plan target executable file and obtains the extensible markup language document, the bibliographic structure and institute State importing relevant instruction information;
The extensible markup language document and the bibliographic structure are imported into according to the importing relevant instruction information Designated position.
The third aspect, present invention also provides a kind of plan target diostribution devices, are applied in domain control server, comprising: Determining module, for determining the multiple servers for executing plan target to be issued;
Correction verification module, for successively verifying the multiple server whether in the current field;
Module is obtained, it is described wait issue plan for obtaining when determining that the multiple server is in described the current field The corresponding plan target executable file of task, the plan target executable file are corresponding according to the plan target to be issued Extensible markup language document and bibliographic structure, and import relevant instruction information obtain;
Distribution module, for distributing the plan target executable file to the multiple server, so that the service The extensible markup language document and the bibliographic structure are imported into specific bit according to the importing relevant instruction information by device It sets.
Fourth aspect, present invention also provides a kind of plan target gatherers, the service applied to executive plan task In device, comprising:
Receiving module, for receiving the plan target executable file of domain control server distribution, the plan target can be held Part compose a piece of writing according to the corresponding extensible markup language document of pending plan target and bibliographic structure, and imports dependent instruction and obtains , and the server is issued to after detecting the server in the current field by domain control server;
Parsing module obtains the extensible markup language document, institute for parsing the plan target executable file State bibliographic structure and the importing relevant instruction information;
Import modul, for according to the importing relevant instruction information by the extensible markup language document and the mesh Directory structures imported into designated position.
5th aspect, this application provides a kind of storage mediums, are stored thereon with program, and described program is executed by processor Plan target distribution method described in Shi Shixian first aspect.
6th aspect, the application provide a kind of processor, and the processor is held when running for running program, described program Plan target distribution method described in row first aspect.
7th aspect, the application provide a kind of storage medium, program are stored thereon with, when described program is executed by processor Realize plan target introduction method described in second aspect.
Eighth aspect, the application provide a kind of processor, and the processor is held when running for running program, described program Plan target introduction method described in row second aspect.
By above-mentioned technical proposal, plan target distribution method provided by the invention should be applied in domain control server, really The multiple servers for needing to be implemented plan target to be issued are made, then, whether verify these servers one by one all in the current field It is interior;If obtaining the corresponding plan target executable file of plan target to be issued all in the current field, being then distributed to The multiple servers stated.Server is received and is directly executed after plan target executable file, execution the result is that will be to It issues the corresponding XML file of plan target and bibliographic structure imported into designated position.Controlling server by domain using this method will Plan target to be issued actively is distributed to the multiple servers for needing to be implemented the plan target to be issued, thus the task that realizes a plan Automatically concurrently issue, improve the downloading speed and efficiency of plan target.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of plan target distribution method of the embodiment of the present application;
Fig. 2 shows the embodiment of the present application it is a kind of verification server whether the current field internal procedure flow chart;
Fig. 3 shows the flow chart of the embodiment of the present application another kind plan target distribution method;
Fig. 4 shows a kind of flow chart of plan target introduction method of the embodiment of the present application;
Fig. 5 shows a kind of block diagram of plan target diostribution device of the embodiment of the present application;
Fig. 6 shows a kind of block diagram of plan target gatherer of the embodiment of the present application.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Referring to Figure 1, a kind of flow chart of plan target introduction method of the embodiment of the present application is shown, this method is applied to Domain is controlled in server, and this method as shown in Figure 1 may comprise steps of:
S110 determines the multiple servers for executing plan target to be issued.
It controls server and gets the multiple services for executing the plan target according to the configuration information of plan target to be issued in domain Device.Multiple servers herein can be execute this issue in the Servers-all of plan target a part (for example, two or It is more than two) or all.
S120 successively verifies the multiple server whether in the current field.If executed in the current field S130;If there is in the current field, then not executing S150;
Domain (Domain) is independently operated unit in window networking, and domain is both patrolling for window networking operating system Organizational unit and the logical organization unit of Internet are collected, in window networking operating system, domain is security boundary.
Under " domain " mode, verifying work that an at least server is responsible for computer and user that each is connected to network Make, referred to as domain controller (that is, server is controlled in domain herein), contained in domain control server by the account in this domain, password, Belong to the database of the information such as the computer in this domain composition.When computer is connected to domain network, domain control server first has to identify Whether this computer is to belong to this domain Windows, and the login account that user uses whether there is, whether password is correct.If It is incorrect that information above has one, then domain control server will refuse this user and log in from this computer.
Then the information that domain control server can also obtain each server in current network judges this according to these information Whether a little computers are in the current domain Windows.
In one embodiment of the application, Fig. 2 is referred to, whether shows a kind of verification server of the embodiment of the present application In the flow chart of the current field internal procedure, as shown in Fig. 2, this method may comprise steps of:
S121 obtains the computer name of the server.
Domain control server can obtain the information of all computers in current network, for example, domain control server can benefit The corresponding computer name of each server in current network is successively obtained with nbtstat (CMD order) order.
S122, judge in the computer name of the server whether include described the current field domain name;If it is, executing S123;If it is not, then executing S124.
If the server must include the domain name in the domain in the current field, in the computer name of the server;If The server is not in the current field, then the computer name of the server does not include the domain name in the domain.Therefore, server can be passed through Computer name in whether judge the server whether in the current field comprising domain name.
S123 determines the server in described the current field.
S124 determines the server not in described the current field.
For example, if including " WORKGROUP " in the computer name of server rather than domain name, it is determined that the server is not In the current field.
S130 obtains the corresponding plan target executable file of plan target to be issued.
The plan target executable file is according to the corresponding extensible markup language of the plan target to be issued (extensible markup language, XML) file and bibliographic structure, and import relevant instruction information and obtain.
In one embodiment of the application, domain control server can use InstallShield tool will be wait issue meter The bibliographic structure of task corresponding XML file and the plan target is drawn, and imports relevant instruction information, is packaged into msi file, Msi file, that is, plan target the executable file.
The effect of the corresponding bibliographic structure of plan target is in order to better discriminate between different plan targets, alternatively, different The ownership of plan target.
The importing relevant instruction information includes file importing instruction, and, the relevant information of file is imported, for example, leading Enter the designated position of file.In addition, importing relevant instruction information can be inputted by the external world, can also be generated according to the period, with It imported into the server of executive plan task by extensible markup language document, bibliographic structure according to importing relevant instruction information Designated position.
Msi file is the program installation file that Windows installer developed, it can allow user installation, The installed program of modification, unloading.In other words, msi file is exactly the data packet of Windows installer, all and peace The relevant instruction and data of dress file is encapsulated in a packet.Msi file gets up the composing document of program with function association.
S140 distributes the plan target executable file to the multiple server respectively, so that the server is held The corresponding XML file of the plan target to be issued and bibliographic structure are imported automatically after the row plan target executable file To designated position.
The account with domainadmin permission is logged on domain control server, and adds group policy to the account, organizes plan Content slightly is to distribute the plan target executable file to the Servers-all for executing pending plan target.
Because msi file itself is a kind of executable file, server receives plan target executable file Server can directly execute this document, and implementing result is to lead the corresponding XML file of plan target to be issued and bibliographic structure Enter into the designated position in plan target executable file.
The server is added in the current field S150.
If it is determined that some server not in the current field, then the server is added in the current field, controls and service so as to domain Device controls plan target the to be issued distribution work of each server.Then, S130 and S140 are continued to execute.
Plan target distribution method provided in this embodiment first determines the multiple clothes for needing to be implemented plan target to be issued Then business device verifies these servers whether all in the current field one by one;If obtained all in the current field wait issue meter The corresponding plan target executable file of task is drawn, above-mentioned Servers-all is then distributed to.Server receives plan and appoints Be engaged in directly executing after executable file, execution the result is that will the corresponding XML file of plan target be issued and catalogue knot Structure imported into designated position.Plan target to be issued actively is distributed to by domain control server using this method and needs to be implemented this Each server of plan target to be issued, so that concurrently issuing automatically for the task that realizes a plan, improves under plan target Send out speed and efficiency.
Fig. 3 is referred to, the flow chart of the embodiment of the present application another kind plan target introduction method is shown, the present embodiment is answered For in Windows server cluster, as shown in figure 3, this method may comprise steps of:
S210, domain control server determine the Servers-all for executing plan target to be issued.
S220, domain control server successively verify the Servers-all whether in the current field;If Servers-all In the current field, then S230 is executed;If there is the server not in the current field, then S270 is executed.
S230, domain control server obtain configured in template server will the corresponding XML file of plan target be issued and Bibliographic structure.
In one embodiment of the application, template server, which can be, needs to be implemented any one of plan target to be issued A server.Plan target to be issued in template server is pre-configured via operation maintenance personnel, subsequent other servers It is upper that the plan target that is arranged is needed to be subject to the plan target configured in template server.
In one embodiment of the application, it can control in server in domain using the use with DomainAdmin permission Family obtains the logon rights of template server, to realize that the long-range plan target to be issued obtained in template server is corresponding XML file and bibliographic structure;Wherein, it is remote to guarantee that domain control server has template server by the user of DomainAdmin permission The permission of journey login service (Remote Registry) and the local administrator with template server.
In another embodiment of the application, the function of template server can be controlled in server in domain to be realized, that is, is existed Control pre-configured plan target to be issued in server in domain.
Server is controlled for the XML file and bibliographic structure of plan target to be issued in S240, domain, and imports dependent instruction letter Breath is packaged into msi file.
In another embodiment of the application, can by template server by the XML file of plan target to be issued and Bibliographic structure, and import relevant instruction information and be packaged into msi file, then, the msi file after encapsulation is directly uploaded into domain It controls in server.
Wherein, importing relevant instruction information can be inputted by the external world, can also be generated according to the period, so that executive plan Extensible markup language document, bibliographic structure are imported into designated position according to importing relevant instruction information by the server of task.
Server by utilizing group policy is controlled in S250, domain, distributes msi text to the Servers-all for executing plan target to be issued Part.
S260, the server for executing plan target to be issued execute msi file.
After server receives msi file, the msi file is directly executed, final implementing result is will be wait issue The corresponding XML file of plan target and bibliographic structure imported into designated position as defined in plan target executable file.
The server is added in the current field S270.
Server not in the current field is added in the current field, then, execution S220 is returned and continues to judge other clothes Device be engaged in whether in the current field, after executing the Servers-all wait issue plan target in the current field, executes S230 ~S260.
Plan target distribution method provided in this embodiment is determined to execute plan target to be issued by domain control server Then multiple servers verify these servers whether in the current field one by one;If taken all in the current field from template The corresponding plan target executable file of plan target to be issued is obtained in business device, is then distributed to the server.Server Receive and directly execute after plan target executable file, execution the result is that will the corresponding XML of plan target be issued File and bibliographic structure imported into designated position.Server is controlled by domain using this method actively to distribute plan target to be issued To each server for needing to be implemented the plan target to be issued, so that concurrently issuing automatically for the task that realizes a plan, improves The downloading speed and efficiency of plan target.
Fig. 4 is referred to, shows a kind of flow chart of plan target introduction method of the embodiment of the present application, this method is for holding In the server of row plan target, as shown in figure 4, this method may comprise steps of:
S310 receives the plan target executable file of domain control server distribution.
After domain control server obtains the plan target executable file of pending plan target, determine that execution is described pending After the server of plan target is in the current field, which is handed down to the server.
In one embodiment of the application, which is the corresponding XML file of the task that is intended to And bibliographic structure, and import the msi file that relevant instruction information encapsulates.
The process that domain control server obtains plan target executable file refers to above method embodiment, no longer superfluous herein It states.
S320, parsing plan target executable file obtain the corresponding XML file of pending plan target and bibliographic structure, And import relevant instruction information.
After server receives plan target executable file, it is corresponding that parsing this document obtains pending plan target XML file and bibliographic structure, and import relevant instruction information;
S330 imports the corresponding XML file of pending plan target and bibliographic structure according to relevant instruction information is imported To designated position.
Importing relevant instruction information includes file importing instruction, and, the relevant information of file is imported, such as import position It sets.
Server directly executes the plan target executable file, and implementing result is to correspond to plan target to be issued XML file and bibliographic structure imported into the designated position in plan target executable file.
Plan target introduction method provided in this embodiment, the server of executive plan task receive domain control server After plan target executable file, parses the plan target executable file and obtain the corresponding XML file of pending plan target And bibliographic structure, and import relevant instruction information;Then, according to the importing relevant instruction information by XML file and catalogue knot Structure is directed into designated position.The plan target importing process directly executes the plan target executable file received can be automatic It completes, so that improving plan target imports efficiency.
Corresponding to above-mentioned plan target distribution, introduction method embodiment, present invention also provides plan target distribution, lead Enter Installation practice.
Fig. 5 is referred to, a kind of block diagram of plan target diostribution device of the embodiment of the present application is shown, which is applied to domain It controls in server.
As shown in figure 5, the device comprises determining that module 110, correction verification module 120, obtains module 130 and distribution module 140。
Determining module 110, for determining the multiple servers for executing plan target to be issued.
Correction verification module 120, for successively verifying the multiple server whether in the current field.
In one embodiment of the application, correction verification module is specifically used for obtaining the computer name of the server;Then, Judge in the computer name of the server whether include the current field domain name;If in the computer name including the domain name of the current field When, it is determined that the server is in the current field;If do not include the domain name of the current field in computer name, it is determined that the server Not in the current field.Further, if the server is not in the current field, which is added described the current field It is interior.
Module 130 is obtained, for obtaining plan target pair to be issued when determining that multiple servers are in described the current field The plan target executable file answered.
The plan target executable file according to the corresponding extensible markup language document of the plan target to be issued, The bibliographic structure and importing relevant instruction information of the extensible markup language document obtain.
Under the application scenarios of the application, domain controls server and the relevant information of plan target to be issued is packaged into meter Draw task executable file;
Under such application scenarios, obtains module 130 and be specifically used for from being configured the plan target to be issued The corresponding extensible markup language document of the plan target to be issued and bibliographic structure are obtained in template server;It obtains and imports Relevant instruction information;By the corresponding extensible markup language document of the plan target to be issued, the bibliographic structure and described It imports relevant instruction information and is packaged into the plan target executable file.Wherein, importing relevant instruction information can be by outer Boundary's input, can also generate according to the period, so that the server of executive plan task can expand according to relevant instruction information is imported Exhibition making language document, bibliographic structure imported into designated position.
Under another application scenarios of the application, template server can directly be intended to the associated documents encapsulation of task At plan target executable file and it is uploaded in domain control server.
It under such application scenarios, obtains module 130 and is specifically used for, from being configured the plan target to be issued The plan target executable file is obtained in template server, the plan target executable file is by the template server By the corresponding extensible markup language document of the plan target to be issued, the bibliographic structure and importing dependent instruction letter Breath encapsulation obtains.
Distribution module 140, for distributing the plan target executable file to the multiple server.
The server for receiving plan target executable file is planned described wait issue according to importing relevant instruction information The corresponding extensible markup language document of task and the bibliographic structure imported into designated position.
In one embodiment of the application, distribution module 140 is specifically used for, and adds group policy on domain control server; Then, the plan target executable file is sent to the multiple server respectively according to the group policy.
Plan target diostribution device provided in this embodiment first determines the multiple clothes for needing to be implemented plan target to be issued Then business device verifies these servers whether all in the current field one by one;If obtained all in the current field wait issue meter The corresponding plan target executable file of task is drawn, above-mentioned Servers-all is then distributed to.Server receives plan and appoints Be engaged in directly executing after executable file, execution the result is that will the corresponding XML file of plan target be issued and catalogue knot Structure imported into designated position.Plan target to be issued actively is distributed to by domain control server using the device and needs to be implemented this Each server of plan target to be issued, so that concurrently issuing automatically for the task that realizes a plan, improves under plan target Send out speed and efficiency.
Fig. 6 is referred to, the block diagram of the embodiment of the present application another kind plan target gatherer is shown, which is applied to In the server of executive plan task.
As shown in fig. 6, the apparatus may include: receiving module 210, parsing module 220 and import modul 230.
Receiving module 210, for receiving the plan target executable file of domain control server distribution.
The plan target executable file is according to the corresponding extensible markup language document of pending plan target and mesh Directory structures, and import dependent instruction obtain, and by the domain control server detect the server in the current field after under It is sent to the server.
Parsing module 220, for parse the plan target executable file obtain that pending plan target is corresponding can Extended markup language file, the bibliographic structure and the importing relevant instruction information.
Import modul 230, for according to the importing relevant instruction information by the pending plan target is corresponding can Extended markup language file and the bibliographic structure imported into designated position.
Plan target gatherer provided in this embodiment, the server of executive plan task receive domain control server After plan target executable file, parses the plan target executable file and obtain the corresponding XML file of pending plan target And bibliographic structure, and import relevant instruction information;Then, according to the importing relevant instruction information by XML file and catalogue knot Structure is directed into designated position.The plan target importing process directly executes the plan target executable file received can be automatic It completes, so that improving plan target imports efficiency.
The plan target diostribution device includes processor and memory, and above-mentioned determining module, obtains module at correction verification module With distribution module etc. as program unit storage in memory, above procedure stored in memory is executed by processor Unit realizes corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one Or more, by adjusting kernel parameter to realize while to multiple server distribution schedule creation tasks, improve distribution efficiency.
The plan target gatherer includes processor and memory, above-mentioned receiving module, parsing module, import modul Deng be used as program unit storage in memory, above procedure unit stored in memory is executed by processor to realize Corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one Or more, plan target importing efficiency is improved by adjusting kernel parameter to realize.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited Store up chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor The existing plan target distribution method.
The embodiment of the invention also provides another storage mediums, are stored thereon with program, which is executed by processor Plan target introduction method described in Shi Shixian.
The embodiment of the invention provides a kind of processor, the processor is for running program, wherein described program operation Plan target distribution method described in Shi Zhihang.
The embodiment of the invention provides another processor, the processor is for running program, wherein described program fortune The plan target introduction method is executed when row.
The embodiment of the invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can The program run on a processor, processor perform the steps of when executing program
Determine the multiple servers for executing plan target to be issued;
The multiple server is successively verified whether in the current field;
When determining that the multiple server is in described the current field, the corresponding plan of the plan target to be issued is obtained Task executable file, the plan target executable file is according to the corresponding extensible markup language of the plan target to be issued It says file and bibliographic structure, and imports relevant instruction information and obtain;
Distribute the plan target executable file to the multiple server, so that the server is according to the importing The extensible markup language document and the bibliographic structure are imported into designated position by relevant instruction information.
It is described when determining that the multiple server is in described the current field in one embodiment of the application, it obtains The corresponding plan target executable file of the plan target to be issued, comprising:
The plan target pair to be issued is obtained from the template server for being configured the plan target to be issued The extensible markup language document and bibliographic structure answered;
By the corresponding extensible markup language document of plan target to be issued and the bibliographic structure and described lead Enter relevant instruction information and is packaged into the plan target executable file.
It is described when determining that the multiple server is in described the current field in one embodiment of the application, it obtains The corresponding plan target executable file of the plan target to be issued, comprising:
The executable text of the plan target is obtained from the template server for being configured the plan target to be issued Part, the plan target executable file is by the template server by the extensible markup language document, the catalogue knot Structure and the importing relevant instruction information encapsulate to obtain.
It is described successively to verify the multiple server whether in the current field in one embodiment of the application, comprising:
Obtain the computer name of the server;
Judge in the computer name of the server whether include described the current field domain name;
When in the computer name including the domain name of described the current field, determine the server in described the current field;
When not including the domain name of described the current field in the computer name, determine the server not in described the current field It is interior.
In one embodiment of the application, the method also includes: when the server is not in described the current field, The server is added in described the current field.
In one embodiment of the application, distribute the plan target executable file, packet to the multiple server It includes:
Group policy is added on domain control server;
The plan target executable file is sent to the multiple server respectively according to the group policy.
On the other hand, the embodiment of the invention provides a kind of equipment, equipment includes processor, memory and is stored in storage On device and the program that can run on a processor, processor perform the steps of when executing program
The plan target executable file of domain control server distribution is received, the plan target executable file is according to wait hold The corresponding extensible markup language document of row plan target and bibliographic structure, and import dependent instruction and obtain, and by the domain Control server is issued to the server after detecting the server in the current field;
It parses the plan target executable file and obtains the extensible markup language document, the bibliographic structure and institute State importing relevant instruction information;
The extensible markup language document and the bibliographic structure are imported into according to the importing relevant instruction information Designated position.
Equipment herein can be server, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just The program of beginningization there are as below methods step:
Determine the multiple servers for executing plan target to be issued;
The multiple server is successively verified whether in the current field;
When determining that the multiple server is in described the current field, the corresponding plan of the plan target to be issued is obtained Task executable file, the plan target executable file is according to the corresponding extensible markup language of the plan target to be issued It says file and bibliographic structure, and imports relevant instruction information and obtain;
Distribute the plan target executable file to the multiple server, so that the server is according to the importing The extensible markup language document and the bibliographic structure are imported into designated position by relevant instruction information.
It is described when determining that the multiple server is in described the current field in one embodiment of the application, it obtains The corresponding plan target executable file of the plan target to be issued, comprising:
The plan target pair to be issued is obtained from the template server for being configured the plan target to be issued The extensible markup language document and bibliographic structure answered;
By the corresponding extensible markup language document of plan target to be issued and the bibliographic structure and described lead Enter relevant instruction information and is packaged into the plan target executable file.
It is described when determining that the multiple server is in described the current field in one embodiment of the application, it obtains The corresponding plan target executable file of the plan target to be issued, comprising:
The executable text of the plan target is obtained from the template server for being configured the plan target to be issued Part, the plan target executable file is by the template server by the extensible markup language document, the catalogue knot Structure and the importing relevant instruction information encapsulate to obtain.
It is described successively to verify the multiple server whether in the current field in one embodiment of the application, comprising:
Obtain the computer name of the server;
Judge in the computer name of the server whether include described the current field domain name;
When in the computer name including the domain name of described the current field, determine the server in described the current field;
When not including the domain name of described the current field in the computer name, determine the server not in described the current field It is interior.
In one embodiment of the application, the method also includes: when the server is not in described the current field, The server is added in described the current field.
In one embodiment of the application, distribute the plan target executable file, packet to the multiple server It includes:
Group policy is added on domain control server;
The plan target executable file is sent to the multiple server respectively according to the group policy.
On the other hand, present invention also provides another computer program products, when being executed on data processing equipment, It is adapted for carrying out the program of initialization there are as below methods step:
The plan target executable file of domain control server distribution is received, the plan target executable file is according to wait hold The corresponding extensible markup language document of row plan target and bibliographic structure, and import dependent instruction and obtain, and by the domain Control server is issued to the server after detecting the server in the current field;
It parses the plan target executable file and obtains the extensible markup language document, the bibliographic structure and institute State importing relevant instruction information;
The extensible markup language document and the bibliographic structure are imported into according to the importing relevant instruction information Designated position.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art, Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement, Improve etc., it should be included within the scope of the claims of this application.

Claims (13)

1. a kind of plan target distribution method is applied in domain control server characterized by comprising determination is executed wait issue Multiple servers of plan target;
The multiple server is successively verified whether in the current field;
When determining that the multiple server is in described the current field, the corresponding plan target of the plan target to be issued is obtained Executable file, the plan target executable file is according to the corresponding extensible markup language text of the plan target to be issued Part and bibliographic structure, and import relevant instruction information and obtain;
Distribute the plan target executable file to the multiple server, so that the server is related according to the importing The extensible markup language document and the bibliographic structure are imported into designated position by command information.
2. the method according to claim 1, wherein described when determining the multiple server is in described the current field When interior, the corresponding plan target executable file of the plan target to be issued is obtained, comprising:
It is corresponding that the plan target to be issued is obtained from the template server for being configured the plan target to be issued Extensible markup language document and bibliographic structure;
It obtains and imports relevant instruction information;
By the corresponding extensible markup language document of plan target to be issued and the bibliographic structure and the importing phase It closes command information and is packaged into the plan target executable file.
3. the method according to claim 1, wherein described when determining the multiple server is in described the current field When interior, the corresponding plan target executable file of the plan target to be issued is obtained, comprising:
The plan target executable file, institute are obtained from the template server for being configured the plan target to be issued Plan target executable file is stated by the template server by the extensible markup language document, the bibliographic structure and institute Importing relevant instruction information is stated to encapsulate to obtain.
4. the method according to claim 1, wherein whether described successively verify the multiple server current In domain, comprising:
Obtain the computer name of the server;
Judge in the computer name of the server whether include described the current field domain name;
When in the computer name including the domain name of described the current field, determine the server in described the current field;
When not including the domain name of described the current field in the computer name, determine the server not in described the current field.
5. method according to claim 1-4, which is characterized in that the method also includes: when the server When not in described the current field, the server is added in described the current field.
6. the method according to claim 1, wherein distributing the plan target to the multiple server can hold Style of writing part, comprising:
Group policy is added on domain control server;
The plan target executable file is sent to the multiple server respectively according to the group policy.
7. a kind of plan target introduction method, in the server applied to executive plan task characterized by comprising
The plan target executable file of domain control server distribution is received, the plan target executable file is according to pending meter The corresponding extensible markup language document of task and bibliographic structure are drawn, and imports dependent instruction and obtains, and controlled and taken by the domain Business device is issued to the server after detecting the server in the current field;
The plan target executable file is parsed to obtain the extensible markup language document, the bibliographic structure and described lead Enter relevant instruction information;
The extensible markup language document and the bibliographic structure imported into according to the importing relevant instruction information specified Position.
8. a kind of plan target diostribution device is applied in domain control server characterized by comprising
Determining module, for determining the multiple servers for executing plan target to be issued;
Correction verification module, for successively verifying the multiple server whether in the current field;
Module is obtained, for when determining that the multiple server is in described the current field, obtaining the plan target to be issued Corresponding plan target executable file, the plan target executable file according to it is described plan target to be issued is corresponding can Extended markup language file and bibliographic structure, and import relevant instruction information and obtain;
Distribution module, for distributing the plan target executable file to the multiple server, so that the server root The extensible markup language document and the bibliographic structure are imported into designated position according to the importing relevant instruction information.
9. a kind of plan target gatherer, in the server applied to executive plan task characterized by comprising
Receiving module, for receiving the plan target executable file of domain control server distribution, the executable text of the plan target Part is according to the corresponding extensible markup language document of pending plan target and bibliographic structure, and imports dependent instruction and obtain, And it is controlled after server detects the server in the current field by the domain and is issued to the server;
Parsing module obtains the extensible markup language document, the mesh for parsing the plan target executable file Directory structures and the importing relevant instruction information;
Import modul, for according to the importing relevant instruction information by the extensible markup language document and the catalogue knot Structure imported into designated position.
10. a kind of storage medium, is stored thereon with program, which is characterized in that realize right when described program is executed by processor It is required that 1 to 6 described in any item plan target distribution methods.
11. a kind of processor, the processor is for running program, which is characterized in that perform claim is wanted when described program is run Seek 1 to 6 described in any item plan target distribution methods.
12. a kind of storage medium, is stored thereon with program, which is characterized in that realize right when described program is executed by processor It is required that plan target introduction method described in 7.
13. a kind of processor, the processor is for running program, which is characterized in that perform claim is wanted when described program is run Plan target introduction method described in asking 7.
CN201710940156.1A 2017-09-30 2017-09-30 Method and device for distributing and importing planning tasks Active CN109614159B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710940156.1A CN109614159B (en) 2017-09-30 2017-09-30 Method and device for distributing and importing planning tasks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710940156.1A CN109614159B (en) 2017-09-30 2017-09-30 Method and device for distributing and importing planning tasks

Publications (2)

Publication Number Publication Date
CN109614159A true CN109614159A (en) 2019-04-12
CN109614159B CN109614159B (en) 2022-01-28

Family

ID=66002442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710940156.1A Active CN109614159B (en) 2017-09-30 2017-09-30 Method and device for distributing and importing planning tasks

Country Status (1)

Country Link
CN (1) CN109614159B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737636A (en) * 2019-09-24 2020-01-31 厦门信息集团大数据运营有限公司 data importing method, device and equipment
CN112785134A (en) * 2021-01-14 2021-05-11 上海发那科机器人有限公司 Production plan management system and method for butt joint robot spraying operation
CN113656347A (en) * 2021-08-17 2021-11-16 成都统信软件技术有限公司 File directory export method, file directory import method and computing device
CN114039852A (en) * 2021-10-26 2022-02-11 深圳毅芯半导体有限公司 Method, system and device for regularly executing plan by equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741730A (en) * 2009-12-02 2010-06-16 成都市华为赛门铁克科技有限公司 Method and equipment for downloading file and method and system for providing file downloading service
CN102082802A (en) * 2011-03-01 2011-06-01 陈彪 Behavior-based mobile terminal security protection system and method
CN102970284A (en) * 2012-11-05 2013-03-13 北京奇虎科技有限公司 User information processing method and server
US20160092278A1 (en) * 2014-09-25 2016-03-31 Oracle International Corporation System and method for providing a partition file system in a multitenant application server environment
CN106973080A (en) * 2017-02-20 2017-07-21 绿网天下(福建)网络科技股份有限公司 A kind of big document distribution method of LAN and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741730A (en) * 2009-12-02 2010-06-16 成都市华为赛门铁克科技有限公司 Method and equipment for downloading file and method and system for providing file downloading service
CN102082802A (en) * 2011-03-01 2011-06-01 陈彪 Behavior-based mobile terminal security protection system and method
CN102970284A (en) * 2012-11-05 2013-03-13 北京奇虎科技有限公司 User information processing method and server
US20160092278A1 (en) * 2014-09-25 2016-03-31 Oracle International Corporation System and method for providing a partition file system in a multitenant application server environment
CN106973080A (en) * 2017-02-20 2017-07-21 绿网天下(福建)网络科技股份有限公司 A kind of big document distribution method of LAN and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737636A (en) * 2019-09-24 2020-01-31 厦门信息集团大数据运营有限公司 data importing method, device and equipment
CN112785134A (en) * 2021-01-14 2021-05-11 上海发那科机器人有限公司 Production plan management system and method for butt joint robot spraying operation
CN112785134B (en) * 2021-01-14 2023-03-24 上海发那科机器人有限公司 Production plan management system and method for butt joint robot spraying operation
CN113656347A (en) * 2021-08-17 2021-11-16 成都统信软件技术有限公司 File directory export method, file directory import method and computing device
CN113656347B (en) * 2021-08-17 2023-12-05 成都统信软件技术有限公司 File directory export method, file directory import method and computing device
CN114039852A (en) * 2021-10-26 2022-02-11 深圳毅芯半导体有限公司 Method, system and device for regularly executing plan by equipment

Also Published As

Publication number Publication date
CN109614159B (en) 2022-01-28

Similar Documents

Publication Publication Date Title
US10972567B2 (en) Multi-dimensional tagging namespace for cloud resource management
CN109614159A (en) Plan target distribution, introduction method and device
EP2989543B1 (en) Method and device for updating client
WO2017034789A1 (en) Application service architecture
US9846899B1 (en) Dynamic software licensing
EP3975602A1 (en) Methods, apparatus and systems to enforce data boundaries through the use of boundary labels
US20210099478A1 (en) Methods and apparatus to identify and report cloud-based security vulnerabilities
US20180373997A1 (en) Automatically state adjustment in reinforcement learning
US20130332587A1 (en) Method and a system for on-boarding, administration and communication between cloud providers and tenants in a share-all multi-tenancy environment
US9141363B2 (en) Application construction for execution on diverse computing infrastructures
US11831495B2 (en) Hierarchical cloud computing resource configuration techniques
CN111385124A (en) Gateway service implementation method, control device and gateway
CN109657427A (en) The method and device of permission control
CN105991624B (en) A kind of method for managing security and device of server
CN110019298A (en) Data processing method and device
CN108134812A (en) Data processing method and device
Kratzke Smuggling multi-cloud support into cloud-native applications using elastic container platforms
CN105224541B (en) Uniqueness control method, information storage means and the device of data
CN110968858B (en) User authority control method and system
US10986011B2 (en) Unobtrusive support for third-party traffic monitoring
CN109286617A (en) A kind of data processing method and relevant device
US9563473B2 (en) Concurrent workload deployment to synchronize activity in a design palette
CN107861751A (en) The amending method and device of configuration file
CN111832862B (en) Flow management method and system based on block chain
CN109542401A (en) A kind of Web development approach, device, storage medium and processor

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100080 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant