CN109587997A - Method, electronic equipment and the computer readable storage medium of distribution server position - Google Patents
Method, electronic equipment and the computer readable storage medium of distribution server position Download PDFInfo
- Publication number
- CN109587997A CN109587997A CN201811199141.5A CN201811199141A CN109587997A CN 109587997 A CN109587997 A CN 109587997A CN 201811199141 A CN201811199141 A CN 201811199141A CN 109587997 A CN109587997 A CN 109587997A
- Authority
- CN
- China
- Prior art keywords
- server
- restocking
- location information
- database
- information
- 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
Links
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05K—PRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
- H05K7/00—Constructional details common to different types of electric apparatus
- H05K7/14—Mounting supporting structure in casing or on frame or rack
- H05K7/1485—Servers; Data center rooms, e.g. 19-inch computer racks
- H05K7/1498—Resource management, Optimisation arrangements, e.g. configuration, identification, tracking, physical location
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Abstract
The embodiment of the present application provides method, electronic equipment and the computer readable storage medium of a kind of distribution server position, it is related to computer lab management technical field, this method comprises: the sequence number of the application scenarios by obtaining the server to restocking and the server to restocking, and the sequence number of the application scenarios according to the server to restocking and the server to restocking, and based on the database pre-created, the location information of the server to restocking is determined.The embodiment of the present application can be improved the accuracy determined to restocking Server location information, reduce the complexity determined to restocking Server location information, and then can promote user experience.
Description
Technical field
This application involves computer lab management technical fields, specifically, this application involves a kind of sides of distribution server position
Method, electronic equipment and computer readable storage medium.
Background technique
With the development of information technology, server technology also develops therewith, when needing one server of restocking, needs to mention
The listings of preceding determining server, for the server of restocking distribution position.Such as the listings of server can wrap
Include: the application scenarios of the server to restocking, to restocking server U digit, to restocking server power consumption;In computer room
The remaining space of the cabinet to match with the application scenarios of the server to restocking, the power consumption of the cabinet and the cabinet periphery net
Network environmental resource, wherein cabinet surrounding network environment resource includes: application scene, network segment and idle port.
Mode to distribute position to the server of restocking in the prior art are as follows: operation maintenance personnel first determines the service to restocking
The U digit and its power consumption of the corresponding application scenarios of device, needs, then operation maintenance personnel checks the application scenarios cabinet at computer room scene
Remaining space, the application scenarios cabinet power consumption and the application scenarios cabinet surrounding network environment resource, with for should be to
The server of restocking distributes position.
However, the mode to distribute position to the server of restocking is manually to determine service by operation maintenance personnel in the prior art
The listings of device, and manually determine the upper rack position of the server to restocking, larger workload, for the server to restocking
The time for distributing position is longer, and the case where be likely to occur resource duplicate allocation.
Summary of the invention
This application provides method, electronic equipment and the computer readable storage mediums of a kind of distribution server position, use
In solve the problem of for the server of restocking distribute position time is longer, larger workload or resource duplicate allocation.Institute
It is as follows to state technical solution:
In a first aspect, a kind of method of distribution server position is provided, this method comprises:
Obtain the application scenarios of the server to restocking and the sequence number of the server to restocking;
The sequence number of server according to the application scenarios of the server to restocking and to restocking, and based on pre-creating
Database determines the location information of the server to restocking, for the server of restocking distribution position.
In a possible implementation, according to the application scenarios of the server to restocking and to the server of restocking
Sequence number determine the location information of the server to restocking, before and based on the database pre-created further include:
Create database.
Specifically, include at least one of following information in database:
Corresponding relationship between server series number and server property information;
Each corresponding residual capacity of cabinet and corresponding periodicity can use power consumption information;
The port service condition of each corresponding application scenarios of the network equipment and any network equipment.
Specifically, the location information to the server of restocking includes: to match with the application scenarios of the server to restocking
The network equipment, and the corresponding idle port of the network equipment to match;And the machine to match with the server to restocking
Cabinet.
In a possible implementation, according to the application scenarios of the server to restocking and to the server of restocking
Sequence number determine the location information of the server to restocking and based on the database pre-created, comprising:
Based on the sequence number of the server to restocking, the corresponding attribute information of server to restocking is determined;
Based on the application scenarios of the server to restocking, the network that the application scenarios to the server of restocking match is determined
Equipment, and the corresponding idle port of the network equipment to match, and,
In attribute information and database based on the server to restocking the corresponding residual capacity of each cabinet with
And corresponding periodicity can use power consumption information, determine the cabinet to match with the server to restocking.
In a possible implementation, the location information of the server to restocking is determined, later further include:
Location information to the server of restocking is pushed into corresponding terminal device.
In a possible implementation, method further include:
When meeting preset condition, more new database;
Preset condition includes at least one of the following:
Receive the database update instruction of user's triggering;
Determine the location information of the server to restocking;
Reach the preset time point of more new database;
Receive the attribute information of the new server of the user's input perhaps attribute information of new cabinet or new
The information of the network equipment;
Information in database changes.
Second aspect provides a kind of device of distribution server position, comprising:
Module is obtained, for obtaining the application scenarios of the server to restocking and the sequence number of the server to restocking;
Determining module, for according to the application scenarios for obtaining the server to restocking that module is got and to restocking
The sequence number of server, and based on the database pre-created, the location information of the server to restocking is determined, for restocking
Server distributes position.
Further, device further include: creation module;
Creation module, for creating database.
Specifically, include at least one of following information in database:
Corresponding relationship between server series number and server property information;
Each corresponding residual capacity of cabinet and corresponding periodicity can use power consumption information;
The port service condition of each corresponding application scenarios of the network equipment and any network equipment.
Specifically, the location information to the server of restocking includes: to match with the application scenarios of the server to restocking
The network equipment, and the corresponding idle port of the network equipment to match;And the machine to match with the server to restocking
Cabinet.
Specifically, it is determined that module determines the server to restocking specifically for the sequence number based on the server to restocking
Corresponding attribute information;
Determining module is specifically also used to the application scenarios based on the server to restocking, determines the server to restocking
The network equipment that application scenarios match, and the corresponding idle port of the network equipment to match, and, based on to restocking
Each corresponding residual capacity of cabinet and corresponding periodicity can in the attribute information and database of server
With power consumption information, the cabinet to match with the server to restocking is determined.
Further, device further include: pushing module;
Pushing module, for the location information to the server of restocking to be pushed to corresponding terminal device.
Further, device further include: update module;
Update module, for when meeting preset condition, more new database;
Preset condition includes at least one of the following:
Receive the database update instruction of user's triggering;
Determine the location information of the server to restocking;
Reach the preset time point of more new database;
Receive the attribute information of the new server of the user's input perhaps attribute information of new cabinet or new
The information of the network equipment;
Information in database changes.
The third aspect provides a kind of electronic equipment comprising:
One or more processors;
Memory;
One or more application program, wherein one or more of application programs are stored in the memory and quilt
It is configured to be executed by one or more of processors, one or more of programs are configured to: execute according to first aspect
Shown in distribution server position method.
Fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer program, which is located
Manage the method for realizing distribution server position shown in first aspect when device executes.
This application provides method, electronic equipment and the computer readable storage medium of a kind of distribution server position,
Compared with the location information determined in the prior art by manual analysis to the server of restocking, the application is by obtaining to restocking
Server application scenarios and the server to restocking sequence number, and according to the applied field of the server to restocking
The sequence number of scape and the server to restocking, and based on the database pre-created, determine the position of the server to restocking
Confidence breath, i.e., directly input the sequence number of the server to restocking and the application scenarios of the server to restocking in the application,
Automatically determine out the corresponding location information of server to restocking, do not need manually to be analyzed, so as to improve determine to
The accuracy of restocking Server location information reduces the complexity determined to restocking Server location information, and then can be promoted
User experience.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, institute in being described below to the embodiment of the present application
Attached drawing to be used is needed to be briefly described.
Fig. 1 is a kind of method flow schematic diagram of distribution server position provided by the embodiments of the present application;
Fig. 2 is a kind of apparatus structure schematic diagram of distribution server position provided by the embodiments of the present application;
Fig. 3 is the apparatus structure schematic diagram of another distribution server position provided by the embodiments of the present application;
Fig. 4 is a kind of electronic devices structure schematic diagram of distribution server position provided by the embodiments of the present application.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and is only used for explaining the application, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one
It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in the description of the present application
Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition
Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member
Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be
Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange
Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
How the technical solution of the application and the technical solution of the application are solved with specifically embodiment below above-mentioned
Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept
Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, embodiments herein is described.
Embodiment one
The embodiment of the present application provides a kind of method of distribution server position, as shown in Figure 1, this method comprises:
Step S101, the application scenarios of the server to restocking and the sequence number of the server to restocking are obtained.
For the embodiment of the present application, the sequence number of the application scenarios of the server to restocking and the server to restocking can
Think input by user.
For example, the application scenarios of the server to restocking can be cloud, the sequence number of the server to restocking can be
001。
Step S102, according to the application scenarios of the server to restocking and the sequence number of the server to restocking, and base
In the database pre-created, the location information of the server to restocking is determined, for the server of restocking distribution position.
The embodiment of the present application provides a kind of method of distribution server position, true with manual analysis is passed through in the prior art
The fixed location information to the server of restocking is compared, the embodiment of the present application by obtain the application scenarios to the server of restocking with
And the sequence number of the server to restocking, and the sequence of the application scenarios according to the server to restocking and the server to restocking
Row number, and based on the database pre-created, determine the location information of the server to restocking, i.e., it is directly defeated in the embodiment of the present application
Enter the sequence number of the server to restocking and the application scenarios of the server to restocking, automatically determines out the server to restocking
Corresponding location information does not need manually to be analyzed, and determines so as to improve to the accurate of restocking Server location information
Degree reduces the complexity determined to restocking Server location information, and then can promote user experience.
Embodiment two
The alternatively possible implementation of the embodiment of the present application further includes embodiment on the basis of shown in the embodiment one
It is operated shown in two, wherein
Before step S102 further include: step Sa (not shown), wherein
Step Sa, database is created.
Include at least one of following information for the embodiment of the present application, in database:
Corresponding relationship between server series number and server property information;
Each corresponding residual capacity of cabinet and corresponding periodicity can use power consumption information;
The port service condition of each corresponding application scenarios of the network equipment and any network equipment.
For the embodiment of the present application, server property information includes at least one of the following: the position U data, the power consumption of server.
For the embodiment of the present application, server series number are store by creating database, and in the database created
The corresponding residual capacity of corresponding relationship, each cabinet and corresponding periodicity between server property information
Power consumption information, the port service condition of the corresponding application scenarios of each network equipment and any network equipment can be used, from
And the location information of the server to restocking can be searched directly from database, it is looked into without operation maintenance personnel at computer room scene
Treat the position of the server of restocking, so as to reduce the accuracy for improving and determining to restocking Server location information, reduces
Determine the complexity to restocking Server location information.
Embodiment three
The alternatively possible implementation of the embodiment of the present application further includes embodiment on the basis of shown in the embodiment one
It is operated shown in three, wherein
The location information of server to restocking includes: that the network to match with the application scenarios of the server to restocking is set
The corresponding idle port of the network equipment that is standby, and matching;And the cabinet to match with the server to restocking.
Step S102 includes step S1021 (not shown), step S1022 (not shown) and step S1023
(not shown), wherein
Step S1021, the sequence number based on the server to restocking determines the corresponding attribute letter of server to restocking
Breath.
Step S1022, the application scenarios based on the server to restocking determine the application scenarios phase of the server to restocking
The matched network equipment, and the corresponding idle port of the network equipment to match.
Step S1023, each cabinet is corresponding in the attribute information and database based on the server to restocking
Residual capacity and corresponding periodicity can use power consumption information, determine the cabinet to match with the server to restocking.
For example, it is 2U, week that the attribute information of the corresponding server of server series number 001, which includes: U data, in database
Phase power consumption is 40W;The corresponding residual capacity of cabinet 1 is 5U, can be periodically 50W with power consumption, and the corresponding residual capacity of cabinet 2 is
10U can be periodically 10W with power consumption;The application scenarios of the network equipment 1 are cloud, and the corresponding idle port of the network equipment 1 is end
Mouth 1 and port 2, the application scenarios of the network equipment 2 are web terminal, the corresponding idle port of the network equipment 2 is port 2 and end
Mouthfuls 3, then Serial No. 001, the corresponding location information of server that application scenarios are cloud include: cabinet 1, the network equipment 1 with
And the available port of the network equipment 1 is port 1 and port 2.
For the embodiment of the present application, step S1022 can be executed before step S1023, can also step S1023 it
After execute, can also be performed simultaneously with step S1023.It is not construed as limiting in the embodiment of the present application.
For the embodiment of the present application, the corresponding pass between server series number and type of server can store in database
System, type of server residual capacity corresponding with the corresponding relationship of server property information, each cabinet and right respectively
The periodicity answered can be made with the port of power consumption information, the corresponding application scenarios of each network equipment and any network equipment
With situation, then step S102 includes: step S102a (not shown), step S102b (not shown), step S102c
(not shown) and step S102d (not shown), wherein
Step S102a, the sequence number based on the server to restocking determines the type of the server to restocking.
Step S102b, the type based on the server to restocking determines the corresponding attribute information of server to restocking.
Step S102c, the application scenarios based on the server to restocking determine the application scenarios phase of the server to restocking
The matched network equipment, and the corresponding idle port of the network equipment to match.
For the embodiment of the present application, step S102c can be executed before step S102b, can also step S102b it
After execute, can also be performed simultaneously with step S102b.In the embodiment of the present application without limitation.
For the embodiment of the present application, step S102c can be executed before step S102a, can also step S102a it
After execute, can also be performed simultaneously with step S102a.In the embodiment of the present application without limitation.
Step S102d, the attribute information based on the server to restocking, it is right respectively with each cabinet for being stored in database
The residual capacity and corresponding periodicity answered can use power consumption information, determine the machine to match with the server to restocking
Cabinet.
For the embodiment of the present application, step S102d is executed after step S102b, and step S102d can be in step
It is executed before S102c, can also execute, can also be performed simultaneously with step S102c after step S102c, in the application reality
It applies in example without limitation.
Example IV
The alternatively possible implementation of the embodiment of the present application further includes example IV institute on the basis of example 1
The operation shown, wherein
It further include step Sb (not shown) after step S102, wherein
Step Sb, the location information to the server of restocking is pushed into corresponding terminal device.
For the embodiment of the present application, the facility information of the terminal device of location information to be pushed can be bound in advance, then when
The location information of the server to restocking is detected the presence of, then by the location information to the server of restocking, pushes to and ties up in advance
Fixed each terminal device.
For the embodiment of the present application, user can be in input to the application scenarios of the server of restocking and to the clothes of restocking
The sequence number of business device, inquires when the location information of the server of restocking, can input the Server location information determined and wait for
The location information for the server to restocking determined then is pushed to user's input by the facility information of the terminal device of push
On terminal device.
For example, the facility information of terminal device can be the corresponding number information of terminal device.
For the embodiment of the present application, by the way that the location information to the server of restocking is pushed to corresponding terminal device,
The inquiry of Server location information is enabled to obtain the location information of the server to restocking, and based on the clothes to restocking
The location information restocking server of business device, so as to reduce the complexity of restocking server.
For the embodiment of the present application, after step S102 further include: show the location information of the server to restocking.
Embodiment five
The alternatively possible implementation of the embodiment of the present application, in embodiment one to the base of example IV any embodiment
It further include operation shown in embodiment five on plinth, wherein
This method further includes step Sc (being not marked in figure), wherein
Step Sc, when meeting preset condition, more new database.
Wherein, preset condition includes at least one of the following:
Receive the database update instruction of user's triggering;
Determine the location information of the server to restocking;
Reach the preset time point of more new database;
Receive the attribute information of the new server of the user's input perhaps attribute information of new cabinet or new
The information of the network equipment;
Information in database changes.
For the embodiment of the present application, more new database, including at least one of step Sc1 and step Sc2, wherein
Step Sc1, the information changed is obtained, and based on the information changed, more new database.
Step Sc2, the information increased newly in database is obtained, and based on the information increased newly in database, more new database.
Wherein, the information changed includes at least one of the following: the residual capacity of a certain cabinet;A certain cabinet is corresponding
Power consumption information can periodically be used;Network equipment available port.
Wherein, the information increased newly in database includes at least one of the following: newly-increased server series number and server category
The corresponding relationship of property;Corresponding relationship between newly-increased server series number and type of server;Newly-increased type of server with
Corresponding relationship between server property;The attribute information of the newly-increased network equipment;The attribute information of newly-increased cabinet.
Embodiment six
The embodiment of the present application provides a kind of device of distribution server position, as shown in Fig. 2, the distribution server position
Device 20 may include: obtain module 201, determining module 202, wherein
Module 201 is obtained, for obtaining the application scenarios of the server to restocking and the sequence of the server to restocking
Number.
Determining module 202, for according to obtain the application scenarios of the server to restocking that module 201 is got and to
The sequence number of the server of restocking, and based on the database pre-created, determines the location information of the server to restocking, with for
The server of restocking distributes position.
The embodiment of the present application provides a kind of device of distribution server position, true with manual analysis is passed through in the prior art
The fixed location information to the server of restocking is compared, the embodiment of the present application by obtain the application scenarios to the server of restocking with
And the sequence number of the server to restocking, and the sequence of the application scenarios according to the server to restocking and the server to restocking
Row number, and based on the database pre-created, determine the location information of the server to restocking, i.e., it is directly defeated in the embodiment of the present application
Enter the sequence number of the server to restocking and the application scenarios of the server to restocking, automatically determines out the server to restocking
Corresponding location information does not need manually to be analyzed, and determines so as to improve to the accurate of restocking Server location information
Degree reduces the complexity determined to restocking Server location information, and then can promote user experience.
A kind of distribution that the embodiment of the present application one provides can be performed in the device of the distribution server position of the embodiment of the present application
The method of server location, realization principle is similar, and details are not described herein again.
Embodiment seven
The structural schematic diagram of the device of a kind of distribution server position provided by the embodiments of the present application, as shown in figure 3, this reality
The device 30 for applying the distribution server position of example may include: to obtain module 301, determining module 302, wherein
Module 301 is obtained, for obtaining the application scenarios of the server to restocking and the sequence of the server to restocking
Number.
Wherein, the acquisition module 301 in Fig. 3 is same or similar with the function of acquisition module 201 in Fig. 2.
Determining module 302, for according to obtain the application scenarios of the server to restocking that module 301 is got and to
The sequence number of the server of restocking, and based on the database pre-created, determines the location information of the server to restocking, with for
The server of restocking distributes position.
Wherein, the determining module 302 in Fig. 3 is same or similar with the function of determining module 202 in Fig. 2.
Further, as shown in figure 3, the device 30 further include: creation module 303, wherein
Creation module 303, for creating database.
Include at least one of following information for the embodiment of the present application, in database:
Corresponding relationship between server series number and server property information;
Each corresponding residual capacity of cabinet and corresponding periodicity can use power consumption information;
The port service condition of each corresponding application scenarios of the network equipment and any network equipment.
For the embodiment of the present application, server series number are store by creating database, and in the database created
The corresponding residual capacity of corresponding relationship, each cabinet and corresponding periodicity between server property information
Power consumption information, the port service condition of the corresponding application scenarios of each network equipment and any network equipment can be used, from
And the location information of the server to restocking can be searched directly from database, it is looked into without operation maintenance personnel at computer room scene
Treat the position of the server of restocking, so as to reduce the accuracy for improving and determining to restocking Server location information, reduces
Determine the complexity to restocking Server location information.
For the embodiment of the present application, the location information of the server to restocking includes: the application with the server to restocking
The network equipment that scene matches, and the corresponding idle port of the network equipment to match;And with the server to restocking
The cabinet to match.
Specifically, it is determined that module 302 determines the clothes to restocking specifically for the sequence number based on the server to restocking
The corresponding attribute information of business device.
Determining module 302 is specifically also used to the application scenarios based on the server to restocking, determines the server to restocking
The network equipment that matches of application scenarios, and the corresponding idle port of the network equipment to match, and, based on to restocking
Server attribute information and database in each corresponding residual capacity of cabinet and corresponding periodicity
Power consumption information can be used, determines the cabinet to match with the server to restocking.
Further, as shown in figure 3, the device 30 further include: pushing module 304, wherein
Pushing module 304, for the location information to the server of restocking to be pushed to corresponding terminal device.
For the embodiment of the present application, by the way that the location information to the server of restocking is pushed to corresponding terminal device,
The inquiry of Server location information is enabled to obtain the location information of the server to restocking, and based on the clothes to restocking
The location information restocking server of business device, so as to reduce the complexity of restocking server.
Further, as shown in figure 3, the device 30 further include: update module 305, wherein
Update module 305, for when meeting preset condition, more new database
Wherein, preset condition includes at least one of the following:
Receive the database update instruction of user's triggering;
Determine the location information of the server to restocking;
Reach the preset time point of more new database;
Receive the attribute information of the new server of the user's input perhaps attribute information of new cabinet or new
The information of the network equipment;
Information in database changes.
The embodiment of the present application provides a kind of device of distribution server position, true with manual analysis is passed through in the prior art
The fixed location information to the server of restocking is compared, the embodiment of the present application by obtain the application scenarios to the server of restocking with
And the sequence number of the server to restocking, and the sequence of the application scenarios according to the server to restocking and the server to restocking
Row number, and based on the database pre-created, determine the location information of the server to restocking, i.e., it is directly defeated in the embodiment of the present application
Enter the sequence number of the server to restocking and the application scenarios of the server to restocking, automatically determines out the server to restocking
Corresponding location information does not need manually to be analyzed, and determines so as to improve to the accurate of restocking Server location information
Degree reduces the complexity determined to restocking Server location information, and then can promote user experience.
It is any to embodiment five that the embodiment of the present application one can be performed in the device of the distribution server position of the embodiment of the present application
A kind of method for distribution server position that embodiment provides, realization principle is similar, and details are not described herein again.
Embodiment eight
The embodiment of the present application provides a kind of electronic equipment, as shown in figure 4, electronic equipment shown in Fig. 4 4000 includes: place
Manage device 4001 and memory 4003.Wherein, processor 4001 is connected with memory 4003, is such as connected by bus 4002.It is optional
Ground, electronic equipment 4000 can also include transceiver 4004.It should be noted that transceiver 4004 is not limited to one in practical application
A, the structure of the electronic equipment 4000 does not constitute the restriction to the embodiment of the present application.
Wherein, processor 4001 be applied to the embodiment of the present application in, for realizing Fig. 2 or shown in Fig. 3 acquisition module with
And the function of determining module or creation module shown in Fig. 3, pushing module and update module.Transceiver 4004 includes connecing
Receipts machine and transmitter, transceiver 2004 are applied in the embodiment of the present application, for carrying out information exchange with external equipment.
Processor 4001 can be CPU, general processor, DSP, ASIC, FPGA or other programmable logic device, crystalline substance
Body pipe logical device, hardware component or any combination thereof.It, which may be implemented or executes, combines described by present disclosure
Various illustrative logic blocks, module and circuit.Processor 4001 is also possible to realize the combination of computing function, such as wraps
It is combined containing one or more microprocessors, DSP and the combination of microprocessor etc..
Bus 4002 may include an access, and information is transmitted between said modules.Bus 4002 can be pci bus or
Eisa bus etc..Bus 4002 can be divided into address bus, data/address bus, control bus etc..Only to be used in Fig. 4 convenient for indicating
One thick line indicates, it is not intended that an only bus or a type of bus.
Memory 4003 can be ROM or can store the other kinds of static storage device of static information and instruction, RAM
Or the other kinds of dynamic memory of information and instruction can be stored, it is also possible to EEPROM, CD-ROM or other CDs
Storage, optical disc storage (including compression optical disc, laser disc, optical disc, Digital Versatile Disc, Blu-ray Disc etc.), magnetic disk storage medium
Or other magnetic storage apparatus or can be used in carry or store have instruction or data structure form desired program generation
Code and can by any other medium of computer access, but not limited to this.
Memory 4003 is used to store the application code for executing application scheme, and is held by processor 4001 to control
Row.Processor 4001 is for executing the application code stored in memory 4003, to realize Fig. 2 or embodiment illustrated in fig. 3
The movement of the device of the distribution server position of offer.
The embodiment of the present application provides a kind of electronic equipment, determines clothes to restocking with manual analysis is passed through in the prior art
The location information of business device is compared, and the embodiment of the present application is by obtaining the application scenarios of the server to restocking and to the clothes of restocking
The sequence number of business device, and the sequence number of the application scenarios according to the server to restocking and the server to restocking, and be based on
The database pre-created determines the location information of the server to restocking, i.e., directly inputs in the embodiment of the present application to restocking
The application scenarios of the sequence number of server and the server to restocking automatically determine out the corresponding position of server to restocking
Information does not need manually to be analyzed, and so as to improve the accuracy determined to restocking Server location information, reduces and determines
To the complexity of restocking Server location information, and then user experience can be promoted.
The electronic equipment of the embodiment of the present application can be performed what the embodiment of the present application one was provided to five any embodiment of embodiment
A kind of method of distribution server position, realization principle is similar, and details are not described herein again.
Embodiment nine
The embodiment of the present application provides a kind of computer readable storage medium, is stored thereon with computer program, the program
The method of distribution server position shown in embodiment one to five any one of embodiment is realized when being executed by processor.
The embodiment of the present application provides a kind of computer readable storage medium, in the prior art pass through manual analysis determine
The location information of server to restocking is compared, the embodiment of the present application by obtain to restocking server application scenarios and
The sequence number of server to restocking, and the sequence of the application scenarios according to the server to restocking and the server to restocking
Number, and based on the database pre-created, it determines the location information of the server to restocking, i.e., is directly inputted in the embodiment of the present application
The application scenarios of the sequence number of server to restocking and the server to restocking automatically determine out the server pair to restocking
The location information answered does not need manually to be analyzed, so as to improve the accuracy determined to restocking Server location information,
The complexity determined to restocking Server location information is reduced, and then user experience can be promoted.
The embodiment of the present application provides a kind of computer readable storage medium and is suitable for above method any embodiment.Herein
It repeats no more.
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other
At least part of the sub-step or stage of step or other steps executes in turn or alternately.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of method of distribution server position characterized by comprising
Obtain the application scenarios of the server to restocking and the sequence number of the server to restocking;
According to the application scenarios of the server to restocking and the sequence number of the server to restocking, and based on pre-creating
Database determines the location information of the server to restocking, to distribute position for the server to restocking.
2. the method according to claim 1, wherein according to the application scenarios of the server to restocking and
The sequence number of server to restocking, and based on the database pre-created, determine the location information of the server to restocking,
Before further include:
Create the database.
3. method according to claim 1 or 2, which is characterized in that include at least one of following information in the database:
Corresponding relationship between server series number and server property information;
Each corresponding residual capacity of cabinet and corresponding periodicity can use power consumption information;
The port service condition of each corresponding application scenarios of the network equipment and any network equipment.
4. the method according to claim 1, wherein the location information of the server to restocking include: with
The corresponding idle end of the network equipment and the network equipment to match that the application scenarios of server to restocking match
Mouthful;And the cabinet to match with the server to restocking.
5. according to the method described in claim 4, it is characterized in that, according to the application scenarios of the server to restocking and
The sequence number of server to restocking, and based on the database pre-created, determine the location information of the server to restocking,
Include:
Based on the sequence number of the server to restocking, the corresponding attribute information of server to restocking is determined;
Based on the application scenarios of the server to restocking, the network for determining that the application scenarios to the server of restocking match is set
The standby and described corresponding idle port of the network equipment to match, and,
In attribute information and database based on the server to restocking the corresponding residual capacity of each cabinet and point
Not corresponding periodicity can use power consumption information, the determining cabinet to match with the server to restocking.
6. the method according to claim 1, wherein determine the location information of the server to restocking, it
Afterwards further include:
Location information to the server of restocking is pushed into corresponding terminal device.
7. method according to claim 1-6, which is characterized in that the method also includes:
When meeting preset condition, the database is updated;
The preset condition includes at least one of the following:
Receive the database update instruction of user's triggering;
Determine the location information of the server to restocking;
Reach the preset time point of more new database;
Receive the attribute information or new network of the attribute information of the new server of user's input perhaps new cabinet
The information of equipment;
Information in database changes.
8. a kind of device of distribution server position characterized by comprising
Module is obtained, for obtaining the application scenarios of the server to restocking and the sequence number of the server to restocking;
Determining module, for according to the application scenarios for obtaining the server to restocking that module is got and to restocking
The sequence number of server, and based on the database pre-created, the location information of the server to restocking is determined, to be described
Server to restocking distributes position.
9. a kind of electronic equipment, characterized in that it comprises:
One or more processors;
Memory;
One or more application program, wherein one or more of application programs are stored in the memory and are configured
To be executed by one or more of processors, one or more of programs are configured to: being executed according to claim 1~7
The method of described in any item distribution server positions.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The method of the described in any item distribution server positions claim 1-7 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811199141.5A CN109587997A (en) | 2018-10-15 | 2018-10-15 | Method, electronic equipment and the computer readable storage medium of distribution server position |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811199141.5A CN109587997A (en) | 2018-10-15 | 2018-10-15 | Method, electronic equipment and the computer readable storage medium of distribution server position |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109587997A true CN109587997A (en) | 2019-04-05 |
Family
ID=65920112
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811199141.5A Pending CN109587997A (en) | 2018-10-15 | 2018-10-15 | Method, electronic equipment and the computer readable storage medium of distribution server position |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109587997A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110175171A (en) * | 2019-05-16 | 2019-08-27 | 贵州电网有限责任公司 | The system of rack position on a kind of information technoloy equipment intelligent recommendation |
CN110418569A (en) * | 2019-07-29 | 2019-11-05 | 中国工商银行股份有限公司 | Determine method and apparatus, the electronic equipment, medium of server installation site |
CN113283715A (en) * | 2021-05-10 | 2021-08-20 | 建信金融科技有限责任公司 | Method, device, equipment and storage medium for determining placement of server |
CN113472578A (en) * | 2021-07-01 | 2021-10-01 | 中国建设银行股份有限公司 | Method and device for distributing physical positions of network equipment, storage medium and equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102169527A (en) * | 2010-02-26 | 2011-08-31 | 国际商业机器公司 | Method and system for determining mounting machine frame for equipment in data center |
CN103236951A (en) * | 2013-05-13 | 2013-08-07 | 沈越 | Method and system for distributing and identifying optical network resource |
CN103428034A (en) * | 2013-08-23 | 2013-12-04 | 浪潮电子信息产业股份有限公司 | Mounting position checking method for servers in batches |
CN104036090A (en) * | 2014-06-25 | 2014-09-10 | 龙芯中科技术有限公司 | Method and device for optimizing circuits |
CN104461822A (en) * | 2014-11-12 | 2015-03-25 | 北京百度网讯科技有限公司 | Supervision method and device for capacity of data center |
US9582010B2 (en) * | 2013-03-14 | 2017-02-28 | Rackspace Us, Inc. | System and method of rack management |
US20180007808A1 (en) * | 2016-06-30 | 2018-01-04 | Fujitsu Limited | Information processing apparatus, method for managing, non-transitory computer-readable recording medium having stored therein management program, and method for specifying installing position of electronic device |
-
2018
- 2018-10-15 CN CN201811199141.5A patent/CN109587997A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102169527A (en) * | 2010-02-26 | 2011-08-31 | 国际商业机器公司 | Method and system for determining mounting machine frame for equipment in data center |
US9582010B2 (en) * | 2013-03-14 | 2017-02-28 | Rackspace Us, Inc. | System and method of rack management |
CN103236951A (en) * | 2013-05-13 | 2013-08-07 | 沈越 | Method and system for distributing and identifying optical network resource |
CN103428034A (en) * | 2013-08-23 | 2013-12-04 | 浪潮电子信息产业股份有限公司 | Mounting position checking method for servers in batches |
CN104036090A (en) * | 2014-06-25 | 2014-09-10 | 龙芯中科技术有限公司 | Method and device for optimizing circuits |
CN104461822A (en) * | 2014-11-12 | 2015-03-25 | 北京百度网讯科技有限公司 | Supervision method and device for capacity of data center |
US20180007808A1 (en) * | 2016-06-30 | 2018-01-04 | Fujitsu Limited | Information processing apparatus, method for managing, non-transitory computer-readable recording medium having stored therein management program, and method for specifying installing position of electronic device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110175171A (en) * | 2019-05-16 | 2019-08-27 | 贵州电网有限责任公司 | The system of rack position on a kind of information technoloy equipment intelligent recommendation |
CN110418569A (en) * | 2019-07-29 | 2019-11-05 | 中国工商银行股份有限公司 | Determine method and apparatus, the electronic equipment, medium of server installation site |
CN113283715A (en) * | 2021-05-10 | 2021-08-20 | 建信金融科技有限责任公司 | Method, device, equipment and storage medium for determining placement of server |
CN113472578A (en) * | 2021-07-01 | 2021-10-01 | 中国建设银行股份有限公司 | Method and device for distributing physical positions of network equipment, storage medium and equipment |
CN113472578B (en) * | 2021-07-01 | 2022-12-13 | 中国建设银行股份有限公司 | Method and device for distributing physical positions of network equipment, storage medium and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109587997A (en) | Method, electronic equipment and the computer readable storage medium of distribution server position | |
CN111339041B (en) | File analysis and storage method and device and file generation method and device | |
CN107967316A (en) | A kind of method of data synchronization, equipment and computer-readable recording medium | |
CN107515878B (en) | Data index management method and device | |
CN105515872B (en) | The update method of configuration information, apparatus and system | |
CN104050248B (en) | A kind of document storage system and storage method | |
CN103927314B (en) | A kind of method and apparatus of batch data processing | |
CN104981781B (en) | Distributed computing system and the method for operating distributed computing system | |
CN110377590A (en) | Data collection system, method and computer readable storage medium based on Internet of Things | |
CN109358965A (en) | Cloud computing cluster resource dispatching method, medium, device and calculating equipment | |
CN104754008A (en) | Network storage node, network storage system and device and method for network storage node | |
RU2016109615A (en) | METHOD AND DEVICE FOR USING TAG DATA | |
US10326824B2 (en) | Method and system for iterative pipeline | |
US20210149723A1 (en) | Method and apparatus for microservice architecture reconfiguration | |
CN104753706B (en) | A kind of distributed type assemblies configuring management method and device | |
CN109684319A (en) | Data clean system, method, apparatus and storage medium | |
CN103581273A (en) | Service executing method, device and system for distributed system | |
CN111158800A (en) | Method and device for constructing task DAG based on mapping relation | |
Choi et al. | DEXSim: an experimental environment for distributed execution of replicated simulators using a concept of single simulation multiple scenarios | |
CN102685266B (en) | Zone file signature method and system | |
CN103473106B (en) | Method and system for generating page | |
CN105653364B (en) | Application process management method and application process managing device | |
CN108696559A (en) | Method for stream processing and device | |
CN107463638A (en) | File sharing method and equipment between offline virtual machine | |
CN106330556B (en) | A kind of method and apparatus calling related information for generating service module |
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: 20190405 |