CN108874456A - A kind of generation method of server software, device, equipment and storage medium - Google Patents

A kind of generation method of server software, device, equipment and storage medium Download PDF

Info

Publication number
CN108874456A
CN108874456A CN201810700247.2A CN201810700247A CN108874456A CN 108874456 A CN108874456 A CN 108874456A CN 201810700247 A CN201810700247 A CN 201810700247A CN 108874456 A CN108874456 A CN 108874456A
Authority
CN
China
Prior art keywords
configuration rule
destination server
syntagmatic
hardware device
server software
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
CN201810700247.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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810700247.2A priority Critical patent/CN108874456A/en
Publication of CN108874456A publication Critical patent/CN108874456A/en
Pending legal-status Critical Current

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/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

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

Abstract

This application discloses a kind of generation methods of server software, by the various syntagmatics for counting all hardware equipment in destination server in advance, with the determining and one-to-one configuration rule of various syntagmatics, finally destination server software can be generated based on each configuration rule in conjunction with general format code.Due to the destination server software based on configuration rule be the one-to-one configuration rule of various syntagmatics with all hardware equipment in destination server, so, when destination server starting, destination server software can call target configuration rule corresponding with online combination of hardware devices relationship to configure each online hardware device, realize the reasonable disposition to each online hardware device of destination server, and the version of server software can be reduced, and then development cost and maintenance cost can be reduced.Disclosed herein as well is a kind of generating means of server software, equipment and computer readable storage mediums, all have above-mentioned beneficial effect.

Description

