CN107332941A - A kind of method, device and pattern of fusion gateway for configuring IP address, obtaining IP address - Google Patents
A kind of method, device and pattern of fusion gateway for configuring IP address, obtaining IP address Download PDFInfo
- Publication number
- CN107332941A CN107332941A CN201710440803.2A CN201710440803A CN107332941A CN 107332941 A CN107332941 A CN 107332941A CN 201710440803 A CN201710440803 A CN 201710440803A CN 107332941 A CN107332941 A CN 107332941A
- Authority
- CN
- China
- Prior art keywords
- address
- router
- dhcp process
- top box
- set top
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/60—Router architectures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/4424—Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
Abstract
This application discloses a kind of method, device and pattern of fusion gateway for configuring IP address, obtaining IP address, wherein, the method for the configuration IP address includes:Detect dynamic host configuration protocol DHCP process whether start completion;If the DHCP process initiations are completed, send DHCP process initiations and complete information to set top box;The IP address that receiving set up box completes information according to the DHCP process initiations and sent, which is obtained, to be instructed;It is set top box configuration IP address to obtain instruction according to the IP address.Disclosed method, effectively solve router startup causes the problem of set top box can not get IP address or need to wait as long for slowly.
Description
Technical field
The application is related to pattern of fusion gateway field, more particularly to a kind of configuration IP address, the method for obtaining IP address, device
And pattern of fusion gateway.
Background technology
Pattern of fusion gateway is the novel device that router and set top box are integrated, referring to Fig. 1, is a kind of pattern of fusion gateway
System structure diagram.As shown in figure 1, in pattern of fusion gateway, router and set top box are equipped with independent master chip, route
Master chip and set top box main chip are communicated to connect by ether interface, therefore, router and set top box can independent operating, and pass through
Ether interface communicates.
In pattern of fusion gateway start process, after being powered up, route master chip and set top box main chip are established by cable on simultaneously
Machine.Router master chip it is upper establish machine by cable after, according to default boot sequence start software program, including power-on self-test process,
DHCP (Dynamic Host Configurat ion Protocol, DHCP) process, SNMP (Simple
Network Management Protocol, Simple Network Management Protocol) process etc., wherein, can be net after DHCP process initiations
Device configuration IP address inside network.Likewise, establishing machine in set top box main chip by cable and starting software program, for positive normal open
Letter, and audio, video data is obtained from server, set top box needs to obtain IP address from router.Due to router and machine
Top box independent operating, so, after set top box starts, on the premise of whether DHCP processes start in uncertain router, machine top
Box can obtain IP address according to presetting method.The method that set top box obtains IP address has two kinds, and first method is:Set top box
Periodically send IP address and obtain instruction to router, the interval time in each cycle is identical, continuously transmits three times.Router connects
Receive IP address to obtain after instruction, control DHCP processes to configure IP address for set top box;Second method is that set top box is periodically
Send IP address and obtain instruction to router, the interval time in each cycle is double, until getting IP address.
But, because the software program of router is complicated, the DHCP advance ratios set top box of router starts under normal circumstances
Slowly.The first method of IP address is obtained for set top box, if three slower than set top box of the startup of the DHCP processes of router
Cycle, then set top box just can not get IP address;For second method, if set top box is not obtained in current period
To IP address, then the time-out time that IP address acquisition is instructed is multiplied, and causes the time that set top box is waited to be multiplied, so that
The time for getting IP address increases.
The content of the invention
This application provides it is a kind of configure IP address, obtain IP address method, device and pattern of fusion gateway, with solve by
Start slowly than set top box in router startup, cause set top box to obtain the problem of IP address is slower.
In a first aspect, this application provides a kind of method for configuring IP address, including:
Detect dynamic host configuration protocol DHCP process whether start completion;
If the DHCP process initiations are completed, send DHCP process initiations and complete information to set top box;
The IP address that receiving set up box completes information according to the DHCP process initiations and sent, which is obtained, to be instructed;
It is set top box configuration IP address to obtain instruction according to the IP address.
Second aspect, present invention also provides a kind of method for obtaining IP address, including:
Send IP address and obtain instruction to router;
If not getting the router in preset time obtains the IP address for instructing distribution according to the IP address,
Then detect that the dynamic host configuration protocol DHCP process initiation that the router is sent completes information;
After the DHCP process initiations completion information that the router is sent is detected, IP address is sent again and obtains instruction
To router, to obtain IP address from router.
The third aspect, present invention also provides a kind of device for configuring IP address, including DHCP process detections module, DHCP
Process initiation completes information sending module, IP address and obtains command reception module and IP address configuration module, wherein:
The DHCP process detections module, for detect dynamic host configuration protocol DHCP process whether start completion;
The DHCP process initiations complete information sending module, if completed for the DHCP process initiations, send
DHCP process initiations complete information to set top box;
The IP address obtains command reception module, and information is completed according to the DHCP process initiations for receiving set up box
The IP address of transmission obtains instruction;
The IP address configuration module, is set top box configuration IP address for obtaining instruction according to the IP address.
Fourth aspect, present invention also provides a kind of device for obtaining IP address, including:First IP address obtains instruction hair
Module, the first IP address acquisition module, DHCP process initiations is sent to complete information detecting module and the second IP address acquisition instruction hair
Module is sent, wherein:
First IP address obtains instruction sending module, and instruction is obtained to router for sending IP address;
The first IP address acquisition module, for obtaining the router according to IP address acquisition instruction distribution
IP address;
The DHCP process initiations complete information detecting module, if not getting institute for the first IP address acquisition module
State router and the IP address for instructing distribution, the DHCP that detection router is sent are obtained according to the IP address
DHCP process initiations complete information;
Second IP address obtains instruction sending module, and information detecting module inspection is completed for the DHCP process initiations
Measure after the DHCP process initiations completion information that the router is sent, IP address acquisition is sent again and is instructed to router, with
IP address is obtained from router.
5th aspect, present invention also provides a kind of pattern of fusion gateway, including configuration of IP described in the above-mentioned third aspect
The device of acquisition IP address described in the device and fourth aspect of location.
6th aspect, present invention also provides a kind of pattern of fusion gateway, it is characterised in that including:Router master chip, machine
Top box master chip and memory, wherein:
The memory, for store program codes;
The router master chip, for reading the program code in the memory, and is performed described in first aspect
Method;
The set top box main chip, for reading the program code in the memory, and is performed described in second aspect
Method.
The beneficial effect of disclosure method includes, as follows:
In the method for configuration IP address disclosed in the present application, after set top box starts, IP address is obtained in preset time, such as
Fruit does not get IP address, illustrates that the DHCP processes in now router are not actuated and completes.Therefore, set top box triggering DHCP enters
The detection procedure of journey start completion information.If the DHCP process initiations for detecting router transmission complete information, show now
The process initiation of the configuration IP address of router is completed, and router normally can configure IP address for set top box.Detecting road
The DHCP process initiations sent by device are completed after information, obtain IP address from router again.Due to now router
DHCP process initiations are completed, and set top box need not continuously acquire three IP address, will not also wait as long for acquisition IP address.
It can be seen from foregoing description, the method that the application is provided avoids set top box after three IP address of acquisition are not got
Abandon obtaining, lead to not the situation for getting IP address;In addition, also reduce causes set top box because time-out time is multiplied
Obtain the stand-by period of IP address.Therefore, the method that the application is provided, when obtaining IP address, is not limited by cycle times,
Also not being multiplied simultaneously by the IP address acquisition cycle causes stand-by period growth to be limited.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme of the application, letter will be made to the required accompanying drawing used in embodiment below
Singly introduce, it should be apparent that, for those of ordinary skills, without having to pay creative labor,
Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of pattern of fusion gateway system architectures schematic diagram;
The schematic flow sheet of embodiment one that Fig. 2 provides for the embodiment of the present application;
The schematic flow sheet of embodiment two that Fig. 3 provides for the embodiment of the present application;
The schematic flow sheet of embodiment three that Fig. 4 provides for the embodiment of the present application;
A kind of structural representation of the device for configuration IP address that Fig. 5 provides for the embodiment of the present application;
A kind of structural representation of the device for acquisition IP address that Fig. 6 provides for the embodiment of the present application.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the present invention.
Pattern of fusion gateway is exactly that the transfer mode conversion of all information is fused in IP network, is easy to unified management and phase
Mutually conversion is linked up.The pattern of fusion gateway being related in the embodiment of the present application, is the net for being merged router and set top box
Close, pattern of fusion gateway includes router and set top box, router and set top box can isolated operation, and pass through an ether interface
Connection, realizes communication between the two.After powering, set top box needs to obtain IP address and company by router pattern of fusion gateway
It is connected in LAN.
There is the DHCP advance ratio machines top of router either in pattern of fusion gateway, or in set top box and router
Box starts slowly, causes the problem of set top box can not get IP address or longer stand-by period, therefore, is carried in following embodiments
The method of confession is applicable the set top box and router in pattern of fusion gateway, and split type set top box and router.
Embodiment one
Referring to Fig. 2, the schematic flow sheet of embodiment one provided for the embodiment of the present application.The method that the embodiment of the present application is provided
Using in the router, being also applicable in the router of pattern of fusion gateway.
In step S101, detection dynamic host configuration protocol DHCP process whether start completion.
Router detected in start process DHCP processes whether start completion, router according to preset order start journey
During sequence, each program can send start completion information after start completion, and router, which is taken this as the standard, starts next program.When
After the completion of DHCP process initiations, start completion information is generated, router master chip gets DHCP process initiations and completed after information,
It can determine that DHCP process initiations are completed.
In step s 102, if DHCP process initiations are completed, DHCP process initiations is sent and complete information to set top box.
After the completion of the DHCP process initiations in detecting router, router generation DHCP process initiations complete information,
And sent in the form of arp messages into set top box, the process of the acquisition IP address in triggering set top box, it is ensured that set top box is received
Complete to send IP address acquisition instruction again after information to router to the DHCP process initiations that router is sent.
Wherein, DHCP process initiations completion information to set top box is sent to specifically include:Send address resolution protocol arp messages
To set top box, wherein, the arp messages carry the DHCP process initiations and complete information.
Further, router DHCP process initiations complete information and could be arranged to free arp messages, that is to say, that with
Arp message identification DHCP process initiations complete information, when set top box detects the arp messages, illustrate in now router
DHCP process initiations are completed.Detailed process is exemplified below:
Such as set top box interface is eth0, then arptables instructions can be used directly to create following rule:Set top box is caught
The free arp messages received from eth0 are obtained, dhcp client functionalitys are then triggered:arptables–A INPUT-I eth0–j
mytarget.Wherein, target (mytarget) defines to capture will carry out for what kind of processing after packet, us are needed herein
Oneself it is defined for triggering dhcp client functionalitys.Be divided into two parts when implementing mytarget, kernel portion and
User's space part.In kernel portion, realized with netfi lter expansion module, define the module and be articulated to
After in netfilter target chained list, search the module automatically according to target designation when kernel carries out target detection and call
Corresponding object function, completes real objective function;In user's space part, object module is one as arptables
Individual extended dynamic storehouse realizes, simply a user interface, completes to receive in target data structure is simultaneously delivered to by user's input
The function of core.
In step s 103, the IP address that receiving set up box completes information according to DHCP process initiations and sent, which is obtained, to be referred to
Order.
Router sends DHCP process initiations and completes information to set top box, machine after the completion of DHCP process initiations are detected
Top box determines that router normally can configure IP address for set top box after DHCP process initiations completion information is received, therefore, then
Secondary to send IP address acquisition instruction to router, router is receiving set top box according to the completion information transmission of DHCP process initiations
IP address obtain instruction after, invocation step S104.
Further, in step s 102, if router sends address resolution protocol arp reports after DHCP processes are started
Text is to set top box, then the IP address that router receiving set up box is sent according to arp messages, which is obtained, to be instructed.That is, router
After DHCP processes are started, arp messages are sent into set top box, wherein, DHCP process initiations are carried in arp messages and complete letter
Breath, and set top box determines that router can be with normal configuration IP address, therefore after arp messages are received, set top box is according to arp
Message generation IP address obtains instruction, and IP address acquisition instruction is sent into router.
In step S104, it is set top box configuration IP address to obtain instruction according to IP address.
Router receiving set up box completes the IP address acquisition instruction that information is sent according to DHCP process initiations, and according to IP
Address acquisition instruction triggers IP address is configured, and is set top box configuration IP address.
Seen from the above description, in the embodiment of the present application router detection DHCP processes whether start completion, if started
Complete then to send DHCP process initiations completion information to set top box, notify set top box router to configure IP address, now, road
Set top box is received by device to complete the IP address that information sends according to DHCP process initiations and obtain to instruct, router is according to receiving
IP address obtain instruction and configure IP address for set top box, so as to avoid set top box from abandoning obtaining in multiple obtain less than IP address
Take and lead to not the situation for getting IP address, obtained in addition, being also prevented from set top box after cycle growth, it is prolonged etc. to be obtained
IP address.
Embodiment two
The schematic flow sheet of embodiment two provided referring to Fig. 3, the embodiment of the present application.The method that the present embodiment is provided can be applied
In set top box, it can also apply in the set top box of pattern of fusion gateway.Herein below is to apply on the machine top of pattern of fusion gateway
Exemplified by box.
In step s 201, send IP address and obtain instruction to router.
Pattern of fusion gateway is in start, and set top box and router start simultaneously at startup, but due to road in start-up course
More complicated, it is necessary to which the program started is more by device, therefore, the startup of router is slower than set top box.Sent after set top box startup
IP address obtains instruction into router, and the IP address that set top box sends preset times obtains instruction, and preset times are set to one
Secondary or Quadratic Optimum, similarly, can also send IP address acquisition instruction according to cycle time in preset time.Set top box exists
It is to get IP by DHCP processes that IP address is sent after start and obtains instruction to the main purpose of router.
DHCP processes issue IP address by DHCP protocol, are mainly distributed automatically to internal network or Internet service provider
IP address, therefore, just IP address can be distributed after the completion of the DHCP process initiations in router for set top box automatically.
In step S202, if not getting router in preset time obtains the IP for instructing distribution according to IP address
Address, then detect that the dynamic host configuration protocol DHCP process initiation that router is sent completes information.
If with not getting the IP that router is distributed according to IP address acquisition instruction for set top box yet in preset time
Location, illustrates that the DHCP processes of now router are also not actuated and completes, if this set-top box continues to send IP address acquisition instruction,
When send three times after, set top box just abandon obtain IP address, or often obtain a cycle time double, so as to cause set top box
Can not get IP address or obtain IP address time it is longer, therefore, in the embodiment of the present application, when in preset time not
When getting IP address, set top box starts to detect that the DHCP process initiations that router is sent complete information.
By detecting that DHCP process initiations complete information, it may be determined that DHCP processes in router whether start completion, from
And IP address can be accurately obtained within the very first time after the completion of DHCP process initiations.
In step S203, after the DHCP process initiations completion information that the router is sent is detected, send again
IP address obtains instruction to router, to obtain IP address from router.
If the DHCP process initiations for detecting router transmission complete information, now the DHCP process initiations in router
Complete, IP address can be distributed, so after DHCP process initiations completion information is detected, set top box sends IP address and obtained again
Instruction fetch is into router, and it is set top box distribution IP address router is obtained instruction according to the IP address.
Seen from the above description, in the method that the embodiment of the present application is provided, set top box sends IP address and obtains instruction to road
In device, if being not received by the IP address of router distribution, illustrate that the DHCP processes in router are not actuated and complete, this
Set-top box starts detection router DHCP process initiations and completes information, if detecting the DHCP process initiations of router transmission
Information is completed, then sends IP address again and obtains instruction into router, so as to fast and accurately get IP address.The application
The method that embodiment is provided can effectively prevent set top box from abandoning acquisition after three IP address are continuously acquired, so as to cause set top box
Can not get IP address, in addition, be also prevented from set top box obtain IP address cycle be multiplied after, cause to obtain IP address
Time increases.
Embodiment three
Referring to Fig. 4, the schematic flow sheet of embodiment three provided for the embodiment of the present application.
In step S301, send IP address and obtain instruction to router.
In step s 302, if not getting router in preset time obtains the IP for instructing distribution according to IP address
Address, then trigger the detection procedure that DHCP process initiations complete information, to detect that the DHCP process initiations that router is sent are completed
Information.
If set top box does not get the IP address of router distribution, set top box triggering router in preset time
DHCP process initiations complete the detection procedure of information.Start after the detection procedure that DHCP process initiations complete information, set top box is opened
Begin detection router DHCP process initiation completion information, until the DHCP process initiations for detecting router transmission complete information.
The detection procedure that DHCP process initiations complete information can be specifically that reading DHCP process initiations are complete from memory
Into the relative program of infomation detection process, and perform described program.Set top box main chip captures router hair according to said procedure
The DHCP process initiations sent complete information;Or, set top box main chip is built after IP address is not received by according to pre-set programs
Vertical DHCP process initiations complete infomation detection process.
In step S303, after the DHCP process initiations for detecting router transmission complete information, IP is sent again
Location obtains instruction to router, to obtain IP address from router.
Seen from the above description, in the method that the embodiment of the present application is provided, when not getting IP address in preset time,
Start DHCP process initiations and complete the detection procedure of information, so as to detect that router DHCP process initiations complete information, if inspection
The information is measured, then sends IP address again and obtains instruction to router, so that DHCP process initiations in the router are completed
Quick obtaining IP address afterwards, compared with prior art for, the node for catching DHCP process initiations to complete reduces repeatedly invalid IP
Address acquisition procedure, and reduce prolonged wait.
Example IV
It is corresponding with above method embodiment, present invention also provides a kind of device for configuring IP address, referring to Fig. 5, be
A kind of structural representation of the device for configuration IP address that the embodiment of the present application is provided, the device includes:DHCP process detection moulds
Block, DHCP process initiations complete information sending module, IP address and obtain command reception module and IP address configuration module, wherein:
DHCP process detection modules, for detect dynamic host configuration protocol DHCP process whether start completion;
DHCP process initiations complete information sending module, if completed for DHCP process initiations, send DHCP processes
Start completion information is to set top box;
IP address obtains command reception module, and completing information according to the DHCP process initiations for receiving set up box sends
IP address obtain instruction;
IP address configuration module, is set top box configuration IP address for obtaining instruction according to IP address.
Seen from the above description, the device for obtaining IP address obtains instruction from configuration IP address without repeatedly sending IP address
Device in obtain IP address so that abandoned when avoiding repeatedly obtaining failed obtain IP address, lead to not with getting IP
The problem of location;Meanwhile, the growth due to obtaining the cycle is also avoided, causes the stand-by period the problem of increase.
Embodiment five
It is corresponding with above method embodiment, present invention also provides a kind of device for obtaining IP address, referring to Fig. 6, be
The apparatus structure schematic diagram for a kind of acquisition IP address that the embodiment of the present application is provided, as shown in fig. 6, obtaining the device bag of IP address
Include the first IP address and obtain instruction sending module, the first IP address acquisition module, DHCP process initiations completion information detecting module
And second IP address obtain instruction sending module, wherein:
First IP address obtains instruction sending module, and instruction is obtained to router for sending IP address;
First IP address acquisition module, the IP address of instruction distribution is obtained for obtaining router according to IP address;
DHCP process initiations complete information detecting module, if not getting router for the first IP address acquisition module
The IP address of instruction distribution is obtained according to IP address, then detects the dynamic host configuration protocol DHCP process initiation that router is sent
Complete information;
Second IP address obtains instruction sending module, and information detecting module detection is completed for router DHCP process initiations
Completed to the DHCP process initiations that router is sent after information, set top box sends IP address acquisition and instructed to router again, with
IP address is obtained from router.
The embodiment of the present application also provides a kind of pattern of fusion gateway, including the device of configuration IP address that provides of example IV with
The device for the acquisition IP address that embodiment five is provided.
The embodiment of the present application also provides a kind of pattern of fusion gateway, including:Router master chip, set top box main chip and storage
Device, wherein:
Memory is used for store program codes;Router master chip is used to read the program code in memory, and performs
The method that embodiment one is provided;Set top box main chip is used to read the program code in memory, and performs embodiment two or real
The method that the offer of example three is provided.
Those skilled in the art will readily occur to its of the present invention after the disclosure that specification and practice are invented here is considered
Its embodiment.The application be intended to the present invention any modification, purposes or adaptations, these modifications, purposes or
Person's adaptations follow the general principle of the present invention and including undocumented common knowledge in the art of the invention
Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only limited by appended claim.
Claims (9)
1. a kind of method for configuring IP address, it is characterised in that including:
Detect dynamic host configuration protocol DHCP process whether start completion;
If the DHCP process initiations are completed, send DHCP process initiations and complete information to set top box;
The IP address that receiving set up box completes information according to the DHCP process initiations and sent, which is obtained, to be instructed;
It is set top box configuration IP address to obtain instruction according to the IP address.
2. according to the method described in claim 1, it is characterised in that the transmission DHCP process initiations complete information to machine top
Box, including:
Address resolution protocol arp messages are sent to set top box, wherein, the arp messages carry the DHCP process initiations and completed
Information;
The IP address that the receiving set up box completes information according to the DHCP process initiations and sent, which is obtained, to be instructed, including:
The IP address that receiving set up box is sent according to the arp messages obtains instruction.
3. a kind of method for obtaining IP address, it is characterised in that including:
Send IP address and obtain instruction to router;
If not getting the router in preset time obtains the IP address for instructing distribution according to the IP address, examine
Survey the dynamic host configuration protocol DHCP process initiation completion information that the router is sent;
After the DHCP process initiations completion information that the router is sent is detected, IP address is sent again and obtains instruction to road
By device, to obtain IP address from router.
4. according to the method described in claim 1, it is characterised in that the DHCP process initiations that the detection router is sent are completed
Information, including:
The detection procedure that the DHCP process initiations complete information is triggered, to detect that the DHCP process initiations that router is sent are completed
Information.
5. a kind of device for configuring IP address, it is characterised in that complete letter including DHCP process detections module, DHCP process initiations
Cease sending module, IP address and obtain command reception module and IP address configuration module, wherein:
The DHCP process detections module, for detect dynamic host configuration protocol DHCP process whether start completion;
The DHCP process initiations complete information sending module, if completed for the DHCP process initiations, send DHCP
Process initiation completes information to set top box;
The IP address obtains command reception module, and completing information according to the DHCP process initiations for receiving set up box sends
IP address obtain instruction;
The IP address configuration module, is set top box configuration IP address for obtaining instruction according to the IP address.
6. device according to claim 5, it is characterised in that the DHCP process initiations complete information sending module, bag
Include:Arp message sending modules;
The arp messages sending module, for sending address resolution protocol arp messages to set top box, wherein, the arp messages
Carry the DHCP process initiations and complete information.
7. a kind of device for obtaining IP address, it is characterised in that including:First IP address obtains instruction sending module, the first IP
Address acquisition module, DHCP process initiations complete information detecting module and the second IP address obtains instruction sending module, wherein:
First IP address obtains instruction sending module, and instruction is obtained to router for sending IP address;
The first IP address acquisition module, is obtained with instructing the IP distributed for obtaining the router according to the IP address
Location;
The DHCP process initiations complete information detecting module, if not getting the road for the first IP address acquisition module
The IP address for instructing distribution is obtained according to the IP address by device, then detects the dynamic host configuration protocol DHCP that router is sent
Process initiation completes information;
Second IP address obtains instruction sending module, and completing information detecting module for the DHCP process initiations detects
The DHCP process initiations that the router is sent are completed after information, and IP address is sent again and obtains instruction to router, with from road
IP address is obtained in device.
8. a kind of pattern of fusion gateway, it is characterised in that device including the configuration IP address as described in claim 5-6 is any and
The device of acquisition IP address described in claim 7.
9. a kind of pattern of fusion gateway, it is characterised in that including:Router master chip, set top box main chip and memory, wherein:
The memory, for store program codes;
The router master chip, for reading the program code in the memory, and perform claim requires that 1-2 is any described
Method;
The set top box main chip, for reading the program code in the memory, and perform claim requires that 3-4 is any described
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710440803.2A CN107332941A (en) | 2017-06-13 | 2017-06-13 | A kind of method, device and pattern of fusion gateway for configuring IP address, obtaining IP address |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710440803.2A CN107332941A (en) | 2017-06-13 | 2017-06-13 | A kind of method, device and pattern of fusion gateway for configuring IP address, obtaining IP address |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107332941A true CN107332941A (en) | 2017-11-07 |
Family
ID=60195530
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710440803.2A Pending CN107332941A (en) | 2017-06-13 | 2017-06-13 | A kind of method, device and pattern of fusion gateway for configuring IP address, obtaining IP address |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107332941A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108810611A (en) * | 2018-05-31 | 2018-11-13 | 烽火通信科技股份有限公司 | The control system and method for Multimedia Fusion terminal start-up course |
CN112423128A (en) * | 2019-08-21 | 2021-02-26 | 青岛海信宽带多媒体技术有限公司 | Starting method and convergence gateway |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1582421A (en) * | 2001-10-30 | 2005-02-16 | 国际商业机器公司 | Computer implemented method and system for controlling use of digitally encoded products |
CN101286909A (en) * | 2008-06-10 | 2008-10-15 | 华中科技大学 | Method of automatically constructing wireless distributed system |
CN101335652A (en) * | 2007-06-29 | 2008-12-31 | 华为技术有限公司 | Status detection method, apparatus and system of dynamic host configuring protocol |
CN103152218A (en) * | 2013-01-30 | 2013-06-12 | 北京奇虎科技有限公司 | Method and device for inspecting and restoring computer network state |
CN104683188A (en) * | 2015-03-23 | 2015-06-03 | 太仓市同维电子有限公司 | Method for quickly detecting communication of IP channel of household router |
CN105847465A (en) * | 2016-06-07 | 2016-08-10 | 武汉虹信通信技术有限责任公司 | Network connection monitoring method and system for DHCP (dynamic host configuration protocol) |
CN105847022A (en) * | 2015-01-14 | 2016-08-10 | 海信集团有限公司 | Network configuration methods and system of local area network of power line communication (PLC) |
CN106303753A (en) * | 2016-08-04 | 2017-01-04 | 青岛海信电器股份有限公司 | Play the method and device of Internet video |
-
2017
- 2017-06-13 CN CN201710440803.2A patent/CN107332941A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1582421A (en) * | 2001-10-30 | 2005-02-16 | 国际商业机器公司 | Computer implemented method and system for controlling use of digitally encoded products |
CN101335652A (en) * | 2007-06-29 | 2008-12-31 | 华为技术有限公司 | Status detection method, apparatus and system of dynamic host configuring protocol |
CN101286909A (en) * | 2008-06-10 | 2008-10-15 | 华中科技大学 | Method of automatically constructing wireless distributed system |
CN103152218A (en) * | 2013-01-30 | 2013-06-12 | 北京奇虎科技有限公司 | Method and device for inspecting and restoring computer network state |
CN105847022A (en) * | 2015-01-14 | 2016-08-10 | 海信集团有限公司 | Network configuration methods and system of local area network of power line communication (PLC) |
CN104683188A (en) * | 2015-03-23 | 2015-06-03 | 太仓市同维电子有限公司 | Method for quickly detecting communication of IP channel of household router |
CN105847465A (en) * | 2016-06-07 | 2016-08-10 | 武汉虹信通信技术有限责任公司 | Network connection monitoring method and system for DHCP (dynamic host configuration protocol) |
CN106303753A (en) * | 2016-08-04 | 2017-01-04 | 青岛海信电器股份有限公司 | Play the method and device of Internet video |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108810611A (en) * | 2018-05-31 | 2018-11-13 | 烽火通信科技股份有限公司 | The control system and method for Multimedia Fusion terminal start-up course |
CN112423128A (en) * | 2019-08-21 | 2021-02-26 | 青岛海信宽带多媒体技术有限公司 | Starting method and convergence gateway |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2427894C2 (en) | Detection of network nodes and routed addresses | |
KR100977176B1 (en) | Relay apparatus and method for connecting client device with server | |
CN107070691A (en) | Docker containers across host communication method and system | |
CN103312715B (en) | A kind of home network system architecture of web oriented service | |
CN109714221B (en) | Method, device and system for determining network data packet | |
US11343317B2 (en) | Data transmission method and device | |
JPH1155318A (en) | Mobile terminal and method for controlling the same | |
WO2019165775A1 (en) | Local area network equipment searching method and searching system | |
CN104639385B (en) | Detect the method and apparatus of L2VPN network user's side interface connectivity | |
CN113595897B (en) | Path detection method and device | |
CN109039518B (en) | The ntp server address intelligent management of Android television system | |
CN105141449A (en) | Addition method and device for monitoring configuration | |
CN112929419B (en) | Data packet transmission method and device, electronic equipment and readable storage medium | |
CN111614505B (en) | Message processing method and gateway equipment | |
CN103959827B (en) | Communicator and its control method | |
CN107528919A (en) | The method and device that a kind of lan device is found and driver is installed automatically | |
Evensen et al. | SenseWrap: A service oriented middleware with sensor virtualization and self-configuration | |
CN107332941A (en) | A kind of method, device and pattern of fusion gateway for configuring IP address, obtaining IP address | |
CN102164048B (en) | Data stream optimization device and method for realizing multi-ISP (internet service provider) access in local area network | |
EP2426861B1 (en) | Method and apparatus for detecting ethernet operation, administration and maintenance (oam) | |
US20140301226A1 (en) | Apparatus and method for network monitoring and packet inspection | |
US9385990B2 (en) | Relay server and relay communication system | |
CN106792200A (en) | A kind of Working mode switching method, device and Set Top Box | |
CN105323128A (en) | Method, device and system for connecting front-end device to server | |
JP2008148243A (en) | Communication apparatus, communication system, communication method and communication program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171107 |