CN103701673A - LAN (Local Area Network) equipment query method, device and router - Google Patents
LAN (Local Area Network) equipment query method, device and router Download PDFInfo
- Publication number
- CN103701673A CN103701673A CN201310671621.8A CN201310671621A CN103701673A CN 103701673 A CN103701673 A CN 103701673A CN 201310671621 A CN201310671621 A CN 201310671621A CN 103701673 A CN103701673 A CN 103701673A
- Authority
- CN
- China
- Prior art keywords
- equipment
- lan
- area network
- local area
- log
- 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
Images
Abstract
The invention discloses an LAN (Local Area Network) equipment query method, an LAN equipment query device and a router. The method comprises the following steps: receiving a query request transmitted by the first equipment, carrying query conditions and used for querying a set of equipment in the LAN; querying a device matching the query condition from locally-stored registration information of registered devices in the LAN according to the query condition; transmitting the registration information of the device matching the query condition to the first device.
Description
Technical field
The disclosure relates to LAN Technique field, relates in particular to a kind of lan device querying method, device and router.
Background technology
In the local area network (LAN) of family office, smart machine is more and more, when in local area network (LAN), two points need to be communicated by letter (such as mobile phone content, to project TV first-class), wherein an equipment can be sent out a broadcast, tell equipment all in local area network (LAN), oneself has added this local area network (LAN), each equipment receives that after this broadcast, the equipment records that this newly will be added is got off.Own online in order to guarantee that the other side knows, can send such group with certain frequency and wrap to declare existing of oneself.
Like this, the equipment of access to LAN need to send a large amount of group bags, and in order to keep connection status, each equipment will be declared the existence of oneself by transmission group bag at set intervals, compares like this complexity, and efficiency is also lower.
Summary of the invention
Disclosure embodiment provides a kind of lan device querying method, device and router, for realizing the equipment of simply finding efficiently local area network (LAN).
On the one hand, the disclosure provides a kind of lan device querying method, it is characterized in that, comprising:
The inquiry request of equipment in the inquiry local area network (LAN) that carries querying condition that first equipment that receives sends;
According to inquiring about the equipment that meets described querying condition the log-on message of described querying condition registered device in the local area network (LAN) of this locality storage;
The described log-on message that meets the equipment of querying condition is sent to described the first equipment.
Some beneficial effects of the present embodiment can comprise: during equipment access local area network (LAN), only send a log-on message to router, do not need just to send at set intervals the existence that a group bag is declared self, between equipment and router, transmission group bag quantity reduces, saved transfer resource, and saved the disposal ability of equipment and router, reduced the energy consumption of equipment and router.In addition, during equipment in inquiry in local area network (LAN), only need to, according to the log-on message of the registered device of storing in the querying condition querying router of setting in router, just can obtain fast the equipment that will inquire about, reduce the time delay of equipment query, improved device discovery efficiency.
Described querying condition comprises: all devices in inquiry local area network (LAN); Or the interior equipment of the local area network (LAN) of specific radio connection standard is supported in inquiry; Or, inquire about the equipment of appointment in described local area network (LAN).
According to inquiring about the equipment that meets described querying condition the log-on message of described querying condition registered device in the local area network (LAN) of this locality storage, comprising: whole log-on messages of inquiring about and obtaining registered device in the local area network (LAN) of this locality storage; Or, in the local area network (LAN) in this locality storage, the log-on message of registered device, search the equipment of supporting specific radio connection standard; Or, in the local area network (LAN) in this locality storage, the log-on message of registered device, search the equipment of appointment.
Some beneficial effects of the present embodiment can comprise: during equipment in inquiry in local area network (LAN), only need to be according to the log-on message of the registered device of storing in the querying condition querying router of setting in router, just can obtain fast the equipment that will inquire about, reduce the time delay of equipment query, improved device discovery efficiency.
Described method also comprises:
Receive the log-on message of the equipment transmission of the described local area network (LAN) of access;
The described log-on message receiving is stored in this locality.
Some beneficial effects of the present embodiment can comprise: during equipment access local area network (LAN), only send a log-on message to router, do not need just to send at set intervals the existence that a group bag is declared self, between equipment and router, transmission group bag quantity reduces, just saved transfer resource, and saved the disposal ability of equipment and router, reduced the energy consumption of equipment and router.
The log-on message that receives the equipment transmission of the described local area network (LAN) of access, comprising:
By http service interface, receive the log-on message of the equipment transmission of the described local area network (LAN) of access.
The described log-on message that meets the equipment of querying condition is sent to described the first equipment, comprising:
By http service interface, the described log-on message that meets the equipment of querying condition is sent to described the first equipment.
Some beneficial effects of the present embodiment can comprise: by http service interface is set on router, provide the service that receives log-on message and send Query Result, transmission group bag quantity between minimizing equipment and router, just saved transfer resource, and saved the disposal ability of equipment and router, reduced the energy consumption of equipment and router.In addition, can quick search to the equipment in local area network (LAN), reduced the time delay of equipment query, improved device discovery efficiency.
Described method also comprises:
When registered equipment and described local area network (LAN) disconnect, in the local area network (LAN) of this locality storage, the log-on message of registered device, delete the log-on message of the equipment disconnecting with described local area network (LAN).
Some beneficial effects of the present embodiment can comprise: by deleting the log-on message of the equipment disconnecting with local area network (LAN), guarantee that the equipment that can inquire is all the current just equipment in local area network (LAN) in router, improve the accuracy of equipment query, and the accuracy of equipment connection.
Described log-on message comprises:
The MAC Address of described equipment, IP address, device name, the wireless connections standard of supporting and access interface information.
Some beneficial effects of the present embodiment can comprise: during equipment access local area network (LAN), by above-mentioned information is sent to router, make other equipment to find exactly the equipment that will connect according to these information.
On the other hand, the disclosure provides a kind of lan device inquiry unit, comprising:
Receiver module, for receiving the inquiry request of equipment in the inquiry local area network (LAN) that carries querying condition that the first equipment sends;
Enquiry module, inquires about for the log-on message of registered device in the local area network (LAN) of storing from this locality according to described querying condition the equipment that meets described querying condition;
Sending module, for sending to described the first equipment by the described log-on message that meets the equipment of querying condition.
Described querying condition comprises: all devices in inquiry local area network (LAN); Or the interior equipment of the local area network (LAN) of specific radio connection standard is supported in inquiry; Or, inquire about the equipment of appointment in described local area network (LAN);
Described enquiry module, for inquiring about and obtain whole log-on messages of registered device in the local area network (LAN) of this locality storage; Or, in the local area network (LAN) in this locality storage, the log-on message of registered device, search the equipment of supporting specific radio connection standard; Or, in the local area network (LAN) in this locality storage, the log-on message of registered device, search the equipment of appointment.
Described device also comprises: memory module, described receiver module, the log-on message also sending for receiving the equipment of the described local area network (LAN) of access; Described memory module, for storing the described log-on message receiving in this locality.
Described receiver module, the log-on message sending for receive the equipment of the described local area network (LAN) of access by http service interface.
Described sending module, for sending to described the first equipment by http service interface by the described log-on message that meets the equipment of querying condition.
Described memory module for when registered equipment and described local area network (LAN) disconnect, is deleted the log-on message of the equipment disconnecting with described local area network (LAN) in the local area network (LAN) of this locality storage the log-on message of registered device.
On the other hand, the disclosure provides a kind of router, include memory, and one or more than one program, the above program of one of them or one is stored in memory, and is configured to carry out described one or above program package containing for carrying out the instruction of following operation by one or above processor:
The inquiry request of equipment in the inquiry local area network (LAN) that carries querying condition that first equipment that receives sends;
According to inquiring about the equipment that meets described querying condition the log-on message of described querying condition registered device in the local area network (LAN) of this locality storage;
The described log-on message that meets the equipment of querying condition is sent to described the first equipment.
Should be understood that, it is only exemplary that above general description and details are hereinafter described, and can not limit the disclosure.
Below by drawings and Examples, technical scheme of the present disclosure is described in further detail.
Accompanying drawing explanation
Accompanying drawing is used to provide further understanding of the disclosure, and forms a part for specification, is used from the explanation disclosure with embodiment mono-of the present disclosure, does not form restriction of the present disclosure.In the accompanying drawings:
Fig. 1 is the exemplary process diagram that is applied to the lan device querying method of router;
Fig. 2 is the exemplary process diagram of the reciprocal process between equipment and router;
Fig. 3 is the schematic diagram of display device list on UE1;
Fig. 4 is the exemplary block diagram that is applied to the lan device inquiry unit of router;
Fig. 5 is the exemplary block diagram of router.
By above-mentioned accompanying drawing, the embodiment that the disclosure is clear and definite has been shown, will there is more detailed description hereinafter.These accompanying drawings and text description are not in order to limit the scope of disclosure design by any mode, but by reference to specific embodiment for those skilled in the art illustrate concept of the present disclosure.
Embodiment
For making object of the present disclosure, technical scheme and advantage clearer, below in conjunction with execution mode and accompanying drawing, the disclosure is described in further details.At this, exemplary embodiment of the present disclosure and explanation thereof are used for explaining the disclosure, but not as to restriction of the present disclosure.
Disclosure embodiment provides a kind of lan device querying method, device and router, below in conjunction with accompanying drawing, the disclosure is elaborated.
In one embodiment, as shown in Figure 1, provide a kind of lan device querying method that is applied to router to comprise:
When device A, B, C...... access to LAN, can select to send log-on message to router and register, like this, in router, will store the log-on message of these equipment of registering.When equipment B need to be inquired about other equipment in this local area network (LAN), to router, send the inquiry request with querying condition, router will feed back to this equipment by the facility information that meets querying condition.
Some beneficial effects of the present embodiment can comprise: during equipment access local area network (LAN), only send a log-on message to router, do not need just to send at set intervals the existence that a group bag is declared self, between equipment and router, transmission group bag quantity reduces, saved transfer resource, and saved the disposal ability of equipment and router, reduced the energy consumption of equipment and router.In addition, during equipment in inquiry in local area network (LAN), only need to, according to the log-on message of the registered device of storing in the querying condition querying router of setting in router, just can obtain fast the equipment that will inquire about, reduce the time delay of equipment query, improved device discovery efficiency.
In the present embodiment, log-on message comprises: the MAC Address of equipment, IP address, device name, the wireless connections standard of supporting and access interface information.Wherein, wireless connections standard refers to the COS that this equipment is supported, generally comprises: Wifi display, airplay, the standards such as airkan.During equipment access local area network (LAN), by above-mentioned information is sent to router, make other equipment to find exactly the equipment that will connect according to these information.
In the present embodiment, the method also comprises: the log-on message that receives the equipment transmission of the described local area network (LAN) of access; The described log-on message receiving is stored in this locality.
Some beneficial effects of the present embodiment can comprise: during equipment access local area network (LAN), only send a log-on message to router, do not need just to send at set intervals the existence that a group bag is declared self, between equipment and router, transmission group bag quantity reduces, just saved transfer resource, and saved the disposal ability of equipment and router, reduced the energy consumption of equipment and router.
In step 102, querying condition can comprise following arbitrary condition:
(1) all devices in inquiry local area network (LAN)
For example, equipment B can send request to router the inquiry request of registered all devices in inquiry local area network (LAN), and the log-on message of the registered all devices of router feedback is cached to this locality, like this, when equipment B need to be connected to the device A in local area network (LAN), can directly from the IP address of local equipment A, be connected with port.
In order to improve joint efficiency, equipment B can be initiated one query request to router each a period of time, regularly upgrades the log-on message of all registered equipment in the local local area network (LAN) of storing.Like this, equipment B can know in local area network (LAN), whether to comprise certain equipment accurately and rapidly, thereby can be connected to more rapidly the equipment that will connect.
(2) the interior equipment of local area network (LAN) of specific radio connection standard is supported in inquiry
For example, user wants pushing video to TV, can can send request the equipment of supporting airplay standard in inquiry local area network (LAN) to router by equipment B, router returns to the list of devices of all support airplay standards to equipment B, the log-on message that comprises these equipment in list of devices, is used the user of equipment B can from this list of devices, select to need the equipment connecting to connect.
(3) equipment of appointment in inquiry local area network (LAN)
For example, equipment B once connected device A, so, when equipment B need to be connected to device A again, can directly send request query facility A to router, thereby know that rapidly device A is whether in this local area network (LAN), if device A is in this local area network (LAN), directly from router equipment A current IP address and port, connect.
In step 102, inquire about and obtain whole log-on messages of registered device in the local area network (LAN) of this locality storage; Or, in the local area network (LAN) in this locality storage, the log-on message of registered device, search the equipment of supporting specific radio connection standard; Or, in the local area network (LAN) in this locality storage, the log-on message of registered device, search the equipment of appointment.
Some beneficial effects of the present embodiment can comprise: during equipment in inquiry in local area network (LAN), only need to be according to the log-on message of the registered device of storing in the querying condition querying router of setting in router, just can obtain fast the equipment that will inquire about, reduce the time delay of equipment query, improved device discovery efficiency.
In the present embodiment, router receives the log-on message of the equipment transmission of access to LAN by http service interface; And by http service interface, the log-on message that meets the equipment of querying condition is sent to the first equipment.
For example, the http service that can utilize router to carry arranges a http service interface on router, when an equipment connection enters local area network (LAN), can send to the http service interface of router the http bag that comprises log-on message.The equipment of the initiation inquiry that router also sends Query Result by this http service interface.
Some beneficial effects of the present embodiment can comprise: by http service interface is set on router, provide the service that receives log-on message and send Query Result, transmission group bag quantity between minimizing equipment and router, just saved transfer resource, and saved the disposal ability of equipment and router, reduced the energy consumption of equipment and router.In addition, can quick search to the equipment in local area network (LAN), reduced the time delay of equipment query, improved device discovery efficiency.
In the present embodiment, when registered equipment and local area network (LAN) disconnect, in the local area network (LAN) of this locality storage, the log-on message of registered device, delete the log-on message of the equipment disconnecting with local area network (LAN).
For example, router can detect registered equipment whether still in local area network (LAN) automatically, when certain equipment and local area network (LAN) disconnect, deletes the log-on message of this equipment in the storage of this locality.Or, when equipment and local area network (LAN) disconnect number, from trend router, send a message, in order to notify this equipment of router to leave, like this, router can be deleted the log-on message of this equipment from the storage of this locality.
Some beneficial effects of the present embodiment can comprise: by deleting the log-on message of the equipment disconnecting with local area network (LAN), guarantee that the equipment that can inquire is all the current just equipment in local area network (LAN) in router, improve the accuracy of equipment query, and the accuracy of equipment connection.
Certainly, equipment also can be selected as required to arrange and whether to router, send log-on message.If do not send log-on message, other equipment in local area network (LAN) just cannot be found this equipment.Like this, can improve user's privacy and fail safe.
Below to being specifically described alternately between equipment and router.
As shown in Figure 2, below, the mobile phone UE1 access to LAN LAN1 of take is specifically described the reciprocal process between equipment and router as example:
Table 1
Device name | The wireless connections standard of supporting |
IPAD-1 | airplay |
TVLE-3 | airplay |
TVM-2 | airplay |
MI-3 | airkan |
TVMI-1 | airkan |
MI-5 | airkan |
From the reciprocal process between the said equipment and router, can find out, equipment access local area network (LAN), without sending broadcast, inform adding of all devices oneself in local area network (LAN), also without being maintenance connection status, with regard to transmission group bag, declare at set intervals the existence of oneself, only when initially adding local area network (LAN), to router, send log-on message.For other equipment, also need not receive the information of broadcasting and record other equipment, only when inquiring about other equipment, needs initiate inquiry request to router.Between equipment and equipment, between equipment and router, transmitted data amount reduces, and has saved transfer resource, and has saved the disposal ability of equipment and router, has reduced the energy consumption of equipment and router.
In addition, during equipment in inquiry in local area network (LAN), only need to, according to the log-on message of the registered device of storing in the querying condition querying router of setting in router, just can obtain fast the equipment that will inquire about, reduce the time delay of equipment query, improved device discovery efficiency.
In another embodiment, as shown in Figure 4, provide a kind of lan device inquiry unit 40, comprising:
Sending module 43, for sending to described the first equipment by the described log-on message that meets the equipment of querying condition.
Stating querying condition comprises: all devices in inquiry local area network (LAN); Or the interior equipment of the local area network (LAN) of specific radio connection standard is supported in inquiry; Or, inquire about the equipment of appointment in described local area network (LAN).Enquiry module 42, for inquiring about and obtain whole log-on messages of registered device in the local area network (LAN) of this locality storage; Or, in the local area network (LAN) in this locality storage, the log-on message of registered device, search the equipment of supporting specific radio connection standard; Or, in the local area network (LAN) in this locality storage, the log-on message of registered device, search the equipment of appointment.
This device 40 also comprises: memory module 44.Receiver module 41, the log-on message also sending for receiving the equipment of the described local area network (LAN) of access; Memory module 44, for storing the described log-on message receiving in this locality.
Sending module 43, for sending to described the first equipment by http service interface by the described log-on message that meets the equipment of querying condition.
Fig. 5 is the structural representation of router in disclosure embodiment.This router one 900 can because of configuration or performance is different produces larger difference, can comprise one or more central processing units (central processing units, CPU) 1922(for example, one or more processors) and memory 1932, the storage medium 1930(of one or more storage application programs 1942 or data 1944 one or more mass memory units for example).Wherein, memory 1932 and storage medium 1930 can be of short duration storage or storage lastingly.The program that is stored in storage medium 1930 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in router.Further, central processing unit 1922 can be set to communicate by letter with storage medium 1930, carries out a series of command operatings in storage medium 1930 on router one 900.
Router one 900 can also comprise one or more power supplys 1926, one or more wired or wireless network interfaces 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or more operating systems 1941, Windows ServerTM for example, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
Specifically in the present embodiment, router also includes memory, and one or more than one program, one of them or an above program are stored in memory, and are configured to be contained for carrying out the instruction of following operation by one of more than one or one processor execution or an above program package:
The inquiry request of equipment in the inquiry local area network (LAN) that carries querying condition that first equipment that receives sends;
According to inquiring about the equipment that meets described querying condition the log-on message of described querying condition registered device in the local area network (LAN) of this locality storage;
The described log-on message that meets the equipment of querying condition is sent to described the first equipment.
This program also comprises for carrying out the instruction of following operation:
Inquire about and obtain whole log-on messages of registered device in the local area network (LAN) of this locality storage;
Or, in the local area network (LAN) in this locality storage, the log-on message of registered device, search the equipment of supporting specific radio connection standard;
Or, in the local area network (LAN) in this locality storage, the log-on message of registered device, search the equipment of appointment.
This program also comprises for carrying out the instruction of following operation: the log-on message that receives the equipment transmission of the described local area network (LAN) of access;
The described log-on message receiving is stored in this locality.
This program also comprises for carrying out the instruction of following operation: the log-on message that receives the equipment transmission of the described local area network (LAN) of access by http service interface.
This program also comprises for carrying out the instruction of following operation: by http service interface, the described log-on message that meets the equipment of querying condition is sent to described the first equipment.
This program also comprises for carrying out the instruction of following operation: when registered equipment and described local area network (LAN) disconnect, delete the log-on message of the equipment disconnecting with described local area network (LAN) in the local area network (LAN) of this locality storage the log-on message of registered device.
This program also comprises for carrying out the instruction of following operation:
The MAC Address of described equipment, IP address, device name, the wireless connections standard of supporting and access interface information.
Beneficial effects more of the present disclosure can comprise: during equipment access local area network (LAN), only send a log-on message to router, do not need just to send at set intervals the existence that a group bag is declared self, between equipment and router, transmission group bag quantity reduces, saved transfer resource, and saved the disposal ability of equipment and router, reduced the energy consumption of equipment and router.In addition, during equipment in inquiry in local area network (LAN), only need to, according to the log-on message of the registered device of storing in the querying condition querying router of setting in router, just can obtain fast the equipment that will inquire about, reduce the time delay of equipment query, improved device discovery efficiency.
In addition, typically, the mobile terminal described in the disclosure can be various hand-held terminal devices, such as mobile phone, personal digital assistant (PDA) etc., and therefore protection range of the present disclosure should not be defined as the mobile terminal of certain particular type.
In addition, according to method of the present disclosure, can also be implemented as the computer program of being carried out by CPU.When this computer program is carried out by CPU, carry out the above-mentioned functions limiting in method of the present disclosure.
In addition, said method step and system unit also can utilize controller and realize for storing the computer readable storage devices of the computer program that makes controller realize above-mentioned steps or Elementary Function.
In addition, should be understood that, computer readable storage devices as herein described (for example, memory) can be volatile memory or nonvolatile memory, or can comprise volatile memory and nonvolatile memory.And nonrestrictive, nonvolatile memory can comprise read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory as an example.Volatile memory can comprise random access memory (RAM), and this RAM can serve as External Cache memory.As an example and nonrestrictive, RAM can obtain in a variety of forms, such as synchronous random access memory (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM (DDR SDRAM), enhancing SDRAM (ESDRAM), synchronization link DRAM (SLDRAM) and direct RambusRAM (DRRAM).The memory device of disclosed aspect is intended to include but not limited to the memory of these and other suitable type.
Those skilled in the art will also understand is that, in conjunction with the described various illustrative logical blocks of disclosure herein, module, circuit and algorithm steps, may be implemented as electronic hardware, computer software or both combinations.For this interchangeability of hardware and software is clearly described, with regard to the function of various exemplary components, square, module, circuit and step, it has been carried out to general description.This function is implemented as software or is implemented as hardware and depends on concrete application and the design constraint that imposes on whole system.Those skilled in the art can realize described function in every way for every kind of concrete application, but this realization determines should not be interpreted as causing departing from the scope of the present disclosure.
In conjunction with the described various illustrative logical blocks of disclosure herein, module and circuit, can utilize the following parts that are designed to carry out function described here to realize or carry out: general processor, digital signal processor (DSP), application-specific integrated circuit (ASIC) (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete nextport hardware component NextPort or any combination of these parts.General processor can be microprocessor, but alternatively, processor can be any conventional processors, controller, microcontroller or state machine.Processor also may be implemented as the combination of computing equipment, and for example, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessor are in conjunction with DSP core or any other this configuration.
Step in conjunction with the described method of disclosure herein or algorithm can directly be included in the software module of carrying out in hardware, by processor or in the two combination.Software module can reside in the storage medium of RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, register, hard disk, removable dish, CD-ROM or any other form known in the art.Exemplary storage medium is coupled to processor, make processor can be from this storage medium reading information or to this storage medium writing information.In an alternative, described storage medium can be integral to the processor together.Processor and storage medium can reside in ASIC.ASIC can reside in user terminal.In an alternative, processor and storage medium can be used as discrete assembly and reside in user terminal.
In one or more exemplary design, described function can realize in hardware, software, firmware or its combination in any.If realized in software, described function can be transmitted on computer-readable medium or by computer-readable medium as one or more instructions or code storage.Computer-readable medium comprises computer-readable storage medium and communication media, and this communication media comprises and contributes to computer program to be sent to from a position any medium of another position.Storage medium can be can be by any usable medium of universal or special computer access.As an example and nonrestrictive, this computer-readable medium can comprise RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage device or other magnetic storage apparatus, or can for carry or file layout be instruction or data structure required program code and can be by any other medium of universal or special computer or universal or special processor access.In addition, any connection can suitably be called computer-readable medium.For example, if use coaxial cable, optical fiber cable, twisted-pair feeder, digital subscriber line (DSL) or such as the wireless technology of infrared ray, radio and microwave come from website, server or other remote source send software, above-mentioned coaxial cable, optical fiber cable, twisted-pair feeder, DSL or include the definition at medium such as the wireless technology of infrared first, radio and microwave.As used herein, disk and CD comprise compact disk (CD), laser disk, CD, digital versatile disc (DVD), floppy disk, Blu-ray disc, disk rendering data magnetically conventionally wherein, and cd-rom using laser optics ground rendering data.The combination of foregoing also should be included in the scope of computer-readable medium.
Although disclosed content shows exemplary embodiment of the present disclosure above, it should be noted that under the prerequisite of the scope of the present disclosure that does not deviate from claim restriction, can carry out multiple change and modification.According to the function of the claim to a method of disclosed embodiment described herein, step and/or action, need not carry out with any particular order.In addition, although element of the present disclosure can be with individual formal description or requirement, also it is contemplated that a plurality of, unless be clearly restricted to odd number.
Above-described embodiment; object of the present disclosure, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only embodiment of the present disclosure; and be not used in and limit protection range of the present disclosure; all within spirit of the present disclosure and principle, any modification of making, be equal to replacement, improvement etc., within all should being included in protection range of the present disclosure.
Claims (15)
1. a lan device querying method, is characterized in that, comprising:
The inquiry request of equipment in the inquiry local area network (LAN) that carries querying condition that first equipment that receives sends;
According to inquiring about the equipment that meets described querying condition the log-on message of described querying condition registered device in the local area network (LAN) of this locality storage;
The described log-on message that meets the equipment of querying condition is sent to described the first equipment.
2. method according to claim 1, is characterized in that, described querying condition comprises:
All devices in inquiry local area network (LAN);
Or the interior equipment of the local area network (LAN) of specific radio connection standard is supported in inquiry;
Or, inquire about the equipment of appointment in described local area network (LAN).
3. method according to claim 2, is characterized in that, described according to inquiring about the equipment that meets described querying condition the log-on message of described querying condition registered device in the local area network (LAN) of this locality storage, comprising:
Inquire about and obtain whole log-on messages of registered device in the local area network (LAN) of this locality storage;
Or, in the local area network (LAN) in this locality storage, the log-on message of registered device, search the equipment of supporting specific radio connection standard;
Or, in the local area network (LAN) in this locality storage, the log-on message of registered device, search the equipment of appointment.
4. method according to claim 1, is characterized in that, described method also comprises:
Receive the log-on message of the equipment transmission of the described local area network (LAN) of access;
The described log-on message receiving is stored in this locality.
5. method according to claim 4, is characterized in that, receives the log-on message of the equipment transmission of the described local area network (LAN) of access, comprising:
By http service interface, receive the log-on message of the equipment transmission of the described local area network (LAN) of access.
6. method according to claim 1, is characterized in that, the described log-on message that meets the equipment of querying condition is sent to described the first equipment, comprising:
By http service interface, the described log-on message that meets the equipment of querying condition is sent to described the first equipment.
7. method according to claim 1, is characterized in that, described method also comprises:
When registered equipment and described local area network (LAN) disconnect, in the local area network (LAN) of this locality storage, the log-on message of registered device, delete the log-on message of the equipment disconnecting with described local area network (LAN).
8. according to the method described in claim 1-7 any one, it is characterized in that, described log-on message comprises:
The MAC Address of described equipment, IP address, device name, the wireless connections standard of supporting and access interface information.
9. a lan device inquiry unit, is characterized in that, comprising:
Receiver module, for receiving the inquiry request of equipment in the inquiry local area network (LAN) that carries querying condition that the first equipment sends;
Enquiry module, inquires about for the log-on message of registered device in the local area network (LAN) of storing from this locality according to described querying condition the equipment that meets described querying condition;
Sending module, for sending to described the first equipment by the described log-on message that meets the equipment of querying condition.
10. device according to claim 9, is characterized in that, described querying condition comprises:
All devices in inquiry local area network (LAN); Or the interior equipment of the local area network (LAN) of specific radio connection standard is supported in inquiry; Or, inquire about the equipment of appointment in described local area network (LAN);
Described enquiry module, for inquiring about and obtain whole log-on messages of registered device in the local area network (LAN) of this locality storage; Or, in the local area network (LAN) in this locality storage, the log-on message of registered device, search the equipment of supporting specific radio connection standard; Or, in the local area network (LAN) in this locality storage, the log-on message of registered device, search the equipment of appointment.
11. devices according to claim 9, is characterized in that, described device also comprises: memory module,
Described receiver module, the log-on message also sending for receiving the equipment of the described local area network (LAN) of access;
Described memory module, for storing the described log-on message receiving in this locality.
12. devices according to claim 11, is characterized in that,
Described receiver module, the log-on message sending for receive the equipment of the described local area network (LAN) of access by http service interface.
13. devices according to claim 9, is characterized in that, described sending module, for sending to described the first equipment by http service interface by the described log-on message that meets the equipment of querying condition.
14. devices according to claim 11, it is characterized in that, described memory module for when registered equipment and described local area network (LAN) disconnect, is deleted the log-on message of the equipment disconnecting with described local area network (LAN) in the local area network (LAN) of this locality storage the log-on message of registered device.
15. 1 kinds of routers, it is characterized in that, include memory, and one or more than one program, the above program of one of them or one is stored in memory, and is configured to carry out described one or above program package containing for carrying out the instruction of following operation by one or above processor:
The inquiry request of equipment in the inquiry local area network (LAN) that carries querying condition that first equipment that receives sends;
According to inquiring about the equipment that meets described querying condition the log-on message of described querying condition registered device in the local area network (LAN) of this locality storage;
The described log-on message that meets the equipment of querying condition is sent to described the first equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310671621.8A CN103701673A (en) | 2013-12-10 | 2013-12-10 | LAN (Local Area Network) equipment query method, device and router |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310671621.8A CN103701673A (en) | 2013-12-10 | 2013-12-10 | LAN (Local Area Network) equipment query method, device and router |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103701673A true CN103701673A (en) | 2014-04-02 |
Family
ID=50363076
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310671621.8A Pending CN103701673A (en) | 2013-12-10 | 2013-12-10 | LAN (Local Area Network) equipment query method, device and router |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103701673A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105182784A (en) * | 2015-09-24 | 2015-12-23 | 小米科技有限责任公司 | Method and device of controlling intelligent devices and terminal |
CN105915512A (en) * | 2016-04-13 | 2016-08-31 | 乐视控股(北京)有限公司 | Intelligent interconnection method and intelligent interconnection device |
CN106685776A (en) * | 2017-02-14 | 2017-05-17 | 上海斐讯数据通信技术有限公司 | Method and system of intelligent device discovery in local area network |
WO2017143759A1 (en) * | 2016-02-25 | 2017-08-31 | 北京小米移动软件有限公司 | Cooking status alert method and device |
CN109167851A (en) * | 2018-09-18 | 2019-01-08 | 青岛海信电器股份有限公司 | A kind of method and device obtaining MAC Address |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1481113A (en) * | 2002-09-06 | 2004-03-10 | () | Method for automatic searching between devices on network |
CN102387156A (en) * | 2011-11-29 | 2012-03-21 | 青岛海信传媒网络技术有限公司 | Equipment logging treatment method, device and system |
CN103001837A (en) * | 2011-09-09 | 2013-03-27 | 海尔集团公司 | System and method for controlling household internet of things, device and system comprising system for controlling household internet of things |
CN103428632A (en) * | 2012-12-06 | 2013-12-04 | 北京众思铭信息技术有限公司 | Information query method and system |
-
2013
- 2013-12-10 CN CN201310671621.8A patent/CN103701673A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1481113A (en) * | 2002-09-06 | 2004-03-10 | () | Method for automatic searching between devices on network |
CN103001837A (en) * | 2011-09-09 | 2013-03-27 | 海尔集团公司 | System and method for controlling household internet of things, device and system comprising system for controlling household internet of things |
CN102387156A (en) * | 2011-11-29 | 2012-03-21 | 青岛海信传媒网络技术有限公司 | Equipment logging treatment method, device and system |
CN103428632A (en) * | 2012-12-06 | 2013-12-04 | 北京众思铭信息技术有限公司 | Information query method and system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105182784A (en) * | 2015-09-24 | 2015-12-23 | 小米科技有限责任公司 | Method and device of controlling intelligent devices and terminal |
WO2017143759A1 (en) * | 2016-02-25 | 2017-08-31 | 北京小米移动软件有限公司 | Cooking status alert method and device |
US10008092B2 (en) | 2016-02-25 | 2018-06-26 | Beijing Xiaomi Mobile Software Co., Ltd. | Method, apparatus, and storage medium for alerting cooking state of electric cooker |
CN105915512A (en) * | 2016-04-13 | 2016-08-31 | 乐视控股(北京)有限公司 | Intelligent interconnection method and intelligent interconnection device |
CN106685776A (en) * | 2017-02-14 | 2017-05-17 | 上海斐讯数据通信技术有限公司 | Method and system of intelligent device discovery in local area network |
CN106685776B (en) * | 2017-02-14 | 2020-01-07 | 上海斐讯数据通信技术有限公司 | Intelligent device discovery method and system in local area network |
CN109167851A (en) * | 2018-09-18 | 2019-01-08 | 青岛海信电器股份有限公司 | A kind of method and device obtaining MAC Address |
CN109167851B (en) * | 2018-09-18 | 2021-06-29 | 海信视像科技股份有限公司 | Method and device for acquiring MAC address |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6941679B2 (en) | Network slice selection method, user equipment, and network equipment | |
EP2569987B1 (en) | Discover network capabilities for connecting to an access network | |
CN108401037B (en) | Binding method, device and system of user terminal and equipment | |
EP3163946B1 (en) | Transmission list in wi-fi acces point | |
TW201204105A (en) | Methods and apparatus to authenticate requests for network capabilities for connecting to an access network | |
WO2013131472A1 (en) | Message processing method, device and system | |
EP3148286A1 (en) | System, method and apparatus for data communication | |
CN103701673A (en) | LAN (Local Area Network) equipment query method, device and router | |
CN103458057A (en) | Resource acquiring method, device and server | |
JP2019193274A (en) | Data transmission | |
CN103607290A (en) | Method and device for setting network connection parameters | |
US20130225213A1 (en) | System and method for direct messaging between mobile stations using packet-based communications | |
US10051552B2 (en) | Method for realizing resource attribute notification, and common service entity | |
CN103346896A (en) | Method and system for quick data transmission | |
KR101852699B1 (en) | Method and apparatus for sharing environment context | |
CN105450585A (en) | Information transmission method and device | |
US10341830B2 (en) | Method and apparatus for sending or forwarding information | |
US10334509B2 (en) | System and method of ANQP querying using a common ANQP group version | |
CN102404616A (en) | Method and system for pushing data cloud based on digital television network | |
CN105262793B (en) | The method and system of audio file in intelligent sound box broadcasting memory | |
CN105072669B (en) | The connection control method and device of website | |
CN103532852A (en) | Routing scheduling method, routing scheduling device and network equipment | |
US20170353818A1 (en) | Method for deleting notification resource, and common service entity | |
KR102435756B1 (en) | Device group control system and method for controlling the same | |
US11050707B2 (en) | Systems and methods for updating a resource address |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20140402 |