CN100539527C - Network address converting server and method - Google Patents

Network address converting server and method Download PDF

Info

Publication number
CN100539527C
CN100539527C CNB2005100669929A CN200510066992A CN100539527C CN 100539527 C CN100539527 C CN 100539527C CN B2005100669929 A CNB2005100669929 A CN B2005100669929A CN 200510066992 A CN200510066992 A CN 200510066992A CN 100539527 C CN100539527 C CN 100539527C
Authority
CN
China
Prior art keywords
network address
server
information
mentioned
detection information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2005100669929A
Other languages
Chinese (zh)
Other versions
CN1855859A (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.)
Qisda Corp
Original Assignee
BenQ Corp
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 BenQ Corp filed Critical BenQ Corp
Priority to CNB2005100669929A priority Critical patent/CN100539527C/en
Publication of CN1855859A publication Critical patent/CN1855859A/en
Application granted granted Critical
Publication of CN100539527C publication Critical patent/CN100539527C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A kind of network address conversion method is used in the server.This server is network address in the one second subnet territory in order to the network address that drives in the original use first subnet territory as first its unit address of device conversion of unit address.Its method comprises: first electronic installation and server from the second electronic device of new adding network receive comprise the network address detection information of the network address the second subnet territory after; Server closing server response function, in order to when receiving the solicited message that first electronic installation transmitted, ignored request information; If with do not receive the response of server to solicited message, then first electronic installation is carried out automatic network address setting program, and its unit address is set at network address in the second subnet territory.

Description