A kind of generation method of server software, device, equipment and storage medium
Technical field
The present invention relates to server technology field, in particular to a kind of generation method of server software, device, equipment and Computer readable storage medium.
Background technique
With the fast development of science and technology, sharp weapon of the server as cloud computing and big data analysis, can to cloud computing and Big data business provides strong calculating and storage acceleration function, therefore by more and more extensive use.Current service Device is usually to be made of hardware device such as head server, PCIE SIWTCH equipment and BOX equipment etc., head server, PCIE SIWTCH equipment and BOX equipment are respectively provided with a variety of different models, therefore the hardware device that can use different model carries out Combination forms the server for meeting different demands.
In order to which each online hardware device to server carries out reasonable disposition, needs to install configuration rule and set in line hard ware The corresponding server software of standby syntagmatic.But due to server need to start according to different use requirements it is different Hardware device finally makes the online combination of hardware devices relationship of server also be not quite similar, and the server of a version is soft Part is based only on a kind of configuration rule again, so, in the prior art, need the server software of corresponding publication miscellaneous editions with suitable With specific online combination of hardware devices, manpower and material resources investment is larger.Moreover, increasing with server software version, maintenance Manpower and material resources required for server software can also be increase accordingly, and can further increase the maintenance cost of server software.
Therefore, how under the premise of guaranteeing each online hardware device of reasonable disposition server, server software is reduced Version, achieve the purpose that save the cost is a technical problem that technical personnel in the field need to solve at present.
Summary of the invention
In view of this, can be improved generation clothes the purpose of the present invention is to provide a kind of generation method of server software The efficiency of business device software, improves the speed of switching server software version, reduces maintenance cost;It is another object of the present invention to mention For the generating means, equipment and computer readable storage medium of a kind of server software, above-mentioned beneficial effect is all had.
In order to solve the above technical problems, the present invention provides a kind of generation method of server software, including:
The various syntagmatics of all hardware equipment in statistics destination server in advance;
The determining and various one-to-one configuration rules of syntagmatic;
Destination server software is generated based on each configuration rule, with when destination server starting, the mesh Mark server software invocation target configuration rule configures each online hardware device in the destination server;
Wherein, the target configuration rule is configuration rule corresponding with the syntagmatic of the online hardware device.
Preferably, the various syntagmatics of all hardware equipment in the preparatory statistics destination server specifically include:
The facility information of all hardware equipment in the destination server is obtained in advance;
The combination of all possible hardware device is obtained according to the rule of combination of the facility information and the hardware device Relationship;
Count the various syntagmatics of all hardware devices.
Preferably, after the syntagmatic of all hardware devices of statistics, further comprise:
Unique corresponding syntagmatic ID is arranged in respectively each syntagmatic;
It is corresponding, further comprise after the determination and the various one-to-one configuration rules of syntagmatic:
Respectively each configuration rule setting and the one-to-one configuration rule ID of the syntagmatic.
Preferably, described when destination server starting, the destination server software transfer target configuration rule Each online hardware device configured in the destination server specifically includes:
When destination server starting, the online hardware device of the destination server is obtained;
Judge in the predetermined configuration rule whether include the online hardware device syntagmatic it is corresponding Configuration rule;
If so, target configuration rule is set by the corresponding configuration rule of syntagmatic of the online hardware device, Each online hardware device in the destination server is configured so as to the destination server software transfer target configuration rule;
Otherwise, configuration rule corresponding with the syntagmatic of the online hardware device is set, the judgement institute is entered back into State in predetermined configuration rule whether include the online hardware device the corresponding configuration rule of syntagmatic step Suddenly.
Preferably, the determination is specifically included with the various one-to-one configuration rules of syntagmatic:
The determining and various one-to-one configuration rules of syntagmatic;
Each configuration rule is stored in power down nonvolatile region.
Preferably, further comprise:
The information of the destination server software of generation is recorded to log.
In order to solve the above technical problems, the present invention also provides a kind of generating means of server software, including:
Statistical module, for counting the various syntagmatics of all hardware equipment in destination server in advance;
Determining module, for the determining and various one-to-one configuration rules of syntagmatic;
Generation module, for generating destination server software based on each configuration rule, to work as the destination server When starting, what the destination server software transfer target configuration rule configured in the destination server each sets in line hard ware It is standby;
Wherein, the target configuration rule is configuration rule corresponding with the syntagmatic of the online hardware device.
Preferably, the statistical module specifically includes:
Acquisition submodule, for obtaining the facility information of all hardware equipment in the destination server in advance;
Be arranged submodule, for according to the facility information and according to the rule of combination of the hardware device obtain it is all can The syntagmatic of the hardware device of energy;
Statistic submodule, for counting the syntagmatic of all hardware devices.
In order to solve the above technical problems, the present invention also provides a kind of generating devices of server software, including:
Memory, for storing computer program;
Processor realizes the step of the generation method of any of the above-described kind of server software when for executing the computer program Suddenly.
In order to solve the above technical problems, the present invention also provides a kind of computer readable storage medium, it is described computer-readable Computer program is stored on storage medium, the computer program realizes that any of the above-described kind of server is soft when being executed by processor The step of generation method of part.
The generation method of server software provided by the invention is set by all hardware counted in destination server in advance Standby various syntagmatics, and determining with the one-to-one configuration rule of various syntagmatics, with general format code knot It closes, finally can generate destination server software based on each configuration rule.Due to the destination server software based on configuration rule It is then the one-to-one configuration rule of various syntagmatics with all hardware equipment in destination server, so, when target takes When business device starting, destination server software can call target configuration rule corresponding with online combination of hardware devices relationship to configure Each online hardware device is realized on the basis of the server software without corresponding publication miscellaneous editions to destination server The reasonable disposition of each online hardware device.It also, is to be matched using general format code with all since the target takes device software It sets rule and combines composition, therefore can be realized the server of multiple versions in the prior art using the destination server software The function of software so as to reduce the version of server software, and then can reduce development cost and maintenance cost.
In order to solve the above technical problems, the present invention also provides a kind of generating means of server software, equipment and calculating Machine readable storage medium storing program for executing all has above-mentioned beneficial effect.
Detailed description of the invention
It in order to illustrate the embodiments of the present invention more clearly or the technical solution of the prior art, below will be to embodiment or existing Attached drawing needed in technical description is briefly described, it should be apparent that, the accompanying drawings in the following description is only this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to the attached drawing of offer.
Fig. 1 is a kind of flow chart of the generation method of server software provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the generation method of another server software provided in an embodiment of the present invention;
Fig. 3 is a kind of structure chart of the generating means of server software provided in an embodiment of the present invention;
Fig. 4 is a kind of structure chart of the generating device of server software provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The core of the embodiment of the present invention is to provide a kind of configuration method of server software, and it is soft to can be improved configuration server The efficiency of part improves the speed of switching server software version, reduces maintenance cost;Another core of the invention is to provide one kind Configuration device, equipment and the computer readable storage medium of server software, all have above-mentioned beneficial effect.
It is right with reference to the accompanying drawings and detailed description in order to make those skilled in the art more fully understand the present invention program The present invention is described in further detail.
It should be noted that a kind of generation method for server software that this programme provides, can be suitable for a variety of services Not homologous ray in device, such as BIOS system (Basic Input Output System, basic input output system), BMC system It unites (Baseboard Management Controller, baseboard management controller) etc..
Fig. 1 is a kind of flow chart of the generation method of server software provided in an embodiment of the present invention.As shown in Figure 1, clothes Business device software generation method include:
S10:The various syntagmatics of all hardware equipment in statistics destination server in advance.
Specifically, being capable of forming different combinations between each hardware device there are multiple hardwares equipment in destination server Relationship.Therefore, the various syntagmatics of all hardware equipment in destination server are counted in advance, that is to say, that take target The all hardware equipment being engaged in device carries out permutation and combination, obtains all possible syntagmatic and is counted one by one, obtains institute The syntagmatic that there may be.
S20:The determining and one-to-one configuration rule of various syntagmatics.
It is understood that needing to be arranged matching for different hardware devices for the syntagmatic of different hardware devices Rule is set to configure to hardware device.Therefore, according to the syntagmatic of hardware device, each syntagmatic pair is determined respectively The configuration rule answered.Specifically, configuration rule is according to the property of hardware device itself each in server and according to different shaped Number hardware device between rule of combination, be arranged corresponding memory and be arranged other process resources.For example, in a kind of AI In (Artificial Intelligence, artificial intelligence) server, including head server, PCIE SIWTCH equipment and BOX equipment, and head server has 2 tunnel of standard/4 tunnels/models such as 8 tunnels and RACK server;BOX equipment have GPU configuration, NVME configuration and FPGA configuration etc.;PCIE SIWTCH equipment can be PMC PCIE SIWTCH, be also possible to Broadcom PCIE SIWTCH.When the 2 road server of model of head server, BOX equipment is specially GPU configuration, and is more specifically When Nvidia GPU is configured, the distribution of more MMIO resources and PCIE BUS number is needed to configure, and is needed to configure corresponding Register.
It should be noted that the configuration rule in the present embodiment is corresponding with the syntagmatic of hardware device, and It is identical as the configuration rule that the syntagmatic for corresponding to hardware device in the prior art is arranged that the configuration rule is needed.For hardware The content of corresponding configuration rule is arranged in the syntagmatic of equipment, is content known in those skilled in the art, therefore this reality Example is applied to be not described in detail.
S30:Destination server software, with when destination server starts, destination server are generated based on each configuration rule Software transfer target configuration rule configures each online hardware device in destination server;
Wherein, target configuration rule is configuration rule corresponding with the syntagmatic of online hardware device.
It should be noted that being referred to after destination server starts in line hardware device, in running order hardware Equipment, namely the hardware device being currently in same syntagmatic.
It should be noted that including based on each configuration rule generation destination server software namely destination server software Predetermined all configuration rules.Therefore, when destination server starts, each online hardware device of destination server The corresponding target configuration rule of syntagmatic be predetermined all one of configuration rules, therefore destination server Software can invocation target configuration rule each online hardware device in destination server is configured.
It is understood that destination server software is formed based on configuration rule and being combined using general format code , which is to make to be adapted on the basis of format code general in server software in the prior art Change, be that those skilled in the art are readily apparent that, thus details are not described herein again how specifically using general format code and Configuration rule forms destination server software.
The generation method of server software provided in an embodiment of the present invention, it is all in destination server by counting in advance Various syntagmatics of hardware device, and determining with the one-to-one configuration rule of various syntagmatics, with general format Code combines, and finally can generate destination server software based on each configuration rule.Due to the destination server software based on Configuration rule is the one-to-one configuration rule of various syntagmatics with all hardware equipment in destination server, so, when When destination server starts, destination server software can call target configuration rule corresponding with online combination of hardware devices relationship Each online hardware device is then configured, on the basis of the server software without corresponding publication miscellaneous editions, realizes and target is taken The reasonable disposition of each online hardware device of business device.Also, due to the target take device software be using general format code with All configuration rules combine composition, therefore can be realized multiple versions in the prior art using the destination server software The function of server software so as to reduce the version of server software, and then can reduce development cost and maintenance cost.
On the basis of the above embodiments, the present embodiment has made further instruction and optimization to technical solution, specifically, The various syntagmatics of all hardware equipment in statistics destination server specifically include in advance:
The facility information of all hardware equipment in destination server is obtained in advance.
It should be noted that with regard to carrying out the setting of hardware device to each server, therefore uniting generally before factory All hardware equipment in meter destination server can be obtaining by way of obtaining the factory information of destination server.
The syntagmatic of all possible hardware device is obtained according to the rule of combination of facility information and hardware device.
Specifically, showing that the combination of all possible hardware device is closed according to the rule of combination of facility information and hardware device System, can be and be combined using the facility information of hardware device to all hardware devices, i.e., is arranged using each hardware device Obtained all syntagmatics are combined, then according to combination of hardware devices rule hardware that cannot be online simultaneously all to exclusion The corresponding syntagmatic of equipment.For example, showing that (wherein A, B and C are three kinds of differences to A+B+C after to hardware device permutation and combination Hardware device) syntagmatic after, since A and B is not simultaneously in working condition, i.e., cannot in same objective cross close In system, it is therefore desirable to delete this syntagmatic.
Count the various syntagmatics of all hardware equipment.
According to combination of hardware devices rule the corresponding syntagmatics of hardware device that cannot be online simultaneously all to exclusion Later, retain the syntagmatic of all hardware devices that may be present to get the syntagmatic of all hardware equipment is arrived, to arrange In addition to the syntagmatic of hardware device that cannot be online simultaneously.
On the basis of the above embodiments, the present embodiment has made further instruction and optimization to technical solution, specifically, After the syntagmatic of statistics all hardware equipment, further comprise:
Unique corresponding syntagmatic ID is arranged in respectively each syntagmatic.
It is corresponding, further comprise after determination and the one-to-one configuration rule of various syntagmatics:
Respectively each configuration rule setting and the one-to-one configuration rule ID of syntagmatic.
That is, respectively each syntagmatic setting is unique right after the syntagmatic of statistics all hardware equipment The syntagmatic ID answered, thus it is corresponding, it is further wrapped after determination and the one-to-one configuration rule of various syntagmatics It includes:
Respectively each configuration rule setting and the one-to-one configuration rule ID of syntagmatic.
That is, by being arranged syntagmatic ID for each syntagmatic, therefore corresponding with various pass is combined determining It is after one-to-one configuration rule, respectively each configuration rule is arranged and the one-to-one configuration rule ID of syntagmatic, Therefore when destination server starts, destination server software is called according to the corresponding syntagmatic ID of each online hardware device Corresponding configuration rule ID, so that the corresponding target configuration rule of corresponding configuration rule ID is obtained, so that calling process is more It is easy.
It should be noted that can also be that the setting of each hardware device is unique corresponding hard according to the facility information of hardware device Part device id is used for unique identification hardware device.It more specifically, can be respectively each hardware according to the different type of hardware device Unique corresponding hardware device ID is arranged in equipment.The mode of hardware device ID is set without limitation, such as can be by different Digital form is configured, and can also be configured by way of character and digit such as the form of " A1 ", " A2 ".
Accordingly, when obtaining the syntagmatic of hardware device, it can use hardware device ID and be configured, pass through utilization Hardware device ID replaces the facility information of hardware device, and the content of setting can be made simpler.
Fig. 2 is the flow chart of the generation method of another server software provided in an embodiment of the present invention.As shown in Fig. 2, On the basis of the above embodiments, the present embodiment has made further instruction and optimization to technical solution, specifically, when target takes When business device starting, each online hardware device that destination server software transfer target configuration rule configures in destination server is specific Including:
S21:When destination server starting, the online hardware device of destination server is obtained.
Although it is understood that there are multiple types and the hardware device of different model in destination server, When destination server starts, all hardware devices can't be started simultaneously.Therefore, when destination server starts, mesh is obtained Mark the online hardware device of server.When obtaining destination server starting, it is currently at the hardware device of working condition.
S22:Judge in predetermined configuration rule whether to include that the syntagmatic of online hardware device corresponding is matched Set rule.
S23:If so, target configuration rule is set by the corresponding configuration rule of the syntagmatic of online hardware device, So as to each online hardware device in destination server software transfer target configuration rule configuration destination server;
S24:Otherwise, configuration rule corresponding with the syntagmatic of online hardware device is set, it is true in advance to enter back into judgement The step of whether including the syntagmatic corresponding configuration rule of online hardware device in fixed configuration rule.
Specifically after getting online hardware device, judge in predetermined configuration rule with the presence or absence of online hard The corresponding configuration rule of part equipment.That is, inquiring in predetermined configuration rule with the presence or absence of the group with online hardware device Close the configuration rule of information matches.
If so, target configuration rule is set by the corresponding configuration rule of the syntagmatic of online hardware device, so as to Destination server software transfer target configuration rule configures each online hardware device in destination server;
Otherwise, corresponding with the syntagmatic of online hardware device configuration rule is set, enter back into judge it is predetermined The step of whether including the syntagmatic corresponding configuration rule of online hardware device in configuration rule.That is, in original On the basis of the configuration rule come, the corresponding configuration rule of syntagmatic of current online hardware device is increased newly, so as to Corresponding configuration rule is found according to the syntagmatic of current online hardware device, and sets target for the configuration rule Configuration rule.
As preferred embodiment, determination is specifically included with the one-to-one configuration rule of various syntagmatics:
The determining and one-to-one configuration rule of various syntagmatics;
Each configuration rule is stored in power down nonvolatile region.
In general, can match predetermined after the determining and one-to-one configuration rule of various syntagmatics Rule is set to store to hard disk or the positions such as external USB flash disk or NVRAM.In this embodiment, it is preferred that hardware device is arranged Configuration rule is imported by way of IPMI order in the power down nonvolatile region of the NVRAM in destination server, in this way can be When being again started up after server power failure, it still is able to quick obtaining configuration rule, improves the reliable of the process for generating server software Property.
On the basis of the above embodiments, the present embodiment has made further instruction and optimization to technical solution, specifically, Further comprise:
The information of the destination server software of generation is recorded to log.
Specifically, obtaining the destination server software after calling configuration rule is to generate destination server software Version information, and version information is recorded to log.More specifically, version information may include version number, form target clothes It is engaged in the information such as hardware device that time of device software, the destination server software include and corresponding configuration rule, this implementation Example does not do specific restriction to this.
It, can be in order to technology people by recording the version information of the server software of generation to log in the present embodiment Member checks the information of destination server software.
A kind of embodiment of the generation method of server software provided by the invention is described in detail above, The present invention also provides generating means, equipment and the computer-readable storage mediums of a kind of server software corresponding with this method Matter, since the embodiment of device, equipment and computer readable storage medium part and the embodiment of method part mutually correlate, because The embodiment of this device, equipment and computer readable storage medium part refers to the description of the embodiment of method part, here It wouldn't repeat.
Fig. 3 is a kind of structure chart of the generating means of server software provided in an embodiment of the present invention, as shown in figure 3, clothes Business device software generating means include:
Statistical module 31, for counting the various syntagmatics of all hardware equipment in destination server in advance;
Determining module 32, for the determining and one-to-one configuration rule of various syntagmatics;
Generation module 33, for generating destination server software based on each configuration rule, with when destination server starts, Destination server software transfer target configuration rule configures each online hardware device in destination server;
Wherein, target configuration rule is configuration rule corresponding with the syntagmatic of online hardware device.
The generating means of server software provided in an embodiment of the present invention, the generation method with above-mentioned server software Beneficial effect.
On the basis of the above embodiments, the present embodiment has made further instruction and optimization to technical solution, specifically, Statistical module specifically includes:
Acquisition submodule, for obtaining the facility information of all hardware equipment in destination server in advance;
Submodule is set, for obtaining all possible hardware according to facility information and according to the rule of combination of hardware device The syntagmatic of equipment;
Statistic submodule, for counting the syntagmatic of all hardware equipment.
Fig. 4 is a kind of structure chart of the generating device of server software provided in an embodiment of the present invention, as shown in figure 4, clothes Business device software generating device include:
Memory 41, for storing computer program;
Processor 42, when for executing computer program the step of the realization such as generation method of above-mentioned server software.
The generating device of server software provided in an embodiment of the present invention, the generation method with above-mentioned server software Beneficial effect.
In order to solve the above technical problems, the present invention also provides a kind of computer readable storage medium, computer-readable storage It is stored with computer program on medium, the generation method such as above-mentioned server software is realized when computer program is executed by processor The step of.
Computer readable storage medium provided in an embodiment of the present invention, the generation method with above-mentioned server software have Beneficial effect.
Above to the generation method of server software provided by the present invention, device, equipment and computer-readable storage medium Matter is described in detail.Principle and implementation of the present invention are described for specific embodiment used herein, with The explanation of upper embodiment is merely used to help understand method and its core concept of the invention.It should be pointed out that being led for this technology For the those of ordinary skill in domain, without departing from the principle of the present invention, can also to the present invention carry out it is several improvement and Modification, these improvements and modifications also fall within the scope of protection of the claims of the present invention.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration ?.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.

