CN104602264A - Method, device and system for promoting control point to find device - Google Patents

Method, device and system for promoting control point to find device Download PDF

Info

Publication number
CN104602264A
CN104602264A CN201510004862.6A CN201510004862A CN104602264A CN 104602264 A CN104602264 A CN 104602264A CN 201510004862 A CN201510004862 A CN 201510004862A CN 104602264 A CN104602264 A CN 104602264A
Authority
CN
China
Prior art keywords
control point
equipment
message
file
preset range
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.)
Granted
Application number
CN201510004862.6A
Other languages
Chinese (zh)
Other versions
CN104602264B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201510004862.6A priority Critical patent/CN104602264B/en
Publication of CN104602264A publication Critical patent/CN104602264A/en
Application granted granted Critical
Publication of CN104602264B publication Critical patent/CN104602264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provided a method for promoting a control point in a wireless network to find a device. The method includes the steps of: sending a test message to a router; receiving a test response message which is sent by the router for responding to the test message; judging quality of a first signal channel for sending the test message and the test response message is within a preset quality range according to the test response message; if the quality is within the preset quality range, sending a device message to the router within a preset time for N times; and if the quality is without the preset quality range, sending the device message to the router within the preset time for M times, wherein the device message is send by the router in a broadcasting manner and used for being received by the control point to facilitate the control point to find the device for sending the device message, the control point is used for controlling the device after finding the same, N is more than zero and less than M, and both M and N are integers.

Description