Network address converting server and method
Technical field
This invention relates to a kind of network address treatment technology, particularly relates to a kind of network address converting system and method and computer-readable storage media.
Background technology
User now can obtain and manage increasing Digital Media usually, and plays on device miscellaneous, for example, and consumption electronic products, handheld apparatus and computer etc.And one of vision of digital home is for integrating existing internet (Internet), wireless network (mobile network) and radio network (broadcastnetwork) by no seam (seamless) and cross-platform integration (interoperable) network environment.In order to realize this vision, (Digital Living Network Alliance DLNA) has developed in order to integrate the framework of heterogeneous platform product design DLNA.Traditionally, the cross-platform integration guilding principle of DLNA (guideline) is used to design cross-platform integration networks environment and device usually in digital home.The cross-platform integration guilding principle of DLNA for install, software architecture with and technical connotation, taste and define six functional imperative, be respectively tangible media (physical media), Network Transmission (networktransport), media delivery (media transport), device is found and control (device discoveryandcontrol), media management and control (media management and control) and media formats (mediaformat).
With having developed the plug-in device framework, in order to the common point to point network linkage function of generator with plug and play forum (UPnP Forum).Suggestion can adopt the UPnP technology to carry out cross-platform device connection in the cross-platform integration guilding principle of DLNA.This design provides and has disperseed and open network connect architecture, adopted TCP/IP and Web technology, activation is in real time or in the network environment of not managed, for example family, small business etc., or be connected in the internet, jointless similar network connection, control and transfer of data are provided.The UPnP technology has defined a series of communication protocol, finds functions such as (discovery), description, control, Event triggered (eventing) and performance in order to network addressing (network addressing), device to be provided.The UPnP framework is divided into two classes with device: and controlled device (or be called for short device, device) with control end points (control point).
UPnP network connection basis is network communication protocol (Internet Protocol, IP) addressing.The IP addressing is independent of outside the tangible media, the device in the family can be linked together, and basic network communicating function is provided, and can be connected with the internet applications of outside.Know clearly it, each DLNA device has DynamicHost address setting protocol client (Dynamic Host Configuration Protocol, DHCP client), and when device is connected to network for the first time, possesses the function of searching Dynamic Host Configuration Protocol server.If there is a Dynamic Host Configuration Protocol server (that is being that network is managed), terminal installation must use by DHCP and be assigned to its IP address (also being called the D-IP address).If there is not a Dynamic Host Configuration Protocol server (that is being that network is not managed), terminal installation must start automatic IP configuration program (automatic IPconfiguration routine), to obtain an IP address (also being called the A-IP address), terminal installation can store the network address of a plurality of A-IP of belonging to together in advance.
But because the IP address of this two class of D-IP and A-IP belongs to different subnet territories (subnets) usually, the partial devices that adheres to separately between the different sub-network territory can't communicate each other again.Even if adhere to separately two devices in different sub-network territory be connected in same entity online on, the IP layer can abandon all packages (except the broadcasting packages) that all IP addresses that belong to other subnet territory are transmitted usually.Therefore, need a kind of network address converting system and method, in order to head it off.
Summary of the invention
In view of this, purpose of the present invention is the A-IP address for a kind of network address converting system and method are provided in order to the D-IP address transition with terminal installation, makes between terminal installation and can communicate by letter.
According to above-mentioned purpose, the embodiment of the invention discloses a kind of network address conversion method, be used in the server, this server is network address in the one second subnet territory in order to the network address that drives in the original use first subnet territory as first its unit address of device conversion of unit address.Its method comprises: first electronic installation and server from the second electronic device of new adding network receive comprise the network address detection information of the network address the second subnet territory after; The response function of server closing server, in order to when receiving the solicited message that first electronic installation transmitted, ignored request information; If do not receive the response of server to solicited message, then first electronic installation is carried out automatic network address setting program, and its unit address is set at network address in the second subnet territory.Whether network address detection information wherein comprises inquiry and exists network address in the use to be same as the information of the network address in the second subnet territory that receives.
In one case, the network address conversion method more can comprise by second electronic device reception server detection information, server detection information wherein comprises the information whether above-mentioned server of inquiry exists, decision can't distribute any network address in the first subnet territory to give second electronic device, and ignore server detection information or echo probe refusal information, detection refusal information wherein comprises the information that the server probe requests thereby is refused.Detection refusal information wherein is the DHCPNAK information that meets DynamicHost address setting consensus standard.
In another case, the network address conversion method can comprise that more transmitting network address update notification information installs to first, and network address update notification information wherein comprises the information of forcing first device to obtain the new network address in the first subnet territory again to server.
The embodiment of the invention discloses a kind of computer-readable storage media in addition, in order to store computer program.This computer program is in order to be loaded in the server and to make this server carry out the network address conversion method.
The embodiment of the invention more discloses a kind of network address converting system, comprises first electronic installation, second electronic device and server.First electronic installation uses network address in the first subnet territory as unit address.Second electronic device is the new electronic installation that adds network.Server is after receiving the network address detection information that comprises the network address the second subnet territory from second electronic device, close response function, in order to when receiving the solicited message that first electronic installation transmitted, whether ignored request information, network address detection information wherein comprise inquiry and exist network address in the use to be same as the information of the network address in the second subnet territory that receives.
In one case, second electronic device more can transmit the server detection information, and server detection information wherein comprises the information whether the inquiry server exists.But server is the reception server detection information more, decision can't distribute any network address in the first subnet territory to give second electronic device and ignore the server detection information or echo probe refusal information, and detection refusal information wherein comprises the information that the server probe requests thereby is refused.Second electronic device more can be selected the network address in the second subnet territory randomly after the decision server is surveyed failure, and the network address detection information that transmits the network address in the second subnet territory that comprises selection.After first electronic installation more can receive the network address detection information, transmit network address management server inquiry message and give server, network address management server inquiry message wherein comprises the whether information of normal operation of server that detects.
In another case, server more can transmit network address update notification information to first device after receiving the network address detection information, and network address update notification information wherein comprises the information of forcing first device to obtain the new network address in the first subnet territory again to server.First device more can transmit solicited message and give server after receive network address update notification information, and solicited message wherein comprises request server to obtain the information of the network address in the first subnet territory.
In preferable situation, solicited message can be server detection information, website address request information or network address management server inquiry message, server detection information wherein comprises the information whether above-mentioned server of inquiry exists, website address request information comprises request server obtaining the information of the network address in the first subnet territory, and network address management server inquiry message comprises the whether information of normal operation of inquiry server.The server detection information can be the DHCPDISCOVER information that meets DynamicHost address setting consensus standard, website address request information can be the DHCPDISCOVER information that meets DynamicHost address setting consensus standard, network address management server inquiry message can be the DHCPINFO information that meets DynamicHost address setting consensus standard, and network address refusal information can be the DHCPNAK information that meets DynamicHost address setting consensus standard.Server can be DynamicHost address setting protocol server.The network address detection information can be the ARP probe information that meets the address resolution communication protocol standard.
Description of drawings
Fig. 1 is the network architecture schematic diagram of expression according to the network address converting system of the embodiment of the invention;
Fig. 2 is the hardware structure figure that be applied to network address management server or personal computer of expression according to the embodiment of the invention;
Fig. 3 is the system architecture diagram of expression according to the portable telephone device of the embodiment of the invention;
Fig. 4 is the system architecture diagram of expression according to the liquid crystal indicator of the embodiment of the invention;
Fig. 5 is the method flow diagram of expression according to the network address conversion of first embodiment of the invention;
Fig. 6 is the method flow diagram of expression according to the network address conversion of second embodiment of the invention;
Fig. 7 is the method flow diagram of expression according to the network address conversion of third embodiment of the invention;
Fig. 8 is the computer-readable storage media schematic diagram of expression according to the network address conversion of the embodiment of the invention;
Fig. 9 is the module diagram of expression according to the network address management server of fourth embodiment of the invention.
The reference numeral explanation
10-network address converting system; 11-network address management server; The 13-display unit;
The 15-portable telephone device; The 17-personal computer; The 21-processing unit; The 22-internal memory;
The 23-storage device; The 24-output device; The 25-input unit; The 26-communicator; The 27-bus;
The 31-digital signal processing unit; The 32-Analog Baseband; The 33-radio frequency unit; The 34-antenna;
The 35-control unit; The 36-screen; The 37-keyboard; The 38-Power Management Unit; The 39-storage device;
The 41-digital signal input end; The 43-input end of analog signal; The 45-drive integrated circult;
The 46-processing unit; The 47-storage device; The 48-communicator; The 49-panel of LCD;
S5111, S5311 ..., S5317, S5511-operating procedure;
S6111, S6121 ..., S6535, S6537-operating procedure;
S7111, S7121 ..., S7545, S7547-operating procedure;
The 80-medium; 820-network address coordinate conversion computer program;
821-receives website address request, network address detection, the inquiry of network address management server or network address declaration infologic;
There is any available network address logic in the 822-judgement;
823-closes the response function logic; 824-transmits network address refusal infologic; The 91-memory module;
The 93-setting module; The 95-control module; The 97-respond module.
Embodiment
Fig. 1 is the network architecture schematic diagram of expression according to the network address converting system 10 of the embodiment of the invention.Under preferable situation, this network architecture comprises network address management server 11, display unit 13, portable telephone device 15 and personal computer 17.Wherein, display unit 13, portable telephone device 15 and personal computer 17 can entity online (wired-connection), wireless or mix the online and wireless mode of entity and be connected to network address management server 11.Under preferable situation, network address management server 11 is DynamicHost address setting protocol server (Dynamic Host Configuration Protocol, DHCP server).Perhaps must be and have the knack of the binding that this skill person all understands 17 of network address management server 11, display unit 13, portable telephone device 15 and personal computers by a plurality of intermediary node, for example, WAP (wireless access point) (accesspoint), base station (base station), hub (hub), bridger (bridge), router (router) or other intermediary node in order to processing network service.Under preferable situation, network address management server 11, display unit 13, portable telephone device 15 meet DLNA (DigitalLiving Network Alliance, the cross-platform integration guilding principle of DLNA DLNA) (guideline) with personal computer 17.Under preferable situation, network address management server 11, display unit 13, portable telephone device 15 have dhcp client with personal computer 17, make when device is connected to network for the first time, possess the function of searching Dynamic Host Configuration Protocol server in addition.
Fig. 2 is the hardware structure figure that be applied to network address management server 11 or personal computer 17 of expression according to the embodiment of the invention.In network address management server 11 and the personal computer 17 one comprises processing unit 21, internal memory 22, storage device 23, output device 24, input unit 25, communicator 26, and uses bus 27 that it is linked together.In addition, haveing the knack of this skill personage also can be implemented on person one of in network address management server 11 and the personal computer 17 on other computer system configurations (configuration), for example, multicomputer system, based on microprocessor or programmable consumption electronic products (microprocessor-based or programmable consumer electronics), network computer, mini-computer, mainframe, mobile computer and similar equipment.Processing unit 21 can comprise a single CPU (central-processing unit; CPU) or close a plurality of parallel processing units be connected in parallel computing environment (parallel processing environment).Internal memory 22 comprises read-only memory (read only memory; ROM), flash memory (flash ROM) with and/or dynamic access internal memory (randomaccess memory; RAM), can be in order to store for the program module and the data of processing unit 21 execution.Generally speaking, program module comprises Chang Xu (routines), program (program), object (object), assembly (component) etc., in order to carry out the network address translation function.The present invention can also be implemented on the distributed arithmetic environment, and it is performed that its computing work is linked to the teleprocessing equipment of telecommunication network by one.In distributed environment, perhaps person's function executing is finished jointly by this locality and multi-section remote computer system one of in network address management server 11 and the personal computer 17.Storage device 23 comprises hard disk unit, diskette unit, optical disc apparatus or walkman device, in order to read the program module that stores in hard disk, floppy disk, CD, the walkman with and/or data.Communicator 26 can be the cable network card or meets the wireless network card of GPRS, 802.11, blue bud (bluetooth) specification.
Fig. 3 is the system architecture diagram of expression according to the portable telephone device of the embodiment of the invention.Portable telephone device 15 can comprise digital signal processing unit (Digital Signal Processor, DSP) 31, Analog Baseband (Analog Baseband) 32, radio frequency unit (Radio Frequency section, RF section) 33, antenna 34, control unit 35, screen 36, keyboard (key pad) 37, Power Management Unit 38 and storage device 39.In addition, haveing the knack of this skill personage also can be with the invention process in the configuration (configuration) of other handheld apparatus, for example personal digital assistant (digital personal assistant, PDA), digital music player (MP3player), walkman or Portable consumption electronic products etc.Control unit 35 can be microprocessing unit (Micro Processing Unit; MPU), in order to from 39 fetch program of storage device module, and carry out the program module that is read and finish the network address translation function.Storage device 39 comprises read-only memory (read only memory; ROM), flash memory (flash ROM) with and/or dynamic access internal memory (randomaccess memory; RAM), can be in order to store for the program module of control unit 35 execution.
Fig. 4 is the system architecture diagram of expression according to the liquid crystal indicator 13 of the embodiment of the invention, comprises digital signal input end 41, input end of analog signal 43, drive integrated circult (ScalarIC) 45, processing unit 46, storage device 47, communicator 48 and panel of LCD 49.In addition, haveing the knack of this skill personage also can be with the invention process on other display device configurations (configuration), for example, crt display (CRT displayer), plasma scope (plasma display panel displayer, PDP displayer), organic light emitting diode display (organic light-emitting diode displayer, OLED displayer) and other similar display unit.Storage device 47 can comprise read-only memory (read only memory; ROM), flash memory (flash ROM) with and/or dynamic access internal memory (randomaccess memory; RAM), the program module that storage can be carried out for processing unit 46 when being used to program module and being loaded and carrying out, provides the network address translation function.
First embodiment
Fig. 5 is the method flow diagram of expression according to the network address conversion of first embodiment of the invention.The shown method of Fig. 5 is three zones by cutting, the Regional Representative on the left side is by the performed method of personal computer 17, middle Regional Representative is by the performed method of network address management server 11, and the Regional Representative on the right is by the performed method of display unit 13 or portable telephone device 15.Three zones are separated by two dotted lines, to increase its readability.Suppose to exist the network address in two subnet territories, be respectively 192.192.1.x and 203.62.x.x, and network address management server 11 is in order to store and to distribute network address in the 192.192.1.x subnet territory one of to give in display unit 13, portable telephone device 15 and the personal computer 17 person.The person has obtained a network address (maybe can abbreviate D-address as) the 192.192.1.x subnet territory as oneself unit address from network address management server 11 one of in display unit 13 and the portable telephone device 15.And personal computer 17 has just connected upward network, and manages to obtain a network address.
As step S5111, personal computer 17 broadcasting network address detection informations (network address probemessage) wherein, comprise the network address (maybe can abbreviate A-address as) in the 203.62.x.x subnet territory.Whether the network address detection information comprises inquiry and exists network address in the use to be same as the information of particular web site wherein.
As step S5311, network address management server 11 carries out step S5313 after receiving broadcasting network address detection informations, closes response function, during the solicited message that transmits in order to person one of in receiving display unit 13 and portable telephone device 15, ignores this solicited message.
Afterwards, as step S5511, the person transmits solicited messages to network address management server 11 one of in display unit 13 and the portable telephone device 15.As step S5315, after network address management server 11 receives solicited message, carry out step S5317, ignored request information.
Second embodiment
Fig. 6 is the method flow diagram of expression according to the network address conversion of second embodiment of the invention.The shown method of Fig. 6 is three zones by cutting, the Regional Representative on the left side is by the performed method of personal computer 17, middle Regional Representative is by the performed method of network address management server 11, and the Regional Representative on the right is by the performed method of display unit 13 or portable telephone device 15.Three zones are separated by two dotted lines, to increase its readability.The network address that has two subnet territories again in the present embodiment, be respectively 192.192.1.x and 203.62.x.x, and network address management server 11 in order to the terminal installation that stores and distribute network address in the 192.192.1.x subnet territory to give to enter this LAN in advance as display unit 13, portable telephone device 15 and personal computer 17.The person has obtained a network address (maybe can abbreviate D-address as) the 192.192.1.x subnet territory as oneself unit address from network address management server 11 one of in display unit 13 and the portable telephone device 15.And personal computer 17 has just started the network connections LAN, and manages to obtain an available network address from network address management server 11.
At step S6111, personal computer 17 broadcasting server detection informations (server discoverymessage) are in order to detect the server that whether has a management network address on the network.This server detection information is the DHCPDISCOVER information that meets the DHCP standard under preferable situation.In ideal conditions, personal computer 17 can receive server and have information (server offer message), and representative has the server of a management network address.It is the DHCPOFFER information that meets the DHCP standard under preferable situation that there is information in this server.At step S6311, network address management server 11 receives the server detection information.At step S6313, if the network address that stores in the network address management server 11 has all dispensed or other is former thereby any network address that decision is not allocated in the 192.192.1.x subnet territory is given personal computer 17, therefore, network address management server 11 is ignored this server detection information, does not respond any information and gives personal computer 17.Another kind of way, network address management server 11 are sent the refusal information (discovery rejection message) of surveying, and in order to notice personal computer 17, the server detection information that it sent is refused.This surveys refusal information is the DHCPNAK information that meets the DHCP standard under preferable situation.
At step S6121, personal computer 17 judges whether the server detection fails, and is the then processing of execution in step S6131.In step S6121, personal computer 17 can be when arriving the overtime time (time-out) and not receiving that any network address is granted information, again broadcasting server detection information, then, at the broadcast capability again of carrying out set number of times and when not receiving that any network address is granted information, judge that server surveys failure.In another case, personal computer 17 can be judged server detection failure when receiving detection refusal information.
At step S6131, personal computer 17 is carried out automatic network address setting program, personal computer 17 is selected a network address (maybe can abbreviate A-address as) randomly from default regional subnet territory 203.62.x.x, under preferable situation the Internet communication protocol (Internet Protocol, IP) address; Regional subnet territory 203.62.x.x herein is for being pre-stored among personal computer 17 in the present embodiment, display unit 13 and the portable telephone device 15, aim at said apparatus and carry out automatic network address setting program, because of it is used for the application of LAN, operable network address can be very big.At step S6133, whether personal computer 17 broadcasting comprises the network address detection information (network address probe message) of selecting network address, exists the employed network address of any device to be same as the network address of newly choosing in order to inquire.This network address detection information under preferable situation for meeting address resolution communication protocol (Address Resolution Protocol, ARP) the ARP probe information of standard.In ideal conditions, personal computer 17 can not receive any network address conflict (address conflict) information, otherwise, if exist the employed network address of arbitrary device to be same as the selected network address that arrives, personal computer 17 can receive network address conflict (address conflict) information.At step S6135, judge whether the network address of choosing is available, is the processing of then carrying out step S6137, otherwise carries out the processing of step S6131.In step S6131, personal computer 17 can be when arriving the overtime time and not receiving any network address conflicting information, judges that the network address of choosing can use.In another case, personal computer 17 can be broadcasted the network address detection information, then again when arriving the overtime time and not receiving any network address conflicting information, at the broadcast capability again of carrying out set number of times and when not receiving any network address conflicting information, judge that the network address of choosing can use.At step S6137, broadcasting comprises the network address declaration information (network address announcement message) of selecting network address, installs its employed network address (A-address) in order to inform all.This network address declaration information under preferable situation for meeting address resolution communication protocol (Address Resolution Protocol, ARP) the ARPannouncement information of standard.
At step S6321, network address management server 11 receives the network address detection information.At step S6323, close the query-response function, in order to when receiving any network address management server inquiry message (networkaddress management server querymessage), ignore network address management server inquiry message, that is be not reply network address management server response message (network address management serveracknowledge message).
At step S6511, the person receives the network address detection information one of in display unit 13 and the portable telephone device 15.At step S6513, transmit network address management server inquiry message, in order to detect the whether normal operation of network address management server.Network address management server inquiry message is the DHCPINFO information that meets the DHCP standard under preferable situation.Under normal situation, the person can receive network address management server response message one of in display unit 13 and the portable telephone device 15, otherwise, if do not receive network address management server response message, represent the inefficacy of network address management server.Network address management server response message is the DHCPACK information that meets the DHCP standard under preferable situation.At step S6331, network address management server 11 receives network address management server inquiry message, yet, owing to the query-response function is closed, thus network address management server inquiry message ignored, that is be not reply network address management server response message.At step S6521, judge whether the network address management server lost efficacy, be the then processing of execution in step S6531.In step S6531, the person can be when arriving the overtime time (time-out) and not receiving any network address management server response message one of in display unit 13 and the portable telephone device 15, the network address that retransfers management server inquiry message, then, carrying out the function and when not receiving any network address management server response message of retransferring of set number of times, judge that the network address management server lost efficacy.
At step S6531, the person carries out automatic network address setting program one of in display unit 13 and the portable telephone device 15, promptly selecting a network address (maybe can abbreviate A-address as) randomly from regional subnet territory 203.62.x.x, is the Internet communication protocol address under preferable situation.Whether at step S6533, broadcasting comprises the network address detection information of selecting network address, have the network address of any device to be same as the selected network address that arrives in order to inquiry.In ideal conditions, the person can not receive any network address conflicting information one of in display unit 13 and the portable telephone device 15, otherwise, if exist the employed network address of any device to be same as the selected network address that arrives, the person can receive the network address conflicting information one of in display unit 13 and the portable telephone device 15.At step S6535, judge whether the network address of choosing is available, is the processing of then carrying out step S6537, otherwise carries out the processing of step S6531.In step S6535, the person can be when arriving the overtime time and not receiving any network address conflicting information one of in display unit 13 and the portable telephone device 15, judges that the network address of choosing can use.In another case, the person can be when arriving the overtime time and not receiving any network address conflicting information one of in display unit 13 and the portable telephone device 15, again broadcast the network address detection information, then, at the broadcast capability again of carrying out set number of times and when not receiving any network address conflicting information, judge that the network address of choosing can use.At step S6537, broadcasting comprises the network address declaration information of selecting network address, installs its employed network address (A-address) in order to inform all.
In addition at step S6311, after network address management server 11 receives the server detection information, network address management server 11 can send inquiry message to having distributed the electronic installation of 192.192.1.x on the consolidated network according to the information of internal reservoir, confirm that these electronic installations are still using the network address of 192.192.1.x, if the affirmation of in a scheduled time, not receiving these electronic installations, then reclaim the network address of these electronic installations unconfirmed, and distribute suitable network address to give the personal computer 17 of just carrying out network entry, if can't reclaim the network address of any 192.192.1.x, execution in step S6313 still then.
Must be noted that if considering network address management server 11 is not present in the network or network address management server 11 when being in the situation of inefficacy all method steps described in the zone in the middle of can ignoring.
The 3rd embodiment
Fig. 7 is the method flow diagram of expression according to the network address conversion of third embodiment of the invention.The shown method of Fig. 7 is three zones by cutting, the Regional Representative on the left side is by the performed method of personal computer 17, middle Regional Representative is by the performed method of network address management server 11, and the Regional Representative on the right is by the performed method of display unit 13 or portable telephone device 15.Three zones are separated by two dotted lines, to increase its readability.Suppose to exist the network address in two subnet territories, be respectively 192.192.1.x and 203.62.x.x, and network address management server 11 one of is given in display unit 13, portable telephone device 15 and the personal computer 17 person in order to distribute network address in the 192.192.1.x subnet territory.The person has obtained a network address (maybe can abbreviate D-address as) the 192.192.1.x subnet territory as oneself unit address from network address management server 11 one of in display unit 13 and the portable telephone device 15.And personal computer 17 has just connected upward network, and manages to obtain a network address.
At step S7111, personal computer 17 broadcasting server detection informations (server discoverymessage) are in order to detect the server that whether has a management network address on the network.This server detection information is the DHCPDISCOVER information that meets the DHCP standard under preferable situation.In ideal conditions, personal computer 17 can receive server and have information (server offer message), and representative has the server of a management network address.It is the DHCPOFFER information that meets the DHCP standard under preferable situation that there is information in this server.At step S7311, network address management server 11 receives the server detection information.At step S7313, any network address that decision can't be allocated in the 192.192.1.x subnet territory is given personal computer 17, therefore, ignores this server detection information, does not respond any information and gives personal computer 17.In another case, network address management server 11 sends the refusal information (discoveryrejection message) of surveying, and in order to notice personal computer 17, the server detection information that it sent is refused.This surveys refusal information is the DHCPNAK information that meets the DHCP standard under preferable situation.
At step S7121, personal computer 17 judges whether the server detection fails, and is the then processing of execution in step S7131.In step S7121, personal computer 17 can be when arriving the overtime time (time-out) and not receiving that any network address is granted information, again broadcasting server detection information, then, at the broadcast capability again of carrying out set number of times and when not receiving that any network address is granted information, judge that server surveys failure.In another case, personal computer 17 can be judged server detection failure when receiving detection refusal information.
At step S7131, personal computer 17 is carried out automatic network address setting program, selects a network address (maybe can abbreviate A-address as) randomly from regional subnet territory 203.62.x.x, is the Internet communication protocol address under preferable situation.At step S7133, whether personal computer 17 broadcasting comprise the network address detection information of selecting network address, exist the employed network address of any device to be same as the network address of newly choosing in order to inquiry.This network address detection information is the ARPprobe information that meets the ARP standard under preferable situation.In ideal conditions, personal computer 17 can not receive any network address conflict (address conflict) information, otherwise, if exist the employed network address of arbitrary device to be same as the selected network address that arrives, personal computer 17 can receive network address conflict (address conflict) information.At step S7135, judge whether the network address of choosing is available, is the processing of then carrying out step S7137, otherwise carries out the processing of step S7131.In step S7131, personal computer 17 can be when arriving the overtime time and not receiving any network address conflicting information, judges that the network address of choosing can use.In another case, personal computer 17 can be broadcasted the network address detection information, then again when arriving the overtime time and not receiving any network address conflicting information, at the broadcast capability again of carrying out set number of times and when not receiving any network address conflicting information, judge that the network address of choosing can use.At step S7137, broadcasting comprises the network address declaration information of selecting network address, installs its employed network address (A-address) in order to inform all.This network address declaration information is the ARPannouncement information that meets the ARP standard under preferable situation.
At step S7321, network address management server 11 receives the network address detection information.At step S7323, close the network address distribution function, in order to when receiving any website address request information, ignore website address request information, that is be distribution network location and do not reply request approval information not.At step S7325, transmit network address lastest imformation (network address renew message) and one of give in display unit 13 and the portable telephone device 15 person, obtain a new network address to network address management server 11 again in order to one of to force in display unit 13 and the portable telephone device 15 person.
At step S7521, the person receives network address update notification information one of in display unit 13 and the portable telephone device 15.At step S7523, transmit website address request information (address request message) and give network address management server 11, in order to obtain a new network address from network address management server 11.This website address request information is the DHCPREQUEST information that meets the DHCP standard under preferable situation.At step S7331, network address management server 11 receives website address request information, yet, owing to the network address distribution function is closed, so ignore website address request information; In another case, network address management server 11 sends the refusal information (discoveryrejection message) of surveying, in order to notice display unit 13 or portable telephone device 15, the server detection information that it sent is refused, that is is that display unit 13 or portable telephone device 15 are not given in the distribution network location.This request approval information is the DHCPACK information that meets the DHCP standard under preferable situation.At step S7531, judge whether website address request fails, be the then processing of execution in step S7541.In step S7541, the person can be when arriving the overtime time (time-out) and not receiving any request approval information one of in display unit 13 and the portable telephone device 15, the website address request that retransfers information, then, carrying out the function and when not receiving any request approval information of retransferring of set number of times, judge the website address request failure.
At step S7541, the person selects a network address (maybe can abbreviate A-address as) randomly from regional subnet territory 203.62.x.x one of in display unit 13 and the portable telephone device 15, is the Internet communication protocol address under preferable situation.Whether at step S7543, broadcasting comprises the network address detection information of selecting network address, have the network address of any device to be same as the selected network address that arrives in order to inquiry.In ideal conditions, the person can not receive any network address conflicting information one of in display unit 13 and the portable telephone device 15, otherwise, if exist the employed network address of any device to be same as the selected network address that arrives, the person can receive the network address conflicting information one of in display unit 13 and the portable telephone device 15.At step S7545, judge whether the network address of choosing is available, is the processing of then carrying out step S7547, otherwise carries out the processing of step S7541.In step S7545, the person can be when arriving the overtime time and not receiving any network address conflicting information one of in display unit 13 and the portable telephone device 15, judges that the network address of choosing can use.In another case, the person can be when arriving the overtime time and not receiving any network address conflicting information one of in display unit 13 and the portable telephone device 15, again broadcast the network address detection information, then, at the broadcast capability again of carrying out set number of times and when not receiving any network address conflicting information, judge that the network address of choosing can use.At step S7547, broadcasting comprises the network address declaration information of selecting network address, installs its employed network address (A-address) in order to inform all.
Moreover the embodiment of the invention more proposes a kind of computer-readable storage media, and in order to store a computer program, aforementioned calculation machine program is in order to realize the network address conversion method, and these methods can be carried out aforesaid step.Fig. 8 is the computer-readable storage media schematic diagram of expression according to the network address conversion of the embodiment of the invention.This Storage Media 80, in order to store network address coordinate conversion computer program 820, its computer program comprises four logics, is respectively that reception server is surveyed, network address is surveyed, inquiry of network address management server or network address declaration infologic 821, judges whether to exist any available network address logic 822, closes response function logic 823 and transmit network address refusal infologic 824.
The 4th embodiment
Fig. 9 is the module diagram of expression according to the network address management server of fourth embodiment of the invention.This EmbodimentThe network address that has two subnet territories, be respectively 192.192.1.x and 203.62.x.x, and network address management server 11 is in order to store and to distribute network address in the 192.192.1.x subnet territory one of to give in display unit 13, portable telephone device 15 and the personal computer 17 person.The person has obtained a network address (maybe can abbreviate D-address as) the 192.192.1.x subnet territory as oneself unit address from network address management server 11 one of in display unit 13 and the portable telephone device 15.And personal computer 17 has just connected upward network, and manages to obtain a network address.The person all stores the network address in the 203.62.x.x subnet territory one of in display unit 13, portable telephone device 15 and the personal computer 17.
Network address management server 11 comprises storage module 91, setting module 93, control module 95 and respond module 97.Storage module 91 is in order to store the network address in the 192.192.1.x subnet territory.Setting module 93 uses a network address in the 192.192.1.x subnet territory in order to one of to set in display unit 13, portable telephone device 15 and the personal computer 17 person.Respond module 97 is in order to receive and to reply the information that display unit 13, portable telephone device 15 and personal computer 17 are transmitted.Control module 95 is in order to a network address detection information that receives personal computer 17 and judges when not having available network address in the storage module 91, close the response function of respond module 97, one of make in personal computer 17, display unit 13 and the portable telephone device 15 person use the network address in the 203.62.x.x subnet territory to communicate by letter.
In one case, control module 95 can distribute the network address in a plurality of 192.192.1.x subnets territory to the display unit 13, the portable telephone device 15 and personal computer 17 that are connected on the network respectively, and when receiving the server detection information, respectively this display unit 13, portable telephone device 15 are sent inquiry with personal computer 17, if in a scheduled time, do not receive the affirmation information of portions of electronics device, then regain the network address of these electronic installations unconfirmed.The server detection information comprises the information whether inquiry network address management server 11 exists.Control module 95 can be ignored this server detection information or respond a detection refusal information.The network address detection information is for personal computer 17 sends after carrying out an automatic network address setting program, and this automatic network address setting program startup is not obtain the response of network address management server 11 or obtain starting after this detection refusal information for personal computer 17 sends behind this server detection information one scheduled time of wait opportunity.
In one case, after receiving the network address detection information, control module 93 more can transmit network address update notification information and one of comprise one of in display unit 13, portable telephone device 15 and the personal computer 17 person, network address update notification information to force in display unit 13, portable telephone device 15 and the personal computer 17 person to obtain the information of the new network address in the 192.192.1.x subnet territory again to network address management server 11.
In one case, the person does not obtain this control module 95 responses one of in display unit 13 and portable telephone device 15, and the person sends a network address detection information one of in display unit 13 and the portable telephone device 15.Control module 95 can more receive this network address detection information, and this network address detection information one of is relevant in display unit 13 and the portable telephone device 15 information that the person selects network address in the 203.62.x.x subnet territory for use.
Though embodiments of the invention disclose as above; right its is not in order to qualification the present invention, any those who are familiar with this art, without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is as the criterion when looking accompanying the claim person of defining.

Claims (19)

1. network address conversion method, be suitable for a server, this server is set one first electronic installation and is used network address in the one first subnet territory as unit address in a network, this first electronic installation and a plurality of network address that belong to one second subnet territory of a second electronic device internal reservoir, its method comprises:
First electronic installation and server receive a network address detection information, and this network address detection information is that this second electronic device from new this network of adding sends, and this network address detection information is relevant to the information that this second electronic device is selected network address in the above-mentioned second subnet territory for use;
Server closing one response function, this response function are in order to reply the solicited message that above-mentioned first electronic installation is transmitted; With
If do not receive the response of server to solicited message, then first electronic installation is carried out automatic network address setting program, and its unit address is set at network address in the second subnet territory.
2. network address conversion method as claimed in claim 1, wherein, above-mentioned solicited message is a server detection information, a website address request information or a network address management server inquiry message, above-mentioned server detection information comprises the information whether above-mentioned server of inquiry exists, above-mentioned website address request information comprises the information of the network address of request in the above-mentioned first subnet territory, and above-mentioned network address management server inquiry message comprises the whether information of normal operation of the above-mentioned server of inquiry.
3. network address conversion method as claimed in claim 2, wherein, above-mentioned server detection information is the DHCPDISCOVER information that meets DynamicHost address setting consensus standard, above-mentioned website address request information is the DHCPREQUEST information that meets DynamicHost address setting consensus standard, and above-mentioned network address management server inquiry message is the DHCPINFO information that meets DynamicHost address setting consensus standard.
4. network address conversion method as claimed in claim 1 more comprises the following steps:
Receive a server detection information, this server detection information is sent by above-mentioned second electronic device, and above-mentioned server detection information comprises the information whether above-mentioned server of inquiry exists.
5. network address conversion method as claimed in claim 4, this server more stores a plurality of network address, and this network address is relevant to this first subnet territory, and this method more comprises the following steps:
This server distributes these a plurality of network address to give a plurality of electronic installations respectively;
After receiving this server detection information, this server sends inquiry to these a plurality of electronic installations respectively; And
In a scheduled time, do not receive the affirmation information of portions of electronics device, then regain the network address of these electronic installations unconfirmed.
6. network address conversion method as claimed in claim 4, this server more store a plurality of network address and are relevant to this first subnet territory, and this method more comprises the following steps:
This server distributes these a plurality of network address to give a plurality of electronic installations respectively;
This server can't distribute any network address in the above-mentioned first subnet territory to give above-mentioned second electronic device; And
Ignore above-mentioned server detection information or respond one and survey refusal information, above-mentioned detection refusal information comprises the information that the server probe requests thereby is refused.
7. network address conversion method as claimed in claim 6, wherein, above-mentioned detection refusal information is the DHCPNAK information that meets DynamicHost address setting consensus standard.
8. network address conversion method as claimed in claim 6, wherein, this network address detection information is for this second electronic device sends after carrying out an automatic network address setting program, and this automatic network address setting program startup is to wait for that a scheduled time does not obtain this server and responds or obtain starting after this detection refusal information for this second electronic device after sending this server detection information opportunity.
9. network address conversion method as claimed in claim 1 more comprises:
The network address update notification information that transmits is given above-mentioned first electronic installation, and above-mentioned network address update notification information comprises forces above-mentioned first device to obtain the information of the new network address in the above-mentioned first subnet territory again to above-mentioned server.
10. network address conversion method as claimed in claim 1 more comprises:
Receive one second network address detection information, this second network address detection information is relevant to the information that this first electronic installation is selected network address in the above-mentioned second subnet territory for use, wherein, do not respond when this solicited message obtains this server, this first electronic installation sends this second network address detection information.
11. network address conversion method as claimed in claim 1, wherein, above-mentioned server is a DynamicHost address setting protocol server.
12. network address conversion method according to claim 1, wherein, above-mentioned network address detection information is the ARPprobe information that meets the address resolution communication protocol standard.
13. a server connects one first electronic installation and a second electronic device by a network, this first electronic installation and this second electronic device inside store a plurality of network address that belong to one second subnet territory respectively, and this server comprises:
One storage module is in order to store a plurality of network address that belong to one first subnet territory;
One setting module uses one first network address in order to set this first electronic installation, and this first network address is one of a plurality of network address in this storage module;
One respond module is in order to reply the information of this first electronic installation and this second electronic device; And
One control module is in order to a network address detection information that receives this second electronic device and judges when not having available network address in this storage module, close the response function of this respond module, make this first electronic installation and this second electronic device use the network address in this second subnet territory to communicate by letter.
14. server as claimed in claim 13, wherein, above-mentioned second electronic device transmits a server detection information, and above-mentioned server detection information comprises the information whether above-mentioned server of inquiry exists.
15. server as claimed in claim 14, wherein, this control module distributes these a plurality of network address to being connected in a plurality of electronic installations on this network respectively, when receiving this server detection information, respectively these a plurality of electronic installations are sent inquiry, if in a scheduled time, do not receive the affirmation information of portions of electronics device, then regain the network address of these electronic installations unconfirmed.
16. server as claimed in claim 14, wherein, this control module is ignored above-mentioned server detection information or is responded a detection refusal information.
17. server as claimed in claim 14, wherein, this network address detection information is for this second electronic device sends after carrying out an automatic network address setting program, and this automatic network address setting program startup is to wait for that a scheduled time does not obtain this server and responds or obtain starting after this detection refusal information for this second electronic device after sending this server detection information opportunity.
18. server as claimed in claim 13, this control module more transmits a network address update notification information and gives above-mentioned first electronic installation, and above-mentioned network address update notification information comprises forces above-mentioned first device to obtain the information of the new network address in the above-mentioned first subnet territory again to this server.
19. server as claimed in claim 13, wherein, this control module more receives one second network address detection information, this second network address detection information is relevant to the information that this first electronic installation is selected network address in the above-mentioned second subnet territory for use, when this first electronic installation did not obtain this control module response, this first electronic installation sent this second network address detection information.
CNB2005100669929A 2005-04-26 2005-04-26 Network address converting server and method Expired - Fee Related CN100539527C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100669929A CN100539527C (en) 2005-04-26 2005-04-26 Network address converting server and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100669929A CN100539527C (en) 2005-04-26 2005-04-26 Network address converting server and method

