[go: up one dir, main page]

CN1331329C - Method of realizing auto netting of family network environment - Google Patents

Method of realizing auto netting of family network environment Download PDF

Info

Publication number
CN1331329C
CN1331329C CNB031575110A CN03157511A CN1331329C CN 1331329 C CN1331329 C CN 1331329C CN B031575110 A CNB031575110 A CN B031575110A CN 03157511 A CN03157511 A CN 03157511A CN 1331329 C CN1331329 C CN 1331329C
Authority
CN
China
Prior art keywords
address
networking
attachment unit
medium attachment
equipment
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
CNB031575110A
Other languages
Chinese (zh)
Other versions
CN1601983A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB031575110A priority Critical patent/CN1331329C/en
Publication of CN1601983A publication Critical patent/CN1601983A/en
Application granted granted Critical
Publication of CN1331329C publication Critical patent/CN1331329C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The present invention discloses a method for automatic networking a household network environment comprising a medium connection device, which comprises the following steps: A, an IP address allocation pool is arranged in the medium connection device, and conventional configuration parameters are preserved; B, equipment to be networked is connected to the medium connection device; C, the medium connection device selects a usable IP address according to IP address allocation records; D, the medium connection device transmits the selected IP address and the conventional configuration parameters preserved by the medium connection device to the equipment to be networked; the equipment to be networked is networked with the medium connection device according to the received IP address and the received conventional configuration parameters. The method can automatically network without any manual input, and the method simultaneously has the advantages of simple operation, convenience and practicality.

Description