A kind of method, Apparatus and system promoting control point discovering device
Technical field
The present invention relates to network field, particularly relate to a kind of method, the Apparatus and system that promote control point discovering device in wireless network.
Background technology
Because the quality of network transmission signal is easily subject to environmental impact, quality as wireless network transmissions signal is easily subject to the impact of the equipment such as bluetooth earphone or microwave oven in work, when the quality of network transmission signal is deteriorated because of influenced, the message that equipment is sent out mutually by network is usually easily lost or occurs mistake.Because equipment room is by sending and receiving message and realize the mutual discovery of equipment room, if message dropping or occur mistake, then equipment may by Network finding each other.
Summary of the invention
The embodiment of the present invention provides a kind of method, the Apparatus and system that promote control point discovering device.
First aspect, embodiments provides a kind of method promoting control point discovering device in wireless network, comprising:
Test packet is sent to router;
Receive test back message, described test back message is sent by described router, for responding described test packet;
According to described test back message, judge that the quality of the first signal path transmitting described test packet and described test back message is whether in quality preset range;
If described quality is in described quality preset range, then in Preset Time to described router transmitting apparatus message N time; And
If described quality outside described quality preset range, then sends described equipment message M time to described router in described Preset Time;
Wherein, described equipment message sends with the forms of broadcasting via described router, the equipment that described control point finds to send described equipment message is beneficial to for being received by described control point, described control point controls described equipment after finding described equipment, M>N>0, and M and N is integer.
Advantageously, the present embodiment judges the quality of the first signal path according to test back message, thus learns the quality of secondary signal path.Time quality compared to secondary signal path better (being also that the quality of the first signal path is in preset range), the present embodiment is when second-rate (also namely the quality of the first signal path is outer in preset range) of secondary signal path, increase the number of times of transmitting apparatus message to increase the possibility that control point 108 receives equipment message, thus promote control point 108 discovering device 102.
In the first possible implementation of first aspect, described method is periodically performed with the first predetermined period.Periodically detect the first signal path quality and in time the number of times of adjustment transmitting apparatus message can promote control point 108 discovering device 102 in time.
In conjunction with first aspect, or the first possible implementation of first aspect, in the implementation that the second is possible, described quality preset range comprises message number preset range and time delay preset range;
Described according to described test back message, judge whether the quality of the first signal path of described test packet and described test back message comprises in quality preset range:
Judge that the message number of described test back message is whether in described message number preset range, and judge from the time interval between the moment to the moment receiving described test back message sending described test packet whether in described time delay preset range;
If described message number is in described message number preset range, and the described time interval is in described time delay preset range, then determine that described quality is in described quality preset range; And
If described message number is outside described message number preset range, or the described time interval is outside described time delay preset range, then determine that described quality is outside described quality preset range.
Owing to having considered pre-and time delay two factors of message number when the quality of judgement first signal path, relative to the deterministic process only considering a factor, the judged result accuracy of the present embodiment is higher.
In conjunction with first aspect, or any one possible implementation of first aspect the first to the second, in the implementation that the third is possible, described to router send test packet comprise: periodically send described test packet to router with the second predetermined period.Periodically send test packet and periodically can detect the quality of the first signal path thus the information of timely acquisition the first signal path quality, and adjust the number of times of transmitting apparatus message thus promote control point 108 discovering device 102.
In conjunction with first aspect, or first aspect first is to the third any one possible implementation, in the 4th kind of possible implementation, after completing and sending described equipment message, also comprises:
Receive the file request signal that control point sends, described file request request signal obtains the capabilities description file of described equipment, and described capabilities description file describes the function that described equipment has;
According to the described file request signal received, send described capabilities description file by secondary signal path to described control point;
Detect whether to have completed and send described capabilities description file;
Described capabilities description file is sent if completed, then disconnect described secondary signal path, described capabilities description file is sent if do not complete, then detect described secondary signal path whether to be disconnected by control point, if described secondary signal path is not disconnected by control point, then keep described secondary signal communication to have continued to send described capabilities description file.
The present embodiment just initiatively disconnects secondary signal path after capabilities description file is sent completely, and is conducive to the complete transmission of capabilities description file.
In conjunction with first aspect the 4th kind of possible implementation, in the 5th kind of possible implementation, described capabilities description file is extensible markup XML file.
Second aspect, embodiments provides a kind of method promoting control point discovering device in wireless network, comprising:
Receive the broadcasting packet that control point sends via router;
Broadcast response message is sent via described router to described control point in response to described broadcasting packet;
In default time delay, detect the file request signal whether received from described control point, described file request request signal obtains the capabilities description file of the equipment receiving described broadcasting packet, and described capabilities description file describes the function that described equipment has;
If do not receive described file request signal in described default time delay, then again send described broadcast response message via described router to described control point; And
If receive described file request signal in described default time delay, then determine that described control point has found described equipment.
After control point 108 receives broadcast response message, get final product discovering device 102, and send file request signal through router 106 to equipment 102.If the signal path between control point 108, router one 06 and equipment 102 is second-rate, control point 108 is caused not easily to receive broadcast response message, thus non-discovering device 102, also just file request signal cannot be sent to equipment 102, the present embodiment adopts the strategy again sending broadcast response message, thus promote that control point 108 receives broadcast response message, thus discovering device 102.
In the first possible implementation of second aspect, the file request signal whether described detection receives from described control point comprises: periodically detect the described file request signal whether received from described control point.Whether periodically detect the file request signal that whether receives from control point 108 can detection control point 108 discovering device 102 in time.If control point 108 is non-discovering device 102 also, then again send broadcast response message in time to promote control point 108 discovering device 102.
In conjunction with second aspect, or the first possible implementation of second aspect, in the implementation that the second is possible, after determining that described control point has found described equipment, also comprise:
According to the described file request signal received, send described capabilities description file by secondary signal path to described control point;
Detect whether to have completed and send described capabilities description file;
Described capabilities description file is sent if completed, then disconnect described secondary signal path, described capabilities description file is sent if do not complete, then detect described secondary signal path whether to be disconnected by control point, if described secondary signal path is not disconnected by control point, then keep described secondary signal communication to have continued to send described capabilities description file.
The present embodiment just initiatively disconnects secondary signal path after capabilities description file is sent completely, and is conducive to the complete transmission of capabilities description file.
In conjunction with second aspect, or any one possible implementation of second aspect the first to the second, in the implementation that the third is possible, described capabilities description file is extensible markup XML file.
The third aspect, embodiments provides a kind of equipment, for promoting that the control point in wireless network finds described equipment self, comprising:
Test packet sending module, for sending test packet to router;
Test packet receiver module, for receiving test back message, described test back message is sent by described router, for responding described test packet;
Judge module, for according to described test back message, judges that the quality of the first signal path transmitting described test packet and described test back message is whether in quality preset range; And
Equipment message sending module, for when described quality is in described quality preset range, to described router transmitting apparatus message N time in Preset Time, and when described quality is outside described quality preset range, described equipment message M time is sent to described router in described Preset Time
Wherein, described equipment message sends with the forms of broadcasting via described router, the equipment that described control point finds to send described equipment message is beneficial to for being received by described control point, described control point controls described equipment after finding described equipment, M>N>0, and M and N is integer.
In the first possible implementation of the third aspect, described quality preset range comprises message number preset range and time delay preset range;
Described judge module specifically comprises:
Judging unit, for judging that the message number of described test back message is whether in described message number preset range, and judge from the time interval between the moment to the moment receiving described test back message sending described test packet whether in described time delay preset range; And
Determining unit, in described message number in described message number preset range, and the described time interval in described time delay preset range, determine that described quality is in described quality preset range; And in described message number outside described message number preset range, or the described time interval outside described time delay preset range, determine that described quality is outside described quality preset range.
In conjunction with the third aspect, or the first possible implementation of the third aspect, in the implementation that the second is possible, described test packet sending module is specifically for periodically sending test packet to described router.
In conjunction with the third aspect, or any one possible implementation of the third aspect the first to the second, in the implementation that the third is possible, also comprise:
Signal receiving module, for after completing the described equipment message of transmission, receive the file request signal that described control point sends, described file request request signal obtains the capabilities description file of described equipment, and described capabilities description file describes the function that described equipment has;
File send module, for according to the described file request signal received, sends described capabilities description file by secondary signal path to described control point;
File detection module, sends described capabilities description file for detecting whether to have completed; And
Control module, for when completing the described capabilities description file of transmission, disconnect described secondary signal path, and for when not completing the described capabilities description file of transmission, detect described secondary signal path whether to be disconnected by described control point, if described secondary signal path is not disconnected by described control point, then keep described secondary signal communication to have continued to send described capabilities description file.
In conjunction with the third possible implementation of the third aspect, in the 4th kind of possible implementation, described capabilities description file is extensible markup XML file.
Fourth aspect, embodiments provides a kind of equipment, for promoting that the control point in wireless network finds described equipment self, comprising:
Broadcasting packet receiver module, for receiving the broadcasting packet that control point sends via router;
Back message sending module, for sending broadcast response message via described router to described control point in response to described broadcasting packet; And
Signal detection module, for in default time delay, detect the file request signal whether received from described control point, described file request request signal obtains the capabilities description file of the equipment receiving described broadcasting packet, described capabilities description file describes the function that described equipment has
Wherein, described back message sending module also for when not receiving described file request signal in described default time delay, again send described broadcast response message via described router to described control point, if receive described file request signal in described default time delay, then determine that described control point has found described equipment.
In the first possible implementation of fourth aspect, described signal detection module is specifically for periodically detecting the described file request signal whether received from described control point.
In conjunction with fourth aspect, or the first possible implementation of fourth aspect, in the implementation that the second is possible, also comprise:
File send module, for according to the described file request signal received, sends described capabilities description file by secondary signal path to described control point;
File detection module, sends described capabilities description file for detecting whether to have completed; And
Control module, for when completing the described capabilities description file of transmission, disconnect described secondary signal path, and when not completing the described capabilities description file of transmission, detect described signal path whether to be disconnected by described control point, if described secondary signal path is not disconnected by described control point, then keep described secondary signal communication to have continued to send described capabilities description file.
In conjunction with fourth aspect, or any one possible implementation of fourth aspect the first to the second, in the implementation that the third is possible, described capabilities description file is extensible markup XML file.
5th aspect, embodiments provides a kind of system, comprising:
As the third aspect, the implementation that the third aspect first to fourth kind is possible, arbitrary described equipment in fourth aspect and fourth aspect first to the third possible implementation;
Described control point; And
Described router.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the system of first embodiment of the invention.
Fig. 2 is the method for control point discovering device in the promotion wireless network of second embodiment of the invention.
Fig. 3 is the method for control point discovering device in the promotion wireless network of third embodiment of the invention.
Fig. 4 A is the structured flowchart of the embodiment of equipment 102 in Fig. 1 of the present invention.
Fig. 4 B is the structured flowchart of the embodiment of judge module 406 in Fig. 4 A of the present invention.
Fig. 5 is another structured flowchart of the embodiment of equipment 102 in Fig. 1 of the present invention.
Fig. 6 is the another structured flowchart of the embodiment of equipment 102 in Fig. 1 of the present invention.
Fig. 7 is a structured flowchart again of the embodiment of equipment 102 in Fig. 1 of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one
Fig. 1 is the system 100 of first embodiment of the invention.System 100 comprises equipment 102 and 104, router one 06 and control point 108.After control point 108 discovering device 102 and/or 104, controllable device 102 and/or 104.In one embodiment, equipment 102 and 104 is root device, and control point 108 controls root device 102 and/or 104 and provides service.Such as, root device 102 is printer, and control point 108 is computer, and conputer controlled printer provides print service.In one embodiment, root device 102 and 104, router one 06 and control point 108 are based on UPnP (Universal Plug and Play, UPNP) agreement carries out communication, and root device 102 or 104 carries out communication by router one 06 and control point 108.
Embodiment two
Fig. 2 is the method 200 of control point discovering device in the promotion wireless network of second embodiment of the invention.In one embodiment, method 200, based on equipment 102, is performed in the system 100 shown in Fig. 1.Composition graphs 1 is described by Fig. 2.
In step S202, send test packet to router one 06.
In step S204, receive test back message.Test back message is sent by router one 06, for response test message.
In step S206, according to test back message, judge to transmit test packet and test the quality of the first signal path of back message whether in quality preset range.
In step S208, if the quality of the first signal path is in quality preset range, then in Preset Time to router one 06 transmitting apparatus message N time; If the quality of the first signal path is outside quality preset range, then in Preset Time to router one 06 transmitting apparatus message M time.
Wherein, equipment message sends with the forms of broadcasting via router one 06, the equipment that control point 108 finds transmitting apparatus message is beneficial to for being received by control point 108, as root device 102, control point 108 is for control appliance 102 after discovering device 102, M>N>0, and M and N is integer.
Herein, the signal path between equipment 102 and router one 06 is the first signal path, and the signal path between equipment 102 and router one 06 and the signal path between router one 06 and control point 108 are combined into secondary signal path.That is, secondary signal path comprises the first signal path.The quality of the first signal path can reflect the quality of secondary signal path.In one embodiment, the quality of the first signal path is better than when the quality of the first signal path is in quality preset range when quality preset range is outer.Equipment message is sent to control point 108 via second channel path.
Advantageously, the present embodiment judges the quality of the first signal path according to test back message, thus learns the quality of secondary signal path.Time quality compared to secondary signal path better (being also that the quality of the first signal path is in preset range), method 200 is when second-rate (also namely the quality of the first signal path is outer in preset range) of secondary signal path, increase the number of times of transmitting apparatus message to increase the possibility that control point 108 receives equipment message, thus promote control point 108 discovering device 102.
In one embodiment, method 200 is periodically performed with the first predetermined period.Periodically detect the first signal path quality and in time the number of times of adjustment transmitting apparatus message can promote control point 108 discovering device 102 in time.
In one embodiment, quality preset range comprises message number preset range and time delay preset range, and, according to test back message, judge whether the quality of the first signal path comprises in quality preset range: judge to test the message number of back message whether in message number preset range, and judge from sending moment to the time interval received between the moment of testing back message of test packet whether in time delay preset range.If message number is in message number preset range, and the time interval is in time delay preset range, then determine that quality is in quality preset range; If message number is outside message number preset range, or the time interval is outside time delay preset range, then determine that quality is outside quality preset range.The message number judging to test back message whether in message number preset range and judge from the time interval between the moment to the moment receiving test back message sending test packet whether in time delay preset range between these two steps not time order and function order limit.Owing to having considered pre-and time delay two factors of message number when the quality of judgement first signal path, relative to the deterministic process only considering a factor, the judged result accuracy of the present embodiment is higher.
In one embodiment, send test packet to router one 06 to comprise and periodically send test packet to router one 06 with the second predetermined period.Periodically send test packet and periodically can detect the quality of the first signal path thus the information of timely acquisition the first signal path quality, and adjust the number of times of transmitting apparatus message thus promote control point 108 discovering device 102.
In one embodiment, capabilities description file is extensible markup XML file.
Alternatively, after completing transmitting apparatus message, method 200 also can comprise step S210, S212, S214 and S216.
In step S210, receive the file request signal that control point 108 sends.The capabilities description file of file request request signal equipment 102.Capabilities description file describes the function that equipment 102 has.
In step S212, according to request signal, by secondary signal path to control point 108 transmitting capacity description document.
In step S214, detect whether completed transmitting capacity description document.
In step S216, if completed transmitting capacity description document, then disconnect secondary signal path, if do not complete transmitting capacity description document, then detect secondary signal path whether to be disconnected by control point, if secondary signal path is not disconnected by control point, then keep secondary signal communication to have continued transmitting capacity description document.
Method 200 just initiatively disconnects secondary signal path after capabilities description file is sent completely, and is conducive to the complete transmission of capabilities description file.
Embodiment three
Fig. 3 is the method 300 of control point discovering device in the promotion wireless network of third embodiment of the invention.In one embodiment, method 300, based on equipment 102, is performed in the system 100 shown in Fig. 1.Composition graphs 1 is described by Fig. 3.
In step s 302, the broadcasting packet that control point 108 sends via router one 06 is received.
In step s 304, broadcast response message is sent via router one 06 to control point 108 in response to broadcasting packet.
In step S306, in default time delay, detect the file request signal whether received from control point 108.File request request signal obtains the capabilities description file of the equipment 102 receiving broadcasting packet.Capabilities description file describes the function that equipment 102 has.
In step S308, if do not receive file request signal in default time delay, then again send broadcast response message via router one 06 to control point 108; If receive file request signal in default time delay, then determine that control point 108 has found to receive the equipment 102 of broadcasting packet.
After control point 108 receives broadcast response message, get final product discovering device 102, and send file request signal through router 106 to equipment 102.If the signal path between control point 108, router one 06 and equipment 102 is second-rate, control point 108 is caused not easily to receive broadcast response message, thus non-discovering device 102, also just file request signal cannot be sent to equipment 102, method 300 adopts the strategy again sending broadcast response message, thus promote that control point 108 receives broadcast response message, thus discovering device 102.
In one embodiment, the file request the signal whether detection in step S306 receives from control point 108 comprises: periodically detect the file request signal whether received from control point 108.Whether periodically detect the file request signal that whether receives from control point 108 can detection control point 108 discovering device 102 in time.If control point 108 is non-discovering device 102 also, then again send broadcast response message in time to promote control point 108 discovering device 102.
Alternatively, after determining that control point 108 has found to receive the equipment of broadcasting packet, also step S310, S312 and S314 can be comprised.
In step S310, by secondary signal path to control point 108 transmitting capacity description document.Secondary signal path comprises the signal path between equipment 102 and router one 06 and the signal path between router one 06 and control point 108.
In step S312, detect whether completed transmitting capacity description document.
In step S314, if completed transmitting capacity description document, then disconnect secondary signal path, if do not complete transmitting capacity description document, then detect secondary signal path whether to be disconnected by control point 108, if secondary signal path is not disconnected by control point 108, then keep secondary signal communication to have continued transmitting capacity description document.
Method 300 just initiatively disconnects secondary signal path after capabilities description file is sent completely, and is conducive to the complete transmission of capabilities description file.
In one embodiment, capabilities description file is extensible markup XML file." completing transmitting capacity description document " has herein included but not limited to all XML file related in the tree-shaped relation of the XML file of transmitting apparatus 102.
Embodiment four
Fig. 4 A is the structured flowchart of the equipment 102 in Fig. 1 of the present invention.Equipment 102 is for promoting the control point discovering device 102 self in wireless network.Composition graphs 1 is described by Fig. 4 A.
In the embodiment shown in Fig. 4 A, equipment 102 comprises test packet sending module 402, test packet receiver module 404, judge module 406 and equipment message sending module 408.Test packet sending module 402 is for sending test packet to router one 06.Test packet receiver module 404 is for receiving test back message.Test back message is sent by router one 06, for response test message.Judge module 406 for according to test back message, judges to transmit test packet and tests the quality of the first signal path of back message whether in quality preset range.Equipment message sending module 408 is for when quality is in quality preset range, to router one 06 transmitting apparatus message N time in Preset Time, and when quality is outside quality preset range, to router one 06 transmitting apparatus message M time in Preset Time.Equipment message sends with the forms of broadcasting via router one 06, is beneficial to for being received by control point 108 equipment 102 that control point 108 finds transmitting apparatus message.Control point 108 is for control appliance 102, M>N>0 after discovering device 102, and M and N is integer.Herein, the first signal path comprises the signal path between equipment 102 and router one 06.
In one embodiment, quality preset range comprises message number preset range and time delay preset range, and judge module 406 specifically comprises judging unit 406A and determining unit 406B, as shown in Figure 4 B.Judging unit 406A for judging that the message number of testing back message is whether in message number preset range, and judges from sending moment to the time interval received between the moment of testing back message of test packet whether in time delay preset range.Determining unit 406B be used in message number in message number preset range, and the time interval in time delay preset range, determine that quality is in quality preset range; And in message number outside message number preset range, or the time interval outside time delay preset range, determine that quality is outside quality preset range.
In one embodiment, test packet sending module 402 is specifically for periodically sending test packet to router one 06.
Alternatively, equipment 102 also can comprise signal receiving module 410, file send module 412, file detection module 414 and control module 416.Signal receiving module 410, for after completing transmitting apparatus message, receives the file request signal that control point 108 sends.The capabilities description file of file request request signal equipment 102.Capabilities description file describes the function that equipment 102 has.The file request signal that file send module 412 receives for basis, by secondary signal path to control point 108 transmitting capacity description document.File detection module 414 is for detecting whether completed transmitting capacity description document.Control module 416 is for when completing transmitting capacity description document, disconnect secondary signal path, and for when not completing transmitting capacity description document, detect secondary signal path whether to be disconnected by control point 108, if secondary signal path is not disconnected by control point 108, then keep secondary signal communication to have continued transmitting capacity description document.
Herein, secondary signal path comprises the signal path between equipment 102 and router one 06 and the signal path between router one 06 and control point 108, that is, secondary signal path comprises the first signal path.
In one embodiment, capabilities description file is extensible markup XML file.
Embodiment five
Fig. 5 is another structured flowchart of the equipment 102 in Fig. 1 of the present invention.Equipment 102 is for promoting the control point discovering device 102 self in wireless network.Composition graphs 1 and Fig. 4 A are described by Fig. 5.
In the embodiment shown in fig. 5, equipment 102 comprises broadcasting packet receiver module 502, back message sending module 504 and signal detection module 506.The broadcasting packet that broadcasting packet receiver module 502 sends via router one 06 for receiving control point 108.Back message sending module 504 is for sending broadcast response message via router one 06 to control point 108 in response to broadcasting packet.Signal detection module 506, in default time delay, detects the file request signal whether received from control point 108.File request request signal obtains the capabilities description file of the equipment 102 receiving broadcasting packet.Capabilities description file describes the function that equipment 102 has.In one embodiment, capabilities description file is extensible markup XML file.Back message sending module 504 also for when not receiving file request signal in default time delay, again send broadcast response message via router one 06 to control point 108, if receive file request signal in default time delay, then determine that control point 108 has found to receive the equipment 102 of broadcasting packet.
In one embodiment, signal detection module 506 is specifically for periodically detecting the file request signal whether received from control point 108.
In one embodiment, equipment 102 also comprises file send module 412, file detection module 414 and control module 416.
Embodiment six
Fig. 6 is the another structured flowchart of the equipment 102 in Fig. 1 of the present invention.Equipment 102 is for promoting the control point discovering device 102 self in wireless network.Composition graphs 1 is described by Fig. 6.
In the embodiment shown in fig. 6, equipment 102 comprises transceiver 602, central processor CPU 604 and memory 606.Transceiver 602 for sending test packet to router one 06, and receives test back message.Test back message is sent by router one 06, for response test message.CPU 604 for reading command from memory 606, and performs following operation according to read instruction: according to test back message, judges to transmit test packet and tests the quality of the first signal path of back message whether in quality preset range.Transceiver 602 also for when quality is in quality preset range, to router one 06 transmitting apparatus message N time in Preset Time, and when quality is outside quality preset range, to router one 06 transmitting apparatus message M time in Preset Time.Equipment message sends with the forms of broadcasting via router one 06, is beneficial to for being received by control point 108 equipment 102 that control point 108 finds transmitting apparatus message.Control point 108 is for control appliance 102, M>N>0 after discovering device 102, and M and N is integer.Herein, the first signal path comprises the signal path between equipment 102 and router one 06.
In one embodiment, quality preset range comprises message number preset range and time delay preset range.CPU 604 specifically for judging that the message number of testing back message is whether in message number preset range, and judges from sending moment to the time interval received between the moment of testing back message of test packet whether in time delay preset range.If message number is in message number preset range, and the time interval in time delay preset range, determine that quality is in quality preset range; And in message number outside message number preset range, or the time interval outside time delay preset range, determine that quality is outside quality preset range.
In one embodiment, transceiver 602 is specifically for periodically sending test packet to router one 06.
Alternatively, transceiver 602, also for after completing transmitting apparatus message, receives the file request signal that control point 108 sends.File request request signal obtains the capabilities description file of transmitting apparatus 102.Capabilities description file describes the function that equipment 102 has.The file request signal that transceiver 602 receives for basis, by secondary signal path to control point 108 transmitting capacity description document.CPU 604 is also for detecting whether completed transmitting capacity description document.CPU 604 is for when completing transmitting capacity description document, control to disconnect secondary signal path, and for when not completing transmitting capacity description document, detect secondary signal path whether to be disconnected by control point 108, if secondary signal path is not disconnected by control point 108, then control to keep secondary signal communication to have continued transmitting capacity description document.
Herein, secondary signal path comprises the signal path between equipment 102 and router one 06 and the signal path between router one 06 and control point 108, that is, secondary signal path comprises the first signal path.
In one embodiment, capabilities description file is extensible markup XML file.
Embodiment seven
Fig. 7 is a structured flowchart again of the equipment 102 in Fig. 1 of the present invention.Equipment 102 is for promoting the control point discovering device 102 self in wireless network.Composition graphs 1 is described by Fig. 7.
In the embodiment shown in fig. 7, equipment 102 comprises transceiver 702, central processor CPU 704 and memory 706.The broadcasting packet that transceiver 702 sends via router one 06 for receiving control point 108, and for sending broadcast response message via router one 06 to control point 108 in response to broadcasting packet.CPU 704, in default time delay, detects the file request signal whether received from control point 108.File request request signal obtains the capabilities description file of the equipment 102 receiving broadcasting packet.Capabilities description file describes the function that equipment 102 has.Transceiver 702 also for when not receiving file request signal in default time delay, again send broadcast response message via router one 06 to control point 108, if receive file request signal in default time delay, then determine that control point 108 has found to receive the equipment 102 of broadcasting packet.
In one embodiment, CPU 704 is specifically for periodically detecting the file request signal whether received from control point 108.
Alternatively, transceiver 702 also for according to the file request signal that receives, by secondary signal path to control point 108 transmitting capacity description document.CPU 704 is also for detecting whether completed transmitting capacity description document.CPU 704 is for when completing transmitting capacity description document, control to disconnect secondary signal path, and when not completing transmitting capacity description document, whether detection signal path is disconnected by control point 108, if secondary signal path is not disconnected by control point 108, then control to keep secondary signal communication to have continued transmitting capacity description document.
In one embodiment, capabilities description file is extensible markup XML file.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (20)

