CN105743684B - The configuration method and router of router under a kind of ap mode - Google Patents

The configuration method and router of router under a kind of ap mode Download PDF

Info

Publication number
CN105743684B
CN105743684B CN201410767513.5A CN201410767513A CN105743684B CN 105743684 B CN105743684 B CN 105743684B CN 201410767513 A CN201410767513 A CN 201410767513A CN 105743684 B CN105743684 B CN 105743684B
Authority
CN
China
Prior art keywords
router
request message
address
unit
domain name
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.)
Active
Application number
CN201410767513.5A
Other languages
Chinese (zh)
Other versions
CN105743684A (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.)
Hisense Group Co Ltd
Original Assignee
Hisense Group 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 Hisense Group Co Ltd filed Critical Hisense Group Co Ltd
Priority to CN201410767513.5A priority Critical patent/CN105743684B/en
Publication of CN105743684A publication Critical patent/CN105743684A/en
Application granted granted Critical
Publication of CN105743684B publication Critical patent/CN105743684B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present invention provides the configuration method and router of router under a kind of ap mode, can directly configure under ap mode to router, and configuration process is easy.The described method includes: obtaining dns resolution request message, wherein dns resolution request message carries default domain name;According to dns resolution request message, the first IP address of router is obtained;First IP address is sent to user terminal, so that user terminal sends HTTP request message according to the first IP address, to router;The HTTP request message that user terminal is sent is received, and the page is configured according to the Web of the corresponding router of HTTP request message access preset domain name, so that user carries out visual configuration in face of router by Web configuration page.The present invention is suitable for field of communication technology.

Description

