CN107172226A - A kind of information processing method and server - Google Patents

A kind of information processing method and server Download PDF

Info

Publication number
CN107172226A
CN107172226A CN201710188332.0A CN201710188332A CN107172226A CN 107172226 A CN107172226 A CN 107172226A CN 201710188332 A CN201710188332 A CN 201710188332A CN 107172226 A CN107172226 A CN 107172226A
Authority
CN
China
Prior art keywords
main frame
network
resource
validity
term
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710188332.0A
Other languages
Chinese (zh)
Inventor
马亮亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710188332.0A priority Critical patent/CN107172226A/en
Publication of CN107172226A publication Critical patent/CN107172226A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of information processing method, methods described is applied to server, including:Intrusion Detection based on host accesses the request of first network, and for the resource needed for the host assignment accesses the first network, and to the term of validity of resource described in the host notification, the term of validity is related with the connection status of the first network to the main frame;Detect the connection for the first network that the main frame is accessed with the main frame;When the connection for detecting the first network that the main frame is accessed with the main frame meets predetermined condition, the main frame is marked to connect resource used in the first network to distribute state.The embodiment of the present invention also provides a kind of server.

Description

A kind of information processing method and server
Technical field
The present invention relates to the information processing technology, more particularly to a kind of information processing method and server.
Background technology
In cloud management platform environment, the procotol (Internet of virtual machine (Virtual Machine, VM) Protocol, IP) address administration generally obtained by following two ways;The first is simulated by way of injection script Manual configuration IP address, now VM IP address is static address;Second is by DHCP (Dynamic Host Configuration Protocol, DHCP) server be present networks in VM distribution dynamic IP addressing.
But, require that the realization of script and VM operating system are strong when managing VM IP address by above-mentioned first way Coupling, causes VM autgmentability poor;And script is incompatible between different operating system, or even in same operating system Different editions between the incompatible situation of script also occurs;Therefore, cloud management platform increases the VM operations system supported newly every time When system or upgrading operation system, it is intended to update corresponding script;Therefore, cloud management platform very uses first way less Manage VM IP address.
, it is necessary to which VM, which is periodically constantly sent, re-rents message extremely when managing VM IP address by the above-mentioned second way Dynamic Host Configuration Protocol server, Dynamic Host Configuration Protocol server reclaims the IP address resource not used by timeout mechanism;With the rule of cloud management platform Mould gradually expands, and the quantity of message is also multiplied, one of subject matter as restriction cloud management platform scale.
The content of the invention
To solve existing technical problem, the embodiments of the invention provide a kind of information processing method and server, The above-mentioned problems in the prior art can at least be solved.
The embodiment of the present invention provides a kind of information processing method, and methods described is applied to server, and methods described includes:
Intrusion Detection based on host accesses the request of first network, for the resource needed for the host assignment accesses the first network, And to the term of validity of resource described in the host notification, the term of validity and the connection status of the main frame and the first network It is related;
Detect the connection for the first network that the main frame is accessed with the main frame;
When the connection for detecting the first network that the main frame is accessed with the main frame meets predetermined condition, mark The main frame connects resource used in the first network to distribute state.
In such scheme, the Intrusion Detection based on host accesses the request of first network, is the host assignment access described first Resource needed for network, including:
Receive the request message for the access first network that the main frame is sent;
The resource distributed according to the request message needed for the main frame accesses the first network;
Response message is sent to the main frame, the response message is used to notify the main frame to access the first network institute The resource and the term of validity of the resource needed is until the connection of the main frame and the first network meets predetermined condition.
In such scheme, the connection for the first network that the detection main frame is accessed with the main frame, including:
Detect whether the main frame discharges the resource that the main frame is accessed needed for the first network;
Connection in testing result when being, to confirm the first network that the main frame is accessed with the main frame is met The predetermined condition.
In such scheme, the request of the main frame access first network, which includes the main frame, asks having for the resource distributed During the effect phase, the connection for the first network that the detection main frame is accessed with the main frame, including:
Detect that the main frame accesses the time of the first network;
When detecting that the main frame accesses the time of the first network equal to the term of validity, the main frame and institute are confirmed The connection for stating the first network that main frame is accessed meets the predetermined condition.
It is described when detecting that the main frame accesses the time of the first network equal to the term of validity in such scheme Method also includes:
Detect whether the main frame occurs data transfer within the default time cycle;
When detecting that within the default time cycle data transfer occurs for the main frame, the term of validity of the resource is updated;
And to the term of validity after resource updates described in the host notification.
The embodiment of the present invention also provides a kind of server, and the server includes:Processor and transceiver;Wherein,
The processor, the request of first network is accessed for Intrusion Detection based on host, is the host assignment access described first Resource needed for network;
The transceiver, for the term of validity to resource described in the host notification, the term of validity and the main frame with The main frame is related to the connection status of the first network;
The processor, is additionally operable to detect the connection for the first network that the main frame is accessed with the main frame, When the connection for the first network that the main frame is accessed with the main frame meets predetermined condition, the main frame connection institute is marked Resource used in first network is stated to distribute state.
In such scheme, the transceiver, the request report specifically for receiving the access first network that the main frame is sent Text;
The processor, needed for distributing the main frame access first network according to the request message Resource;
The transceiver, specifically for sending response message to the main frame, the response message is used to notify the master The term of validity of resource and the resource needed for the machine access first network is until the main frame and the first network Connection meets predetermined condition.
In such scheme, the processor, specifically for detecting whether the main frame discharges the main frame access described the Resource needed for one network;
Connection in testing result when being, to confirm the first network that the main frame is accessed with the main frame is met The predetermined condition.
In such scheme, the request of the main frame access first network, which includes the main frame, asks having for the resource distributed During the effect phase, the processor, specifically for detecting that the main frame accesses the time of the first network;
When detecting that the main frame accesses the time of the first network equal to the term of validity, the main frame and institute are confirmed The connection for stating the first network that main frame is accessed meets the predetermined condition.
In such scheme, the processor is equal to described effective in the time for detecting the main frame access first network During the phase,
The processor, is additionally operable to detect whether the main frame occurs data transfer within the default time cycle, and When detecting that within the default time cycle data transfer occurs for the main frame, the term of validity of the resource is updated;
The transceiver, is additionally operable to the term of validity after resource updates described in the host notification.
In the embodiment of the present invention, server is the master after the request of access first network of main frame transmission is received Resource shown in machine distribution access needed for first network, and configure the term of validity of the resource, the term of validity and the main frame It is related to the connection status of the first network;When the connection of the main frame and the first network meets predetermined condition, mark Remember that the main frame connects resource used in the first network to distribute state.In this way, according to the main frame and described the The connection of one network determines that what the main frame was connected used resource with the first network distributes state, not only realizes The elastic management of required resource is connected with the first network to main frame, and avoids main frame and is asked to server periodically transmission Seek the expense distributed the resource and produced.
Brief description of the drawings
Fig. 1 is a kind of handling process schematic diagram of the information processing method of the embodiment of the present invention one;
Fig. 2 is handling process of the server of the embodiment of the present invention for the resource needed for host assignment accesses the first network Schematic diagram;
Fig. 3 is a kind of handling process schematic diagram of the information processing method of the embodiment of the present invention two;
Fig. 4 is a kind of handling process schematic diagram of the information processing method of the embodiment of the present invention three;
Fig. 5 is the initial start-up of main frame of the embodiment of the present invention or adds the network architecture schematic diagram of a new network for the first time;
When Fig. 6 is that main frame of the embodiment of the present invention has accessed a network, the network architecture that request adds another network is shown It is intended to;
Fig. 7 switches to the network architecture not set up to illustrate for the connection of main frame of the embodiment of the present invention and first network by setting up Figure;
Fig. 8 is a kind of handling process schematic diagram of the information processing method of the embodiment of the present invention four;
Fig. 9 is the network architecture schematic diagram that main frame of the present invention is deleted in management platform;
Figure 10 is a kind of handling process schematic diagram of the information processing method of the embodiment of the present invention five;
Figure 11 is a kind of composition structural representation of the server of the embodiment of the present invention six.
Embodiment
The present invention is described in further detail with specific embodiment below in conjunction with the accompanying drawings.
Embodiment one
The embodiment of the present invention one provides a kind of information processing method, the processing flow graph of described information processing method, such as Fig. 1 institutes Show, comprise the following steps:
Step S101, Intrusion Detection based on host accesses the request of first network, is that the host assignment accesses the first network institute The resource needed, and to the term of validity of resource described in the host notification;
Specifically, server for the resource needed for host assignment accesses the first network handling process, such as Fig. 2 institutes Show, comprise the following steps:
Step 1a, sets up communication connection between server and main frame.
Step 1b, main frame sends the request message for accessing first network based on the network connection set up to server.
Step 1c, server is the resource needed for the host assignment accesses the first network;
Specifically, server is received after the request message of access first network of main frame transmission, is reported according to the request Text is the resource needed for the host assignment accesses the first network.
Step 1d, server sends response message to the main frame;
Here, the server is used to notify the main frame to access the first network institute to the corresponding message of the main frame The resource and the term of validity of the resource needed is until the connection of the main frame and the first network meets predetermined condition.
In the embodiment of the present invention, the main frame can be physical host or virtual machine;The resource at least includes The main frame accesses IP address resource used in the first network;The connection status of the main frame and the first network is Refer to whether the main frame sets up network connection with the first network.
The term of validity of the resource refers to that main frame can use the time limit of the resource, and the predetermined condition can be described The connection of main frame and the first network disconnects;When the connection of the main frame and the first network is set up, the main frame energy Enough use the resource;When the connection of the main frame and the first network disconnects, the server reclaims the resource, will The status indication of the resource is can distribute, i.e., described main frame can not use the resource.
Step S102, detects the connection for the first network that the main frame is accessed with the main frame;
Specifically, server detects whether the main frame discharges the resource that the main frame is accessed needed for the first network, In testing result for when being, server confirms that the connection for the first network that the main frame is accessed with the main frame meets institute State predetermined condition.
Here, server is detecting whether the main frame discharges the resource needed for the main frame accesses the first network When, it can directly be communicated by server with the main frame, detect whether the main frame discharges the main frame access described first The resource of network;Also the resource of the main frame access first network can have been discharged in the confirmation main frame by management platform When, administration order is sent to server, so that the server confirms that the main frame has discharged the main frame access described the The resource of one network.
Step S103, marks the main frame to connect resource used in the first network to distribute state;
Specifically, server is met in the connection for detecting the first network that the main frame is accessed with the main frame During predetermined condition, the main frame is marked to connect resource used in the first network to distribute state.
Here, main frame described in the server-tag connects resource used in the first network to distribute state When, the expression server is by the resource reclaim to resource pool, and the resource is no longer used for the main frame;Therefore, it is described Resource is recovered to after resource pool, available for other main frames being redistributed in addition to above-mentioned main frame, it can also be used in the present invention When the above-mentioned main frame of embodiment distributes resource to server request again, the above-mentioned master of the embodiment of the present invention is again assigned to Machine.
It can be realized it should be noted that the present invention is the function that server described in example is performed by Dynamic Host Configuration Protocol server.
Embodiment two
The embodiment of the present invention two provides a kind of information processing method, the processing flow graph of described information processing method, such as Fig. 3 institutes Show, comprise the following steps:
Step S201, main frame sends the request message for accessing first network to server;
Specifically, main frame sends the request message for accessing first network to server, to ask the server to be described The resource that main frame described in host assignment is accessed needed for the first network, such as IP address resource.
Wherein, the term of validity that the main frame asks the resource of distribution is also carried in the request message.
Here, the main frame asks the term of validity of the resource of distribution to refer to that the host request is accessed using the resource The time of the first network;I.e. main frame is according to the time that the first network is accessed the need for itself.
Step S202, server sends response report for the resource needed for the host assignment accesses the first network Text;
Specifically, the request message that server is sent according to the main frame is the host assignment access institute in resource pool State the resource needed for first network, such as IP address resource;The response message is sent to main frame, institute is carried in the response message The term of validity for stating resource of the term of validity of resource with asking distribution in the request message is identical.
Step S203, detects the connection for the first network that the main frame is accessed with the main frame;
Specifically, server detects that the main frame accesses the time of the first network, is detecting the main frame access institute When the time for stating first network is equal to the term of validity, the first network that the main frame is accessed with the main frame is confirmed Connection meets the predetermined condition.
Step S204, marks the main frame to connect resource used in the first network to distribute state;
Specifically, server is when detecting that the main frame accesses the time of the first network equal to the term of validity, really The connection for recognizing the first network that the main frame is accessed with the main frame meets the predetermined condition, marks the main frame to connect Resource used in the first network is connect to distribute state.
Here, main frame described in the server-tag connects resource used in the first network to distribute state When, the expression server is by the resource reclaim to resource pool, and the resource is no longer used for the main frame;Therefore, it is described Resource is recovered to after resource pool, available for other main frames being redistributed in addition to above-mentioned main frame, it can also be used in the present invention When the above-mentioned main frame of embodiment distributes resource to server request again, the above-mentioned master of the embodiment of the present invention is again assigned to Machine.
It can be realized it should be noted that the present invention is the function that server described in example is performed by Dynamic Host Configuration Protocol server.
Embodiment three
The embodiment of the present invention three provides a kind of information processing method, the processing flow graph of described information processing method, such as Fig. 4 institutes Show, comprise the following steps:
Step S301, main frame sends the request message for accessing first network to server;
Specifically, main frame sends the request message for accessing first network to server, to ask the server to be described The resource that main frame described in host assignment is accessed needed for the first network, such as IP address resource.
Wherein, the term of validity that the main frame asks the resource of distribution is also carried in the request message.
Here, the main frame asks the term of validity of the resource of distribution to refer to that the host request is accessed using the resource The time of the first network;I.e. main frame is according to the time that the first network is accessed the need for itself.
Step S302, server sends response report for the resource needed for the host assignment accesses the first network Text;
Specifically, the request message that server is sent according to the main frame is the host assignment access institute in resource pool State the resource needed for first network, such as IP address resource;The response message is sent to main frame, institute is carried in the response message The term of validity for stating resource of the term of validity of resource with asking distribution in the request message is identical.
Step S303, detects the connection for the first network that the main frame is accessed with the main frame;
Specifically, server detects that the main frame accesses the time of the first network, is detecting the main frame access institute When the time for stating first network is equal to the term of validity, further detect whether the main frame occurs within the default time cycle Data transfer;When detecting that within the default time cycle data transfer occurs for the main frame, the main frame and the main frame are determined The connection of the first network accessed is set up.
Here, the default time cycle can flexibly set, 1 minute before the term of validity is reached as described in being set in, If in 1 minute before term of validity arrival, when still occurring data transfer based on main frame described in the first network, then it is assumed that The main frame is still suffered from sets up the demand being connected with the first network.
Step S304, updates the term of validity of the resource, and to the term of validity after resource updates described in the host notification;
Here, the term of validity for updating the resource is the term of validity for extending the resource, the resource term of validity after renewal Also can flexibly it set.
Step S305, detects the connection for the first network that the main frame is accessed with the main frame;
Specifically, server detects that the Connection Time for the first network that the main frame is accessed with the main frame reaches During the resource term of validity after renewal, confirm that the connection for the first network that the main frame is accessed with the main frame meets described Predetermined condition.
Step S306, marks the main frame to connect resource used in the first network to distribute state;
Specifically, server is when detecting that the main frame accesses the time of the first network equal to the term of validity, really The connection for recognizing the first network that the main frame is accessed with the main frame meets the predetermined condition, marks the main frame to connect Resource used in the first network is connect to distribute state.
Here, main frame described in the server-tag connects resource used in the first network to distribute state When, the expression server is by the resource reclaim to resource pool, and the resource is no longer used for the main frame;Therefore, it is described Resource is recovered to after resource pool, available for other main frames being redistributed in addition to above-mentioned main frame, it can also be used in the present invention When the above-mentioned main frame of embodiment distributes resource to server request again, the above-mentioned master of the embodiment of the present invention is again assigned to Machine.
It can be realized it should be noted that the present invention is the function that server described in example is performed by Dynamic Host Configuration Protocol server.
Information processing method described in the above embodiment of the present invention, can be applied to main frame initial start-up as shown in Figure 5 or The scene of a new network is added for the first time;When can also be applied to main frame as shown in Figure 6 and having accessed a network, request is added The scene of another network.
Example IV
The embodiment of the present invention four provides a kind of information processing method, applied to the main frame as shown in Figure 7 and described first The connection of network switches to the scene not set up by setting up, the processing flow graph of described information processing method, as shown in figure 8, including Following steps:
Step S401, main frame sends the request message for accessing first network to Dynamic Host Configuration Protocol server;
Specifically, main frame to Dynamic Host Configuration Protocol server send access first network request message, using ask the server as The IP address resource that main frame described in the host assignment is accessed needed for the first network.
Step S402, Dynamic Host Configuration Protocol server for the IP address resource needed for the host assignment accesses the first network, and Send response message;
Specifically, the request message that the Dynamic Host Configuration Protocol server is sent according to the main frame is the main frame point in resource pool With the IP address resource needed for the access first network;The response message is sent to main frame, is carried in the response message The term of validity of the resource.
Step S403, management platform detects whether the main frame discharges the money that the main frame is accessed needed for the first network Source;
Specifically, the management platform detects that the main frame has discharged the main frame and accessed needed for the first network During resource, the management platform confirms that the connection for the first network that the main frame is accessed with the main frame is not set up.
In the embodiment of the present invention, the management platform is used to be managed the main frame and the Dynamic Host Configuration Protocol server.
Step S404, Dynamic Host Configuration Protocol server marks the main frame to connect resource used in the first network to distribute shape State;
Specifically, management platform is detecting the connection for the first network that the main frame is accessed with the main frame not When setting up, administration order is sent to the Dynamic Host Configuration Protocol server, notifies the Dynamic Host Configuration Protocol server to reclaim the main frame connection described the Resource used in one network;The Dynamic Host Configuration Protocol server marks institute after the administration order that the management platform is sent is received Main frame is stated to connect resource used in the first network to distribute state.
Here, the Dynamic Host Configuration Protocol server marks the main frame to connect resource used in the first network to distribute shape During state, the expression Dynamic Host Configuration Protocol server is by the resource reclaim to resource pool, and the resource is no longer used for the main frame;Cause This, the resource is recovered to after resource pool, available for other main frames being redistributed in addition to above-mentioned main frame, it can also be used to When the above-mentioned main frame of the embodiment of the present invention distributes resource to Dynamic Host Configuration Protocol server request again, implementation of the present invention is again assigned to The above-mentioned main frame of example.
Embodiment five
The embodiment of the present invention five provides a kind of information processing method, applied to the main frame as shown in Figure 9 in the management The scene that platform is deleted, the processing flow graph of described information processing method as shown in Figure 10, comprises the following steps:
Step S501, main frame sends the request message for accessing first network to Dynamic Host Configuration Protocol server;
Specifically, main frame to Dynamic Host Configuration Protocol server send access first network request message, using ask the server as The IP address resource that main frame described in the host assignment is accessed needed for the first network.
Step S502, Dynamic Host Configuration Protocol server for the IP address resource needed for the host assignment accesses the first network, and Send response message.
Specifically, the request message that the Dynamic Host Configuration Protocol server is sent according to the main frame is the main frame point in resource pool With the IP address resource needed for the access first network;The response message is sent to main frame, is carried in the response message The term of validity of the resource.
Step S503, management platform detects whether the main frame is deleted from the management platform;
Specifically, when the management platform detects that the main frame is deleted from the management platform, the management platform Confirm that the connection for the first network that the main frame is accessed with the main frame is not set up.
In the embodiment of the present invention, the management platform is used to be managed the main frame and the Dynamic Host Configuration Protocol server.
Step S504, Dynamic Host Configuration Protocol server marks the main frame to connect resource used in the first network to distribute shape State;
Specifically, management platform is detecting the connection for the first network that the main frame is accessed with the main frame not When setting up, administration order is sent to the Dynamic Host Configuration Protocol server, notifies the Dynamic Host Configuration Protocol server to reclaim the main frame connection described the Resource used in one network;The Dynamic Host Configuration Protocol server marks institute after the administration order that the management platform is sent is received Main frame is stated to connect resource used in the first network to distribute state.
Here, the Dynamic Host Configuration Protocol server marks the main frame to connect resource used in the first network to distribute shape During state, the expression Dynamic Host Configuration Protocol server is by the resource reclaim to resource pool, and the resource is no longer used for the main frame;Cause This, the resource is recovered to after resource pool, available for other main frames being redistributed in addition to above-mentioned main frame, it can also be used to When the above-mentioned main frame of the embodiment of the present invention distributes resource to Dynamic Host Configuration Protocol server request again, implementation of the present invention is again assigned to The above-mentioned main frame of example.
Embodiment six
To realize above- mentioned information processing method, the embodiment of the present invention six also provides a kind of server, the group of the server Into structural representation, as shown in figure 11, including processor 11 and transceiver 12;Wherein,
The processor 11, the request of first network is accessed for Intrusion Detection based on host, is host assignment access described the Resource needed for one network;
The transceiver 12, for the term of validity to resource described in the host notification, the term of validity and the main frame It is related with the connection status of the first network to the main frame;
The processor 11, is additionally operable to detect the connection for the first network that the main frame is accessed with the main frame, When the connection of the first network accessed in the main frame and the main frame meets predetermined condition, the main frame connection is marked Resource used in the first network is that can distribute state.
In such scheme, the transceiver 12, the request specifically for receiving the access first network that the main frame is sent Message;
The processor 11, needed for distributing the main frame access first network according to the request message Resource;
The transceiver 12, specifically for sending response message to the main frame, the response message is used to notify described The term of validity of resource and the resource needed for the main frame access first network is until the main frame and the first network Connection meet predetermined condition.
In such scheme, the processor 11, specifically for detecting it is described whether the main frame discharges the main frame access Resource needed for first network;
Connection in testing result when being, to confirm the first network that the main frame is accessed with the main frame is met The predetermined condition.
In such scheme, the request of the main frame access first network, which includes the main frame, asks having for the resource distributed During the effect phase, the processor 11, specifically for detecting that the main frame accesses the time of the first network;
When detecting that the main frame accesses the time of the first network equal to the term of validity, the main frame and institute are confirmed The connection for stating the first network that main frame is accessed meets the predetermined condition.
In such scheme, the processor 11 has in the time for detecting the main frame access first network equal to described During the effect phase,
The processor 11, is additionally operable to detect whether the main frame occurs data transfer within the default time cycle, and When detecting that within the default time cycle data transfer occurs for the main frame, the term of validity of the resource is updated;
The transceiver 12, is additionally operable to the term of validity after resource updates described in the host notification.
In the embodiment of the present invention, the main frame can be physical host or virtual machine;The resource at least includes The main frame accesses IP address resource used in the first network;The connection status of the main frame and the first network is Refer to whether the main frame sets up network connection with the first network.
The term of validity of the resource refers to that main frame can use the time limit of the resource, and the predetermined condition can be described The connection of main frame and the first network disconnects;When the connection of the main frame and the first network is set up, the main frame energy Enough use the resource;When the connection of the main frame and the first network disconnects, the server reclaims the resource, will The status indication of the resource is can distribute, i.e., described main frame can not use the resource.
In the embodiment of the present invention, the processor 11 mark the main frame connect the first network used in resource be When can distribute state, the expression server is by the resource reclaim to resource pool, and the resource is no longer used for the main frame; Therefore, the resource is recovered to after resource pool, available for other main frames being redistributed in addition to above-mentioned main frame, it can also be used to When the above-mentioned main frame of the embodiment of the present invention distributes resource to server request again, the embodiment of the present invention is again assigned to Above-mentioned main frame.
It should be noted that the work(that the processor 11 and transceiver 12 described in the embodiment of the present invention in electronic equipment are performed Can be on Dynamic Host Configuration Protocol server central processing unit (CPU) or microprocessor (MPU) or digital signal processor (DSP) or Programmable gate array (FPGA) is realized.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in an embodied on computer readable memory cell, the program Upon execution, the step of including above method embodiment is performed;And foregoing memory cell includes:It is movable storage device, read-only Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Or, if the above-mentioned integrated unit of the present invention is realized using in the form of software function module and is used as independent product Sale in use, can also be stored in an embodied on computer readable memory cell.Understood based on such, the present invention is implemented The part that the technical scheme of example substantially contributes to prior art in other words can be embodied in the form of software product, The computer software product is stored in a memory cell, including some instructions are to cause a computer equipment (can be with It is personal computer, server or network equipment etc.) perform all or part of each of the invention embodiment methods described. And foregoing memory cell includes:Movable storage device, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of information processing method, it is characterised in that methods described is applied to server, including:
Intrusion Detection based on host accesses the request of first network, for the resource needed for the host assignment accesses the first network, and to The term of validity of resource described in the host notification, the term of validity and the connection status phase of the main frame and the first network Close;
Detect the connection for the first network that the main frame is accessed with the main frame;
When the connection for detecting the first network that the main frame is accessed with the main frame meets predetermined condition, mark is described Main frame connects resource used in the first network to distribute state.
2. according to the method described in claim 1, it is characterised in that the Intrusion Detection based on host accesses the request of first network, is institute The resource that host assignment is accessed needed for the first network is stated, including:
Receive the request message for the access first network that the main frame is sent;
The resource distributed according to the request message needed for the main frame accesses the first network;
Response message is sent to the main frame, the response message is used to notify the main frame to access needed for the first network The term of validity of resource and the resource is until the connection of the main frame and the first network meets predetermined condition.
3. according to the method described in claim 1, it is characterised in that the institute that the detection main frame is accessed with the main frame The connection of first network is stated, including:
Detect whether the main frame discharges the resource that the main frame is accessed needed for the first network;
Connection in testing result when being, to confirm the first network that the main frame is accessed with the main frame meets described Predetermined condition.
4. according to the method described in claim 1, it is characterised in that the request of the main frame access first network includes the master When machine asks the term of validity of the resource of distribution, the first network that the detection main frame is accessed with the main frame Connection, including:
Detect that the main frame accesses the time of the first network;
When detecting that the main frame accesses the time of the first network equal to the term of validity, the main frame and the master are confirmed The connection for the first network that machine is accessed meets the predetermined condition.
5. method according to claim 4, it is characterised in that detecting the time of the main frame access first network During equal to the term of validity, methods described also includes:
Detect whether the main frame occurs data transfer within the default time cycle;
When detecting that within the default time cycle data transfer occurs for the main frame, the term of validity of the resource is updated;
And to the term of validity after resource updates described in the host notification.
6. a kind of server, it is characterised in that the server includes:Processor and transceiver;Wherein,
The processor, the request of first network is accessed for Intrusion Detection based on host, is that the host assignment accesses the first network Required resource;
The transceiver, for the term of validity to resource described in the host notification, the term of validity and the main frame with it is described Main frame is related to the connection status of the first network;
The processor, is additionally operable to detect the connection for the first network that the main frame is accessed with the main frame, described When the connection for the first network that main frame and the main frame are accessed meets predetermined condition, the main frame connection described the is marked Resource used in one network is that can distribute state.
7. server according to claim 6, it is characterised in that the transceiver, sends out specifically for receiving the main frame The request message of the access first network sent;
The processor, specifically for the money distributed according to the request message needed for the main frame accesses the first network Source;
The transceiver, specifically for sending response message to the main frame, the response message is used to notify the main frame to connect The term of validity for entering the resource needed for the first network and the resource is until the connection of the main frame and the first network Meet predetermined condition.
8. server according to claim 6, it is characterised in that the processor, is specifically for the detection main frame The resource that the no release main frame is accessed needed for the first network;
Connection in testing result when being, to confirm the first network that the main frame is accessed with the main frame meets described Predetermined condition.
9. server according to claim 6, it is characterised in that the request of the main frame access first network includes described When main frame asks the term of validity of the resource of distribution, the processor, specifically for detecting that the main frame accesses first net The time of network;
When detecting that the main frame accesses the time of the first network equal to the term of validity, the main frame and the master are confirmed The connection for the first network that machine is accessed meets the predetermined condition.
10. server according to claim 9, it is characterised in that the processor is detecting that the main frame access is described When the time of first network is equal to the term of validity,
The processor, is additionally operable to detect whether the main frame occurs data transfer within the default time cycle, and in detection When within the default time cycle data transfer occurs for the main frame, the term of validity of the resource is updated;
The transceiver, is additionally operable to the term of validity after resource updates described in the host notification.
CN201710188332.0A 2017-03-27 2017-03-27 A kind of information processing method and server Pending CN107172226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710188332.0A CN107172226A (en) 2017-03-27 2017-03-27 A kind of information processing method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710188332.0A CN107172226A (en) 2017-03-27 2017-03-27 A kind of information processing method and server

Publications (1)

Publication Number Publication Date
CN107172226A true CN107172226A (en) 2017-09-15

Family

ID=59849563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710188332.0A Pending CN107172226A (en) 2017-03-27 2017-03-27 A kind of information processing method and server

Country Status (1)

Country Link
CN (1) CN107172226A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729324A (en) * 2008-10-10 2010-06-09 中兴通讯股份有限公司 Resource configuration method and household base station configure server
CN103037343A (en) * 2011-09-30 2013-04-10 中兴通讯股份有限公司 Method, device and system for reporting charging message
CN104519145A (en) * 2013-09-26 2015-04-15 华为技术有限公司 An address resource managing method, system and DHCP server
US20160248730A1 (en) * 2011-09-27 2016-08-25 Aruba Networks, Inc. Client aware dhcp lease managment
CN106331190A (en) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 IP address withdrawing method and device, and dynamic host configuration protocol server
CN106487948A (en) * 2016-12-26 2017-03-08 上海斐讯数据通信技术有限公司 A kind of DHCP service management system and DHCP service management method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729324A (en) * 2008-10-10 2010-06-09 中兴通讯股份有限公司 Resource configuration method and household base station configure server
US20160248730A1 (en) * 2011-09-27 2016-08-25 Aruba Networks, Inc. Client aware dhcp lease managment
CN103037343A (en) * 2011-09-30 2013-04-10 中兴通讯股份有限公司 Method, device and system for reporting charging message
CN104519145A (en) * 2013-09-26 2015-04-15 华为技术有限公司 An address resource managing method, system and DHCP server
CN106331190A (en) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 IP address withdrawing method and device, and dynamic host configuration protocol server
CN106487948A (en) * 2016-12-26 2017-03-08 上海斐讯数据通信技术有限公司 A kind of DHCP service management system and DHCP service management method

Similar Documents

Publication Publication Date Title
EP3291499B1 (en) Method and apparatus for network service capacity expansion
US11310123B2 (en) Method for managing service in network function virtualization architecture, and apparatus
WO2015131696A1 (en) Method and device for virtual network function management
CN102402441B (en) System and method for configuring multiple computers
CN104408071A (en) Distributive database high-availability method and system based on cluster manager
CN104639361A (en) Network service template management method and device
CN108369544A (en) The server delayed in computing system restores
CN103534994A (en) Method, device and system for realizing communication after virtual machine migration
CN102541606A (en) Method and device for remote management of BIOS (basic input/output system) configuration based on UEFI (unified extensible firmware interface
US11093353B2 (en) Virtual network system, VIM, virtual network control method and recording medium
CN103024065A (en) System configuration management method for cloud storage system
EP1924086A2 (en) Method and system for upgrading distributed set top box and device thereof
EP3059932A1 (en) Lock server malfunction processing method and system thereof in distribution system
CN101808010B (en) Equipment management method and equipment management device and main control board
CN110597673B (en) Disaster recovery method, device and equipment of storage system and computer readable storage medium
CN107800737A (en) The determination method, apparatus and server cluster of host node in a kind of server cluster
CN104426816B (en) A kind of virtual machine communication method and device
CN108540408B (en) Openstack-based distributed virtual switch management method and system
CN108509296B (en) Method and system for processing equipment fault
CN104184603A (en) User status accounting method, device and system
CN111327509B (en) Information updating method and device
CN107172226A (en) A kind of information processing method and server
CN107038094A (en) A kind of data back up method and device
CN114584458B (en) Cluster disaster recovery management method, system, equipment and storage medium based on ETCD
CN116346834A (en) Session synchronization method, device, computing equipment and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170915

RJ01 Rejection of invention patent application after publication