1. promote a method for control point discovering device in wireless network, it is characterized in that, comprising:
Test packet is sent to router;
Receive test back message, described test back message is sent by described router, for responding described test packet;
According to described test back message, judge that the quality of the first signal path transmitting described test packet and described test back message is whether in quality preset range;
If described quality is in described quality preset range, then in Preset Time to described router transmitting apparatus message N time; And if described quality is outside described quality preset range, then send described equipment message M time to described router in described Preset Time;
Wherein, described equipment message sends with the forms of broadcasting via described router, the equipment that described control point finds to send described equipment message is beneficial to for being received by described control point, described control point controls described equipment after finding described equipment, M>N>0, and M and N is integer.
2. the method for claim 1, is characterized in that, described method is periodically performed with the first predetermined period.
3. method as claimed in claim 1 or 2, it is characterized in that, described quality preset range comprises message number preset range and time delay preset range;
Described according to described test back message, judge whether the quality of the first signal path of described test packet and described test back message comprises in quality preset range:
Judge that the message number of described test back message is whether in described message number preset range, and judge from the time interval between the moment to the moment receiving described test back message sending described test packet whether in described time delay preset range;
If described message number is in described message number preset range, and the described time interval is in described time delay preset range, then determine that described quality is in described quality preset range; And
If described message number is outside described message number preset range, or the described time interval is outside described time delay preset range, then determine that described quality is outside described quality preset range.
4. as the method as described in arbitrary in claim 1-3, it is characterized in that, describedly send test packet to router and comprise: periodically send described test packet to router with the second predetermined period.
5. as the method as described in arbitrary in claim 1-4, it is characterized in that, after completing and sending described equipment message, also comprise:
Receive the file request signal that control point sends, described file request request signal obtains the capabilities description file of described equipment, and described capabilities description file describes the function that described equipment has;
According to the described file request signal received, send described capabilities description file by secondary signal path to described control point;
Detect whether to have completed and send described capabilities description file;
Described capabilities description file is sent if completed, then disconnect described secondary signal path, described capabilities description file is sent if do not complete, then detect described secondary signal path whether to be disconnected by control point, if described secondary signal path is not disconnected by control point, then keep described secondary signal communication to have continued to send described capabilities description file.
6. method as claimed in claim 5, it is characterized in that, described capabilities description file is extensible markup XML file.
7. promote a method for control point discovering device in wireless network, it is characterized in that, comprising:
Receive the broadcasting packet that control point sends via router;
Broadcast response message is sent via described router to described control point in response to described broadcasting packet;
In default time delay, detect the file request signal whether received from described control point, described file request request signal obtains the capabilities description file of the equipment receiving described broadcasting packet, and described capabilities description file describes the function that described equipment has;
If do not receive described file request signal in described default time delay, then again send described broadcast response message via described router to described control point; And
If receive described file request signal in described default time delay, then determine that described control point has found described equipment.
8. method as claimed in claim 7, it is characterized in that, the file request signal whether described detection receives from described control point comprises: periodically detect the described file request signal whether received from described control point.
9. method as claimed in claim 7 or 8, is characterized in that, after determining that described control point has found described equipment, also comprise:
According to the described file request signal received, send described capabilities description file by secondary signal path to described control point;
Detect whether to have completed and send described capabilities description file;
Described capabilities description file is sent if completed, then disconnect described secondary signal path, described capabilities description file is sent if do not complete, then detect described secondary signal path whether to be disconnected by control point, if described secondary signal path is not disconnected by control point, then keep described secondary signal communication to have continued to send described capabilities description file.
10., as the method as described in arbitrary in claim 7-9, it is characterized in that, described capabilities description file is extensible markup XML file.
11. 1 kinds of equipment, for promoting that the control point in wireless network finds described equipment self, is characterized in that, comprise:
Test packet sending module, for sending test packet to router;
Test packet receiver module, for receiving test back message, described test back message is sent by described router, for responding described test packet;
Judge module, for according to described test back message, judges that the quality of the first signal path transmitting described test packet and described test back message is whether in quality preset range; And
Equipment message sending module, for when described quality is in described quality preset range, to described router transmitting apparatus message N time in Preset Time, and when described quality is outside described quality preset range, described equipment message M time is sent to described router in described Preset Time
Wherein, described equipment message sends with the forms of broadcasting via described router, the equipment that described control point finds to send described equipment message is beneficial to for being received by described control point, described control point controls described equipment after finding described equipment, M>N>0, and M and N is integer.
12. equipment as claimed in claim 11, it is characterized in that, described quality preset range comprises message number preset range and time delay preset range;
Described judge module specifically comprises:
Judging unit, for judging that the message number of described test back message is whether in described message number preset range, and judge from the time interval between the moment to the moment receiving described test back message sending described test packet whether in described time delay preset range; And
Determining unit, in described message number in described message number preset range, and the described time interval in described time delay preset range, determine that described quality is in described quality preset range; And in described message number outside described message number preset range, or the described time interval outside described time delay preset range, determine that described quality is outside described quality preset range.
13. equipment as described in claim 11 or 12, is characterized in that, described test packet sending module is specifically for periodically sending test packet to described router.
14., as the equipment as described in arbitrary in claim 11-13, is characterized in that, also comprise:
Signal receiving module, for after completing the described equipment message of transmission, receive the file request signal that described control point sends, described file request request signal obtains the capabilities description file of described equipment, and described capabilities description file describes the function that described equipment has;
File send module, for according to the described file request signal received, sends described capabilities description file by secondary signal path to described control point;
File detection module, sends described capabilities description file for detecting whether to have completed; And
Control module, for when completing the described capabilities description file of transmission, disconnect described secondary signal path, and for when not completing the described capabilities description file of transmission, detect described secondary signal path whether to be disconnected by described control point, if described secondary signal path is not disconnected by described control point, then keep described secondary signal communication to have continued to send described capabilities description file.
15. equipment as claimed in claim 14, it is characterized in that, described capabilities description file is extensible markup XML file.
16. 1 kinds of equipment, for promoting that the control point in wireless network finds described equipment self, is characterized in that, comprise:
Broadcasting packet receiver module, for receiving the broadcasting packet that control point sends via router;
Back message sending module, for sending broadcast response message via described router to described control point in response to described broadcasting packet; And
Signal detection module, for in default time delay, detect the file request signal whether received from described control point, described file request request signal obtains the capabilities description file of the equipment receiving described broadcasting packet, described capabilities description file describes the function that described equipment has
Wherein, described back message sending module also for when not receiving described file request signal in described default time delay, again send described broadcast response message via described router to described control point, if receive described file request signal in described default time delay, then determine that described control point has found described equipment.
17. equipment as claimed in claim 16, is characterized in that, described signal detection module is specifically for periodically detecting the described file request signal whether received from described control point.
18. equipment as described in claim 16 or 17, is characterized in that, also comprise:
File send module, for according to the described file request signal received, sends described capabilities description file by secondary signal path to described control point;
File detection module, sends described capabilities description file for detecting whether to have completed; And
Control module, for when completing the described capabilities description file of transmission, disconnect described secondary signal path, and when not completing the described capabilities description file of transmission, detect described signal path whether to be disconnected by described control point, if described secondary signal path is not disconnected by described control point, then keep described secondary signal communication to have continued to send described capabilities description file.
19. as the equipment as described in arbitrary in claim 16-18, and it is characterized in that, described capabilities description file is extensible markup XML file.
20. 1 kinds of systems, is characterized in that, comprising:
As the equipment as described in arbitrary in claim 11-19;
Described control point; And described router.
CN201510004862.6A 2015-01-05 2015-01-05 A kind of method, apparatus and system for promoting control point discovering device Active CN104602264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510004862.6A CN104602264B (en) 2015-01-05 2015-01-05 A kind of method, apparatus and system for promoting control point discovering device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510004862.6A CN104602264B (en) 2015-01-05 2015-01-05 A kind of method, apparatus and system for promoting control point discovering device

