CN105652999B - Power-supply management system, information processing method, connector and Socket - Google Patents
Power-supply management system, information processing method, connector and Socket Download PDFInfo
- Publication number
- CN105652999B CN105652999B CN201510992308.3A CN201510992308A CN105652999B CN 105652999 B CN105652999 B CN 105652999B CN 201510992308 A CN201510992308 A CN 201510992308A CN 105652999 B CN105652999 B CN 105652999B
- Authority
- CN
- China
- Prior art keywords
- socket
- power supply
- connector
- connection
- control 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/266—Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
The embodiment of the present application provides a kind of power-supply management system, information processing method, connector and the first Socket, for realizing the technical effect of shutdown or startup part Socket.The system comprises: power supply;First Socket;2nd Socket is connect with the power supply;Connector is connect with power supply, the first Socket and the 2nd Socket;2nd Socket is used to send control to the connector and establishes the first control information that the first Socket is connect with the power supply;The connector is used to establish the connection of the first Socket and the power supply based on the first control information, so that the power supply is the first Socket power supply;First Socket is used to obtain the startup program of the first Socket from first memory, and is based on the startup program, starts the first Socket.
Description
Technical field
The present invention relates to electronic technology field more particularly to power-supply management system, information processing method, connector and
Socket。
Background technique
To meet more and more requirements for access, the server system at current large-scale data center has multiple
The processor of Socket, Socket provide access service.As shown in Figure 1, for the power management of server system in the prior art
The configuration diagram of system.Socket0, Socket1, Socket2 ..., Socketn (n is positive integer) be connected in series power supply.?
When starting server system, all Socket obtain startup program from unique memory.
As can be seen that Socket all in power-supply management system shown in FIG. 1 can only be closed together and be started together.
Summary of the invention
The embodiment of the present application provides a kind of power-supply management system, information processing method, connector and Socket, for real
The technical effect of existing shutdown or startup part Socket.
In a first aspect, this application provides a kind of power-supply management systems, comprising:
Power supply;
First Socket;
2nd Socket is connect with the power supply;
Connector is configured to connect with the power supply, the first Socket and the 2nd Socket;
2nd Socket, which is used to send control to the connector, establishes the first Socket and power supply company
The the first control information connect;The connector be used for based on it is described first control information, establish the first Socket with it is described
The connection of power supply, so that the power supply is the first Socket power supply;First Socket from first memory for obtaining
The startup program of the first Socket is obtained, and is based on the startup program, starts the first Socket.
Optionally, the 2nd Socket be also used to the connector send control establish the first Socket with
Before first control information of the power supply connection, after the Data Migration of the first Socket is completed, to the connection
Device sends the second control information disconnected for controlling the first Socket and the power supply;
The connector is also used to disconnect the company of the first Socket and the power supply based on the second control information
It connects.
Optionally, the 2nd Socket is used for when the duration that the first Socket is in ebb state reaches default
It is long, and when the first Socket completion Data Migration, Xiang Suoshu connector sends the second control information.
Second aspect, this application provides a kind of information processing methods, comprising:
The connection with power supply is established, so that the power supply is the first Socket power supply;
The startup program of the first Socket is obtained from first memory;
Based on the startup program, start the first Socket.
Optionally, the connection with power supply is established, comprising:
Receive controlling for control establish that the first Socket connect with the power supply first for the 2nd Socket transmission
Information processed;
Based on the first control information, the connection of the first Socket and the power supply are established.
Optionally, before establishing the connection with power supply, further includes:
After the Data Migration for completing the first Socket, the described for controlling of the 2nd Socket transmission is received
The second control information that first Socket and the power supply disconnect;
Based on the second control information, the connection of the first Socket and the power supply are disconnected.
Optionally, the first Socket that is used to control that the 2nd Socket is sent is received to connect with power supply disconnection
The the second control information connect, comprising:
When the duration that the first Socket is in ebb state reaches preset duration, and complete the first Socket's
When Data Migration, receives the 2nd Socket and send the second control information.
The third aspect, this application provides a kind of connectors, comprising:
Connection establishment unit, for establishing the connection of the first Socket and power supply, so that the power supply is the first Socket
Power supply;Wherein, the connector is connect with the power supply;
First obtains unit, for obtaining the startup program of the first Socket from first memory;
Retransmission unit, for the startup program to be transmitted to the first Socket, so that the first Socket base
In the startup program, start the first Socket.
Optionally, the control that is used for that the connection establishment unit is used to receive the 2nd Socket transmission establishes described first
The first control information that Socket is connect with the power supply;Based on it is described first control information, establish the first Socket and
The connection of the power supply.
Optionally, the connector further include:
Receiving unit, for completing number in the first Socket before establishing the connection of the first Socket and power supply
After migration, receive that the 2nd Socket sends for controlling the first Socket and the power supply disconnects the
Two control information;
Connection switching units, for disconnecting the first Socket and the power supply based on the second control information
Connection.
Optionally, the receiving unit is used for when the first Socket duration for being in ebb state reaches default
It is long, and when the Data Migration of completion the first Socket, it receives the 2nd Socket and sends the second control information.
Fourth aspect, this application provides the first Socket of one kind, comprising:
Processor;
Interface is connected to the processor, and is connect with a connector;The connector also with power supply and second
Socket connection;
The processor is used to establish described first based on the 2nd Socket control sent in the connector
The first control letter information that Socket is connect with the power supply, is established after the connection of the first Socket and the power supply,
The startup program of the first Socket is obtained from first memory by the interface, and is based on the startup program,
Start the first Socket.
Optionally, the processor is also used to migrate the data of the first Socket.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects
Fruit:
In the technical solution of the embodiment of the present application, due to the connector and the first Socket, second of power-supply management system
Socket is connected with power supply, and the 2nd Socket is connected to power supply, so passing through company in the case where keeping the 2nd Socket to be powered
The connection that device disconnects the first Socket and power supply is connect, it is achieved that closing the technical effect of part Socket.In addition, second
Socket is used to send control to connector and establishes the first control information that the first Socket is connected to power supply;Connector is used for base
Information is controlled in first, establishes the connection of the first Socket and power supply;First Socket is used to obtain first from first memory
The startup program of Socket, and started based on startup program.So the first Socket in the embodiment of the present application can also be
It is activated individually under the control of 2nd Socket.Therefore, solving all Socket of the existing technology can only close together
And the technical issues of starting together, realize the technical effect of shutdown or startup part Socket.
Detailed description of the invention
Fig. 1 is the configuration diagram of prior art power-supply management system;
Fig. 2 is the power-supply management system configuration diagram in the embodiment of the present application;
Fig. 3 is the information processing method flow chart in the embodiment of the present application;
Fig. 4 is the connector construction schematic diagram in the embodiment of the present application;
Fig. 5 is the first Socket structural schematic diagram in the embodiment of the present application.
Specific embodiment
The embodiment of the present application provides a kind of power-supply management system, information processing method, connector and Socket, for solving
The technical issues of all Socket certainly of the existing technology can only be closed together and be started together realizes closing or opens
The technical effect of dynamic part Socket.
In order to solve the above-mentioned technical problem, technical solution general thought provided by the present application is as follows:
In the technical solution of the embodiment of the present application, due to the connector and the first Socket, second of power-supply management system
Socket is connected with power supply, and the 2nd Socket is connected to power supply, so passing through company in the case where keeping the 2nd Socket to be powered
The connection that device disconnects the first Socket and power supply is connect, it is achieved that closing the technical effect of part Socket.In addition, second
Socket is used to send control to connector and establishes the first control information that the first Socket is connected to power supply;Connector is used for base
Information is controlled in first, establishes the connection of the first Socket and power supply;First Socket is used to obtain first from first memory
The startup program of Socket, and started based on startup program.So the first Socket in the embodiment of the present application can also be
It is activated individually under the control of 2nd Socket.Therefore, solving all Socket of the existing technology can only close together
And the technical issues of starting together, realize the technical effect of shutdown or startup part Socket.
Technical solution of the present invention is described in detail below by attached drawing and specific embodiment, it should be understood that the application
Specific features in embodiment and embodiment are the detailed description to technical scheme, rather than to present techniques
The restriction of scheme, in the absence of conflict, the technical characteristic in the embodiment of the present application and embodiment can be combined with each other.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates that there may be three kinds of passes
System, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, herein
Middle character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
The application first aspect provides a kind of power-supply management system, referring to FIG. 2, for the power supply in the embodiment of the present application
The schematic diagram of management system.
It include: power supply, the first Socket, the 2nd Socket and connector in the system.In the embodiment of the present application, Socket
It is the equipment for including processor and interface.Power supply of the power-supply management system for multiple Socket in server system, Yi Jiwei
Multiple Socket power supplies.Each Socket runs operating system, and each Socket is executed accordingly under the control of an operating system
Operation, or operation can also be executed under the instruction of other voltage inputs control.
As for each Socket manage power supply performed by scheme be it is similar, for convenience of explanation, in Fig. 2 only
Show the first Socket and the 2nd Socket as master control Socket, in the embodiment of the present application also only to the first Socket and
2nd Socket is illustrated.The application those of ordinary skill in the art are under the guidance of the embodiment of the present application, Ke Yizhi
Know the embodiment of multiple Socket.
Specifically, since the 2nd Socket needs in real time control the power supply of other Socket, so in this Shen
Please be in embodiment, the 2nd Socket is directly connected to power supply, and connection status is always energized state, so power supply can be always
For the 2nd Socket power supply.
Connector is configured to connect with power supply, the first Socket and the 2nd Socket.Specifically, in the embodiment of the present application
In, the connection status of connector and the 2nd Socket are always energized state, and then the 2nd Socket can at any time as required
Control information is sent to connector.The connection of connector and power supply is also in energized state always.
First Socket is connect with connector, and the interface of specially the first Socket is connect with connector.In addition, first
The interface of Socket is also connect with the processor of the first Socket.Connector connects to power supply again, so the first Socket passes through
Connector is indirectly connected with power supply.However, in the embodiment of the present application, the connection of the first Socket and power supply is not to locate always
In energized state.Connection when connector establishes the connection of the first Socket and power supply, between the first Socket and power supply
In energized state, and then power supply is the first Socket power supply;When connector disconnects the connection of the first Socket and power supply, the
Connection between one Socket and power supply is in unpowered state, and then power supply is not the first Socket power supply, the first Socket
In non-power-up state.
In the embodiment of the present application, the 2nd Socket can be any one in the multiple Socket of server system
Socket.Meanwhile during specific implementation, traditionally successively start Socket according to the number of Socket, such as first starts
Then Socket0 starts Socket1, restart Socket2 ... so, during specific implementation, the application fields
Those of ordinary skill by Socket0 can also set the 2nd Socket in the embodiment of the present application, the application according to habit
It is not particularly limited.
In memory, power-supply management system further comprises two for storing for the startup program storage of Socket
The memory of Socket startup program.Startup program such as BIOS program and initial configuration information etc..Wherein, first memory with
Connector connection, for storing the startup program of the first Socket.Second memory stores the startup program of the 2nd Socket, with
2nd Socket is directly connected to, and then the connection of second memory and the 2nd Socket are also in energized state always.It is specific real
In existing, the 2nd Socket with for other Socket can share the same startup program in first memory, or respectively
Use startup program different in first memory.
When operating system determination needs to start the first Socket, operating system notifies the 2nd Socket.So in the application
In embodiment, the 2nd Socket is used to send control to connector and establishes the first control letter that the first Socket is connected to power supply
Breath.
In turn, after connector receives the first control information, the first Socket and power supply are established based on the first control information
Connection, the connection status of the first Socket and power supply is switched to energized state from unpowered state, and then make power supply
First Socket power supply.
Specifically, after connector receives the first control information, the first Socket and first memory are initially set up
Connection, makes the connection of the first Socket and first memory be in energized state.Then, connector establishes the first Socket and electricity
The connection in source powers on the first Socket.After first Socket is powered on, connector obtains the first Socket in first memory
Startup program, and startup program is transmitted to the first Socket, and then the first Socket is equivalent to and obtains from first memory
The startup program for obtaining the first Socket is then based on startup program and starts the first Socket.
Next, the process for closing the first Socket is introduced.In the embodiment of the present application, the 2nd Socket is also used
Yu Xiang connector sends control and establishes before the first control information that the first Socket is connected to power supply, the first Socket's
After Data Migration is completed, the second control information disconnected for controlling the first Socket and power supply is sent to connector.
And connector is also used to disconnect the connection of the first Socket and power supply based on the second control information.
In the embodiment of the present application, can be determined whether to close the first Socket by operating system.In specific implementation process
In, operating system can according to need, such as amount of access, Thread Count etc. determine whether to close the first Socket.
In the embodiment of the present application, operating system judges whether the first Socket enters ebb state;As the first Socket
When into ebb state, judge that the first Socket enters the duration of ebb state and whether reaches preset duration;As the first Socket
When reaching preset duration into the duration of ebb state, determines and close the first Socket.
Specifically, in the access ebb stage, some Socket is had and are in ebb state, is i.e. processor occupancy and interior
It is all relatively low to deposit occupancy, or even close to 0%.Socket, which is chronically at ebb state, will cause unnecessary electricity waste.
So in order to save electricity, operating system judges whether the first Socket enters ebb state.When the first Socket enters ebb
Start the duration timing that ebb state is in the first Socket after state.It is up to when the first Socket is in ebb state
When to preset duration, determines and close the first Socket.Preset duration such as 15 minutes, 30 minutes etc., the application did not did specific limit
System.
When operating system, which determines, to be needed to close a Socket, is sent to the first Socket and close notification information.In order to
System operates normally after the first Socket closing, and the first Socket is after receiving closing notification information, by the first Socket
Processor in the processor specified to operating system of the Data Migrations such as information, thread, task and timer in, and by the
The corresponding internal storage data of one Socket moves to the specified core position of operating system.
So in the embodiment of the present application, the 2nd Socket when the first Socket is in ebb state for being up to
To preset duration, and when the completion of the first Socket Data Migration, the second control information is sent to connector.
Specifically, the first Socket is completed after migrating data namely after the completion of processor and internal storage data is migrated, to
Operating system sends the first notification information, and then the first notification information is further transmitted to the 2nd Socket by operating system.When
So, the first Socket can also send the first notification information to the 2nd Socket after completing Data Migration.So when second
After Socket receives the first notification information, determination can disconnect the power supply of the first Socket, so sending second to connector
Control information.
In turn, after connector receives the second control information, the connection of the first Socket and power supply is disconnected.Specifically,
Connector disconnects the connection of the first Socket and power supply, is switched to the connection of the first Socket and power supply by energized state and does not lead to
Electricity condition, so that power supply is no longer the first Socket power supply.It is deposited in addition, connector also will be switched off the first Socket with first
The connection of reservoir makes the connection of the first Socket and first memory also be switched to unpowered state by energized state.First
The Data Migration of Socket is powered and is also disconnected to other positions, so, the first Socket, which is closed, to be completed.
In order to facilitate the above process is understood, the above process will be illustrated by way of example below, in specific implementation process
In, including but not limited to following examples.
At the T0 moment, the first Socket and the 2nd Socket are in and power on operating status.The T1 moment after T0 visits
The amount of asking reduces, and the first Socket enters ebb state, and is continuously in ebb state.T2 moment after tl, operating system
Judge that the first Socket enters the duration of ebb state and reaches preset duration, determination needs to close the first Socket.First
Socket starts after the closing notice for receiving operating system by Data Migration to designated position.The T3 moment after t 2,
First Socket notifies the first Socket Data Migration of the 2nd Socket to complete.In turn, the 2nd Socket sends the to connector
Two control information, the power supply of the first Socket is disconnected with control connector.Connector is based on the second control information, disconnects first
The connection of Socket and power supply, and the connection of the first Socket and first memory is disconnected, to close the first Socket.
T4 moment after t 3, amount of access rise, and operating system determines that system restarts the first Socket, therefore logical
Know that the 2nd Socket starts the first Socket.2nd control of the Socket based on operating system sends the first control to connector
Information.In turn, connector establishes the connection of the first Socket and first memory, then establishes the company of the first Socket and power supply
It connects, so that power supply is the first Socket power supply.After first Socket is connected to power supply, the first Socket is obtained from first memory
The startup program of the first Socket is obtained, and then restarts the first Socket.
After first Socket starting, the second notification information for indicating start completion is sent to operating system, is divided into waiting
State with task.
Further, the framework when in server system including more than two Socket, with above-mentioned voltage control system
It is similar, those skilled in the art can an optional Socket as the 2nd Socket, deposit the Socket with power supply and second
Reservoir is directly connected to, so that power supply is always second Socket power supply.And remaining Socket pass through connector with
Power supply and second memory are indirectly connected with.When needing to close any one or more Socket other than the 2nd Socket, lead to
Cross the connection that connector disconnects any one or more Socket and power supply and first memory.Conversely, when needing to open
When moving any one or more Socket, by connector establish any one or more Socket with
The connection of power supply and first memory, so that it may which so that power supply is any one or more Socket power supplies, and this is any one
A or multiple Socket can then obtain startup program starting from first memory.
Seen from the above description, the server system in the embodiment of the present application, which can according to need, closes in server system
Part Socket and actuating section Socket, it is no longer necessary to simultaneously close off all Socket, and starting is all simultaneously
Socket。
Based on inventive concept same as power-supply management system in previous embodiment, the application second aspect also provides one kind
Information processing method is applied to connector and the first Socket, as shown in Figure 3, comprising:
S101: the connection with power supply is established.
S102: the startup program of the first Socket is obtained from first memory.
S103: being based on the startup program, starts the first Socket.
Specifically, S101 includes:
Receive controlling for control establish that the first Socket connect with the power supply first for the 2nd Socket transmission
Information processed;
Based on the first control information, the connection of the first Socket and the power supply are established.
Specifically, connector and the first Socket receive the first control information that the 2nd Socket is sent, and then are based on
First control information, connector and the first Socket establish the connection of the first Socket and power supply.
Further, before S101, further includes:
After the Data Migration for completing the first Socket, the described for controlling of the 2nd Socket transmission is received
The second control information that first Socket and the power supply disconnect;
Based on the second control information, the connection of the first Socket and the power supply are disconnected.
Wherein, the second control that the first Socket and power supply disconnect that is used to control that the 2nd Socket is sent is received to believe
Breath, comprising:
When the duration that the first Socket is in ebb state reaches preset duration, and complete the first Socket's
When Data Migration, receives the 2nd Socket and send the second control information.
Specifically, after the first Socket duration for being in ebb state reaches preset duration, the first Socket is by root
The data of the first Socket are migrated out from the first Socket according to the control of operating system.After the completion of migration, connector and
First Socket will just receive the second control information of the 2nd Socket transmission.
Based on inventive concept same as power-supply management system in previous embodiment and information processing method, the application third
Aspect also provides a kind of connector, as shown in Figure 4, comprising:
Connection establishment unit 401, for establishing the connection of the first Socket and power supply, so that the power supply is first
Socket power supply;Wherein, the connector is connect with the power supply;
First obtains unit 402, for obtaining the startup program of the first Socket from first memory;
Retransmission unit 403, for the startup program to be transmitted to the first Socket, so that the first Socket
Based on the startup program, start the first Socket.
Wherein, the control that is used for that the connection establishment unit 401 is used to receive the 2nd Socket transmission establishes described first
The first control information that Socket is connect with the power supply;Based on it is described first control information, establish the first Socket and
The connection of the power supply
Further, the connector further include:
Receiving unit, for completing number in the first Socket before establishing the connection of the first Socket and power supply
After migration, receive that the 2nd Socket sends for controlling the first Socket and the power supply disconnects the
Two control information;
Connection switching units, for disconnecting the first Socket and the power supply based on the second control information
Connection.
Wherein, the duration that the receiving unit is used to be in ebb state as the first Socket reaches preset duration,
And when completing the Data Migration of the first Socket, receives the 2nd Socket and send the second control information.
Various change mode and specific example in earlier figures 2- Fig. 3 embodiment are equally applicable to the connection of the present embodiment
Device, by detailed description above, those skilled in the art are clear that the implementation method of connector in the present embodiment,
So this will not be detailed here in order to illustrate the succinct of book.
Based on inventive concept same as power-supply management system in previous embodiment and information processing method, the application the 4th
Aspect also provides one kind the first Socket, as shown in Figure 5, comprising:
Processor 501;
Interface 502 connect with the processor 501, and connect with a connector;The connector also with power supply and
Two Socket connections;
The processor 501 is used to establish described first based on the 2nd Socket control sent in the connector
The first control letter information that Socket is connect with the power supply, is established after the connection of the first Socket and the power supply,
The startup program of the first Socket is obtained from first memory by the interface 502, and is based on the starting journey
Sequence starts the first Socket.
Further, the processor 501 is also used to migrate the data of the first Socket.
Specifically, processor 501 specifically can be general central processing unit (CPU), and it is integrated to can be specific application
Circuit (English: Application Specific Integrated Circuit, referred to as: ASIC), it can be one or more
For controlling the integrated circuit of program execution.
Further, the first Socket can also include storage medium, and the quantity for depositing medium can be one or more.It deposits
Reservoir may include read-only memory (English: Read Only Memory, referred to as: ROM), random access memory (English:
Random Access Memory, referred to as: RAM) and magnetic disk storage.
In addition, interface in the first Socket in addition to the above-mentioned interface 502 for connecting processor 501 and connector it
Outside, it still further comprises for the serial ports of data transmission and parallel port, and the wireless communication interface for wireless communication etc., this
Application is not particularly limited.
Various change mode and specific example in earlier figures 2- Fig. 3 embodiment are equally applicable to the first of the present embodiment
Socket, by detailed description above, those skilled in the art are clear that the first Socket in the present embodiment
Implementation method, so this will not be detailed here in order to illustrate the succinct of book.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects
Fruit:
In the technical solution of the embodiment of the present application, due to the connector and the first Socket, second of power-supply management system
Socket is connected with power supply, and the 2nd Socket is connected to power supply, so passing through company in the case where keeping the 2nd Socket to be powered
The connection that device disconnects the first Socket and power supply is connect, it is achieved that closing the technical effect of part Socket.In addition, second
Socket is used to send control to connector and establishes the first control information that the first Socket is connected to power supply;Connector is used for base
Information is controlled in first, establishes the connection of the first Socket and power supply;First Socket is used to obtain first from first memory
The startup program of Socket, and started based on startup program.So the first Socket in the embodiment of the present application can also be
It is activated individually under the control of 2nd Socket.Therefore, solving all Socket of the existing technology can only close together
And the technical issues of starting together, realize the technical effect of shutdown or startup part Socket.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Specifically, the corresponding computer program instructions of one of the embodiment of the present application information processing method can be deposited
It stores up on CD, hard disk, the storage mediums such as USB flash disk, when the computer corresponding with the first information processing method in storage medium
Program instruction is read or is performed by an electronic equipment, includes the following steps:
The connection with power supply is established, so that the power supply is the first Socket power supply;
The startup program of the first Socket is obtained from first memory;
Based on the startup program, start the first Socket.
Optionally, the connection with step foundation and power supply stored in the storage medium, corresponding computer instruction exist
During being specifically performed, specifically comprise the following steps:
Receive controlling for control establish that the first Socket connect with the power supply first for the 2nd Socket transmission
Information processed;
Based on the first control information, the connection of the first Socket and the power supply are established.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
It is rapid: to be performed before establishing the connection with power supply, include the following steps: when executed
After the Data Migration for completing the first Socket, the described for controlling of the 2nd Socket transmission is received
The second control information that first Socket and the power supply disconnect;
Based on the second control information, the connection of the first Socket and the power supply are disconnected.
Optionally, what is stored in the storage medium receives the described for controlling of the 2nd Socket transmission with step
The second control information that first Socket and the power supply disconnect, corresponding computer instruction are specifically being performed process
In, specifically comprise the following steps:
When the duration that the first Socket is in ebb state reaches preset duration, and complete the first Socket's
When Data Migration, receives the 2nd Socket and send the second control information.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (12)
1. a kind of power-supply management system, comprising:
Power supply;
First Socket;
2nd Socket is connect with the power supply;
Connector is configured to connect with the power supply, the first Socket and the 2nd Socket;
2nd Socket, which is used to send control to the connector, establishes what the first Socket was connect with the power supply
First control information;The connector is used to establish the first Socket and the power supply based on the first control information
Connection so that the power supply be the first Socket power supply;First Socket is used to obtain institute from first memory
The startup program of the first Socket is stated, and is based on the startup program, starts the first Socket, the first memory
It is connect with connector, for storing the startup program of the first Socket.
2. the system as claimed in claim 1, which is characterized in that the 2nd Socket is also used to send to the connector
Control is established before the first control information that the first Socket is connect with the power supply, in the data of the first Socket
After migration is completed, Xiang Suoshu connector sends the second control disconnected for controlling the first Socket and the power supply
Information processed;
The connector is also used to disconnect the connection of the first Socket and the power supply based on the second control information.
3. system as claimed in claim 2, which is characterized in that the 2nd Socket in the first Socket for being in
The duration of ebb state reaches preset duration, and when the first Socket completion Data Migration, Xiang Suoshu connector sends institute
State the second control information.
4. a kind of information processing method, comprising:
The connection with power supply is established, so that the power supply is the first Socket power supply;
The startup program of the first Socket is obtained from first memory;
Based on the startup program, start the first Socket, the first memory connect with connector, is used for storage the
The startup program of one Socket.
5. method as claimed in claim 4, which is characterized in that establish the connection with power supply, comprising:
Receive believing for control establish that the first Socket connect with the power supply first and controlling for the 2nd Socket transmission
Breath;
Based on the first control information, the connection of the first Socket and the power supply are established.
6. method as claimed in claim 5, which is characterized in that before establishing the connection with power supply, further includes:
After the Data Migration for completing the first Socket, what reception the 2nd Socket was sent is used to control described first
The second control information that Socket and the power supply disconnect;
Based on the second control information, the connection of the first Socket and the power supply are disconnected.
7. method as claimed in claim 6, which is characterized in that receive that the 2nd Socket sends for controlling described the
The second control information that one Socket and the power supply disconnect, comprising:
When the duration that the first Socket is in ebb state reaches preset duration, and the data of completion the first Socket
When migration, receives the 2nd Socket and send the second control information.
8. a kind of connector, comprising:
Connection establishment unit, for establishing the connection of the first Socket and power supply, so that the power supply is the first Socket power supply;
Wherein, the connector is connect with the power supply;
First obtains unit, for obtaining the startup program of the first Socket from first memory;
Retransmission unit, for the startup program to be transmitted to the first Socket, so that the first Socket is based on institute
Startup program is stated, starts the first Socket, the first memory is connect with connector, for storing the first Socket's
Startup program.
9. connector as claimed in claim 8, which is characterized in that the connection establishment unit is for receiving the 2nd Socket hair
That send controls information for control establish that the first Socket connect with the power supply first;Based on the first control letter
Breath, establishes the connection of the first Socket and the power supply.
10. connector as claimed in claim 9, which is characterized in that the connector further include:
Receiving unit, for completing data in the first Socket and moving before establishing the connection of the first Socket and power supply
After shifting, the second control disconnected for controlling the first Socket and the power supply that the 2nd Socket is sent is received
Information processed;
Switching units are connected, for disconnecting the connection of the first Socket and the power supply based on the second control information.
11. connector as claimed in claim 10, which is characterized in that the receiving unit is used at the first Socket
When reaching preset duration in the duration of ebb state, and completing the Data Migration of the first Socket, described second is received
Socket sends the second control information.
12. the first Socket of one kind, comprising:
Processor;
Interface is connected to the processor, and is connect with a connector;The connector also connects with power supply and the 2nd Socket
It connects;
The processor is used to establish the first Socket based on the 2nd Socket control sent in the connector
The first control letter information connecting with the power supply, establishes after the connection of the first Socket and the power supply, passes through institute
The startup program that interface obtains the first Socket from first memory is stated, and is based on the startup program, starts institute
The first Socket is stated, the first memory is connect with connector, for storing the startup program of the first Socket.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510992308.3A CN105652999B (en) | 2015-12-24 | 2015-12-24 | Power-supply management system, information processing method, connector and Socket |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510992308.3A CN105652999B (en) | 2015-12-24 | 2015-12-24 | Power-supply management system, information processing method, connector and Socket |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105652999A CN105652999A (en) | 2016-06-08 |
CN105652999B true CN105652999B (en) | 2019-04-26 |
Family
ID=56476823
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510992308.3A Active CN105652999B (en) | 2015-12-24 | 2015-12-24 | Power-supply management system, information processing method, connector and Socket |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105652999B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101118460A (en) * | 2006-05-10 | 2008-02-06 | 马维尔国际贸易有限公司 | Adaptive storage system including hard disk drive with flash interface |
CN101930423A (en) * | 2009-06-23 | 2010-12-29 | 联想(北京)有限公司 | Server, switch control device and network system |
CN103926992A (en) * | 2013-01-16 | 2014-07-16 | 纬创资通股份有限公司 | Power management circuit, server and power management method thereof |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090150700A1 (en) * | 2007-12-06 | 2009-06-11 | International Business Machines Corporation | Method of controlling power to a plurality of servers |
JP2010097533A (en) * | 2008-10-20 | 2010-04-30 | Hitachi Ltd | Application migration and power consumption optimization in partitioned computer system |
-
2015
- 2015-12-24 CN CN201510992308.3A patent/CN105652999B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101118460A (en) * | 2006-05-10 | 2008-02-06 | 马维尔国际贸易有限公司 | Adaptive storage system including hard disk drive with flash interface |
CN101930423A (en) * | 2009-06-23 | 2010-12-29 | 联想(北京)有限公司 | Server, switch control device and network system |
CN103926992A (en) * | 2013-01-16 | 2014-07-16 | 纬创资通股份有限公司 | Power management circuit, server and power management method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN105652999A (en) | 2016-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107360248B (en) | Method and apparatus for configuring local consensus and computer-readable storage medium | |
CN106201566B (en) | Benefit wins the hot upgrade method of big special software and equipment | |
JP6465911B2 (en) | Startup control method and apparatus, and terminal device | |
KR102126440B1 (en) | Power distribution to mobile devices | |
CN110798338B (en) | Edge cloud deployment method and device | |
US11009929B2 (en) | Persistent power over ethernet | |
CN103634375A (en) | Method, device and equipment for cluster node expansion | |
CN106888111B (en) | A method of solving dual computer group FC-SAN switching | |
CN110493122A (en) | A kind of synchronous method of session information, calculates equipment and storage medium at device | |
CN105335192B (en) | A kind of information processing method and electronic equipment | |
CN101960435B (en) | Method and apparatus for performing a host enumeration process | |
CN109683470A (en) | A kind of software and hardware self-adaptive matching method, device and driving device | |
CN105652999B (en) | Power-supply management system, information processing method, connector and Socket | |
CN104079610A (en) | Cloud server, and method and system for cloud synchronization of application software | |
CN110233791B (en) | Data deduplication method and device | |
CN112019614A (en) | Method, system and processor for communication and communication synchronization between two systems | |
CN104219084A (en) | Board/card starting method and device | |
CN109416678A (en) | Accelerating type I3C main equipment stops | |
CN109728937A (en) | Method and device for updating network state of voice module | |
CN104580301A (en) | Downloading system and method for client-side operation system | |
US10379918B2 (en) | System and method for MPI implementation in an embedded operating system | |
CN104468671B (en) | A kind of configuring information processing method, device and relevant device | |
CN105406989A (en) | Message processing method, network card and system, information updating method and host | |
CN110874264A (en) | Example hot migration method and device, storage medium and processor | |
CN107371127B (en) | Bluetooth equipment management by synchronization implementation method under Android system difference operational mode |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |