CN101552805A - IP address automatical allocation method of household network player - Google Patents

IP address automatical allocation method of household network player Download PDF

Info

Publication number
CN101552805A
CN101552805A CNA2009101117257A CN200910111725A CN101552805A CN 101552805 A CN101552805 A CN 101552805A CN A2009101117257 A CNA2009101117257 A CN A2009101117257A CN 200910111725 A CN200910111725 A CN 200910111725A CN 101552805 A CN101552805 A CN 101552805A
Authority
CN
China
Prior art keywords
address
lan
household network
network player
local area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2009101117257A
Other languages
Chinese (zh)
Inventor
林洪艺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FUZHOU STARNET EVIDEO INFORMATION SYSTEM Co Ltd
Original Assignee
FUZHOU STARNET EVIDEO INFORMATION SYSTEM Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FUZHOU STARNET EVIDEO INFORMATION SYSTEM Co Ltd filed Critical FUZHOU STARNET EVIDEO INFORMATION SYSTEM Co Ltd
Priority to CNA2009101117257A priority Critical patent/CN101552805A/en
Publication of CN101552805A publication Critical patent/CN101552805A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

An IP address automatic allocation method of household network player includes the steps as follows: running a shared server software on the PC of local area network LAN, the software firstly finding out an idle IP address in the LAN, and then broadcasting and sending outward an arp packet at regular intervals, wherein, the destination address of the arp packet is the idle IP addresses acquired before, and the hardware address is set to a fixed value; running the household network player, and accessing it to the local area network; after the household network player receives the arp packet whose hardware address is the fixed value, setting the destination IP address of the arp packet as the IP address of the present machine, and replying the same arp packet to the shared server software; after the shared server software receives the reply, searching the new idle IP address in the local area network again, and then repeating the step 10; when new household network player accesses the LAN, repeating the step 30. The invention has several advantages of: simplifying the acquisition process of the household network player IP address, and facilitating the IP address management of a plurality of household network players.

Description

IP address automatical allocation method of household network player
[technical field]
The invention relates to a kind of local area network communication technology of embedded device, be meant a kind of IP address automatic allocating method especially.
[background technology]
The Ipv4 agreement is adopted in IP (Internet Protocol, the agreement that interconnects between the network) address of the Internet use at present, by 32 binary system calculated addresses, according to the scope of application, is divided into A, B, C, D, E five classes.Because the limitation that unreasonable distribution and IPv4 agreement itself exist, the IP address resource of the Internet is more and more nervous now, for addressing this problem, IANA (Internet Assigned NumbersAuthority), the Internet distributor gear) part with A, B, Class C IP address remains, and gives over to the IP address space that local area network (LAN) uses.
When in local area network (LAN) client being carried out the IP address setting, manual setting and dynamic assignment dual mode are arranged, what IP address dynamic assignment adopted at present is DHCP agreement (Dynamic Host ConfigurationProtocol, dynamic host allocation protocol).When adopting DHCP to carry out IP address assignment, client is at first sent the broadcast packet of Discover to local area network (LAN), in the local area network (LAN) if there is a Dynamic Host Configuration Protocol server (DHCPServer), then after receiving the broadcast packet of Discover, send the broadcast packet that has the distributing IP address, after client is received the broadcast packet that has the IP address of DHCP Server (having a plurality of) transmission, at first send out broadcast packet and confirm that this IP address that is obtained has or not conflict, if not conflict, this first the broadcast packet institute IP address allocated that receives is set to self IP address, and to DHCP Server answer confirmation, expression has obtained this IP address, and DHCP Server lists this IP address in the tabulation that has distributed in.
In local area network (LAN), adopt the DHCP agreement that the client of lesser amt is carried out dynamic IP addressing and divide timing,, can cause Dynamic Host Configuration Protocol server can't effectively manage the client of specified type if when having a plurality of Dynamic Host Configuration Protocol server in the local area network (LAN).
[summary of the invention]
Technical problem to be solved by this invention is to provide a kind of IP address automatical allocation method of household network player that can effectively manage the carrying out of the client of specified type.
The present invention solves the problems of the technologies described above by the following technical programs:. a kind of IP address automatical allocation method of household network player is characterized in that: comprise the steps:
Step 10: at first, operation share service device software on the PC of local area network (LAN), this share service device software at first hunts out an idle IP address in local area network (LAN), outside at regular intervals then broadcast transmission arp bag, the idle IP address of destination address for obtaining before of arp bag, hardware address is set to a fixed value;
Step 20: then, the operation household network player, and, this household network player and the PC of operation share service device software are in the consolidated network with the household network player access to LAN;
Step 30: next, household network player is after receiving the arp bag that hardware address is described fixed value, with the purpose IP address setting of arp bag is the IP address of this machine, and replys same arp bag to share service device software, and the expression household network player has got access to this IP address;
Step 40: share service device software is searched idle IP address new in the local area network (LAN) again after receiving the answer of arp bag, repeating step 10 then;
Step 50: in the time of in new household network player access to LAN, with repeating step 30.
The advantage of IP address automatical allocation method of household network player of the present invention is: simplified the acquisition process of household network player IP address, and can not conflict with the DHCP distribution mechanism generation in the local area network (LAN); The IP address of household network player in the local area network (LAN) is only by the unified distribution of share service device software, the IP address management of convenient a plurality of household network player.
[embodiment]
Software of the present invention is made up of two parts:
1. share service device software MfileServer.exe, this server software run on the PC in the local area network (LAN), are used for providing IP the address to the one or more household network player that are in same local area network (LAN);
2. household network player is used for to MfileServer application IP address.
The step of IP address automatical allocation method of household network player of the present invention is as follows:
Step 10: at first, operation share service device software on the PC of local area network (LAN), this share service device software at first hunts out an idle IP address in local area network (LAN), outside at regular intervals then broadcast transmission arp bag, the idle IP address of destination address for obtaining before of arp bag, hardware address is set to certain fixed value;
Step 20: then, the operation household network player, and, this household network player and the PC of operation share service device software are in the consolidated network with its access to LAN;
Step 30: next, household network player is after receiving the arp bag of hardware address for certain fixed value, with the purpose IP address setting of arp bag is the IP address of this machine, and replys same arp bag to share service device software, and the expression household network player has got access to this IP address;
Step 40: share service device software is searched idle IP address new in the local area network (LAN), the transmission of repeating step 10 then again after receiving the answer of arp bag;
Step 50: in the time of in new household network player access to LAN, with the IP address assignment process of repeating step 30.
The present invention adopts self-defining IP address assignment agreement, is mainly used in small-sized local area network (LAN)s such as family; The client that only meets this IP address assignment agreement just can get access to share service device software MfileServer.exe IP address allocated, thereby has guaranteed that server can be with the client of IP address assignment to specified type, and realization is to effective management of client.
Though more than described the specific embodiment of the present invention; but being familiar with those skilled in the art is to be understood that; our described specific embodiment is illustrative; rather than be used for qualification to scope of the present invention; those of ordinary skill in the art are in the modification and the variation of the equivalence of doing according to spirit of the present invention, all should be encompassed in the scope that claim of the present invention protects.

Claims (1)

1. an IP address automatical allocation method of household network player is characterized in that: comprise the steps:
Step 10: at first, operation share service device software on the PC of local area network (LAN), this share service device software at first hunts out an idle IP address in local area network (LAN), outside at regular intervals then broadcast transmission arp bag, the idle IP address of destination address for obtaining before of arp bag, hardware address is set to a fixed value;
Step 20: then, the operation household network player, and, this household network player and the PC of operation share service device software are in the consolidated network with the household network player access to LAN;
Step 30: next, household network player is after receiving the arp bag that hardware address is described fixed value, with the purpose IP address setting of arp bag is the IP address of this machine, and replys same arp bag to share service device software, and the expression household network player has got access to this IP address;
Step 40: share service device software is searched idle IP address new in the local area network (LAN) again after receiving the answer of arp bag, repeating step 10 then;
Step 50: in the time of in new household network player access to LAN, with repeating step 30.
CNA2009101117257A 2009-05-04 2009-05-04 IP address automatical allocation method of household network player Pending CN101552805A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2009101117257A CN101552805A (en) 2009-05-04 2009-05-04 IP address automatical allocation method of household network player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2009101117257A CN101552805A (en) 2009-05-04 2009-05-04 IP address automatical allocation method of household network player