Claims (10)

1. a kind of generation method of server software, which is characterized in that including:
The various syntagmatics of all hardware equipment in statistics destination server in advance;
The determining and various one-to-one configuration rules of syntagmatic;
Destination server software is generated based on each configuration rule, with when destination server starting, the target is taken Business device software transfer target configuration rule configures each online hardware device in the destination server;
Wherein, the target configuration rule is configuration rule corresponding with the syntagmatic of the online hardware device.
2. the method according to claim 1, wherein all hardware in the preparatory statistics destination server is set Standby various syntagmatics specifically include:
The facility information of all hardware equipment in the destination server is obtained in advance;
The syntagmatic of all possible hardware device is obtained according to the rule of combination of the facility information and the hardware device;
Count the various syntagmatics of all hardware devices.
3. according to the method described in claim 2, it is characterized in that, in the syntagmatic for counting all hardware devices Later, further comprise:
Unique corresponding syntagmatic ID is arranged in respectively each syntagmatic;
It is corresponding, further comprise after the determination and the various one-to-one configuration rules of syntagmatic:
Respectively each configuration rule setting and the one-to-one configuration rule ID of the syntagmatic.
4. the method according to claim 1, wherein described when destination server starting, the target Server software invocation target configuration rule configures each online hardware device in the destination server and specifically includes:
When destination server starting, the online hardware device of the destination server is obtained;
Judge in the predetermined configuration rule whether to include that the syntagmatic of the online hardware device corresponding is matched Set rule;
If so, target configuration rule is set by the corresponding configuration rule of syntagmatic of the online hardware device, so as to The destination server software transfer target configuration rule configures each online hardware device in the destination server;
Otherwise, configuration rule corresponding with the syntagmatic of the online hardware device is set, it is described pre- to enter back into the judgement The step of whether including the syntagmatic corresponding configuration rule of the online hardware device in first determining configuration rule.
5. the method according to claim 1, wherein the determination and the various syntagmatics are one-to-one Configuration rule specifically includes:
The determining and various one-to-one configuration rules of syntagmatic;
Each configuration rule is stored in power down nonvolatile region.
6. method according to any one of claims 1 to 5, which is characterized in that further comprise:
The information of the destination server software of generation is recorded to log.
7. a kind of generating means of server software, which is characterized in that including:
Statistical module, for counting the various syntagmatics of all hardware equipment in destination server in advance;
Determining module, for the determining and various one-to-one configuration rules of syntagmatic;
Generation module, for generating destination server software based on each configuration rule, to start when the destination server When, the destination server software transfer target configuration rule configures each online hardware device in the destination server;
Wherein, the target configuration rule is configuration rule corresponding with the syntagmatic of the online hardware device.
8. device according to claim 7, which is characterized in that the statistical module specifically includes:
Acquisition submodule, for obtaining the facility information of all hardware equipment in the destination server in advance;
Submodule is set, it is all possible for being obtained according to the facility information and according to the rule of combination of the hardware device The syntagmatic of hardware device;
Statistic submodule, for counting the syntagmatic of all hardware devices.
9. a kind of generating device of server software, which is characterized in that including:
Memory, for storing computer program;
Processor is realized when for executing the computer program such as server software as claimed in any one of claims 1 to 6 The step of generation.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the life such as server software as claimed in any one of claims 1 to 6 when the computer program is executed by processor The step of at method.
CN201810700247.2A 2018-06-29 2018-06-29 A kind of generation method of server software, device, equipment and storage medium Pending CN108874456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810700247.2A CN108874456A (en) 2018-06-29 2018-06-29 A kind of generation method of server software, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810700247.2A CN108874456A (en) 2018-06-29 2018-06-29 A kind of generation method of server software, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108874456A true CN108874456A (en) 2018-11-23