The configuration method and router of router under a kind of ap mode
Technical field
The present invention relates to route under field of communication technology more particularly to a kind of access point (Access Point, AP) mode The configuration method and router of device.
Background technique
Improved day by day with network technology, router has obtained widely available.
Current router is typically only capable to carry out parameter configuration under gateway mode, and can not directly satisfy the need under ap mode Parameter configuration is carried out by device.If router is currently at ap mode, user needs to switch to net by physical button Pass mode is configured, and also needs to switch it to back ap mode by physical button again after the completion of configuration.Currently, also there is method straight It connects and router is configured under ap mode, but this method needs to realize by special application software.Therefore, to routing For the manufacturer of device, need to carry out the exploitation of application software, and this undoubtedly will lead to the increase of development cost;To user Speech needs the understanding first installed application software at the terminal, and need that it is certain to have router, configured before being configured Journey is relatively complicated, and configuration process needs the support of network.
Therefore, need to seek method that is a kind of more easy, and can directly being configured in ap mode to router.
Summary of the invention
The embodiment of the present invention provides the configuration method and router of router under a kind of ap mode, existing at least to solve The relatively complicated problem of configuration method configuration process, directly router can be configured under ap mode, and configured Journey is easy.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, providing a kind of configuration method of router under access point ap mode, comprising:
Obtain domain name system DNS analysis request message, wherein the dns resolution request message carries default domain name;
According to the dns resolution request message, the first Internet Protocol IP address of the router is obtained;
First IP address is sent to user terminal, so that the user terminal is according to first IP address, Hypertext transfer protocol HTTP request message is sent to the router;
The HTTP request message that the user terminal is sent is received, and described default according to HTTP request message access The webpage Web of the corresponding router of domain name configures the page, so that user faces the routing by the Web configuration page Device carries out visual configuration.
The configuration method of router under ap mode based on the embodiment of the present invention, router is according to the DNS got The default domain name carried in analysis request message, can obtain the first IP address, and then the first IP address that will acquire is sent To user terminal;After user terminal receives the first IP address, HTTP request can be sent to router according to the first IP address Message;Router, can be according to the corresponding road of HTTP request message access preset domain name after receiving the HTTP request message The page is configured by the Web of device.Finally, user, which configures the page by the Web, to carry out visual configuration to router.One side Face, the configuration method of router, is not related to special application software, so user under ap mode provided in an embodiment of the present invention Without installing application software in terminal;On the other hand, router is matched using configuration method provided in an embodiment of the present invention When setting, user need to only be connected to router by terminal, input default domain name in a browser, return to router to user terminal Router is configured after returning the Web configuration page, without having router certain understanding, does not also need to be concerned about road Any state is in by device.Therefore, compared with existing method for configuring routers, road under ap mode provided in an embodiment of the present invention Directly router can be configured under ap mode by the configuration method of device, and configuration process is easy.
Second aspect provides a kind of router, comprising: first acquisition unit, second acquisition unit, transmission unit, reception Unit and access unit;
The first acquisition unit, for obtaining domain name system DNS analysis request message, wherein the dns resolution request Message carries default domain name;
The second acquisition unit, for according to the dns resolution request message, obtaining the first of the router because of spy Net interconnection protocol IP address;
The transmission unit, for first IP address to be sent to user terminal, so that the user terminal root According to first IP address, Xiang Suoshu router sends hypertext transfer protocol HTTP request message;
The receiving unit, the HTTP request message sent for receiving the user terminal;
The access unit, for accessing the corresponding router of the default domain name according to the HTTP request message Webpage Web configure the page so that user by the Web configuration page in face of the router carry out visual configuration.
Router based on the embodiment of the present invention can disappear according to the dns resolution request that first acquisition unit is got The default domain name carried in breath obtains the first IP address, and then the first IP address that will acquire is sent to user terminal;User After terminal receives the first IP address, the first IP address can be sent to user terminal by transmission unit, and then by user Terminal sends HTTP request message to router according to the first IP address;By receiving unit reception HTTP request message, and by Access unit according to HTTP request message can the corresponding router of access preset domain name Web configure the page.Finally, Yong Hutong Visual configuration can be carried out to router by crossing the Web configuration page.On the one hand, router based on the embodiment of the present invention The process configured is not related to special application software, so user is not necessarily to install application software in terminal;Another party Face, router based on the embodiment of the present invention, user need to only be connected to router by terminal, and input is pre- in a browser If domain name, router is configured after router returns to the Web configuration page to user terminal, without to router There is certain understanding, does not also need to be concerned about what state router is in.Therefore, compared with prior art, real based on the present invention The router for applying example offer, can directly configure router under ap mode, and configuration process is easy.
Detailed description of the invention
Fig. 1 is the configuration method flow diagram one of router under a kind of ap mode provided in an embodiment of the present invention;
Fig. 2 is the configuration method flow diagram two of router under a kind of ap mode provided in an embodiment of the present invention;
Fig. 3 is the configuration method flow diagram three of router under a kind of ap mode provided in an embodiment of the present invention;
Fig. 4 is the configuration method flow diagram four of router under a kind of ap mode provided in an embodiment of the present invention;
Fig. 5 is a kind of router topology schematic diagram one provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram two of router provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram three of router provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
For the ease of clearly describing the technical solution of the embodiment of the present invention, in an embodiment of the present invention, use " the One ", the printed words such as " second " distinguish function and the essentially identical identical entry of effect or similar item, and those skilled in the art can To understand that the printed words such as " first ", " second " are not defined quantity and execution order.
Embodiment one,
The embodiment of the present invention provides a kind of configuration method of router under ap mode, it is specific as shown in Figure 1, comprising:
S101, router obtain domain name system (Domain Name System, DNS) analysis request message, wherein DNS Analysis request message carries default domain name.
S102, router obtain the first Internet Protocol of router according to dns resolution request message The address (Internet Protocol, IP).
First IP address is sent to user terminal by S103, router, so that user terminal is according to the first IP address, to Router sends hypertext transfer protocol (Hypertext Transfer Protocol, HTTP) request message.
S104, router receive the HTTP request message that user terminal is sent, and according to HTTP request message access preset The webpage (Web) of the corresponding router of domain name configures the page, so that user is carried out visually by Web configuration page in face of router Change configuration.
Preferably, as shown in Fig. 2, under ap mode provided in an embodiment of the present invention router configuration method, in router Before obtaining domain name system DNS analysis request message (S101), can also include:
S105, determine whether router is connected to level router.
Specifically, can determine whether router is connected to upper level router by ping order and dhcpc order, this Inventive embodiments are not especially limited this.
S106, if it is determined that the not connected upper level router of router, router is by local area network (the Local Area of router Network, LAN) mouth is set as static schema, and enables dynamic host configuration protocol (Dynamic Host in a static mode Configuration Protocol, DHCP) service.
Wherein, it should be noted that usually when the LAN mouth of router is static schema, DHCP service competence exertion is made With.
S107, router are that user terminal distributes the second IP address by DHCP service, so that user terminal is according to the Two IP address are connected to router.
It should be noted that there is no IP for user terminal when router is in ap mode and not connected upper level router Address, therefore user terminal can not establish connection with router.And router is matched under ap mode provided in an embodiment of the present invention Method is set, by enabling DHCP service, router can be made to pass through DHCP protocol user terminal automatic IP address allocation (i.e. the Two IP address), so that user terminal be made to establish connection according to the IP address (i.e. the second IP address) and router of distribution.
Preferably, as shown in figure 3, under ap mode provided in an embodiment of the present invention in the configuration method of router, on road By device according to dns resolution request message, before the first IP address (S102) for obtaining router, can also include:
S108, router enable DNS service in a static mode.
The mapping relations of first IP address of router and default domain name are added to host file by S109, router.
Then, router obtains the first IP address (S102) of router, specifically can wrap according to dns resolution request message It includes:
S102a, router inquire host file by DNS service according to dns resolution request message, obtain default domain name Corresponding first IP address.
It should be noted that the IP address of router is a specified IP address in router not connected upper level router, That is the first IP address is static ip address.Therefore, it is necessary in advance be added to the mapping relations of the first IP address and default domain name In host file, router could be according to default domain name mapping to the first IP address.
Further, as shown in figure 4, after router determines whether router is connected to upper level router (S105), Can also include:
S110, if it is determined that router has connected level router, the Network card setup of router is promiscuous mode by router.
Then, router obtains dns resolution request message (S101), can specifically include:
S101b1, router grab the data packet by router under promiscuous mode.
S101b2, router parse data packet, if data packet includes dns resolution request message, obtain dns resolution request and disappear Breath.
Wherein, it should be noted that by default, after network interface card receives data packet, network layer can be transferred to be sentenced It is disconnected, the data packet for issuing the machine is only passed to upper procedure, and other data packets abandon without exception.And under promiscuous mode, then All data packets by network interface card, the data packet including not being intended for the machine can be received.Therefore, the embodiment of the present invention pass through by The network interface card of router is promiscuous mode, can grab the data packet by router.
It should be noted that upper level router can be user terminal and routing when router is connected to upper level router Device distributes IP address, but user terminal and router not yet establish connection, i.e. user terminal sends message without normal direction router.Cause This, the configuration method of router under ap mode provided in an embodiment of the present invention in router parsing data packet, gets DNS solution After analysing request message, the IP address (i.e. the first IP address) of router can be replied to user terminal, so that user terminal is logical It crosses the first IP address and router establishes connection, and then send HTTP request message from user terminal to router, then by routing Device receives HTTP request message, and configures the page according to the Web of the corresponding router of HTTP request message access preset domain name, with So that user configures configuration of the page completion to router by Web.
It should be noted that the above-mentioned implementation process of the embodiment of the present invention is to be completed by router on backstage, to user Speech is sightless.Router is configured using the configuration method of router under ap mode provided in an embodiment of the present invention When, user need to only be connected to router by user terminal, default domain name be inputted in a browser, to router to user terminal After returning to the Web configuration page visual configuration can be carried out to router.Without installing special answer on the subscriber terminal again With software, therefore for a user, the configuration method operation difficulty of router is lower under ap mode provided in an embodiment of the present invention, Configuration process is easy.In addition, for the manufacturer of router, due to without special application software of redeveloping, energy Enough reduce development cost.
Under ap mode provided in an embodiment of the present invention in the configuration method of router, disappear firstly, obtaining dns resolution request Breath, wherein dns resolution request message carries default domain name;Then, according to dns resolution request message, the first of router is obtained IP address, and the first IP address is sent to user terminal, so that user terminal is sent according to the first IP address to router HTTP request message;Finally, receiving the HTTP request message that user terminal is sent, and according to HTTP request message access preset domain The Web of the corresponding router of name configures the page, so that user carries out visual configuration in face of router by Web configuration page.
The configuration method of router under ap mode based on the embodiment of the present invention, router is according to the DNS got The default domain name carried in analysis request message, can obtain the first IP address, and then the first IP address that will acquire is sent To user terminal;After user terminal receives the first IP address, HTTP request can be sent to router according to the first IP address Message;Router, can be according to the corresponding road of HTTP request message access preset domain name after receiving the HTTP request message The page is configured by the Web of device.Finally, user, which configures the page by the Web, to carry out visual configuration to router.One side Face, the configuration method of router, is not related to special application software, so user under ap mode provided in an embodiment of the present invention Without installing application software in terminal;On the other hand, router is matched using configuration method provided in an embodiment of the present invention When setting, user need to only be connected to router by terminal, input default domain name in a browser, return to router to user terminal Router is configured after returning the Web configuration page, without having router certain understanding, does not also need to be concerned about road Any state is in by device.Therefore, compared with existing method for configuring routers, road under ap mode provided in an embodiment of the present invention Directly router can be configured under ap mode by the configuration method of device, and configuration process is easy.
Embodiment two,
The embodiment of the present invention provides a kind of router 50, as shown in Figure 5, comprising: first acquisition unit 501, second obtains Unit 502, transmission unit 503, receiving unit 504 and access unit 505.
Wherein, first acquisition unit 501, for obtaining dns resolution request message, wherein dns resolution request message carries Default domain name.
Second acquisition unit 502, for obtaining the first IP address of router 50 according to dns resolution request message.
Transmission unit 503, for the first IP address to be sent to user terminal, so that user terminal is according to the first IP Location sends HTTP request message to router 50.
Receiving unit 504, for receiving the HTTP request message of user terminal transmission.
Access unit 505, for the Web configuration page according to the corresponding router 50 of HTTP request message access preset domain name Face, so that user carries out visual configuration in face of router 50 by Web configuration page.
Preferably, as shown in fig. 6, router 50 provided in an embodiment of the present invention can also comprise determining that unit 506, Setting unit 507 enables unit 508 and allocation unit 509.
Wherein it is determined that unit 506, for determining road before first acquisition unit 501 obtains dns resolution request message Whether upper level router is connected to by device 50.
Setting unit 507 is used for if it is determined that unit 506 determines the not connected upper level router of router 50, by router 50 LAN mouth be set as static schema.
Unit 508 is enabled, for enabling DHCP service in a static mode.
Allocation unit 509, for being that user terminal distributes the second IP address by DHCP service, so that user terminal root Router 50 is connected to according to the second IP address.
Specifically, determination unit 506 specifically can be used for: determining router 50 by ping order and dhcpc order Whether level router is connected to.
Further, as shown in fig. 7, router provided in an embodiment of the present invention 50 can also include: adding unit 510.
Unit 508 is enabled, is also used to obtain router 50 according to dns resolution request message in second acquisition unit 502 Before first Internet Protocol IP address, DNS service is enabled in a static mode;
Adding unit 510, for the mapping relations of the first IP address of router 50 and default domain name to be added to host File.
Then, second acquisition unit 502 specifically can be used for:
According to dns resolution request message, host file is inquired by DNS service, obtains default corresponding first IP of domain name Address.
Preferably, in router 50 provided in an embodiment of the present invention, setting unit 507 be can be also used for: single determining Member 506 determines whether router 50 is connected to after level router, however, it is determined that unit 506 determines that router 50 has connected higher level The Network card setup of router 50 is promiscuous mode by router.
Then, first acquisition unit 501 specifically can be used for:
The data packet of router 50 is passed through in crawl under promiscuous mode.
Data packet is parsed, if data packet includes dns resolution request message, obtains dns resolution request message.
Specifically, the method configured to router 50 provided in an embodiment of the present invention can refer to retouching for embodiment one It states, the embodiment of the present invention repeats no more this.
In router provided in an embodiment of the present invention, firstly, obtaining domain name system DNS analysis request by first acquisition unit Message, wherein dns resolution request message carries default domain name;Then, by second acquisition unit according to dns resolution request message, The first Internet Protocol IP address of router is obtained, and the first IP address is sent to user terminal by transmission unit, So that user terminal sends hypertext transfer protocol HTTP request message according to the first IP address, to router, and by receiving Unit receives the HTTP request message that user terminal is sent;Finally, by access unit according to HTTP request message access preset domain The webpage Web of the corresponding router of name configures the page, matches so that user carries out visualization in face of router by Web configuration page It sets.
Router based on the embodiment of the present invention can disappear according to the dns resolution request that first acquisition unit is got The default domain name carried in breath obtains the first IP address, and then the first IP address that will acquire is sent to user terminal;User After terminal receives the first IP address, the first IP address can be sent to user terminal by transmission unit, and then by user Terminal sends HTTP request message to router according to the first IP address;By receiving unit reception HTTP request message, and by Access unit according to HTTP request message can the corresponding router of access preset domain name Web configure the page.Finally, Yong Hutong Visual configuration can be carried out to router by crossing the Web configuration page.On the one hand, router based on the embodiment of the present invention The process configured is not related to special application software, so user is not necessarily to install application software in terminal;Another party Face, router based on the embodiment of the present invention, user need to only be connected to router by terminal, and input is pre- in a browser If domain name, router is configured after router returns to the Web configuration page to user terminal, without to router There is certain understanding, does not also need to be concerned about what state router is in.Therefore, compared with prior art, real based on the present invention The router for applying example offer, can directly configure router under ap mode, and configuration process is easy.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description, Only the example of the division of the above functional modules, it in practical application, can according to need and by above-mentioned function distribution It is completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, it is described above to complete All or part of function.System, the specific work process of device and unit of foregoing description can be implemented with reference to preceding method Corresponding process in example, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module or The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute Display or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit Indirect coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The all or part of the steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk Etc. the various media that can store program code.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. the configuration method of router under a kind of access point ap mode, which is characterized in that the described method includes:
The method is executed by the router;
Obtain domain name system DNS analysis request message, wherein the dns resolution request message carries default domain name;
According to the dns resolution request message, the first Internet Protocol IP address of the router is obtained;
First IP address is sent to user terminal, so that the user terminal is according to first IP address, to institute It states router and sends hypertext transfer protocol HTTP request message;
The HTTP request message that the user terminal is sent is received, and the default domain name is accessed according to the HTTP request message The webpage Web of the corresponding router configures the page so that user by the Web configuration page in face of the router into Row visual configuration.
2. the method according to claim 1, wherein the acquisition domain name system DNS analysis request message it Before, further includes:
Determine whether the router is connected to level router;
If it is determined that the router is not connected with the upper level router, set static for the local network LAN mouth of the router Mode, and dynamic host configuration protocol DHCP service is enabled under the static schema;
It is that user terminal distributes the second IP address by the DHCP service, so that the user terminal is according to the 2nd IP Address is connected to the router.
3. according to the method described in claim 2, it is characterized in that, obtaining institute according to the dns resolution request message described Before the first Internet Protocol IP address for stating router, further includes:
DNS service is enabled under the static schema;
The mapping relations of first IP address of the router and default domain name are added to host file;
It is described that first Internet Protocol IP address of the router is obtained according to the dns resolution request message, packet It includes:
According to the dns resolution request message, the host file is inquired by the DNS service, obtains the default domain name Corresponding first IP address.
4. according to the method in claim 2 or 3, which is characterized in that whether be connected in the determination router After level router, further includes:
If it is determined that the router has connected the upper level router, it is promiscuous mode by the Network card setup of the router;
The acquisition domain name system DNS analysis request message, specifically includes:
The data packet of the router is passed through in crawl under the promiscuous mode;
The data packet is parsed, if the data packet includes the dns resolution request message, the dns resolution request is obtained and disappears Breath.
5. according to the described in any item methods of claim 2-3, which is characterized in that whether the determining router is connected to higher level Router, comprising:
Determine whether the router is connected to upper level router by ping order and dhcpc order.
6. a kind of router, which is characterized in that the router includes: first acquisition unit, second acquisition unit, sends list Member, receiving unit and access unit;
The first acquisition unit, for obtaining domain name system DNS analysis request message, wherein the dns resolution request message Carry default domain name;
The second acquisition unit, for according to the dns resolution request message, the first internet for obtaining the router to be mutual Join Protocol IP address;
The transmission unit, for first IP address to be sent to user terminal, so that the user terminal is according to institute The first IP address is stated, Xiang Suoshu router sends hypertext transfer protocol HTTP request message;
The receiving unit, the HTTP request message sent for receiving the user terminal;
The access unit, for accessing the net of the corresponding router of the default domain name according to the HTTP request message Page Web configures the page, so that user carries out visual configuration in face of the router by the Web configuration page.
7. router according to claim 6, which is characterized in that the router further include: determination unit, setting are single Member enables unit and allocation unit;
The determination unit, for determining institute before the first acquisition unit obtains domain name system DNS analysis request message State whether router is connected to level router;
The setting unit will be described if determining that the router is not connected with the upper level router for the determination unit The local network LAN mouth of router is set as static schema;
The enabling unit, for enabling dynamic host configuration protocol DHCP service under the static schema;
The allocation unit, for being that user terminal distributes the second IP address by the DHCP service, so that the user Terminal is connected to the router according to second IP address.
8. router according to claim 7, which is characterized in that the router further include: adding unit;
The enabling unit is also used to obtain the routing according to the dns resolution request message in the second acquisition unit Before first Internet Protocol IP address of device, DNS service is enabled under the static schema;
The adding unit, for the mapping relations of the first IP address of the router and default domain name to be added to host text Part;
The second acquisition unit, is specifically used for:
According to the dns resolution request message, the host file is inquired by the DNS service, obtains the default domain name Corresponding first IP address.
9. router according to claim 7 or 8, which is characterized in that
The setting unit is also used to after the determination unit determines whether the router is connected to upper level router, It is to mix by the Network card setup of the router if the determination unit determines that the router has connected the upper level router Mode;
The first acquisition unit, is specifically used for:
The data packet of the router is passed through in crawl under the promiscuous mode;
The data packet is parsed, if the data packet includes the dns resolution request message, the dns resolution request is obtained and disappears Breath.
10. according to the described in any item routers of claim 7-8, which is characterized in that the determination unit is specifically used for:
Determine whether the router is connected to upper level router by ping order and dhcpc order.
CN201410767513.5A 2014-12-12 2014-12-12 The configuration method and router of router under a kind of ap mode Active CN105743684B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410767513.5A CN105743684B (en) 2014-12-12 2014-12-12 The configuration method and router of router under a kind of ap mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410767513.5A CN105743684B (en) 2014-12-12 2014-12-12 The configuration method and router of router under a kind of ap mode