A kind of implementation method of home network environment automatic network-building
Technical field
The present invention relates to the networking technology of equipment, be meant the implementation method of the home network environment automatic network-building that comprises medium attachment unit especially.
Background technology
Medium attachment unit is a kind of jockey that is used to connect the home network environment various device, is characterized in: do not have keyboard, do not have display.Household equipment links to each other mutually by medium attachment unit, and then forms home network environment.Such as, the one family network comprises personal computer/notebook computer/personal digital assistant, display, sound equipment and TV, these four kinds of equipment can play back by medium attachment unit the multi-medium data on personal computer/notebook computer/personal digital assistant by after the medium attachment unit networking on display, sound equipment or TV.
For realizing the networking of home network environment, comparatively simple method is mode assignment of the Internet protocol (IP) address of adopting at random.Adopt this mode distributing IP address, the use conflict of IP address takes place easily, that is to say, may exist a plurality of equipment to be assigned with the situation of identical ip addresses simultaneously in a network environment, network can't be realized communication this moment.
The use collision problem of IP address adopts the devices allocation IP address of special-purpose software and hardware for carrying out networking usually during for the solution devices interconnect.At present, existing special-purpose software and hardware comprises software of DHCP (DHCP) server or specific function, configuration etc.But in the networking process, no matter adopt Dynamic Host Configuration Protocol server, or the software of specific function, configuration, all need the manual configuration parameter.This just needs the configuration personnel to have understanding to a certain degree to operate to network knowledge and technical background.
When setting up home network environment, because the Dynamic Host Configuration Protocol server price is higher, often can not remove to buy Dynamic Host Configuration Protocol server or software for a networking, even and the software of Dynamic Host Configuration Protocol server or specific function, configuration is arranged, also need to have higher professional knowledge and just can carry out the manual configuration parameter.So, for the ordinary people, adopt the software of Dynamic Host Configuration Protocol server or specific function, configuration to carry out networking, impracticable, inconvenient.
Summary of the invention
In view of this, the purpose of this invention is to provide a kind of implementation method that comprises the home network environment automatic network-building of medium attachment unit, this method can not realize automatic network-building by manual configuration in the process of setting up home network.
A kind of implementation method of the home network environment automatic network-building of medium attachment unit that comprises that provides of the present invention comprises:
A., the IP address assignment pond is set in medium attachment unit, and preserves general configuration parameters;
The equipment that B. will carry out networking is connected to medium attachment unit;
C. medium attachment unit is selected available IP address according to the IP address assignment record;
D. medium attachment unit is sent to the described equipment that will carry out networking with IP address of selecting and the general configuration parameters of self preserving, and wherein, comprises in the described general configuration parameters whether the network connection needs the parameter of encrypting; IP address that the described equipment basis that will carry out networking receives and general configuration parameters and medium attachment unit carry out networking, and select whether network to be connected encryption.
The described equipment that will carry out networking is realized networking according to IP address of receiving and general configuration parameters configuration network interface card.
This method further comprises:
D1, the described equipment that will carry out networking send the feedback information that whether successfully uses medium attachment unit institute IP address allocated according to the networking situation to medium attachment unit;
After D2, medium attachment unit are received this feedback information, judge whether the described equipment that will carry out networking takies selected IP address among the step C,, then write down this IP address and be used if take, the networking success, otherwise this flow process is jumped out in this networking failure.
Set in advance networking number of times maximum, after this networking failure, this method further comprises:
Whether judge current networking number of times less than described networking number of times maximum, if less than, execution in step C then, if be not less than, this flow process is jumped out in then networking failure.
The interface that is connected to described in the step B except that internetwork connection mode connects.
Described interface is a serial ports, or the parallel port, or the USB connector.
Select available IP address to comprise described in the step C:
C1, judge whether the IP address that is not used according to IP address assignment record with ining addition, if in addition, then select an IP address that is not used as available IP address, execution in step D then, otherwise, execution in step C2;
C2, select an IP address that had been used, judge with the equipment that takies this IP address whether can communicate, if can, then re-execute step C2, otherwise, with this IP address as available IP address, execution in step D.
The address of IP described in the step C is to select according to predetermined screening rule.
Described screening principle is to select according to sequence of addresses.
Described general configuration parameters is kept in the nonvolatile memory of medium attachment unit.
The present invention utilizes this medium attachment unit to realize the automatic network-building of a plurality of equipment the memory cell that medium attachment unit is provided with the IP address assignment module and preserves general configuration parameters and preserve the IP address assignment record.This method does not need any input of user can realize automatic network-building, and does not rely on the software of Dynamic Host Configuration Protocol server or specific function, configuration, does not require the network that must existence be communicated with, so economical and practical, simple, convenient.
Description of drawings
Fig. 1 is for realizing the schematic flow sheet of the inventive method;
Fig. 2 selects the schematic flow sheet of IP available address for the present invention.
Embodiment
In order not realize automatic network-building by manual configuration, method of the present invention further is provided with the IP address assignment module in medium attachment unit, and mark off one section physical space on the nonvolatile memory in medium attachment unit, be used to write down operation, preservation Control Software and the configuration parameter information etc. in record pond, IP address.In the time will carrying out networking, at first medium attachment unit and the equipment that will carry out networking are carried out physical connection, medium attachment unit is the devices allocation IP address that will carry out networking, and the general configuration parameters of IP address allocated and self preservation is sent to the equipment that will carry out networking; The equipment that carries out networking carries out networking according to the network parameter and the IP address of receiving, and sends the feedback information that whether also takies the IP address to medium attachment unit.Medium attachment unit determines whether the networking success according to feedback information again, if the networking success shows that IP address allocated is used, this IP address of record is used in nonvolatile memory then, otherwise, the networking failure.
Referring to shown in Figure 1, realize that method of the present invention may further comprise the steps:
Step 101, the IP address assignment module is set further in medium attachment unit, is used for selecting, the distributing IP address, and in medium attachment unit, preserve general configuration parameters and IP address assignment record in the nonvolatile memory.
Step 102, the equipment that will carry out networking are connected to medium attachment unit.This connected mode can be selected connecting interface outside the network, as serial ports, parallel port, USB connector.
Step 103, medium attachment unit are selected available IP address according to the IP address assignment record.
Step 104, medium attachment unit are sent to the described equipment that will carry out networking with IP address of selecting and the general configuration parameters of self preserving; IP address that the described equipment basis that will carry out networking receives and general configuration parameters and medium attachment unit carry out networking, then according to the networking situation, send the feedback information that whether takies the IP address to medium attachment unit.
Need to prove that general configuration parameters is meant that the network title of subnet mask, wireless network and network connect parameters such as whether needing encryption, for all devices that is connected to current same network, general configuration parameters is identical.The equipment that carries out networking is to utilize IP address and the general configuration parameters configuration network interface card received to realize networking.
After step 105, medium attachment unit are received this feedback information, judge whether the described equipment that will carry out networking takies selected IP address in the step 103, if take, then execution in step 106, otherwise, execution in step 107.
Step 106, medium attachment unit write down this IP address and are used, and this flow process is jumped out in the networking success.
Whether step 107, this networking failure judge current networking number of times less than the networking number of times maximum that sets in advance, if less than, then execution in step 103, if be not less than, this flow process is jumped out in then networking failure.Certainly, under situations such as the reason of physical connection or network interface card mistake, may be once can not the networking success,, limit the number of times that carries out networking at most here by setting in advance networking number of times maximum, if the networking number of times has surpassed maximum, can abandon networking.
Because the limited amount of IP address in network segment, all IP addresses of record all have been assigned with out-of-dately in the IP address assignment record, and can think has two kinds may take place.First kind is that simultaneous equipment is too many and network capacity is limited in the network, and this moment, all IP addresses were all occupied, so this network access device again; Second kind is equipment and few in the network, and some equipment that adds network exits network, thus though may exist the IP address to be used, this IP address does not have occupied situation at present.Therefore, though the employed IP of the equipment that exits network address was used, but be available IP address.
Referring to shown in Figure 2,, select the concrete steps of available IP address as follows based on above-mentioned analysis:
Step 201, judge whether the IP address that is not used in addition, if also have, then execution in step 202, otherwise, execution in step 203;
Step 202, then select an IP address that was not used, jump out this flow process as available IP address;
Step 203, the selection one IP address that was used;
Whether the equipment that step 204, judgement take this IP address also moves in network, if in operation, then execution in step 205, if also in operation, then execution in step 203;
Step 205, with this IP address as available IP address, jump out this flow process.
Certainly, if determine that at last all IP addresses are all occupied, so also just can't realize networking.
During above-mentioned selection IP address, be to carry out according to the rule of screening in advance.Illustrate, if predefined screening rule is to select according to sequence of addresses, so in the time will carrying out networking to certain equipment, the mode of medium connection device distributing IP address is as follows: medium attachment unit determines at first which address was assigned with in the present IP assignment record pond, if 192.168.0.254 is assigned with away in the IP address assignment record pond, then will to attempt with taking the IP address be that the equipment of 192.168.0.1 carries out communication to the medium connection device, if the energy normal communication shows that then the equipment that takies this IP in the present network in addition exists; Next, the medium connection device is attempted and the device talk that uses IP address 192.168.0.2 again, till one of appearance can't be carried out the equipment of normal communication with it, think that then the equipment that can't carry out communication exits network, the IP address of this equipment correspondence is available IP address.
Be that example illustrates technical scheme of the present invention with medium attachment unit and a personal computer (PC) and a PDA(Personal Digital Assistant) building network below.
At first medium attachment unit is connected with PC by serial ports; Medium attachment unit address 192.168.0.1 is set to its own IP address, and selecting address 192.168.0.2 is the IP address of PC, and address 192.168.0.2 and other network configuration parameters of selecting are sent to PC by serial ports;
PC is configured according to the network interface card of these data to oneself after receiving these data by serial ports, sets up self and is connected with network between medium attachment unit; And give medium attachment unit with the message feedback of configuration successful, after medium attachment unit is received this feedback information, address 192.168.0.2 in the record pond, IP address is labeled as is used.
At this moment, if PDA will add this network, then this medium attachment unit is linked to each other with PDA with serial ports or parallel port, USB connector, medium attachment unit reads and analyzes the data in the IP address record pond of preservation, find that not the most preceding address is 192.168.0.3 in the assigned IP address, so IP address 192.168.0.3 and the network parameter self preserved are sent to PDA; PDA is configured according to the information of receiving after receiving network parameter and IP address, sets up medium attachment unit and is connected with network between the PDA, and send the feedback information of network successful connection to medium attachment unit; After medium attachment unit is received this feedback information, 192.168.0.3 is labeled as is used.The network of so just setting up three equipment rooms connects.If also have equipment will add this network, repeat above-mentioned steps and get final product.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1, a kind of implementation method that comprises the home network environment automatic network-building of medium attachment unit is characterized in that this method may further comprise the steps:
A., the IP address assignment pond is set in medium attachment unit, and preserves general configuration parameters;
The equipment that B. will carry out networking is connected to medium attachment unit;
C. medium attachment unit is selected available IP address according to the IP address assignment record;
D. medium attachment unit is sent to the described equipment that will carry out networking with IP address of selecting and the general configuration parameters of self preserving, and wherein, comprises in the described general configuration parameters whether the network connection needs the parameter of encrypting; IP address that the described equipment basis that will carry out networking receives and general configuration parameters and medium attachment unit carry out networking, and select whether network to be connected encryption.
2, method according to claim 1 is characterized in that, the described equipment that will carry out networking is realized networking according to IP address of receiving and general configuration parameters configuration network interface card.
3, method according to claim 1 is characterized in that, this method further comprises:
D1, the described equipment that will carry out networking send the feedback information that whether successfully uses medium attachment unit institute IP address allocated according to the networking situation to medium attachment unit;
After D2, medium attachment unit are received this feedback information, judge whether the described equipment that will carry out networking takies selected IP address among the step C,, then write down this IP address and be used if take, the networking success, otherwise this flow process is jumped out in this networking failure.
4, method according to claim 3 is characterized in that, sets in advance networking number of times maximum, and after this networking failure, this method further comprises:
Whether judge current networking number of times less than described networking number of times maximum, if less than, execution in step C then, if be not less than, this flow process is jumped out in then networking failure.
5, method according to claim 1 is characterized in that, the interface that is connected to described in the step B except that internetwork connection mode connects.
6, method according to claim 5 is characterized in that, described interface is a serial ports, or the parallel port, or the USB connector.
7, method according to claim 1 is characterized in that, selects available IP address to comprise described in the step C:
C1, judge whether the IP address that is not used according to IP address assignment record with ining addition, if in addition, then select an IP address that is not used as available IP address, execution in step D then, otherwise, execution in step C2;
C2, select an IP address that had been used, judge with the equipment that takies this IP address whether can communicate, if can, then re-execute step C2, otherwise, with this IP address as available IP address, execution in step D.
8, method according to claim 1 is characterized in that, the address of IP described in the step C is to select according to predetermined screening rule.
9, method according to claim 8 is characterized in that, described screening rule is to select according to sequence of addresses.
10, method according to claim 1 is characterized in that, described general configuration parameters is kept in the nonvolatile memory of medium attachment unit.
CNB031575110A 2003-09-22 2003-09-22 Method of realizing auto netting of family network environment Expired - Fee Related CN1331329C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031575110A CN1331329C (en) 2003-09-22 2003-09-22 Method of realizing auto netting of family network environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031575110A CN1331329C (en) 2003-09-22 2003-09-22 Method of realizing auto netting of family network environment

