CN109408109A - A kind of software layout method and system - Google Patents

A kind of software layout method and system Download PDF

Info

Publication number
CN109408109A
CN109408109A CN201811238686.2A CN201811238686A CN109408109A CN 109408109 A CN109408109 A CN 109408109A CN 201811238686 A CN201811238686 A CN 201811238686A CN 109408109 A CN109408109 A CN 109408109A
Authority
CN
China
Prior art keywords
software
configuration file
appurtenant machine
index sequence
appurtenant
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811238686.2A
Other languages
Chinese (zh)
Inventor
吴伟民
邓启平
陈继兆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China 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 Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN201811238686.2A priority Critical patent/CN109408109A/en
Publication of CN109408109A publication Critical patent/CN109408109A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present application discloses a kind of software layout method and system, for realizing the automation of software configuration, improves the efficiency of software configuration, setup error caused by reducing because of configuration file error.The embodiment of the present application method includes: the first software to be disposed on host, and the configuration file of the first software is generated after the completion of deployment;Index sequence is established to the configuration file, to realize the quick indexing to the configuration file;Distribute the index sequence, so that appurtenant machine obtains the configuration file according to the index sequence, to complete the installation to first software.

Description

A kind of software layout method and system
Technical field
This application involves field of computer technology more particularly to a kind of software layout method and systems.
Background technique
When needing to install same software in multiple computer equipments in a network system, the prior art is usually By operating personnel the software is installed in every computer equipment one by one, and the software is installed in every computer equipment Before, effect personnel also need to configure the installation environment of software, should so that the current operating environment of computer equipment is compatible Software is installed, is then installed according to installation software.
In addition, when there is patch file in the software, it is also necessary to be installed in every computer equipment and successively install patch File, to realize the normal operation of the software.
In conclusion existing software installation method at least has following defect:
1, situations such as manual operations N platform computer is likely to that patch is caused to omit, and environment configurations are omitted, can not ensure each visitor Family environment operates normally;
2, installation software, progress environment configurations install patch by hand, cumbersome, time-consuming and laborious;
3, manual operations not can guarantee the consistency of each user rs environment, increase maintenance cost.
Summary of the invention
The embodiment of the present application provides a kind of software layout method and system, for realizing the automatic configuration of software, from And the efficiency of software configuration is improved, reduce setup error caused by due to software loses.
The embodiment of the present application first aspect provides a kind of software layout method, comprising:
The first software is disposed on host, and the configuration file of the first software is generated after the completion of deployment;
Index sequence is established to the configuration file, to realize the quick indexing to the configuration file;
Distribute the index sequence, so that appurtenant machine obtains the configuration file according to the index sequence, with completion pair The installation of first software.
Preferably, the host and the appurtenant machine are deployed in P2P network, and the number of the appurtenant machine is greater than or waits In 1.
Preferably, when the number of the appurtenant machine is greater than 1, the appurtenant machine is matched according to index sequence acquisition Set file, comprising:
Multiple appurtenant machines obtain the configuration file according to the index sequence respectively from the host;
Or,
First appurtenant machine obtains the configuration file, second subordinate according to the index sequence from the second appurtenant machine Machine obtains the configuration file in advance.
Preferably, first appurtenant machine obtains the configuration file according to the index sequence from the second appurtenant machine, Second appurtenant machine obtains the configuration file in advance, includes:
First appurtenant machine determining second appurtenant machine from the P2P network according to preset selection strategy, and according to The index sequence obtains the configuration file from second appurtenant machine, matches described in second appurtenant machine acquisition in advance File is set, the preset selection strategy includes random selection strategy or peak optimizating network routing strategy.
Preferably, the configuration file of first software includes at least: installation file, the environment configurations of first software File and patch file.
The embodiment of the present application second aspect provides a kind of software configuration system, comprising:
Generation unit is disposed, for disposing the first software on host, and generates the first software after the completion of deployment Configuration file;
Unit is established, for establishing index sequence to the configuration file, to realize the quick rope to the configuration file Draw;
Dispatching Unit, for distributing the index sequence, so that appurtenant machine obtains the configuration according to the index sequence File, to complete the installation to first software.
Preferably, the host and the appurtenant machine are deployed in P2P network, and the number of the appurtenant machine is greater than or waits In 1.
Preferably, when the number of the appurtenant machine is greater than 1, the Dispatching Unit, comprising:
First distribution module, for distributing the index sequence, so that multiple appurtenant machines are respectively according to the index sequence The configuration file is obtained from the host;
Or,
Second distribution module, for distributing the index sequence, so that the first appurtenant machine is according to the index sequence from The configuration file is obtained on two appurtenant machines, second appurtenant machine obtains the configuration file in advance.
The embodiment of the present application also provides a kind of software configuration system, including processor, the processor is stored in processing When computer program on memory, the software layout method that is provided for realizing the embodiment of the present application first aspect.
The embodiment of the present application also provides a kind of readable storage medium storing program for executing, are stored thereon with computer program, the computer When program is executed by processor, for realizing the software layout method of the embodiment of the present application first aspect offer.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that
In the embodiment of the present application, the first software is first disposed on host, and generates after the completion of the first software deployment the The configuration file of one software establishes index sequence for configuration file, to realize to the quick indexing of configuration file, then distributes rope Draw sequence, so that appurtenant machine obtains the installation file of the first software according to the index sequence, to complete the peace to the first software Dress.Because in the present embodiment, generating the first software configuration file by host, and establish rope for the configuration file of the first software Draw sequence, and index sequence is distributed on appurtenant machine, to realize appurtenant machine according to the index sequence, the first software of automatic acquisition Configuration file therefore improve the allocative efficiency of the first software to complete the installation of the first software, reduce on appurtenant machine because Configuration file error and caused by setup error.
Detailed description of the invention
Fig. 1 is a kind of one embodiment schematic diagram of software layout method in the embodiment of the present application;
Fig. 2 is a kind of another embodiment schematic diagram of software layout method in the embodiment of the present application;
Fig. 3 is a kind of one embodiment signal of software configuration system in the embodiment of the present application.
Specific embodiment
The embodiment of the present application provides a kind of software layout method and system, for realizing the automatic configuration of software, from And the efficiency of software configuration is improved, reduce setup error caused by due to software loses.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection It encloses.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing Four " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein or describing Sequence other than appearance is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that covering is non-exclusive Include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to clearly arrange Those of out step or unit, but may include be not clearly listed or it is solid for these process, methods, product or equipment The other step or units having.
Based in the prior art by inefficiency brought by manually installed software, and the higher problem of error rate, this Application proposes a kind of software layout method and system and improves the efficiency of software configuration for realizing the automatic configuration of software, Reduce setup error caused by due to configuration file error.
For ease of understanding, the software layout method in the application is described below in detail, referring to Fig. 1, a kind of in the application One embodiment of software layout method, comprising:
101, the first software is disposed on host, and the configuration file of the first software is generated after the completion of deployment;
With the development of network and computer equipment, more and more computer equipments can access network, and by not Same computer software realizes different functions.
When the multiple computer equipments for accessing consolidated network need batch to install same computer software, multiple computers Equipment needs first to obtain the installation file of the software respectively, is then installed in each computer equipment, and installing Required function items are directed at rear, generate different environment profiles, if being mounted software needs third party database, Will include third party database in the environment profile then generated, and if be mounted software do not need third party database, The environment profile of generation not will include third party database, and when such software is when artificial batch is installed, often Because manual operation malfunctions, unexpected configuration file is generated, to influence the normal operation of the software.
Further, it with the update of software, there is also the patch file of software, lacked with making up certain functions in software It falls into, therefore is mounted with that the computer equipment later period of the first software also needs to install patch file one by one, to realize the update of the software.
And in order to realize that the automation high-volume of software configures, the application can first dispose the first software on host, And the configuration file of the first software is generated after the completion of the first software deployment.Generally, the configuration file of software includes at least: software Installation file, software environment profile and the patch file of software etc., in order to the environment configurations that host is current File immobilization facilitates other appurtenant machines to be replicated.
Wherein, in host the patch file of the installation file of the first software and the first software be usually it is original, i.e., in advance First it is stored in host, and the environment profile of software is then host according to different function items, is generated different Environment profile.
It should be noted that the host in the present embodiment refers to the computer for being mounted designated software in network first Equipment, it can be any one computer equipment in consolidated network, is only preferentially mounted designated software.
102, index sequence is established to the configuration file, to realize the quick indexing to the configuration file;
After host completes the deployment to software, index sequence can also be established to the configuration file of the software, with reality Now to the quick indexing of configuration file.
Such as: the configuration file of k/3WISE software includes: the installation file of k/3WISE, the environment configurations of k/3WISE text The patch file of part and k/3WISE, and the installation file of k/3WISE includes A1, A2 and A3 file, the environment of k/3WISE is matched Setting file again includes B1, B2 and B3 file, and the patch file of k/3WISE includes C1, C2 and C3 file again, then can be k/ The configuration file of 3WISE software establishes index sequence, wherein the effect of the index sequence is similar to article catalogue, with realization pair The quick-searching of each file.
103, distribute the index sequence, so that appurtenant machine obtains the configuration file according to the index sequence, with complete The installation of pairs of first software.
After host is completed to the deployment of software, further by the index sequence of the software configuration file, be distributed to from Category machine, so that appurtenant machine obtains configuration file according to the index sequence, to complete the installation to the first software, because of the first software Configuration file (installation file, environment profile and patch file) be fixed, especially environment configurations of the first software File be it is fixed, can be convenient appurtenant machine and directly configured according to the environment profile, so as not to configuration error, bring soft Part operation error.
It should be noted that N is positive integer, is preferentially configured when accessing has N platform computer equipment in consolidated network The computer equipment of the software is referred to as host, and other N-1 platform computer equipments are referred to as appurtenant machine, when host is complete Matching for pairs of first software postpones, and the corresponding index sequence of the first software configuration file can be distributed to all appurtenant machines, So that appurtenant machine obtains the configuration file of the first software according to the index sequence.
In actual use, dispensing action between host and appurtenant machine can be host and in advance send out index sequence It send to each appurtenant machine, so that the index sequence is stored in local by appurtenant machine, is also possible to build between host and appurtenant machine Vertical communication connection, appurtenant machine obtains the index sequence in real time from host, as long as dispensing action herein can be realized subordinate Real time review of the machine to the index sequence.
In addition, appurtenant machine can also obtain configuration file from different computer equipments according to different strategies, with complete The installation of pairs of first software, wherein for specifically obtaining the strategy of configuration file, will retouch in detail in the following embodiments It states, details are not described herein again.
In the embodiment of the present application, the first software is first disposed on host, and generates after the completion of the first software deployment the The configuration file of one software establishes index sequence for configuration file, to realize to the quick indexing of configuration file, then distributes rope Draw sequence, so that appurtenant machine obtains the installation file of the first software according to the index sequence, to complete the peace to the first software Dress.Because in the present embodiment, the configuration file of the first software is generated by host, and establish for the configuration file of the first software Index sequence, and index sequence is distributed on appurtenant machine, to realize appurtenant machine according to the index sequence, automatic acquisition first is soft The configuration file of part therefore improves the allocative efficiency of the first software to complete the installation of the first software, on less appurtenant machine because Setup error caused by for software loss.
Based on Fig. 1 the embodiment described, it is described below in detail and host and appurtenant machine is deployed in P2P network, and from When the number of category machine is greater than 1, appurtenant machine obtains the Different Strategies of configuration file, referring to Fig. 2, a kind of software configuration in the application Another embodiment of method, comprising:
201, multiple appurtenant machines obtain the configuration file according to the index sequence respectively from the host;
P2P (Peer-to-peer networking, peer-to-peer network) is that the participant of network shares them and possessed A part of hardware resource (processing capacity, storage capacity, network-connectivity, printer etc.), these shared resources pass through network Service and content are provided, can directly be accessed by other peer nodes (Peer) without being subjected to intermediate entities.In this network Participant is both that the supplier (Server) of resource, service and content and resource, service and content obtain taker (Client)。
Therefore when host and appurtenant machine are all deployed in P2P network, multiple appurtenant machines can be obtained from host Then configuration file completes installation to the first software, and the network environment of this P2P according to configuration file, can make from The configuration file of point-to-point the first software of the quick obtaining from host of category machine improves the allocative efficiency of the first software.
202, the first appurtenant machine obtains configuration file according to index sequence from the second appurtenant machine, and second appurtenant machine is The configuration file is obtained in advance.
In addition, the first appurtenant machine can also be literary from configuration is obtained in advance when being provided with multiple appurtenant machines in P2P network Configuration file is obtained on second appurtenant machine of part, is caused in order to avoid multiple appurtenant machines from all obtaining configuration file from host Network congestion, the first appurtenant machine appurtenant machine of software configuration (do not complete) can also obtain in advance according to index sequence from It takes and obtains configuration file on the second appurtenant machine of configuration file, to realize the rapid configuration of the first software.
It should be noted that obtaining the second appurtenant machine of configuration file in the present embodiment in advance, can be in advance Whole configuration files are first obtained, are also possible to preparatory fetching portion configuration file, as long as what is obtained in advance on the second appurtenant machine matches The number for setting file is more than the configuration file that the first appurtenant machine has obtained, this is also that may be implemented quickly in P2P network Where the advantage of software configuration, as long as the number of the configuration file obtained in advance on the second appurtenant machine is more than the first appurtenant machine, First appurtenant machine can obtain configuration file required for itself from multiple second appurtenant machines, to realize configuration file Flexible configuration and multipath obtain.
It is easily understood that can be determined according to different selection strategies when the first appurtenant machine selects the second appurtenant machine Second appurtenant machine:
One, the first appurtenant machine randomly chooses the second appurtenant machine from the appurtenant machine for obtaining configuration file in advance;
Two, the first appurtenant machine is according to the second appurtenant machine of peak optimizating network Path selection;
First appurtenant machine can select the network path optimized to determine the second subordinate according to the current unobstructed degree of network Machine, wherein the network path of optimization can be the nearest network path of distance the first appurtenant machine physical distance, be also possible to away from It is farthest from the first appurtenant machine physical distance, but most unobstructed network path, wherein the peak optimizating network path in the present embodiment is Refer to and obtain the fastest network path of configuration file, in specifically used environment, can be carried out different according to different environment Setting.
Because all appurtenant machines are all located in P2P network, the point between appurtenant machine to configuration file is may be implemented in former capital To a transmission, the acquisition flexibility ratio of configuration file is improved, and obtains efficiency.
In addition, host and appurtenant machine are all set in P2P network, can also realize quickly to each computer equipment In the first software later maintenance, such as when some computer equipment the first software break down when, which can With by the configuration file of the software, such as installation file, the patch file of the environment profile of the software and the software is sent to In the computer equipment that software maintenance staff can be operated directly, to facilitate technical attendant according to the calculation of fault machine equipment In software configuration file, the software in the calculation of fault machine equipment is restored, to quickly confirm problem, is realized pair The Fast-Maintenance of fail soft in the calculation of fault machine equipment.
In the present embodiment, between the host and appurtenant machine being set in P2P network, how to realize that configuration file is quick The selection strategy of acquisition is described in detail, and improves the exploitativeness of the embodiment of the present application.In addition, P2P network can be with It realizes in the first software fault, to faulty computer Fast-Maintenance mentions to improve the degree of automation of software configuration The high efficiency of software configuration.
Described above is the software layout method in the application, the software configuration system in the embodiment of the present application will be described below System, referring to Fig. 3, in the embodiment of the present application software configuration system one embodiment, comprising:
Generation unit 301 is disposed, for disposing the first software on host, and generates the first software after the completion of deployment Configuration file;
Unit 302 is established, for establishing index sequence to the configuration file, to realize to the quick of the configuration file Index;
Dispatching Unit 303, for distributing the index sequence, so that appurtenant machine is matched according to index sequence acquisition File is set, to complete the installation to first software.
Preferably, the host and the appurtenant machine are deployed in P2P network, and the number of the appurtenant machine is greater than or waits In 1.
Preferably, when the number of the appurtenant machine is greater than 1, the Dispatching Unit 303, comprising:
First distribution module 3031, for distributing the index sequence, so that multiple appurtenant machines are respectively according to the index Sequence obtains the configuration file from the host;
Or,
Second distribution module 3032, for distributing the index sequence, so that the first appurtenant machine is according to the index sequence The configuration file is obtained from the second appurtenant machine, second appurtenant machine obtains the configuration file in advance.
Preferably, the second distribution module 3032, comprising:
Distribute submodule 30321, for determining the first appurtenant machine from the P2P network according to preset selection strategy Second appurtenant machine, and the configuration file, second subordinate are obtained from second appurtenant machine according to the index sequence Machine obtains the configuration file in advance, and the preset selection strategy includes random selection strategy or peak optimizating network path Selection strategy.
Preferably, the configuration file of the first software includes at least: the installation file of first software, environment profile And patch file.
It should be noted that the effect of each unit and each module and retouching in embodiment described in Fig. 1 and Fig. 2 in the present embodiment That states is similar, and details are not described herein again.
In the embodiment of the present application, the first software is first disposed by deployment generation unit 301 on host, and soft first The configuration file that the first software is generated after the completion of part deployment is that configuration file establishes index sequence by establishing unit 302, with reality Now to the quick indexing of configuration file, index sequence is then distributed by Dispatching Unit 303, so that appurtenant machine is according to the index sequence Column obtain the installation file of the first software, to complete the installation to the first software.Because raw by host in the present embodiment Establish index sequence at the configuration file of the first software, and for the configuration file of the first software, and by index sequence be distributed to from On category machine, to realize appurtenant machine according to the index sequence, the automatic configuration file for obtaining the first software, to complete the first software Installation, therefore improves the allocative efficiency of the first software, on less appurtenant machine because software loses and caused by setup error.
Secondly, how the present embodiment realizes configuration file also between the host and appurtenant machine being set in P2P network The selection strategy of quick obtaining is described in detail, and improves the exploitativeness of the embodiment of the present application.In addition, P2P network is also It may be implemented in the first software fault, to faulty computer Fast-Maintenance, to improve the automation journey of software configuration Degree, improves the efficiency of software configuration.
The software configuration system in the embodiment of the present application is described from the angle of modular functionality entity above, under Face is described the software configuration system in the embodiment of the present application from the angle of hardware handles:
Function of the software configuration system for realizing gateway side, software configuration system one in the embodiment of the present application A embodiment includes:
Processor and memory;
Memory can when processor is used to execute the computer program stored in memory for storing computer program To realize following steps:
The first software is disposed on host, and the configuration file of the first software is generated after the completion of deployment;
Index sequence is established to the configuration file, to realize the quick indexing to the configuration file;
Distribute the index sequence, so that appurtenant machine obtains the configuration file according to the index sequence, with completion pair The installation of first software.
Preferably, the host and the appurtenant machine are deployed in P2P network, and the number of the appurtenant machine is greater than or waits In 1.
In some embodiments of the present application, when the number of the appurtenant machine is greater than 1, processor can be also used for reality Existing following steps:
Multiple appurtenant machines obtain the configuration file according to the index sequence respectively from the host;
Or,
First appurtenant machine obtains the configuration file, second subordinate according to the index sequence from the second appurtenant machine Machine obtains the configuration file in advance.
In some embodiments of the present application, processor can be also used for realizing following steps:
First appurtenant machine determines the second appurtenant machine according to preset selection strategy from the P2P network, and according to described Index sequence obtains the configuration file from second appurtenant machine, and second appurtenant machine has obtained the configuration text in advance Part, the preset selection strategy include random selection strategy or peak optimizating network routing strategy.
Preferably, the configuration file of first software includes at least: installation file, the environment configurations of first software File and patch file.
It is understood that when the processor in above explained software configuration system executes the computer program, The function of each unit in above-mentioned corresponding each Installation practice may be implemented, details are not described herein again.Illustratively, the computer Program can be divided into one or more module/units, and one or more of module/units are stored in the storage It in device, and is executed by the processor, to complete the application.One or more of module/units, which can be, can complete spy Determine the series of computation machine program instruction section of function, the instruction segment is for describing the computer program in the software configuration system Implementation procedure in system.For example, the computer program can be divided into each unit in above-mentioned software configuration system, each list The concrete function as described in above-mentioned corresponding software configures system may be implemented in member.
The software configuration system can be the calculating such as desktop PC, notebook, palm PC and cloud server Equipment.The software configuration system may include, but are not limited to processor, memory.It will be understood by those skilled in the art that place Reason device, memory are only the example of computer installation, do not constitute the restriction to computer installation, may include more or more Few component perhaps combines certain components or different components, such as the software configuration system can also include that input is defeated Equipment, network access equipment, bus etc. out.
The processor can be central processing unit (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng the processor is the control centre of the computer installation, utilizes various interfaces and the entire computer installation of connection Various pieces.
The memory can be used for storing the computer program and/or module, and the processor is by operation or executes Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization The various functions of computer installation.The memory can mainly include storing program area and storage data area, wherein storage program It area can application program needed for storage program area, at least one function etc.;Storage data area can store the use according to terminal The data etc. created.In addition, memory may include high-speed random access memory, it can also include non-volatile memories Device, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatibility are solid State memory device.
Present invention also provides a kind of computer readable storage mediums, and the computer readable storage medium is for realizing software The function of configuration system is stored thereon with computer program, and when computer program is executed by processor, processor can be used for Execute following steps:
The first software is disposed on host, and the configuration file of the first software is generated after the completion of deployment;
Index sequence is established to the configuration file, to realize the quick indexing to the configuration file;
Distribute the index sequence, so that appurtenant machine obtains the configuration file according to the index sequence, with completion pair The installation of first software.
Preferably, the host and the appurtenant machine are deployed in P2P network, and the number of the appurtenant machine is greater than or waits In 1.
In some embodiments of the present application, when the number of the appurtenant machine is greater than 1, computer readable storage medium is deposited When the computer program of storage is executed by processor, processor can be specifically used for executing following steps:
Multiple appurtenant machines obtain the configuration file according to the index sequence respectively from the host;
Or,
First appurtenant machine obtains the configuration file, second subordinate according to the index sequence from the second appurtenant machine Machine obtains the configuration file in advance.
In some embodiments of the present application, the computer program of computer-readable recording medium storage is executed by processor When, processor can be specifically used for executing following steps:
First appurtenant machine determines the second appurtenant machine according to preset selection strategy from the P2P network, and according to described Index sequence obtains the configuration file from second appurtenant machine, and second appurtenant machine has obtained the configuration text in advance Part, the preset selection strategy include random selection strategy or peak optimizating network routing strategy.
Preferably, the configuration file of first software includes at least: installation file, the environment configurations of first software File and patch file.
It is understood that if the integrated unit is realized in the form of SFU software functional unit and as independent production Product when selling or using, can store in a corresponding computer-readable storage medium.Based on this understanding, this Shen It please realize all or part of the process in above-mentioned corresponding embodiment method, can also be instructed by computer program relevant Hardware is completed, and the computer program can be stored in a computer readable storage medium, which is being located It manages when device executes, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program generation Code, the computer program code can be source code form, object identification code form, executable file or certain intermediate forms Deng.The computer-readable medium may include: any entity or device, record that can carry the computer program code Medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), with Machine access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc.. It should be noted that the content that the computer-readable medium includes can be according to legislation and patent practice in jurisdiction It is required that carrying out increase and decrease appropriate, such as in certain jurisdictions, do not wrapped according to legislation and patent practice, computer-readable medium Include electric carrier signal and telecommunication signal.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of software layout method characterized by comprising
The first software is disposed on host, and the configuration file of the first software is generated after the completion of deployment;
Index sequence is established to the configuration file, to realize the quick indexing to the configuration file;
Distribute the index sequence, so that appurtenant machine obtains the configuration file according to the index sequence, to complete to described The installation of first software.
2. software layout method according to claim 1, which is characterized in that the host and the appurtenant machine are deployed in In P2P network, the number of the appurtenant machine is greater than or equal to 1.
3. software layout method according to claim 2, which is characterized in that when the number of the appurtenant machine is greater than 1, institute It states appurtenant machine and the configuration file is obtained according to the index sequence, comprising:
Multiple appurtenant machines obtain the configuration file according to the index sequence respectively from the host;
Or,
First appurtenant machine obtains the configuration file according to the index sequence from the second appurtenant machine, and second appurtenant machine is The configuration file is obtained in advance.
4. software layout method according to claim 3, which is characterized in that first appurtenant machine is according to the index sequence Column obtain the configuration file from the second appurtenant machine, and second appurtenant machine obtains the configuration file in advance, comprising:
First appurtenant machine determines the second appurtenant machine according to preset selection strategy from the P2P network, and according to described Index sequence obtains the configuration file from second appurtenant machine, and second appurtenant machine has obtained the configuration text in advance Part, the preset selection strategy include random selection strategy or peak optimizating network routing strategy.
5. software layout method according to any one of claim 1 to 4, which is characterized in that first software is matched It sets file to include at least: installation file, environment profile and the patch file of first software.
6. a kind of software configuration system characterized by comprising
Generation unit is disposed, for disposing the first software on host, and generates after the completion of deployment the configuration of the first software File;
Unit is established, for establishing index sequence to the configuration file, to realize the quick indexing to the configuration file;
Dispatching Unit, for distributing the index sequence, so that appurtenant machine obtains the configuration file according to the index sequence, To complete the installation to first software.
7. system according to claim 6, which is characterized in that the host and the appurtenant machine are deployed in P2P network In, the number of the appurtenant machine is greater than or equal to 1.
8. system according to claim 7, which is characterized in that when the number of the appurtenant machine is greater than 1, the distribution is single Member, comprising:
First distribution module, for distributing the index sequence, so that multiple appurtenant machines are respectively according to the index sequence from institute It states and obtains the configuration file on host;
Or,
Second distribution module, for distributing the index sequence so that the first appurtenant machine according to the index sequence from second from The configuration file is obtained on category machine, second appurtenant machine obtains the configuration file in advance.
9. a kind of software configuration system, including processor, which is characterized in that the processor is stored on memory in processing When computer program, for realizing the software layout method as described in any one of claims 1 to 5.
10. a kind of readable storage medium storing program for executing, is stored thereon with computer program, which is characterized in that the computer program is processed When device executes, for realizing the software layout method as described in any one of claims 1 to 5.
CN201811238686.2A 2018-10-23 2018-10-23 A kind of software layout method and system Pending CN109408109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811238686.2A CN109408109A (en) 2018-10-23 2018-10-23 A kind of software layout method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811238686.2A CN109408109A (en) 2018-10-23 2018-10-23 A kind of software layout method and system