Family

ID=64297326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810700247.2A Pending CN108874456A (en) 2018-06-29 2018-06-29 A kind of generation method of server software, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108874456A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109884923A (en) * 2019-02-21 2019-06-14 苏州天准科技股份有限公司 A kind of configurable system of automation equipment control moduleization
CN112564944A (en) * 2020-11-20 2021-03-26 深圳市友华通信技术有限公司 Gateway information setting method, device, equipment and storage medium
CN113741871A (en) * 2021-08-23 2021-12-03 珠海格力电器股份有限公司 Plug-in generation method and device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102646083A (en) * 2012-03-05 2012-08-22 李晶 Method for loading electronic spare component assembly and device with electronic spare component assembly
CN103677872A (en) * 2012-09-10 2014-03-26 联想(北京)有限公司 Information processing method and device and electronic equipment
CN105653258A (en) * 2015-11-06 2016-06-08 乐视移动智能信息技术(北京)有限公司 Code processing method and apparatus
CN105975291A (en) * 2015-11-06 2016-09-28 乐视移动智能信息技术(北京)有限公司 Method and device for formatting memory of mobile terminal
CN106452835A (en) * 2016-08-31 2017-02-22 福建联迪商用设备有限公司 Method and device for updating software to terminal with specific hardware configurations
CN106550272A (en) * 2015-09-17 2017-03-29 青岛海信宽带多媒体技术有限公司 A kind of startup method of Set Top Box and Set Top Box
CN106648615A (en) * 2016-11-07 2017-05-10 中国航空无线电电子研究所 VxWorks-based BSP code development system
CN106933617A (en) * 2017-01-22 2017-07-07 斑马信息科技有限公司 Automobile software adaptation system and its adaptation method
CN107015812A (en) * 2017-04-14 2017-08-04 广东浪潮大数据研究有限公司 A kind of bios code design method based on INTEL ME
CN107704282A (en) * 2017-09-15 2018-02-16 北京东土科技股份有限公司 A kind of loading method and device applied to embedded system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102646083A (en) * 2012-03-05 2012-08-22 李晶 Method for loading electronic spare component assembly and device with electronic spare component assembly
CN103677872A (en) * 2012-09-10 2014-03-26 联想(北京)有限公司 Information processing method and device and electronic equipment
CN106550272A (en) * 2015-09-17 2017-03-29 青岛海信宽带多媒体技术有限公司 A kind of startup method of Set Top Box and Set Top Box
CN105653258A (en) * 2015-11-06 2016-06-08 乐视移动智能信息技术(北京)有限公司 Code processing method and apparatus
CN105975291A (en) * 2015-11-06 2016-09-28 乐视移动智能信息技术(北京)有限公司 Method and device for formatting memory of mobile terminal
CN106452835A (en) * 2016-08-31 2017-02-22 福建联迪商用设备有限公司 Method and device for updating software to terminal with specific hardware configurations
CN106648615A (en) * 2016-11-07 2017-05-10 中国航空无线电电子研究所 VxWorks-based BSP code development system
CN106933617A (en) * 2017-01-22 2017-07-07 斑马信息科技有限公司 Automobile software adaptation system and its adaptation method
CN107015812A (en) * 2017-04-14 2017-08-04 广东浪潮大数据研究有限公司 A kind of bios code design method based on INTEL ME
CN107704282A (en) * 2017-09-15 2018-02-16 北京东土科技股份有限公司 A kind of loading method and device applied to embedded system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109884923A (en) * 2019-02-21 2019-06-14 苏州天准科技股份有限公司 A kind of configurable system of automation equipment control moduleization
CN112564944A (en) * 2020-11-20 2021-03-26 深圳市友华通信技术有限公司 Gateway information setting method, device, equipment and storage medium
CN113741871A (en) * 2021-08-23 2021-12-03 珠海格力电器股份有限公司 Plug-in generation method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104503826B (en) The virtual machine mapping method and device of a kind of cloud computation data center
CN108874456A (en) A kind of generation method of server software, device, equipment and storage medium
CN110474794A (en) A kind of information conversion method and system of SDN framework
CN108365967A (en) Method, system, terminal and the computer readable storage medium of dynamic configuration communications parameter
CN104572182B (en) A kind of configuration method of stream application, node and stream calculation system
CN107689982A (en) Multi-data source method of data synchronization, application server and computer-readable recording medium
CN103516802A (en) Method and device for achieving seamless transference of across heterogeneous virtual switch
CN107508722A (en) A kind of business monitoring method and device
CN107678946A (en) A kind of airborne embedded software test environment construction method based on model
CN106406820B (en) A kind of multi-emitting parallel instructions processing method and processing device of network processor micro-engine
CN109656544A (en) A kind of cloud service API adaptation method based on execution route similarity
CN112559635B (en) Service processing method, device, equipment and medium for Ethernet alliance chain node
CN108228197A (en) A kind of method and apparatus for installing software in the cluster
CN110659905A (en) Transaction verification method, device, terminal equipment and storage medium
CN109614190A (en) Resources configuration management method and platform
CN103927244A (en) Plug-in scheduling process monitoring method implemented based on dynamic proxy
CN106385330A (en) Network function virtualization composer realization method and device
CN109684033B (en) Cloud platform bare metal management method, storage medium, electronic device and system
CN114900430A (en) Container network optimization method and device, computer equipment and storage medium
CN110198246B (en) Method and system for monitoring flow
CN109714652A (en) Date storage method, system, storage medium and the equipment of ODN management system
CN112130849B (en) Code automatic generation method and device
CN109921897A (en) Triggering method, device, calculating equipment and the storage medium that proof of work calculates
CN113608751A (en) Operation method, device and equipment of reasoning service platform and storage medium
CN113591448A (en) Report generation method and device and storage medium

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

Application publication date: 20181123