Publications (1)

Publication Number Publication Date
CN101552805A true CN101552805A (en) 2009-10-07

Family

ID=41156790

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2009101117257A Pending CN101552805A (en) 2009-05-04 2009-05-04 IP address automatical allocation method of household network player

Country Status (1)

Country Link
CN (1) CN101552805A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713525A (en) * 2016-12-29 2017-05-24 华为技术有限公司 Configuration communication parameter method, device and system
CN107370647A (en) * 2017-07-25 2017-11-21 郑州云海信息技术有限公司 A kind of method interconnected between LAN system and its internal controller system
CN107483167A (en) * 2017-07-11 2017-12-15 郑州云海信息技术有限公司 A kind of communication means and device
CN108924506A (en) * 2018-08-01 2018-11-30 广州视源电子科技股份有限公司 Connection method and device of recording and broadcasting system, recording and broadcasting host and camera equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713525A (en) * 2016-12-29 2017-05-24 华为技术有限公司 Configuration communication parameter method, device and system
CN106713525B (en) * 2016-12-29 2021-01-29 华为技术有限公司 Method, device and system for configuring communication parameters
CN107483167A (en) * 2017-07-11 2017-12-15 郑州云海信息技术有限公司 A kind of communication means and device
CN107483167B (en) * 2017-07-11 2020-06-26 苏州浪潮智能科技有限公司 Communication method and device
CN107370647A (en) * 2017-07-25 2017-11-21 郑州云海信息技术有限公司 A kind of method interconnected between LAN system and its internal controller system
CN107370647B (en) * 2017-07-25 2020-03-10 郑州云海信息技术有限公司 Method for interconnecting local area internal controller systems and local area network system
CN108924506A (en) * 2018-08-01 2018-11-30 广州视源电子科技股份有限公司 Connection method and device of recording and broadcasting system, recording and broadcasting host and camera equipment

Similar Documents

Publication Publication Date Title
CN1949784A (en) IP address requesting method for DHCP client by DHCP repeater
EP2756411B1 (en) Deterministic mapping
CN101883158B (en) Method and client for acquiring VLAN (Virtual Local Area Network) IDs (Identifiers) and network protocol addresses
US8054839B2 (en) Apparatus and method of processing stateful address auto-configuration protocol in IPv6 network
CN1744612A (en) DHCP address allocation method
CN102761499B (en) Gateway and method for preventing same from being attacked
CN103384282B (en) The method and BRAS of a kind of acquisition IPV6ND addresses
CN101951417A (en) Method, system and trunk equipment for assigning multiple server addresses
CN101741702A (en) Method and device for limiting broadcast of ARP request
US10432579B2 (en) Internet protocol address allocation method and router
CN101188514A (en) Method, device and system for automatically discovering network element device
CN101552805A (en) IP address automatical allocation method of household network player
CN102025799A (en) Method for discovery and automatic configuration for IP address of device
US20120198091A1 (en) Network system, control apparatus and network apparatus
CN100525318C (en) Improved method for assigning network identifiers using interface identifiers
CN101009635A (en) A message forwarding method for the dynamic host configuration protocol and its network device
CN113660357B (en) Method and device for automatically acquiring IP address by IPv6 dual stack system
CN101227356A (en) Equipment, system and method for network access based on dynamic state host computer collocation protocol
CN114500258B (en) Automatic internet configuration method for ipv6 under wifi6 router under home intelligent gateway
JP2009529257A (en) IPv6 address acquisition apparatus, method, and system
CN102611623A (en) Port configuration processing method, port configuration processing device and port configuration processing system on basis of network access
CN100382524C (en) Method and arrangement for configuration of a device in a data network
CN102420748A (en) Method and router for avoiding attack of ARP (address resolution protocol) report
CN107547690B (en) Port allocation method and device in NAT, NAT equipment and storage medium
KR100595524B1 (en) Device discovery system and method on network

Legal Events

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

Application publication date: 20091007