Publications (1)

Publication Number Publication Date
CN109408109A true CN109408109A (en) 2019-03-01

Family

ID=65468878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811238686.2A Pending CN109408109A (en) 2018-10-23 2018-10-23 A kind of software layout method and system

Country Status (1)

Country Link
CN (1) CN109408109A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110058876A (en) * 2019-04-25 2019-07-26 厦门网宿有限公司 Extend method, apparatus, server and the storage medium of the wireshark software compatibility

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060224670A1 (en) * 2005-03-31 2006-10-05 Fujitsu Limited File distribution method and client terminal implementing the same
CN101471855A (en) * 2007-12-29 2009-07-01 深圳华为通信技术有限公司 Communication equipment and application method and system thereof
CN103034512A (en) * 2012-11-28 2013-04-10 北京奇虎科技有限公司 Method and device for updating programs
CN103581245A (en) * 2012-07-30 2014-02-12 腾讯科技(深圳)有限公司 Content delivery method and system of content delivery network
CN103607386A (en) * 2013-11-15 2014-02-26 南京云川信息技术有限公司 A cooperative caching method in a P2P Cache system
CN103685496A (en) * 2013-12-06 2014-03-26 华为技术有限公司 Transmission method and device of file data
CN103685469A (en) * 2011-06-15 2014-03-26 北京奇虎科技有限公司 P2P-based file download method and system, and client terminal
CN104936250A (en) * 2015-06-04 2015-09-23 西安交通大学 Routing method based on P2P file sharing in wireless D2D network
CN105487891A (en) * 2015-11-26 2016-04-13 航天恒星科技有限公司 Distributed cluster deploying method and system
CN105528232A (en) * 2016-01-27 2016-04-27 国家电网公司 Automatic installation method and system for software
CN106210065A (en) * 2016-07-13 2016-12-07 广东欧珀移动通信有限公司 A kind of document transmission method, device and mobile terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060224670A1 (en) * 2005-03-31 2006-10-05 Fujitsu Limited File distribution method and client terminal implementing the same
CN101471855A (en) * 2007-12-29 2009-07-01 深圳华为通信技术有限公司 Communication equipment and application method and system thereof
CN103685469A (en) * 2011-06-15 2014-03-26 北京奇虎科技有限公司 P2P-based file download method and system, and client terminal
CN103581245A (en) * 2012-07-30 2014-02-12 腾讯科技(深圳)有限公司 Content delivery method and system of content delivery network
CN103034512A (en) * 2012-11-28 2013-04-10 北京奇虎科技有限公司 Method and device for updating programs
CN103607386A (en) * 2013-11-15 2014-02-26 南京云川信息技术有限公司 A cooperative caching method in a P2P Cache system
CN103685496A (en) * 2013-12-06 2014-03-26 华为技术有限公司 Transmission method and device of file data
CN104936250A (en) * 2015-06-04 2015-09-23 西安交通大学 Routing method based on P2P file sharing in wireless D2D network
CN105487891A (en) * 2015-11-26 2016-04-13 航天恒星科技有限公司 Distributed cluster deploying method and system
CN105528232A (en) * 2016-01-27 2016-04-27 国家电网公司 Automatic installation method and system for software
CN106210065A (en) * 2016-07-13 2016-12-07 广东欧珀移动通信有限公司 A kind of document transmission method, device and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110058876A (en) * 2019-04-25 2019-07-26 厦门网宿有限公司 Extend method, apparatus, server and the storage medium of the wireshark software compatibility
CN110058876B (en) * 2019-04-25 2022-12-06 厦门网宿有限公司 Method, device, server and storage medium for expanding compatibility of wireshark software