Publications (2)

Publication Number Publication Date
CN105743684A CN105743684A (en) 2016-07-06
CN105743684B true CN105743684B (en) 2019-03-19

Family

ID=56241372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410767513.5A Active CN105743684B (en) 2014-12-12 2014-12-12 The configuration method and router of router under a kind of ap mode

Country Status (1)

Country Link
CN (1) CN105743684B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040426A (en) * 2017-06-09 2017-08-11 郑州云海信息技术有限公司 The method and apparatus that a kind of equipment is accessed and managed
CN107483652A (en) * 2017-08-18 2017-12-15 惠州高盛达科技有限公司 The method of router its homepage of domain name access under wireless bridging pattern
CN109951307B (en) * 2017-12-21 2022-11-15 深圳Tcl新技术有限公司 Router configuration method and device and storage medium
CN110248364B (en) * 2019-06-27 2020-08-14 杭州博联智能科技股份有限公司 IOT equipment network distribution method, device, equipment and medium
CN112202675B (en) * 2020-10-10 2022-04-15 四川天邑康和通信股份有限公司 Method for realizing access to router by using domain name based on Linux kernel DNS
CN112217917A (en) * 2020-10-12 2021-01-12 深圳市友华软件科技有限公司 IP obtaining method and device for mounting terminal in bridge mode
CN113453251A (en) * 2021-05-25 2021-09-28 新华三技术有限公司成都分公司 Wireless network equipment and networking method
CN113518134B (en) * 2021-07-09 2022-06-17 烽火通信科技股份有限公司 Method and device for accessing main router through domain name under MESH networking
CN115002935B (en) * 2022-08-03 2023-05-09 深圳市亿联无限科技有限公司 Method and system for realizing interaction between router and mobile phone APP

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004120125A (en) * 2002-09-24 2004-04-15 Yamaha Corp Router and method for processing router setting information
CN103227844A (en) * 2013-04-19 2013-07-31 深圳市吉祥腾达科技有限公司 Method and device for automatically solving secondary route IP conflict in DHCP
CN103248664A (en) * 2012-02-14 2013-08-14 中兴通讯股份有限公司 Processing method for domain name information, wireless router and client
CN103327137A (en) * 2013-07-02 2013-09-25 深圳市共进电子股份有限公司 Router domain name access method
CN103716189A (en) * 2013-12-24 2014-04-09 深圳市共进电子股份有限公司 Configuration management method for local area network terminal gateway equipment
CN103973577A (en) * 2013-01-31 2014-08-06 上海斐讯数据通信技术有限公司 Automatic set-up method of router
CN104066164A (en) * 2014-05-30 2014-09-24 深圳市吉祥腾达科技有限公司 Method and device for switching AP working modes through detecting WiFi signals

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100524071B1 (en) * 2003-06-09 2005-10-26 삼성전자주식회사 DNS server address advertisement method, and routing method thereby

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004120125A (en) * 2002-09-24 2004-04-15 Yamaha Corp Router and method for processing router setting information
CN103248664A (en) * 2012-02-14 2013-08-14 中兴通讯股份有限公司 Processing method for domain name information, wireless router and client
CN103973577A (en) * 2013-01-31 2014-08-06 上海斐讯数据通信技术有限公司 Automatic set-up method of router
CN103227844A (en) * 2013-04-19 2013-07-31 深圳市吉祥腾达科技有限公司 Method and device for automatically solving secondary route IP conflict in DHCP
CN103327137A (en) * 2013-07-02 2013-09-25 深圳市共进电子股份有限公司 Router domain name access method
CN103716189A (en) * 2013-12-24 2014-04-09 深圳市共进电子股份有限公司 Configuration management method for local area network terminal gateway equipment
CN104066164A (en) * 2014-05-30 2014-09-24 深圳市吉祥腾达科技有限公司 Method and device for switching AP working modes through detecting WiFi signals

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
【花生棒开箱活动】用花生棒实现80端口访问小米路由了;毛毛卷;《http://bbs.oray.com/thread-120013-1-1.html》;20140609;第1段 *
NAT-DDNS内网穿透动态域名解析技术;花生壳;《https://hsk.oray.com/nat-ddns.html》;20140923;"什么是NAT-DDNS技术"-"什么是花生棒?" *