Publications (2)

Publication Number Publication Date
CN104602264A true CN104602264A (en) 2015-05-06
CN104602264B CN104602264B (en) 2018-01-16

Family

ID=53127675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510004862.6A Active CN104602264B (en) 2015-01-05 2015-01-05 A kind of method, apparatus and system for promoting control point discovering device

Country Status (1)

Country Link
CN (1) CN104602264B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112797325A (en) * 2021-02-06 2021-05-14 广东联博新型建材有限公司 Intelligent pipe network detection system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001179A (en) * 2006-01-11 2007-07-18 中兴通讯股份有限公司 Detection method for carrier network
CN103312807A (en) * 2013-06-20 2013-09-18 华为技术有限公司 Data transmission method, data transmission device and data transmission system
WO2013159486A1 (en) * 2012-04-26 2013-10-31 华为技术有限公司 Ptp clock source switching method, and master and slave clock devices and systems
CN103957538A (en) * 2014-04-04 2014-07-30 杭州华三通信技术有限公司 Method and device for detecting network quality

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001179A (en) * 2006-01-11 2007-07-18 中兴通讯股份有限公司 Detection method for carrier network
WO2013159486A1 (en) * 2012-04-26 2013-10-31 华为技术有限公司 Ptp clock source switching method, and master and slave clock devices and systems
CN103312807A (en) * 2013-06-20 2013-09-18 华为技术有限公司 Data transmission method, data transmission device and data transmission system
CN103957538A (en) * 2014-04-04 2014-07-30 杭州华三通信技术有限公司 Method and device for detecting network quality

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112797325A (en) * 2021-02-06 2021-05-14 广东联博新型建材有限公司 Intelligent pipe network detection system and method
CN112797325B (en) * 2021-02-06 2022-07-05 广东联博新型建材有限公司 Intelligent pipe network detection system and method