Similar Documents

Publication Publication Date Title
CN108777625B (en) Signature verification method, device and system, storage medium and electronic device
EP3534320A1 (en) Block chain-based multi-chain management method and system, electronic device, and storage medium
CN103946800B (en) Lossless uninterrupted message processing method during system software upgrading
CN106713487A (en) Data synchronization method and device
CN110719209B (en) Cluster network configuration method, system, equipment and readable storage medium
CN104133776B (en) Storage array automatic configuration method, device and storage system
CN114827213B (en) Industrial Internet of things for implementation of production task plan and control method thereof
CN110351375A (en) A kind of data processing method, device and computer installation, readable storage medium storing program for executing
CN108632063A (en) Manage the methods, devices and systems of network slice example
CN110309230A (en) Block generation method, device, equipment and storage medium based on block chain
CN110933015B (en) Data transmission method, device and system
CN108595670A (en) A kind of date storage method, device, computer installation and storage medium
CN110069288A (en) USB device sharing method, apparatus and system
CN109348434A (en) A kind of sending method of scene information, sending device and terminal device
CN104811403A (en) Openflow-based group table processing method and device and group table configuration unit
CN109408109A (en) A kind of software layout method and system
CN107547453B (en) A kind of method and terminal for realizing switch port polymerization
CN110944067A (en) Load balancing method and server
CN108933680A (en) A kind of method and apparatus of SPTN equipment resource management
CN104506636B (en) A kind of method of data synchronization and device
CN109462537A (en) A kind of across a network interoperability methods and device
CN110489151A (en) A kind of terminal staging method and system
CN109104472B (en) Block chain network networking method, device, equipment and computer readable storage medium
CN103152428A (en) Method for carrying out service communication among nodes on cloud platform
CN103179200B (en) Management system and method for internet surfing accelerating equipment of mobile terminal

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190301

RJ01 Rejection of invention patent application after publication