Also Published As

Publication number Publication date
CN105743684A (en) 2016-07-06

Similar Documents

Publication Publication Date Title
CN105743684B (en) The configuration method and router of router under a kind of ap mode
CN103858387B (en) Architecture for the household IP Service delivery of virtualization
CN105637805B (en) Enhance mobile alternate channel to solve the node failure in wired networks
JP6085891B2 (en) Access control method and system, and access point
CN102845123B (en) Virtual private cloud connection method and tunnel proxy server
CN105359458B (en) Network device communications method and the network equipment
CN102710811B (en) Realize method and the switch of dhcp address safety distribution
CN103763407A (en) Method for achieving address resolution protocol proxy through two-layer virtual local area network and local area network system
CN102025792A (en) Router and IP address setting method thereof
CN106888130B (en) The setting method and device of router
CN102685094A (en) Reverse proxy system and method
CN106302230B (en) A kind of data transmission method and device
CN103262502B (en) The DNS proxy service of multi-core platform
CN108156274A (en) Equipment is made to obtain the method and device of domain name mapping result in a kind of VPN network
CN110392123A (en) The methods, devices and systems of detection outlet IP address
CN103401954B (en) The implementation method of virtual DHCP
CN103795581A (en) Address processing method and address processing device
CN103973753B (en) A kind of method and apparatus of data processing
CN102647432A (en) Authentication information transmission method, device and authentication middleware
CN102025641B (en) Message filtering method and exchange equipment
CN103095705A (en) Method and device of accessing main engine of isolation region in local area network
CN105119934A (en) Deployment method of virtual private network branch, headquarter equipment and branch equipment
CN102891900B (en) A kind of method, apparatus and system of the domain name mapping in flow unloading
CN103516820B (en) Port mapping method and device based on MAC Address
CN102957755B (en) A kind of address resolution method, device and information transferring method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant