CN105763661A - Network protocol IP address obtaining method and communication equipment - Google Patents

Network protocol IP address obtaining method and communication equipment Download PDF

Info

Publication number
CN105763661A
CN105763661A CN201410788480.2A CN201410788480A CN105763661A CN 105763661 A CN105763661 A CN 105763661A CN 201410788480 A CN201410788480 A CN 201410788480A CN 105763661 A CN105763661 A CN 105763661A
Authority
CN
China
Prior art keywords
network card
physical network
dynamic host
host configuration
configuration protocol
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.)
Granted
Application number
CN201410788480.2A
Other languages
Chinese (zh)
Other versions
CN105763661B (en
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.)
Chongqing Aoputai Communication Technology Co ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410788480.2A priority Critical patent/CN105763661B/en
Publication of CN105763661A publication Critical patent/CN105763661A/en
Application granted granted Critical
Publication of CN105763661B publication Critical patent/CN105763661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides a network protocol IP address obtaining method and communication equipment, relates to the field of communication, and can solve a problem in the prior art that the switching speed of an IP address is slow because there is blocking operation in the call of an API function for the releasing of the IP address. The specific scheme of the invention that a physical card is controlled to be disconnected with a DHCP (Dynamic host configuration protocol) server when the communication equipment determines that the physical card needs to switch a current first IP address; the communication equipment controls the physical card to be connected with the DHCP server, so as to trigger the physical card and the DHCP server for DHCP message interaction, and obtain a to-be-switched second IP address of the physical card. According to the embodiment of the invention, the method is used by the communication equipment to obtain the IP address.

Description

The acquisition methods of a kind of procotol IP address and communication equipment
Technical field
The present invention relates to the communications field, particularly relate to acquisition methods and the communication equipment of a kind of procotol IP address.
Background technology
DHCP (DynamicHostConfigurationProtocol, DHCP) it is the procotol of a kind of LAN, it provide one and dynamically distribute procotol (InternetProtocol, IP) mechanism of address and configuration parameter, it is possible to by the Dynamic Host Configuration Protocol server based on DHCP protocol to the communication equipment dynamic IP address allocation in network.In Windows operating system platform, by in the process of DHCP dynamic IP address allocation, require over application programming interface (ApplicationProgrammingInterface, the API) function that the offer of Windows operating system is provided and send DHCP message with application or release IP address to Dynamic Host Configuration Protocol server.In Windows operating system platform, if it is desired to realized the switching of IP address by DHCP, it is necessary to first pass through Using API Function and send, to Dynamic Host Configuration Protocol server, the IP address that DHCP message release is previous, then again apply for new IP address.
In prior art, when a certain communication equipment needs to carry out the switching of IP address, such as when IP address desires access to the resource of the B network segment at the communication equipment of the A network segment, need first to carry out authentication, after certification success, communication equipment is needed Using API Function and the IP address of the A network segment is switched to by DHCP message the IP address of the B network segment, such that it is able to access the resource of the B network segment.Communication equipment is passing through to call the api function of Windows operating system offer, after sending DHCPRelease message request release IP address to Dynamic Host Configuration Protocol server, communication equipment need wait for a period of time (such as 12s) DHCPDiscover message could be sent to Dynamic Host Configuration Protocol server, again applying for new IP address, the flow process that wherein in the handoff procedure of IP address, DHCP message is mutual may refer to Fig. 1.That is, prior art is by the process of DHCP dynamic IP address allocation, blocking operation is there is when Using API Function carries out the release of IP address, make communication equipment cannot apply now new IP address, thus result in communication equipment in the process of switching IP address, the speed obtaining IP address is slow, obtains the time long, what also make relative application software cannot provide application service simultaneously within longer switching time, thus also reduces the performance of application software.
Summary of the invention
The embodiment of the present invention provides acquisition methods and the communication equipment of a kind of procotol IP address, it is possible to solve the slow-footed problem of the switching IP address caused in prior art owing to there is blocking operation when Using API Function carries out the release of IP address.
For reaching above-mentioned purpose, the present invention adopts the following technical scheme that
First aspect, it is provided that the acquisition methods of a kind of procotol IP address, including:
Communication equipment, when determining the IP address that physical network card needs switching current, controls described physical network card and connection breaking in dynamic host configuration protocol DHCP server;
Described communication equipment controls described physical network card and is connected with described Dynamic Host Configuration Protocol server, with trigger described physical network card and described Dynamic Host Configuration Protocol server carry out DHCP message obtain alternately described physical network card to be switched after the 2nd IP address.
In conjunction with first aspect, in the first mode in the cards of first aspect, described communication equipment controls connection breaking in described physical network card and dynamic host configuration protocol DHCP server, controls described physical network card and is connected with described Dynamic Host Configuration Protocol server and includes:
Described communication equipment controls the application layer of operating system and sends message to the driving layer of described operating system, described message includes Adapter Name and the instruction information of described physical network card, described instruction information includes for indicating described physical network card and the first information of connection breaking in described Dynamic Host Configuration Protocol server, and the second information for indicating described physical network card to be connected with described Dynamic Host Configuration Protocol server;
Described communication equipment controls described driving layer and obtains the Adapter Name in described message and described instruction information, and controls described physical network card and connection breaking in described Dynamic Host Configuration Protocol server according to the first information in described Adapter Name and described instruction information;
Described communication equipment controls described driving layer and is connected with described Dynamic Host Configuration Protocol server according to the second information described physical network card of control in described Adapter Name and described instruction information.
In conjunction with the first possible implementation of first aspect, in the second mode in the cards of first aspect, Adapter Name and the described instruction information of described physical network card represent in the way of I/O control code.
In conjunction with the implementation that the second of first aspect is possible, in the third mode in the cards of first aspect, described communication equipment controls described driving layer and obtains the Adapter Name in described message and described instruction information, and control connection breaking in described physical network card and described Dynamic Host Configuration Protocol server according to the first information in described Adapter Name and described instruction information, control described physical network card according to the second information in described Adapter Name and described instruction information and be connected with described Dynamic Host Configuration Protocol server and include:
Described communication equipment controls described driving layer and obtains the Adapter Name of described physical network card according to described I/O control code, and determines the driving filtering module corresponding with described Adapter Name according to described Adapter Name;
The attribute of described physical network card is set to connection breaking by described driving filtering module according to described Adapter Name and the described first information by described communication equipment, so that described physical network card and connection breaking in described Dynamic Host Configuration Protocol server;
The attribute of described physical network card is set to connect according to described Adapter Name and described second information by described communication equipment by described driving filtering module, so that described physical network card is connected with described Dynamic Host Configuration Protocol server.
In conjunction with any one in the third possible implementation of first aspect to first aspect, in the 4th kind of mode in the cards of first aspect, described communication equipment trigger described physical network card and described Dynamic Host Configuration Protocol server carry out DHCP message obtain alternately described physical network card to be switched after the 2nd IP address include:
Described communication equipment triggers described physical network card and sends DHCP request message to described Dynamic Host Configuration Protocol server;
Described communication equipment by described physical network card receive described Dynamic Host Configuration Protocol server send dhcp response message, described dhcp response message include described Dynamic Host Configuration Protocol server be described physical network card distribution to be switched after described 2nd IP address.
Second aspect, it is provided that a kind of communication equipment, including:
Determine unit, be used for the physical network card determining described communication equipment the need of switching a current IP address;
Control unit, for when the described determination result determining unit is for being, control described physical network card and connection breaking in dynamic host configuration protocol DHCP server, and control described physical network card and be connected with described Dynamic Host Configuration Protocol server, with trigger described physical network card and described Dynamic Host Configuration Protocol server carry out DHCP message obtain alternately described physical network card to be switched after the 2nd IP address.
In conjunction with second aspect, in the first mode in the cards of second aspect, described control unit specifically for:
The application layer of the operating system controlling described communication equipment sends message to the driving layer of described operating system, described message includes Adapter Name and the instruction information of described physical network card, described instruction information includes for indicating described physical network card and the first information of connection breaking in described Dynamic Host Configuration Protocol server, and the second information for indicating described physical network card to be connected with described Dynamic Host Configuration Protocol server;
Control described driving layer and obtain the Adapter Name in described message and described instruction information, and the first information in the Adapter Name obtained according to described acquisition subelement and described instruction information controls connection breaking in described physical network card and described Dynamic Host Configuration Protocol server, and control described physical network card according to the second information in described Adapter Name and described instruction information and be connected with described Dynamic Host Configuration Protocol server.
In conjunction with the first possible implementation of second aspect, in the second mode in the cards of second aspect, Adapter Name and the described instruction information of described physical network card represent in the way of I/O control code.
In conjunction with the implementation that the second of second aspect is possible, in the third mode in the cards of second aspect, described control unit specifically for:
Control described driving layer and obtain the Adapter Name of described physical network card according to described I/O control code, and determine the driving filtering module corresponding with described Adapter Name according to described Adapter Name;
According to described Adapter Name and the described first information, the attribute of described physical network card is set to connection breaking by described driving filtering module, so that described physical network card and connection breaking in described Dynamic Host Configuration Protocol server;
It is set to connect by the attribute of described physical network card according to described Adapter Name and described second information by described driving filtering module, so that described physical network card is connected with described Dynamic Host Configuration Protocol server.
In conjunction with any one in the third possible implementation of second aspect to second aspect, in the 4th kind of mode in the cards of second aspect, described control unit is additionally operable to:
Trigger described physical network card and send DHCP request message to described Dynamic Host Configuration Protocol server;
By described physical network card receive described Dynamic Host Configuration Protocol server send dhcp response message, described dhcp response message include described Dynamic Host Configuration Protocol server be described physical network card distribution to be switched after described 2nd IP address.
The third aspect, it is provided that a kind of communication system, described communication system includes dynamic host configuration protocol DHCP server, also includes the communication equipment as described in claim 6~10.
The embodiment of the present invention provides acquisition methods and the communication equipment of a kind of procotol IP address, when physical network card needs to switch a current IP address, control physical network card and connection breaking in dynamic host configuration protocol DHCP server, then control physical network card to be connected with Dynamic Host Configuration Protocol server, with trigger physical network card and Dynamic Host Configuration Protocol server carry out DHCP message obtain alternately physical network card to be switched after the 2nd IP address.Wherein, by physical network card and connection breaking in Dynamic Host Configuration Protocol server, physical network card can be stoped to send the DHCP message of release IP address to Dynamic Host Configuration Protocol server, after again physical network card being connected with Dynamic Host Configuration Protocol server, the operation of application IP address can be carried out immediately, such that it is able to quick obtaining is to the 2nd IP address after switching, thus can avoid in prior art owing to there is blocking operation and the slow-footed problem in switching IP address that causes when Using API Function carries out the release of IP address.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, below the accompanying drawing used required during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 realizes, by Using API Function, the flow chart that in the handoff procedure of IP address, DHCP message is mutual in prior art;
A kind of method flow diagram obtaining procotol IP address that Fig. 2 provides for the embodiment of the present invention;
Fig. 3 obtains the method flow diagram of procotol IP address for the another kind that the embodiment of the present invention provides;
A kind of DHCP message interaction diagrams applied in IP address process that Fig. 4 provides for the embodiment of the present invention;
A kind of communication apparatus construction figure that Fig. 5 provides for the embodiment of the present invention;
The another kind of communication apparatus construction figure that Fig. 6 provides for the embodiment of the present invention;
A kind of communication system architecture figure that Fig. 7 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
MicrosoftWindows (Microsoft's Window), it it is a kind of desktop operating system of Microsoft's making and research and development, i.e. Windows operating system, it is management and computer software or the collection of programs controlling computer (PersonalComputer, PC) resource.Windows operating system is the interface of user and computer, is also the interface of computer hardware and other softwares simultaneously, is responsible for the management of whole softwares of computer, hardware resource, controls and coordinates concurrent activities, it is achieved the storage of information and protection.
Windows operating system can be divided into application layer and inner nuclear layer.Wherein, application layer includes the application A pplication or the application software that provide the user application service, and it can interact with user, generally has visual user interface.Inner nuclear layer is operating system meat and potatoes, it is provide, for application program, a part of software that computer hardware is had secure access to, it is responsible for the process of system, internal memory, device driver, file and network system, decides performance and the stability of system.
Driving layer to be arranged in inner nuclear layer, be the driver that computer can be made in inner nuclear layer to communicate with equipment, be equivalent to the interface of hardware, operating system, only by this interface, could control hardware device normal operation.
Filter drive program is to drive a kind of driver in layer, and filter drive program can revise existing driver, it is also possible to data are filtered encryption etc..Different according to driver role, drive layer can also include function-driven etc..
The computer processor running Windows operating system has two kinds of different operational modes: user model and kernel mode.The application program of application layer runs under the user model of Windows operating system, most drivers in inner nuclear layer run in kernel mode, wherein, application program is mutual by calling application layer DLL api function and operating system, and operating system provides corresponding system resource for application program.
Physical network card is to connect computer communication with the outside world network of network interface board, is also called communication adapter or network adapter (NetworkAdapter) or NIC (NetworkInterfaceCard, NIC).
Communication equipment such as computer accesses network typically via access device, in typical network environment, Radius server is responsible for the certification of communication equipment, wherein it is configured with relevant access rules, DHCP is responsible for distribution network ip address, switch is responsible for the switching of broadcast domain and the execution of access rules, and one of them network segment is generally a broadcast domain.Such as, communication equipment can send Radius message to be authenticated to Radius server, Radius server checks that whether the user profile of communication equipment is legal, if user profile is legal, then Radius server issues relevant access rules to switch, and notify communication equipment certification success, now this communication equipment is switched to the network segment of configured in advance in relevant access rules by switch.In the network segment after handover, Dynamic Host Configuration Protocol server can distribute IP address for this communication equipment.Dynamic Host Configuration Protocol server can be an independent server apparatus, it is also possible to be integrated in other network equipment as an assembly.Communication equipment can pass through dhcp relay agent server DHCPAgent or DHCPProxy and be connected with Dynamic Host Configuration Protocol server, and namely the communication equipment of the relative program wherein running dhcp relay agent can be described as dhcp relay agent server.Dhcp relay agent server is responsible for the interactive information between transfer communication equipment and Dynamic Host Configuration Protocol server, for instance DHCP message.
VLAN (VirtualLocalAreaNetwork, VLAN) is one group of equipment in logic and user, and these equipment and user are by the restriction of physical location, it is possible to divide according to management function.In shared network, the network segment of a physics is exactly a broadcast domain, and in exchange network, the VLAN network segment that broadcast domain can be made up of the second layer network address one group arbitrarily selected.The VLAN network segment can limit broadcasting area, forms virtual workgroup, it is also possible to for controlling the mutual access between different departments in network, different website, such that it is able to dynamically manage network.
The embodiment of the present invention provides the acquisition methods of a kind of procotol IP address, referring to Fig. 2, including:
201, communication equipment is when determining the IP address that physical network card needs switching current, controls physical network card and connection breaking in dynamic host configuration protocol DHCP server.
202, communication equipment controls physical network card and is connected with Dynamic Host Configuration Protocol server, with trigger physical network card and Dynamic Host Configuration Protocol server carry out DHCP message obtain alternately physical network card to be switched after the 2nd IP address.
The embodiment of the present invention provides the acquisition methods of a kind of procotol IP address, when physical network card needs to switch a current IP address, control physical network card and connection breaking in dynamic host configuration protocol DHCP server, then control physical network card to be connected with Dynamic Host Configuration Protocol server, with trigger physical network card and Dynamic Host Configuration Protocol server carry out DHCP message obtain alternately physical network card to be switched after the 2nd IP address.Wherein, by physical network card and connection breaking in Dynamic Host Configuration Protocol server, physical network card can be stoped to send the DHCP message of release IP address to Dynamic Host Configuration Protocol server, after again physical network card being connected with Dynamic Host Configuration Protocol server, the operation of application IP address can be carried out immediately, such that it is able to quick obtaining is to the 2nd IP address after switching, thus can avoid in prior art owing to there is blocking operation and the slow-footed problem in switching IP address that causes when Using API Function carries out the release of IP address.
The embodiment of the present invention provides the acquisition methods of another kind of procotol IP address, and referring to Fig. 3, its key step may include that
301, communication equipment is when determining the IP address that physical network card needs switching current, the application layer controlling operating system sends message to the driving layer of operating system, message includes Adapter Name and the instruction information of physical network card, instruction information includes for indicating physical network card and the first information of connection breaking in Dynamic Host Configuration Protocol server, and the second information for indicating physical network card to be connected with Dynamic Host Configuration Protocol server.
302, communication equipment controls to drive layer to obtain the Adapter Name in message and instruction information, and controls physical network card and connection breaking in Dynamic Host Configuration Protocol server according to the first information in Adapter Name and instruction information.
303, communication equipment controls to drive layer to control physical network card according to the second information in Adapter Name and instruction information and is connected with Dynamic Host Configuration Protocol server, with trigger physical network card and Dynamic Host Configuration Protocol server carry out DHCP message obtain alternately physical network card to be switched after the 2nd IP address.
Wherein, here communication equipment can be the network communication equipments such as computer, physical network card in communication equipment is operated in link layer, it it is the interface connecting communication equipment and transmission medium in network, the physical connection between network transmission mediums can be realized and the signal of telecommunication mates, can having multiple physical network card on one communication equipment, Adapter Name and physical network card are one to one.IP address is the logical address of a kind of consolidation form that IP agreement provides, Dynamic Host Configuration Protocol server can be that in network, each physical network card of communication equipment dynamically distributes an IP address, thus the communication equipment by this physical network card place is connected to network, it is achieved with the communication of network.
It should be noted that Dynamic Host Configuration Protocol server here is not limited to independent server apparatus, it is also possible to be integrated on other network equipment, for instance can by integrated for Dynamic Host Configuration Protocol server on switches, the embodiment of the present invention does not limit.
In order to meet the different application demand in communication process, for instance, in order to meet the demand for services of application program in application layer, the IP address that communication equipment is likely to need that a certain physical network card is currently distributed switches over.Exemplary, if communication equipment one is connected with Dynamic Host Configuration Protocol server by switch, it is connected with Radius server by switch simultaneously, and Radius server configured in advance has following relevant access rules: assume there is VLAN broadcast domain B, the Dynamic Host Configuration Protocol server one of its correspondence is only the IP address in the communication equipment distribution B network segment in VLAN broadcast domain B;In like manner, it is assumed that there are VLAN broadcast domain A, the IP address of the communication equipment distribution A network segment that the Dynamic Host Configuration Protocol server two of its correspondence is only in VLAN broadcast domain A.nullIf being in the A network segment before a certain physical network card certification on communication equipment one,When communication equipment one needs the resource accessing the B network segment,Communication equipment one sends authentication request message firstly the need of by switch to Radius server,After Radius server receives this authentication request message,Whether the user profile in Query Information storehouse is legal,If user profile is legal,Then send a certification success message to switch,According to the relevant access rules of Radius server configured in advance, communication equipment one is switched to VLAN broadcast domain B by current VLAN broadcast domain A triggering switch,Namely it is switched to the B network segment by the A network segment,And this certification success message is transmitted to communication equipment one,To notify that communication equipment one sends DHCP request,The IP address of the B network segment is obtained to Dynamic Host Configuration Protocol server application,Thus accessing the resource of the B network segment.
Wherein, owing to Windows operating system is based on the operating system of message, and the process that operating system performs program performs by multithreading to realize simultaneously, multithreading processes the process performance that can improve program simultaneously, and it is mutual to carry out information by message between Windows operating system thread and thread, then inside the application layer in Windows operating system, drive inside layer, and ensure normal operation by transmission message between application layer and driving layer.Thus, after communication equipment one receives the certification success message that Radius server sends, this certification success message can be carried out Message Processing by its respective thread in application program, and the instruction of the switching IP address obtained after process is passed to other thread, in order to other thread switches over the operation of IP address.
Alternatively, after the thread in application program obtains the instruction of above-mentioned switching IP address, in step 301, the Adapter Name of physical network card and instruction information can represent in the way of I/O control code;Wherein, instruction information includes for indicating physical network card and the first information of connection breaking in Dynamic Host Configuration Protocol server, and the second information for indicating physical network card to be connected with Dynamic Host Configuration Protocol server.
It is to say, the application layer of communication equipment one can pass through the mode sending I/O control code sends Adapter Name and the instruction information of physical network card to driving layer.Here I/O control code and Ioctl control code, send Ioctl control code to be application layer and drive a kind of communication mode between layer, by an Ioctl control code just can be created at grand middle definition device type, function code, buffering method, access right etc., different Ioctl power functions can be distinguished, thus providing different functions by function codes different in Ioctl control code.Ioctl power function is the function in driver, the I/O passage connecting user model and kernel mode in communication equipment being managed.
Concrete, after the thread in application program receives the instruction of switching IP address, application program can send two I/O control codes to the driving layer of operating system in once transmission process, and is respectively provided with Adapter Name and instruction information in two I/O control codes.Wherein, an I/O control code includes Adapter Name and the first information of the physical network card of to be switched IP address, and the first information is used for indicating physical network card and connection breaking in Dynamic Host Configuration Protocol server one;2nd I/O control code includes Adapter Name and second information of the physical network card of to be switched IP address, and the second information is used for indicating physical network card to be connected with Dynamic Host Configuration Protocol server one.
Further, after application layer sends message to driving layer, in step 302, communication equipment controls to drive layer to obtain the Adapter Name of physical network card according to I/O control code, and determine the driving filtering module corresponding with Adapter Name according to Adapter Name, then communication equipment is by driving filtering module, according to Adapter Name and the first information, the attribute of physical network card is set to connection breaking, so that physical network card and connection breaking in Dynamic Host Configuration Protocol server.
Concrete, after the application layer of communication equipment one sends two I/O control codes to driving layer, drive layer to obtain the Adapter Name of the physical network card of to be switched IP address in I/O control code, and determine the driving filtering module of correspondence according to Adapter Name.Wherein, corresponding with Adapter Name driving filtering module carry is on driver, it is possible to achieve the functions such as corresponding IRP (InformationResourcePlanning, the IRP) interception of network interface card, Function Extension, data encryption.
When communication equipment one is made without the switching of IP address, physical network card is in opening during normal operation, and the attribute of physical network card is for connecting, and the transmission medium connection that physical network card is connected to the network, namely network interface card Link State Attribute is for connecting, and now physical network card is connected with Dynamic Host Configuration Protocol server one.When switching in IP address, after determining the driving filtering module corresponding with Adapter Name, can according to an I/O control code represents the first information of connection breaking by the attribute of physical network card by normal operation time connection be set to connection breaking, then physical network card is closed, no longer provide corresponding linkage function for communication equipment one, and the transmission medium disconnection that physical network card is connected to the network, namely connection when network interface card Link State Attribute is from normal operation becomes connection breaking, now physical network card and connection breaking in the Dynamic Host Configuration Protocol server one in network, thus having blocked communication equipment one to send message to Dynamic Host Configuration Protocol server one, thus do not have in prior art and carry out the DHCP message interaction during release of IP address by api function.
Further, after the attribute of physical network card is set to connection breaking by communication equipment, in step 303, can by driving filtering module to be set to connect by the attribute of physical network card according to Adapter Name and the second information, so that physical network card is connected with Dynamic Host Configuration Protocol server, with trigger physical network card and Dynamic Host Configuration Protocol server one carry out DHCP message obtain alternately physical network card to be switched after the 2nd IP address.
Concrete, communication equipment one is by after driving filtering module, according to the first information in Adapter Name and instruction information, the attribute of physical network card is set to connection breaking, can according to the second information representing connection in the 2nd I/O control code, the attribute of physical network card is re-set as connection by the connection breaking arranged before, then physical network card is in opening, corresponding linkage function can be provided for communication equipment one, and physical network card transmission medium connected to the network is in connected state, namely network interface card Link State Attribute is also become from the connection breaking arranged before connecting again, now physical network card is connected with the Dynamic Host Configuration Protocol server one in network.Wherein, by transmission medium connection connected to the network for physical network card, and physical network card is opened, physical network card can be triggered immediately and carry out obtaining the operation of IP address, namely can physical network card and the Dynamic Host Configuration Protocol server one of triggered communication equipment one immediately carry out DHCP message obtain alternately physical network card to be switched after the 2nd IP address.
Contrast prior art, from sending DHCPRelease message release the oneth IP address in prior art, to sending DHCPDiscover message thus initially entering between the flow process of application IP address, need to wait about 12s owing to there is blocking operation, thus at least need the time of 12s to the whole switching flow getting the 2nd new IP address from proceeding by switching the oneth IP address.In embodiments of the present invention, it is set to connection breaking from by the attribute of physical network card, to the attribute of physical network card being set to connection, thus sending DHCPRequest start of heading to enter application IP address flow process, centre almost can not have time delay (in order to prevent shake from can also arrange the time delay of 500ms), and probably need the time of 5s~6s to the whole switching flow getting the 2nd new IP address from proceeding by switching the oneth IP address, generally less than 10s.Visible, in the process of switching IP address, the method obtaining IP address that the embodiment of the present invention provides is faster than acquisition speed of the prior art, obtains the required time short, can so that communication equipment one is short due to switching suspension time of causing of IP address, thus improve the serviceability of user.Visible, that the embodiment of the present invention the provides method obtaining IP address, it is possible to avoid the slow-footed problem obtaining IP address caused in prior art owing to there is blocking operation when Using API Function carries out the release of IP address.
Alternatively, in said process, physical network card and Dynamic Host Configuration Protocol server carry out DHCP message obtain alternately physical network card to be switched after the 2nd IP address may include that communication equipment triggers physical network card and sends DHCP request message to Dynamic Host Configuration Protocol server, then communication equipment receives, by physical network card, the dhcp response message that Dynamic Host Configuration Protocol server sends, wherein, dhcp response message include Dynamic Host Configuration Protocol server be physical network card distribution to be switched after the 2nd IP address.
Concrete, physical network card sends DHCP request message to Dynamic Host Configuration Protocol server one, and receives the dhcp response message that Dynamic Host Configuration Protocol server one sends, and namely physical network card is by carrying out DHCP message alternately with Dynamic Host Configuration Protocol server one, applies for new IP address.Wherein, processor and memorizer is included inside physical network card, DHCP message can be assembled the Dynamic Host Configuration Protocol server one that framing is sent in network by the physical network card of communication equipment one, physical network card in Dynamic Host Configuration Protocol server one receives the frame that communication equipment one physical network card sends, and the DHCP message returned by Dynamic Host Configuration Protocol server one assembles framing and is sent to communication equipment one.
Exemplary, if the IP address in the former VLAN segment A of communication equipment one is 192.168.3.254, and to switch to the 2nd IP address in VLAN network segment B, and the configuration rule according to Radius server, what distribute IP address in VLAN network segment B to communication equipment one is the Dynamic Host Configuration Protocol server one in VLAN network segment B, then referring to Fig. 4, during application IP address, physical network card may comprise steps of with the message interaction flow process of Dynamic Host Configuration Protocol server one:
1) communication equipment one sends a DHCPRequest message to Dynamic Host Configuration Protocol server one;
2) communication equipment one receives the DHCPNAK response message that Dynamic Host Configuration Protocol server one sends;
3) communication equipment one sends DHCPDiscover message to Dynamic Host Configuration Protocol server one;
4) communication equipment one receives the DHCPOffer response message that Dynamic Host Configuration Protocol server one sends;
5) communication equipment one sends the 2nd DHCPRequest message to Dynamic Host Configuration Protocol server one;
6) communication equipment one receives the DHCPACK response message that Dynamic Host Configuration Protocol server one sends.
Exemplary, performing above-mentioned message interaction step process can be, owing to an original IP address 192.168.3.254 to be switched to the 2nd IP address by communication equipment one, after the attribute of physical network card is re-set as connection and is in opening, communication equipment one sends the DHCPRequest message (the first request message) comprising a former IP address to the Dynamic Host Configuration Protocol server one in VLAN network segment B, and request continues to obtain an IP address 192.168.3.254.nullAccording to the dependency rule of configuration in Radius server,Before carrying out the switching of IP address,An IP address in the former VLAN segment A of communication equipment one is to be distributed by the Dynamic Host Configuration Protocol server two in VLAN segment A,Dynamic Host Configuration Protocol server one in VLAN network segment B can not distribute the IP address in this VLAN segment A,Thus Dynamic Host Configuration Protocol server one sends a DHCPNAK (NegativeAcknowledgement to communication equipment one,Non-acknowledgement message) response message,Notice communication equipment 1 the oneth IP address cannot be distributed,Communication equipment one and then send a DHCPDiscover message (discovery message) to Dynamic Host Configuration Protocol server one,The IP address in an assignable VLAN network segment B is rented in request,When Dynamic Host Configuration Protocol server one distributes available IP-addresses in VLAN network segment B can to communication equipment one,A DHCPOffer response message (offer message) is sent to communication equipment one,Communication equipment one sends the 2nd DHCPRequest message (the second request message) to ask to use this IP address to Dynamic Host Configuration Protocol server one after receiving this DHCPOffer response message.
Then, Dynamic Host Configuration Protocol server one sends DHCPACK (Acknowledgement) response message (the first confirmation message) to communication equipment one, and notice communication equipment one has been received by the 2nd DHCPRequest message (the second request message) that communication equipment one sends.Now communication equipment one has been basically completed the process obtaining the 2nd IP address, it is possible to communicate in a network.In addition, communication equipment one is after getting the 2nd IP address, can also sending DHCPInform message (infomational message) to obtain some other network configuration informations to Dynamic Host Configuration Protocol server one, Dynamic Host Configuration Protocol server is once being sent to communication equipment one by the relevant configuration information inquired by the 2nd DHCPACK response message (the second confirmation message).
It should be noted that, the embodiment of the present invention once sends two I/O control codes for application layer to driving layer illustrate, an I/O control code therein includes the first information representing connection breaking, 2nd I/O control code includes representing the second information connected, so that the attribute of physical network card is first set to connection breaking according to instruction information, then it is set to connect.Certain application layer can also send an I/O control code including representing connection breaking in first time, in order to first the attribute of physical network card is set to connection breaking according to an I/O control code;Send one in second time to include representing the 2nd I/O control code connected, in order to be set to the attribute of physical network card again according to the 2nd I/O control code connect.Detailed description of the invention is not limited by the embodiment of the present invention.
It should be noted that can be attached by dhcp relay agent server between communication equipment and Dynamic Host Configuration Protocol server, it is also possible to not being attached by dhcp relay agent server, the embodiment of the present invention does not limit.
It addition, the embodiment of the present invention be with the VLAN network segment between IP address switch to application scenarios that the acquisition methods of IP address is illustrated, IP address switching when certain the method can also be applied to other scene, the embodiment of the present invention does not limit.
The embodiment of the present invention provides the acquisition methods of a kind of procotol IP address, when physical network card needs to switch a current IP address, message is sent to driving layer by controlling the application layer of operating system, and according to the Adapter Name in message and instruction information, control physical network card and connection breaking in Dynamic Host Configuration Protocol server, then control physical network card to be connected with Dynamic Host Configuration Protocol server, thus triggering physical network card with the mutual DHCP message of Dynamic Host Configuration Protocol server to obtain the 2nd IP address after switching.Wherein, by physical network card and Dynamic Host Configuration Protocol server connection breaking, physical network card can be stoped to send the DHCP message of release IP address to Dynamic Host Configuration Protocol server, after again physical network card being connected with Dynamic Host Configuration Protocol server, the operation of application IP address can be carried out immediately, such that it is able to quick obtaining is to the 2nd IP address after switching, thus can avoid in prior art owing to there is blocking operation and the slow-footed problem in switching IP address that causes when Using API Function carries out the release of IP address.
The embodiment of the present invention provides a kind of communication equipment 500, referring to Fig. 5, it is possible to including:
Determine unit 501, it is possible to be used for the physical network card determining communication equipment 500 the need of switching a current IP address.
Control unit 502, may be used for when determining that the determination result of unit 501 is for being, control physical network card and connection breaking in dynamic host configuration protocol DHCP server, and control physical network card and be connected with Dynamic Host Configuration Protocol server, with trigger physical network card and Dynamic Host Configuration Protocol server carry out DHCP message obtain alternately physical network card to be switched after the 2nd IP address.
Wherein, physical network card is operated in link layer, is the interface connecting communication equipment 500 and transmission medium in network, it is possible to achieve mate with the physical connection between network transmission mediums and the signal of telecommunication, can having multiple physical network card on one communication equipment 500, Adapter Name and physical network card are one to one.IP address is the logical address of a kind of consolidation form that IP agreement provides, Dynamic Host Configuration Protocol server can be that in network, each network interface card of communication equipment 500 dynamically distributes an IP address, thus the communication equipment 500 at this network interface card place is connected to network, it is achieved with the communication of network.In order to meet the different application demand in communication process, for instance, in order to meet the demand for services of application program in application layer, the IP address that communication equipment 500 is likely to need that a certain physical network card is currently distributed switches over.
It should be noted that Dynamic Host Configuration Protocol server here is not limited to independent server apparatus, it is also possible to be integrated on other network equipment, for instance can by integrated for Dynamic Host Configuration Protocol server on switches, the embodiment of the present invention does not limit.
Optionally, control unit 502 can be specifically for:
The application layer of the operating system controlling communication equipment 500 sends message to the driving layer of operating system, message includes Adapter Name and the instruction information of physical network card, instruction information includes for indicating physical network card and the first information of connection breaking in Dynamic Host Configuration Protocol server, and the second information for indicating physical network card to be connected with Dynamic Host Configuration Protocol server;
Control to drive layer to obtain the Adapter Name in message and instruction information, and control connection breaking in physical network card and Dynamic Host Configuration Protocol server according to the first information obtained in the Adapter Name and instruction information that subelement obtains, and control physical network card according to the second information in Adapter Name and instruction information and be connected with Dynamic Host Configuration Protocol server.
Wherein, when carrying out the switching of IP address, interrupt the connection of physical network card and Dynamic Host Configuration Protocol server, it is possible to the physical network card of blocking communication equipment 500 sends DHCP message to Dynamic Host Configuration Protocol server, namely will not carry out prior art carries out the DHCP message interaction during release of IP address by api function.And the connection of physical network card and Dynamic Host Configuration Protocol server is interrupted at communication equipment 500, block physical network card after Dynamic Host Configuration Protocol server transmission DHCP message, connect physical network card and Dynamic Host Configuration Protocol server again, it is possible to directly triggered communication equipment 500 sends the DHCP message of application IP address to Dynamic Host Configuration Protocol server.Namely in the handoff procedure of IP address, communication equipment 500 enters back into the flow process of application IP address after not sending DHCPRelease message as prior art, but do not send DHCPRelease message be directly entered the new IP address of application and physical network card to be switched after the application process of the 2nd IP address.
Alternatively, the Adapter Name of physical network card and instruction information can represent in the way of I/O control code.
Alternatively, control unit 502 can be specifically for:
Control to drive layer to obtain the Adapter Name of physical network card according to I/O control code, and determine the driving filtering module corresponding with Adapter Name according to Adapter Name;
By driving filtering module, according to Adapter Name and the first information, the attribute of physical network card is set to connection breaking, so that physical network card and connection breaking in Dynamic Host Configuration Protocol server;
By driving filtering module to be set to connect by the attribute of physical network card according to Adapter Name and the second information, so that physical network card is connected with Dynamic Host Configuration Protocol server.
Alternatively, control unit 502 can be also used for:
Trigger physical network card and send DHCP request message to Dynamic Host Configuration Protocol server;
By physical network card receive Dynamic Host Configuration Protocol server send dhcp response message, dhcp response message include Dynamic Host Configuration Protocol server be physical network card distribution to be switched after the 2nd IP address.
The embodiment of the present invention provides a kind of communication equipment 500, when the physical network card of communication equipment 500 needs to switch a current IP address, message is sent to driving layer by controlling the application layer of operating system, and according to the Adapter Name in message and instruction information, control physical network card and connection breaking in Dynamic Host Configuration Protocol server, then control physical network card to be connected with Dynamic Host Configuration Protocol server, thus triggering physical network card with the mutual DHCP message of Dynamic Host Configuration Protocol server to obtain the 2nd IP address after switching.Wherein, by physical network card and Dynamic Host Configuration Protocol server connection breaking, physical network card can be stoped to send the DHCP message of release IP address to Dynamic Host Configuration Protocol server, after again physical network card being connected with Dynamic Host Configuration Protocol server, the operation of application IP address can be carried out immediately, such that it is able to quick obtaining is to the 2nd IP address after switching, thus can avoid in prior art owing to there is blocking operation and the slow-footed problem in switching IP address that causes when Using API Function carries out the release of IP address.
The embodiment of the present invention also provides for a kind of communication equipment 600, and as shown in Figure 6, this communication equipment 600 may include that bus 603;And it is connected to the processor 601 of bus 603, memorizer 602, wherein this memorizer 602 is used for storing instruction and data;This processor 601 performs this instruction for when determining the IP address that physical network card needs switching current, controlling physical network card and connection breaking in dynamic host configuration protocol DHCP server;This processor 601 performs this instruction and is additionally operable to control physical network card and is connected with Dynamic Host Configuration Protocol server, with trigger physical network card and Dynamic Host Configuration Protocol server carry out DHCP message obtain alternately physical network card to be switched after the 2nd IP address.
In embodiments of the present invention, alternatively, this processor 601 performs this instruction for controlling connection breaking in physical network card and dynamic host configuration protocol DHCP server, controls physical network card and is connected with Dynamic Host Configuration Protocol server and may include that
The application layer controlling operating system sends message to the driving layer of operating system, message includes Adapter Name and the instruction information of physical network card, instruction information includes for indicating physical network card and the first information of connection breaking in Dynamic Host Configuration Protocol server, and the second information for indicating physical network card to be connected with Dynamic Host Configuration Protocol server;
Control to drive layer to obtain the Adapter Name in message and instruction information, and control physical network card and connection breaking in Dynamic Host Configuration Protocol server according to the first information in Adapter Name and instruction information;
Control to drive layer to control physical network card according to the second information in Adapter Name and instruction information to be connected with Dynamic Host Configuration Protocol server.
In embodiments of the present invention, alternatively, the Adapter Name of physical network card and instruction information represent in the way of I/O control code.
In embodiments of the present invention, alternatively, this processor 601 performs this instruction for controlling to drive layer to obtain the Adapter Name in message and instruction information, and control connection breaking in physical network card and Dynamic Host Configuration Protocol server according to the first information in Adapter Name and instruction information, control physical network card according to the second information in Adapter Name and instruction information and be connected with Dynamic Host Configuration Protocol server and may include that
Control to drive layer to obtain the Adapter Name of physical network card according to I/O control code, and determine the driving filtering module corresponding with Adapter Name according to Adapter Name;
By driving filtering module, according to Adapter Name and the first information, the attribute of physical network card is set to connection breaking, so that physical network card and connection breaking in Dynamic Host Configuration Protocol server;
By driving filtering module to be set to connect by the attribute of physical network card according to Adapter Name and the second information, so that physical network card is connected with Dynamic Host Configuration Protocol server.
In embodiments of the present invention, alternatively, this processor 601 perform this instruction for trigger physical network card and Dynamic Host Configuration Protocol server carry out DHCP message obtain alternately physical network card to be switched after the 2nd IP address may include that
Trigger physical network card and send DHCP request message to Dynamic Host Configuration Protocol server;
By physical network card receive Dynamic Host Configuration Protocol server send dhcp response message, dhcp response message include Dynamic Host Configuration Protocol server be physical network card distribution to be switched after the 2nd IP address.
Additionally, can be attached by dhcp relay agent server between communication equipment 600 and Dynamic Host Configuration Protocol server, it is also possible to not being attached by dhcp relay agent server, the embodiment of the present invention does not limit.
The embodiment of the present invention provides a kind of communication equipment 600, when the physical network card of communication equipment 600 needs to switch a current IP address, control physical network card and connection breaking in dynamic host configuration protocol DHCP server, then control physical network card to be connected with Dynamic Host Configuration Protocol server, with trigger physical network card and Dynamic Host Configuration Protocol server carry out DHCP message obtain alternately physical network card to be switched after the 2nd IP address.Wherein, by physical network card and Dynamic Host Configuration Protocol server connection breaking, physical network card can be stoped to send the DHCP message of release IP address to Dynamic Host Configuration Protocol server, after again physical network card being connected with Dynamic Host Configuration Protocol server, the operation of application IP address can be carried out immediately, such that it is able to quick obtaining is to the 2nd IP address after switching, thus can avoid in prior art owing to there is blocking operation and the slow-footed problem in switching IP address that causes when Using API Function carries out the release of IP address.
The embodiment of the present invention also provides for a kind of communication system 1, as it is shown in fig. 7, comprises Dynamic Host Configuration Protocol server, also includes such as Fig. 5, communication equipment set forth in fig. 6, and the specific implementation of this communication equipment may refer to above-described embodiment, repeats no more herein.
In several embodiments provided herein, it should be understood that disclosed method and communication equipment, it is possible to realize by another way.Such as, apparatus embodiments described above is merely schematic, such as, the division of described unit, being only a kind of logic function to divide, actual can have other dividing mode when realizing, for instance multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, device or unit, it is possible to be electrical, machinery or other form.
It addition, in equipment in each embodiment of the present invention, each functional unit can be integrated in a processing unit, it is also possible to is that the independent physics of unit includes, it is also possible to two or more unit are integrated in a unit.And above-mentioned each unit both can adopt the form of hardware to realize, it would however also be possible to employ hardware adds the form of SFU software functional unit and realizes.
The all or part of step realizing said method embodiment can be completed by the hardware that programmed instruction is relevant, and aforesaid program can be stored in a computer read/write memory medium, and this program upon execution, performs to include the step of said method embodiment;And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory are (English: ReadOnlyMemory, abbreviation: ROM), random access memory (English: RandomAccessMemory, RAM), the various media that can store program code such as magnetic disc or CD abbreviation:.
The above; being only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; change can be readily occurred in or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.