Also Published As

Publication number Publication date
CN104602264B (en) 2018-01-16

Similar Documents

Publication Publication Date Title
CN104301987B (en) For adjusting the device for receiving radius and the method for handling probe requests thereby
EP2410775B1 (en) Method, device and terminal for determining transmission mode
US20130229930A1 (en) Proximity-based wireless handshaking for connection establishment
EP3069478A1 (en) System and method for determining a clear channel assessment threshold
EP2493129A2 (en) Method for allocating group address in wireless lan, method for transmitting response request frame and response frame to terminals, and data transmission method using same group address
EP3759995B1 (en) Methods and systems for dynamically configuring mode of operation for a prose enabled user equipment
RU2015141796A (en) COMMUNICATION SYSTEM AND METHOD OF COMMUNICATION, COMMUNICATION DEVICE AND METHOD OF MANAGEMENT FOR THEM, AND THE MEDIA
US10194399B2 (en) Adjusting small cell transmit power according to load and transmit power of other small cells
WO2008044233A2 (en) System, apparatus and method for enabling optimal communication over power lines
US20210021976A1 (en) In-vehicle device and data communication method thereof
EP2342931A1 (en) Method and apparatus for identifying and/or selecting a connection identifier
CN111884875A (en) Offline device determination method and device
EP3202095B1 (en) Method and device for remedial action based on inter-packet received power
CN101562500B (en) Data transmission request method, data transmission method and data transmission device
KR20120036886A (en) Peer-to-peer negotiation in a wireless network
WO2014123815A1 (en) Adjustable carrier sense threshold for wireless broadcast
US20160006801A1 (en) Data sharing system
US8989074B2 (en) Communication apparatus, communication method, and communication system
US10091088B2 (en) Mode selection for a communications session
US9253814B1 (en) Wireless communication device and method for interacting with a wireless hotspot
CN104009937A (en) Enhanced-transmission-selection configuration information transmission method and device
CN104602264A (en) Method, device and system for promoting control point to find device
WO2014076878A1 (en) Data sharing system
CN105451367A (en) Wireless network connection method, device and system
CN102027783B (en) Transmitting and receiving method of communication network node, module, node and system.

Legal Events

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