Publications (2)

Publication Number Publication Date
CN1601983A CN1601983A (en) 2005-03-30
CN1331329C true CN1331329C (en) 2007-08-08

Family

ID=34660343

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031575110A Expired - Fee Related CN1331329C (en) 2003-09-22 2003-09-22 Method of realizing auto netting of family network environment

Country Status (1)

Country Link
CN (1) CN1331329C (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100448212C (en) * 2006-04-11 2008-12-31 浙江正泰仪器仪表有限责任公司 Self-installation and self-organizing network method of Lonworks network nodes
CN102333119B (en) * 2006-08-01 2014-03-12 华为技术有限公司 Remote access authorization and authentication method and device
CN101119195B (en) * 2006-08-01 2011-09-21 华为技术有限公司 Method and system for remote access authorization and authentication
CN101119247B (en) * 2006-08-02 2013-02-27 华为技术有限公司 Family network appliance automatic configuration method and system
CN100450114C (en) * 2006-08-24 2009-01-07 华为技术有限公司 Automatic configuration method and system for digital home terminal
CN101364910B (en) * 2007-08-09 2011-07-13 中兴通讯股份有限公司 System and method for self-organizing network
ITMO20080148A1 (en) * 2008-05-21 2009-11-22 Fantuzzi Reggiane Spa SYSTEM FOR THE CREATION AND CONFIGURATION OF A NETWORK OF DEVICES
CN102629948A (en) * 2012-03-20 2012-08-08 浪潮电子信息产业股份有限公司 Method for conveniently amending IP address of server
CN106797408B (en) * 2014-10-07 2020-05-12 瑞典爱立信有限公司 Distributed IP allocation and de-allocation mechanism in a communication network with a distributed S/PGW architecture
CN111866910B (en) * 2019-09-18 2021-06-15 上海葡萄纬度科技有限公司 Networking method and system for splicing building blocks and splicing building blocks suitable for wireless networking
CN115190512B (en) * 2022-07-04 2025-05-06 博为科技有限公司 Router networking method, device, medium, electronic device and program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1288630A (en) * 1998-01-19 2001-03-21 艾利森电话股份有限公司 Method for locating IP and Addresses to host distination terminals on the internet on request by a source terminal
CN1330825A (en) * 1998-12-17 2002-01-09 艾利森电话股份有限公司 Method and apparatus in communication system
CN1367974A (en) * 1999-03-31 2002-09-04 艾利森电话股份有限公司 IP address allocation for mobile terminals
CN1372748A (en) * 1999-09-01 2002-10-02 艾利森电话股份有限公司 Distributed IP-pool in GPRS
CN1394098A (en) * 2001-06-27 2003-01-29 华为技术有限公司 Method for automatically obtaining IP address of equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1288630A (en) * 1998-01-19 2001-03-21 艾利森电话股份有限公司 Method for locating IP and Addresses to host distination terminals on the internet on request by a source terminal
CN1330825A (en) * 1998-12-17 2002-01-09 艾利森电话股份有限公司 Method and apparatus in communication system
CN1367974A (en) * 1999-03-31 2002-09-04 艾利森电话股份有限公司 IP address allocation for mobile terminals
CN1372748A (en) * 1999-09-01 2002-10-02 艾利森电话股份有限公司 Distributed IP-pool in GPRS
CN1394098A (en) * 2001-06-27 2003-01-29 华为技术有限公司 Method for automatically obtaining IP address of equipment

Also Published As

Publication number Publication date
CN1601983A (en) 2005-03-30

Similar Documents

Publication Publication Date Title
CN1331329C (en) Method of realizing auto netting of family network environment
CN101448012B (en) Data storage devices having IP capablity partitions
US6628607B1 (en) Method and apparatus for loop breaking on a serial bus
US5991828A (en) System for automatically connecting portable device to network using network environment information including domain name of naming device and community name of network management protocol
US6760804B1 (en) Apparatus and method for providing an interface between legacy applications and a wireless communication network
CN102006210B (en) User equipment dial-up networking method, device and system
CN101035046B (en) Wireless communication system, wireless LAN access point and settings confirmation/change method
US6877042B2 (en) System and method for generating world wide names
CN105915650B (en) Load-balancing method and device
US7616621B2 (en) Efficient time-division multiplexed addressing protocol
EP0928527B1 (en) Wireless networked device installation
KR102510107B1 (en) Smart Office Seat Occupancy And Monitoring System Using Network
CN102186257A (en) Communication method of wireless terminal and host equipment, wireless terminal and host equipment
CN1609821B (en) Network system and method of sharing memory of electronic appliance using the same
TWI237966B (en) Method for dynamically selecting physical layer
US6981033B2 (en) Selection of a candidate peripheral device
AU785479B2 (en) Communication system, and connection setting method and connection setting program of exchange and terminal
CN101741861B (en) Data storage method and device
JPS6249551A (en) Apparatus and method for detecting communication system structure
CN100364271C (en) Device, method, and network system for automatically determining device nicknames and solving redundant nicknames for network devices
JP2004040331A (en) Wireless LAN device
CN114268519A (en) Network communication system, data transmission method, and readable storage medium
EP1547321B1 (en) Method for determining a parent portal in a wireless network and corresponding portal device
JP4312507B2 (en) Network configuration apparatus, recording apparatus, recording system, and parameter setting method
JP2001285308A (en) Communications system

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070808

Termination date: 20200922