Claims (11)

1. the acquisition methods of a procotol IP address, it is characterised in that including:
Communication equipment, when determining the IP address that physical network card needs switching current, controls described physical network card and connection breaking in dynamic host configuration protocol DHCP server;
Described communication equipment controls described physical network card and is connected with described Dynamic Host Configuration Protocol server, with trigger described physical network card and described Dynamic Host Configuration Protocol server carry out DHCP message obtain alternately described physical network card to be switched after the 2nd IP address.
2. method according to claim 1, it is characterised in that described communication equipment controls connection breaking in described physical network card and dynamic host configuration protocol DHCP server, controls described physical network card and is connected with described Dynamic Host Configuration Protocol server and includes:
Described communication equipment controls the application layer of operating system and sends message to the driving layer of described operating system, described message includes Adapter Name and the instruction information of described physical network card, described instruction information includes for indicating described physical network card and the first information of connection breaking in described Dynamic Host Configuration Protocol server, and the second information for indicating described physical network card to be connected with described Dynamic Host Configuration Protocol server;
Described communication equipment controls described driving layer and obtains the Adapter Name in described message and described instruction information, and controls described physical network card and connection breaking in described Dynamic Host Configuration Protocol server according to the first information in described Adapter Name and described instruction information;
Described communication equipment controls described driving layer and is connected with described Dynamic Host Configuration Protocol server according to the second information described physical network card of control in described Adapter Name and described instruction information.
3. method according to claim 2, it is characterised in that Adapter Name and the described instruction information of described physical network card represent in the way of I/O control code.
4. method according to claim 3, it is characterized in that, described communication equipment controls described driving layer and obtains the Adapter Name in described message and described instruction information, and control connection breaking in described physical network card and described Dynamic Host Configuration Protocol server according to the first information in described Adapter Name and described instruction information, control described physical network card according to the second information in described Adapter Name and described instruction information and be connected with described Dynamic Host Configuration Protocol server and include:
Described communication equipment controls described driving layer and obtains the Adapter Name of described physical network card according to described I/O control code, and determines the driving filtering module corresponding with described Adapter Name according to described Adapter Name;
The attribute of described physical network card is set to connection breaking by described driving filtering module according to described Adapter Name and the described first information by described communication equipment, so that described physical network card and connection breaking in described Dynamic Host Configuration Protocol server;
The attribute of described physical network card is set to connect according to described Adapter Name and described second information by described communication equipment by described driving filtering module, so that described physical network card is connected with described Dynamic Host Configuration Protocol server.
5. the method according to any one of claim 1-4, it is characterised in that described communication equipment trigger described physical network card and described Dynamic Host Configuration Protocol server carry out DHCP message obtain alternately described physical network card to be switched after the 2nd IP address include:
Described communication equipment triggers described physical network card and sends DHCP request message to described Dynamic Host Configuration Protocol server;
Described communication equipment by described physical network card receive described Dynamic Host Configuration Protocol server send dhcp response message, described dhcp response message include described Dynamic Host Configuration Protocol server be described physical network card distribution to be switched after described 2nd IP address.
6. a communication equipment, it is characterised in that including:
Determine unit, be used for the physical network card determining described communication equipment the need of switching a current IP address;
Control unit, for when the described determination result determining unit is for being, control described physical network card and connection breaking in dynamic host configuration protocol DHCP server, and control described physical network card and be connected with described Dynamic Host Configuration Protocol server, with trigger described physical network card and described Dynamic Host Configuration Protocol server carry out DHCP message obtain alternately described physical network card to be switched after the 2nd IP address.
7. communication equipment according to claim 6, it is characterised in that described control unit specifically for:
The application layer of the operating system controlling described communication equipment sends message to the driving layer of described operating system, described message includes Adapter Name and the instruction information of described physical network card, described instruction information includes for indicating described physical network card and the first information of connection breaking in described Dynamic Host Configuration Protocol server, and the second information for indicating described physical network card to be connected with described Dynamic Host Configuration Protocol server;
Control described driving layer and obtain the Adapter Name in described message and described instruction information, and the first information in the Adapter Name obtained according to described acquisition subelement and described instruction information controls connection breaking in described physical network card and described Dynamic Host Configuration Protocol server, and control described physical network card according to the second information in described Adapter Name and described instruction information and be connected with described Dynamic Host Configuration Protocol server.
8. communication equipment according to claim 7, it is characterised in that Adapter Name and the described instruction information of described physical network card represent in the way of I/O control code.
9. communication equipment according to claim 8, it is characterised in that described control unit specifically for:
Control described driving layer and obtain the Adapter Name of described physical network card according to described I/O control code, and determine the driving filtering module corresponding with described Adapter Name according to described Adapter Name;
According to described Adapter Name and the described first information, the attribute of described physical network card is set to connection breaking by described driving filtering module, so that described physical network card and connection breaking in described Dynamic Host Configuration Protocol server;
It is set to connect by the attribute of described physical network card according to described Adapter Name and described second information by described driving filtering module, so that described physical network card is connected with described Dynamic Host Configuration Protocol server.
10. the communication equipment according to any one of claim 6-9, it is characterised in that described control unit is additionally operable to:
Trigger described physical network card and send DHCP request message to described Dynamic Host Configuration Protocol server;
By described physical network card receive described DHC server send dhcp response message, described dhcp response message include described Dynamic Host Configuration Protocol server be described physical network card distribution to be switched after described 2nd IP address.
11. a communication system, it is characterised in that described communication system includes dynamic host configuration protocol DHCP server, also include the communication equipment as described in claim 6~10.
CN201410788480.2A 2014-12-17 2014-12-17 A kind of acquisition methods and communication equipment of network protocol IP address Active CN105763661B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410788480.2A CN105763661B (en) 2014-12-17 2014-12-17 A kind of acquisition methods and communication equipment of network protocol IP address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410788480.2A CN105763661B (en) 2014-12-17 2014-12-17 A kind of acquisition methods and communication equipment of network protocol IP address

Publications (2)

Publication Number Publication Date
CN105763661A true CN105763661A (en) 2016-07-13
CN105763661B CN105763661B (en) 2019-02-01

Family

ID=56340207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410788480.2A Active CN105763661B (en) 2014-12-17 2014-12-17 A kind of acquisition methods and communication equipment of network protocol IP address

Country Status (1)

Country Link
CN (1) CN105763661B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710545A (en) * 2018-12-27 2019-05-03 联想(北京)有限公司 Data transmission method and device, computer readable storage medium, computer system
CN111787078A (en) * 2020-06-19 2020-10-16 揭阳市聆讯软件有限公司 Signaling control system and communication method based on elevator Internet of things
CN112068784A (en) * 2020-09-14 2020-12-11 上海商米科技集团股份有限公司 Method for automatically switching multiple network cards of cloud printing equipment and cloud printing equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106491A (en) * 2006-07-11 2008-01-16 华为技术有限公司 Migration method for R3 interface in microwave access global intercommunication network ant its system
CN101617521A (en) * 2006-07-18 2009-12-30 Lg电子株式会社 IP address method for pre-configuration in the mobile communication system
CN101657002A (en) * 2008-08-22 2010-02-24 三美电机株式会社 Mobile station and its communicating system and communicating system
CN102307374A (en) * 2011-08-09 2012-01-04 康佳集团股份有限公司 Switching method of wireless network for network television (NetTV)
US8542665B2 (en) * 2007-08-06 2013-09-24 Sony Corporation System and method for network setup of wireless device through a single interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106491A (en) * 2006-07-11 2008-01-16 华为技术有限公司 Migration method for R3 interface in microwave access global intercommunication network ant its system
CN101617521A (en) * 2006-07-18 2009-12-30 Lg电子株式会社 IP address method for pre-configuration in the mobile communication system
US8542665B2 (en) * 2007-08-06 2013-09-24 Sony Corporation System and method for network setup of wireless device through a single interface
CN101657002A (en) * 2008-08-22 2010-02-24 三美电机株式会社 Mobile station and its communicating system and communicating system
CN102307374A (en) * 2011-08-09 2012-01-04 康佳集团股份有限公司 Switching method of wireless network for network television (NetTV)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710545A (en) * 2018-12-27 2019-05-03 联想(北京)有限公司 Data transmission method and device, computer readable storage medium, computer system
CN109710545B (en) * 2018-12-27 2021-01-15 联想(北京)有限公司 Data transmission method and device, computer readable storage medium and computer system
CN111787078A (en) * 2020-06-19 2020-10-16 揭阳市聆讯软件有限公司 Signaling control system and communication method based on elevator Internet of things
CN111787078B (en) * 2020-06-19 2023-05-05 揭阳市聆讯软件有限公司 Signaling control system and communication method based on elevator Internet of things
CN112068784A (en) * 2020-09-14 2020-12-11 上海商米科技集团股份有限公司 Method for automatically switching multiple network cards of cloud printing equipment and cloud printing equipment
CN112068784B (en) * 2020-09-14 2024-03-12 上海商米科技集团股份有限公司 Method for automatically switching multiple network cards of cloud printing equipment and cloud printing equipment