Publications (2)

Publication Number Publication Date
CN1855859A CN1855859A (en) 2006-11-01
CN100539527C true CN100539527C (en) 2009-09-09

Family

ID=37195719

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100669929A Expired - Fee Related CN100539527C (en) 2005-04-26 2005-04-26 Network address converting server and method

Country Status (1)

Country Link
CN (1) CN100539527C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741872B (en) * 2008-11-07 2013-10-02 华为软件技术有限公司 Method and device for acquiring information of target resources
CN105072207A (en) * 2015-06-30 2015-11-18 深圳市灰度科技有限公司 LED asynchronous full-color control card and method for automatic identification with control computer
CN105553693B (en) * 2015-12-08 2019-06-25 联想(北京)有限公司 The method and apparatus of on-premise network

Also Published As

Publication number Publication date
CN1855859A (en) 2006-11-01

Similar Documents

Publication Publication Date Title
US8050192B2 (en) Port forwarding configuration system and method for wire and wireless networks
CN100407625C (en) Method for providing business according to its type
KR101589413B1 (en) Dns naming method for iot device
US7720044B1 (en) System and method for terminal configuration
US20060259624A1 (en) Network address transition methods and systems
CN101779477A (en) Base station initiated proximity service discovery be connected foundation
KR20030058396A (en) Mobile Terminal, System and Method for connecting Network by using the same
US20030140344A1 (en) Wireless control for universal plug and play networks and devices
JP2011517884A (en) Service discovery method in wireless network
US20060253611A1 (en) Network address transition methods and systems
JP2000270007A (en) Network system, network server, and terminal device
EP2246791A1 (en) Communication terminal and method for controlling connection of communication device
CN101741888A (en) Method, system and device for pushing certification page
CN104104926A (en) Universal plug and play (UPnP) monitoring terminal access method and access device
WO2006057798A2 (en) Method and apparatus to facilitate universal plug and play interaction between different local networks
US20060154662A1 (en) Registering phone numbers of wireless terminals
CN107528919A (en) The method and device that a kind of lan device is found and driver is installed automatically
CN100539527C (en) Network address converting server and method
Kraemer et al. Bluetooth based wireless Internet applications for indoor hot spots: experience of a successful experiment during CeBIT 2001
US8176343B2 (en) Method for providing information for power management of devices on a network
JP2004320741A (en) Apparatus and method for connecting independent networks
EP2700254B1 (en) Apparatus and method for transmitting and receiving ip information in a wireless communication network
US8456671B2 (en) Communication system, information storage device, management device, and terminal device
US20130178166A1 (en) Method and apparatus for providing outside network service based on advertisment viewing
KR101885618B1 (en) Method for automatically connecting ip based devices and the apparatus supporting the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: QISDA CORPORATION

Free format text: FORMER OWNER: BENQ CORP.

Effective date: 20100728

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20100728

Address after: China Taiwan Taoyuan County

Patentee after: Qisda Corporation

Address before: 000000 Taoyuan County, Taiwan, China

Patentee before: Benq Corp.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090909

Termination date: 20150426

EXPY Termination of patent right or utility model