Also Published As

Publication number Publication date
CN105763661B (en) 2019-02-01

Similar Documents

Publication Publication Date Title
CN110611588B (en) Network creation method, server, computer readable storage medium and system
US11190375B2 (en) Data packet processing method, host, and system
JP5272709B2 (en) Address assignment method, computer, physical machine, program, and system
US10205719B2 (en) Network function virtualization-based certificate configuration method, apparatus, and system
CN107534579B (en) System and method for resource management
CN109254831B (en) Virtual machine network security management method based on cloud management platform
US10698717B2 (en) Accelerator virtualization method and apparatus, and centralized resource manager
TWI526931B (en) Inherited product activation for virtual machines
US8176153B2 (en) Virtual server cloning
CN104901923B (en) A kind of virtual machine access mechanism and method
US8224941B2 (en) Method, apparatus, and computer product for managing operation
US10361970B2 (en) Automated instantiation of wireless virtual private networks
JP2004506980A (en) Architecture for providing block-level storage access over a computer network
JP2007193429A (en) Network computing system, communication method, image projection device, image input/output device, and screen data acquisition method
US10116622B2 (en) Secure communication channel using a blade server
CN104468574A (en) Dynamic IP address acquisition method, system and device for virtual machines
WO2013097067A1 (en) Method, device and system for realizing communication after virtual machine migration
EP3742785A1 (en) Session management method and device
EP2894818B1 (en) Control method in software-defined network, control device, and processor
CN114070723B (en) Virtual network configuration method and system of bare metal server and intelligent network card
CN105763661A (en) Network protocol IP address obtaining method and communication equipment
CN116955236B (en) USB device sharing method and system based on virtualization
CN112073555A (en) Method for configuring IP address, electronic device and computer readable storage medium
CN109819064B (en) Method for communication between modules, operating system module and conference panel
CN107342972B (en) Method and device for realizing remote access

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
TR01 Transfer of patent right

Effective date of registration: 20220620

Address after: 215010 room 704, building 5, No. 556, Changjiang Road, high tech Zone, Suzhou, Jiangsu

Patentee after: SUZHOU YUDESHUI ELECTRICAL TECHNOLOGY Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220713

Address after: 401122 No. 1 and 2, floor 7, building 7, No. 106, west section of Jinkai Avenue, Yubei District, Chongqing

Patentee after: Chongqing aoputai Communication Technology Co.,Ltd.

Address before: 215010 room 704, building 5, No. 556, Changjiang Road, high tech Zone, Suzhou, Jiangsu

Patentee before: SUZHOU YUDESHUI ELECTRICAL TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right