WO2014183624A1 - Wifi路由表形成方法及装置、wifi通信方法及装置和存储介质 - Google Patents
Wifi路由表形成方法及装置、wifi通信方法及装置和存储介质 Download PDFInfo
- Publication number
- WO2014183624A1 WO2014183624A1 PCT/CN2014/077299 CN2014077299W WO2014183624A1 WO 2014183624 A1 WO2014183624 A1 WO 2014183624A1 CN 2014077299 W CN2014077299 W CN 2014077299W WO 2014183624 A1 WO2014183624 A1 WO 2014183624A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- wifi
- direct connection
- established
- wifi direct
- connectable
- Prior art date
Links
- 238000004891 communication Methods 0.000 title claims abstract description 132
- 238000000034 method Methods 0.000 title claims abstract description 76
- 230000005540 biological transmission Effects 0.000 claims description 65
- 238000001514 detection method Methods 0.000 claims description 12
- 230000003993 interaction Effects 0.000 claims description 12
- 230000006855 networking Effects 0.000 description 13
- 238000005516 engineering process Methods 0.000 description 7
- 239000000523 sample Substances 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006872 improvement Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000003139 buffering effect Effects 0.000 description 2
- 239000003999 initiator Substances 0.000 description 2
- 230000000737 periodic effect Effects 0.000 description 2
- 235000008694 Humulus lupulus Nutrition 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/20—Manipulation of established connections
- H04W76/23—Manipulation of direct-mode connections
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Definitions
- WIFI routing table forming method and device WIFI communication method and device and storage medium
- the present invention relates to a WIFI communication technology in the field of wireless communication, and in particular, to a WIFI routing table forming method and device, a WIFI communication method and device, and a storage medium. Background technique
- the WIFI network includes a central device, which is usually a router, and is used to forward data between the target device and the source device.
- the networking mode is limited by the number of devices that the central device can connect to, so that the network size is small, and the physical distance between the two devices is small. If multiple devices simultaneously send data, it is easy to cause data to be blocked in the central device, which leads to The problem of poor communication quality such as slow data transmission rate and data loss.
- the second type of WIFI is directly connected to the network.
- the devices in the network have no priority.
- the data to be sent is sent through the WIFI direct link of the source device and the target device, and is not forwarded through the central device.
- WIFI directly connects to the network, and the connection between each device and other devices breaks the limit of the physical distance of the central device to the network. At the same time, it can solve the problem of poor communication quality caused by the congestion of the central device, but use this WIFI direct connection.
- the physical distance between the network device and the source device cannot break through the range that the existing WIFI technology can connect. For example, device A cannot communicate with device B that is 300m apart. Summary of the invention
- the present invention is to provide a WIFI routing table forming method and device, WIFI communication method and device, and storage medium, to break the distance limitation of WIFI communication, and reduce WIFI communication. The chance that the letter can't.
- a first aspect of the embodiments of the present invention provides a method for forming a WIFI routing table, where the method includes:
- the method further includes:
- the WIFI routing table has been formed by the interaction between the established WIFI direct devices.
- a second aspect of the embodiments of the present invention provides a WIFI communication method, where the method includes: selecting, according to a preset routing algorithm, a WIFI routing table, a source device, one or more intermediate devices, and a target device sequentially formed by WIFI.
- Transmission link includes: selecting, according to a preset routing algorithm, a WIFI routing table, a source device, one or more intermediate devices, and a target device sequentially formed by WIFI.
- the WIFI routing table is the WIFI routing table formed by claim 1 or 2.
- the method further includes:
- Determining that the WIFI direct connection cannot be established between the source device and the target device includes: Determining whether a WIFI direct connection has been established between the source device and the target device;
- determining whether the target device is the source device may search for an unconnected device; if not, the WIFI direct connection may not be established between the source device and the target device; if yes, establishing the source If the WIFI is directly connected to the device and the device fails to be established, the WIFI direct connection cannot be established between the source device and the target device.
- the preset routing algorithm is a routing algorithm with the smallest number of intermediate devices or a routing algorithm whose number of intermediate devices is smaller than a pre-stored threshold.
- the method further includes: obtaining, by using label detection, the number of intermediate devices that each of the transmission links passes through.
- a third aspect of the embodiments of the present invention provides a WIFI routing table forming apparatus, where the apparatus includes:
- the first obtaining unit is configured to obtain the first WIFI direct routing information between the first device and the first connectable device; and the WIFI direct connection may be established between the first device and the first connectable device;
- the second obtaining unit is configured to obtain the second WIFI direct routing information between the second device and the second connectable device; and the WIFI direct connection may be established between the second device and the second connectable device; Establishing a WIFI direct connection between the first device and the second device;
- a third acquiring unit configured to acquire third WIFI direct routing information between the third device and the third connectable device; and the WIFI direct connection may be established between the third device and the third connectable device; A WIFI direct connection has been established between the second device and the third device.
- the device further includes:
- the interaction unit is configured to establish a WIFI routing table that has been formed by the interaction between the WIFI direct devices.
- a fourth aspect of the embodiments of the present invention provides a WIFI communication device, where the device includes: a selecting unit configured to select a source from a WIFI routing table according to a preset routing algorithm. a transmission link formed by the WIFI directly connected to the intermediate device and the target device; the communication unit is configured to use the transmission path selected by the selection unit to perform WIFI communication;
- the WIFI routing table is the WIFI routing table formed by claim 1 or 2.
- the determining unit is configured to determine that the WIFI direct connection cannot be established between the source device and the target device before the selecting unit selects the transmission link.
- the determining unit comprises:
- the first determining module is configured to determine whether a direct connection between the source device and the target device is established
- the second judging module is configured to: when it is determined that the WIFI direct connection is not established between the source device and the target device, determine whether the target device is the source device and may search for an unconnected device, where The target device is an unconnected device that is not searchable by the source device, and the WIFI direct connection cannot be established between the source device and the target device;
- a direct connection module configured to: when the source device can search for the connected device, establishing a WIFI direct connection between the source device and the target device; wherein, between the source device and the target device The establishment of the WIFI direct connection fails, and the WIFI direct connection cannot be established between the source device and the target device.
- the preset routing algorithm is a routing algorithm with the smallest number of intermediate devices or a routing algorithm whose number of intermediate devices is smaller than a pre-stored threshold.
- the selecting unit further includes:
- the tag detecting module is configured to obtain the number of intermediate devices that each of the transmission links passes through tag detection.
- a fifth aspect of the embodiments of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the present invention.
- a sixth aspect of the invention provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, the computer executable instructions being used to perform the method of any of the second aspect of the embodiments of the present invention.
- a method and device for forming a WIFI routing table, a WIFI communication method and device, and a storage medium are provided in the embodiments of the present invention, and a WIFI routing table is provided in relation to the prior art.
- the WIFI routing table provides routing information for forming a source device, an intermediate device, and a target device, and the WIFI direct connection transmission link, so that the transmission path can be formed, thereby effectively reducing the distance between the WIFI direct connected devices or the WIFI.
- FIG. 1 is a schematic flowchart of a method for forming a WIFI routing table according to Embodiment 1 of the present invention
- FIG. 2 is a schematic flowchart of a WIFI communication method according to Embodiment 2 of the present invention
- FIG. 3 is a schematic diagram of WIFI according to Embodiment 2 of the present invention
- FIG. 4 is a schematic diagram of a process of determining that a source device and a target device cannot be directly connected to a WIFI according to Embodiment 2 of the present invention
- FIG. 5 is a schematic structural diagram of a device for forming a WIFI routing table according to Embodiment 3 of the present invention
- FIG. 6 is a second schematic structural diagram of a device for forming a WIFI routing table according to Embodiment 3 of the present invention
- FIG. 8 is a schematic structural diagram of a WIFI communication device according to Embodiment 4 of the present invention
- FIG. 9 is a schematic structural diagram of a determining unit according to Embodiment 4 of the present invention.
- FIG. 10 is a flowchart of a method for establishing a WIFI direct connection according to Embodiment 5 of the present invention
- FIG. 11 is a flowchart of a method for establishing a WIFI direct connection according to Embodiment 6 of the present invention.
- Embodiment 1 is a diagrammatic representation of Embodiment 1:
- the method for forming a WIFI routing table in this embodiment includes:
- Step S110 Acquire first WIFI direct connection information between the first device and the first connectable device; and establish a WIFI direct connection between the first device and the first connectable device;
- Step S120 Acquire a second WIFI direct routing information between the second device and the second connectable device; and establish a WIFI direct connection between the second device and the second connectable device; Establishing a WIFI direct connection with the second device;
- Step S130 Acquire third WIFI direct routing information between the third device and the third connectable device; and establish a WIFI direct connection between the third device and the third connectable device; A WIFI direct connection has been established with the third device.
- the first device, the second device, the third device, the first connectable device, the second connectable device, and the third connectable device are all WIFI direct connected devices.
- the first, second, and third methods in the WIFI routing table formation method in this embodiment are only used to distinguish different WIFI devices. Any device in the formed WIFI routing table can be used as the first device, and the device that is directly connected to the WIFI in the first device is the second device, and the device directly connected to the second device is established.
- the connectable device searched by the first device is the first connectable device; the connectable device searched by the second device is the second connectable device; and the connectable device searched by the third device is the third connectable device .
- the obtaining of the first, second, and third WIFI direct routing information may be mutual search or addition between WIFI direct devices.
- the mutual search between the WIFI direct connected devices includes automatic search and search based on user indication.
- the search device is typically a point-to-point search.
- the frequency band occupied by WIFI communication is usually divided into 13 channels, and the WIFI backup can transmit and receive signals. Scan each device on each channel to establish a WIFI direct connection device to form WIFI direct routing information. If device A searches for surrounding devices, it forms routing information that device A and device A can connect to the device.
- the first, second, and third WIFI direct routing information includes a MAC address of each corresponding WIFI device. After the WIFI direct connection group centered on a WIFI device is established based on the WIFI routing information, the group name, the group identity, and the membership status are also included.
- the first connectable device includes a first connectable device that has established a WIFI direct connection with the first device and a first connectable device that has not yet established a WIFI direct connection with the first device.
- the second connectable device includes a second connectable device that has established a WIFI direct connection with the second device, and a second connectable device that has not yet established a WIFI direct connection with the first device.
- the third connectable device includes a third connectable device that has established a WIFI direct connection with the third device, and a third connectable device that has not yet established a WIFI direct connection with the third device.
- the formed WIFI routing table includes at least the first WIFI direct routing information, the second WIFI direct routing information, and the third WIFI direct routing information.
- the first WIFI direct routing information, the second WIFI direct routing information, and the third WIFI direct routing information transmission method may be unicast, multicast, and broadcast. In unicast mode, it can be sent to the specified WIFI device. Multicast can be sent to multiple designated WIFI devices at the same time, and the broadcast is sent to all devices.
- the WIFI routing table is exchanged between devices that have been directly connected to the WIFI, so that the WIFI routing table is updated in time to form an effective establishment of the transmission link.
- the broadcast is used to perform the forwarding of the WIFI routing table, which has the advantages of high speed and high efficiency.
- the way of interaction includes unicast, multicast, and broadcast.
- the time of interaction can be the periodic interaction between the WIFI direct device and the startup.
- the transmission path that can be formed includes at least the following Several kinds: The first type: a WIFI direct connection path from the first device to the first connectable device;
- the second type the first device to the second device, the WIFI direct connection path and the second device to the second connectable device, the WIFI direct connection path, and the splicing formed transmission path;
- the third type the first device to the second device, the WIFI direct connection path and the second device to the third device WIFI direct connection path, the transmission path formed by the splicing;
- the fourth type the first device to the second device WIFI direct connection path, the second device to the third device WIFI direct connection path and the third device to the third connectable device WIFI direct connection path, the splicing formed transmission path.
- the first connectable device and/or the second connectable device and/or the third connectable device may point to the same WIFI device during a particular implementation.
- the first connectable device, the second connectable device, and the third connectable device are similarly connectable devices.
- the WIFI routing table described in this embodiment may be used to provide a transmission link including a source device, at least one intermediate device, and a target device, and implement WIFI relay and forwarding through the intermediate device to implement long-distance WIFI communication. Thereby breaking the limitation of the physical transmission distance of the existing WIFI communication is short.
- the source device is an initiator of the WIFI communication, and may be any one of the first device, the second device, the third device, the first connectable device, the second connectable device, and the third connectable device.
- the target device is a receiver of WIFI communication, and is a WIFI device that is not the same device as the source device.
- the routing information in the WIFI routing table can be established through the relay and forwarding of the intermediate device. WIFI communication, which reduces the chance of WIFI communication failure.
- the WIFI routing information is integrated into the same WIFI routing list, and the information can be transmitted between the WIFI devices.
- the first device forwards the first WIFI direct routing information to the second device, and integrates with the second WIFI routing information; the third device forwards the third WIFI direct routing information to the second device, and then The second WIFI direct connection routing information and the first WIFI direct connection information are integrated to form the foregoing WIFI routing table.
- the step S110, the step S120, and the step S130 may be performed according to the sequence described in FIG. 1.
- the step S110, the step S120, and the step S130 are not in a certain order, and may be Simultaneous execution can also be performed sequentially.
- Embodiment 2 is a diagrammatic representation of Embodiment 1:
- this embodiment provides a WIFI communication method, where the method includes: Step S210: Select a source device, one or more intermediate devices, and a target device in sequence from a WIFI routing table according to a preset routing algorithm.
- the WIFI is directly connected to the transmission link; the source device is a WIFI communication device initiating device, and the target device is a WIFI communication response device.
- Step S220 uses the transmission link to perform WIFI communication.
- the WIFI routing table is a routing table formed by any technical solution in Embodiment 1.
- the WIFI communication method described in this embodiment can implement long-distance WIFI communication between the source device and the target device, and reduce the probability of failure of the WIFI communication when the source device and the target device cannot be directly connected to the WIFI.
- the WIFI direct connection cannot be established.
- the device b can establish a WIFI direct connection with the device a, and at the same time, can establish a WIFI direct connection with the device c, and then select from device a to device 1), and then device b to device c.
- Two segments of WIFI direct link which are connected in turn to form a transmission link. Perform WIFI communication.
- step S200 is further included before the step S210 is performed.
- the step S200 is to determine that the WIFI direct connection cannot be established between the source device and the target device.
- the communication can be directly performed through the WIFI to minimize the resources occupied by the WIFI communication.
- Performing a WIFI direct connection between the source device and the target device includes:
- the WIFI direct link of the source device is cancelled according to the connection cancellation policy, and the WIFI direct connection is established with the target device.
- the connection cancellation policy may be a WIFI direct link with the lowest communication frequency or a WIFI direct link with the least routing message in a specified time.
- the method in this embodiment further provides a specific step of determining whether a direct connection between the source device and the target device is not established, and specifically includes:
- Step S201 Determine whether a WIFI connection is established between the source device and the target device; if no, go to step S202; if yes, a WIFI direct connection may be established between the source device and the target device to directly communicate.
- the determining method may be: searching for the WIFI routing table of the source device, specifically: matching the MAC address of the target device with the MAC address in the WIFI routing table in the source device, if the matching is successful, and the source device reaches the target device If the hop count is 1, the WIFI direct connection is established between the source device and the target device.
- the number of hops corresponds to the number of segments of the WIFI direct link.
- Step S202 determining whether the target device is the source device can search for an unconnected device; if not, proceeding to step S203;
- the implementation can match the MAC address of the target device with the MAC address of the searchable device, and if the matching succeeds, it is a searchable device.
- Step S203 Establish a WIFI direct connection between the source device and the target device. If the establishment fails, the WIFI direct connection cannot be established between the source device and the target device.
- any one of the prior art methods can be used.
- the above method can be used to easily determine whether a WIFI direct link can be established between the source device and the target device.
- multiple transmission paths may be provided in the WIFI routing table, and a transmission path that meets the requirements needs to be selected according to a routing algorithm.
- routing algorithms There are many routing algorithms, and two routing algorithms are provided in this embodiment.
- the routing algorithm with the least number of intermediate devices, that is, the transmission path with the least number of intermediate devices selected.
- the routing algorithm is a routing option that selects a minimum of occupied communication resources.
- the second type a routing algorithm whose number of intermediate devices is less than a threshold, and the threshold is a value stored in advance. With this routing algorithm, a transmission path can be selected more quickly to reduce the delay of WIFI communication.
- the number of WIFI direct link segments is provided.
- the number of WIFI direct link segments is equal to the number of intermediate devices plus one.
- the tag detection sends a probe frame to the source device, and allocates a certain number of tags. When a device is reached, the number of tags is automatically decremented by 1. When the number of tags is reduced to 0, the probe frame is stopped.
- the probe tag is The probe frame carries.
- the remaining number of the detection tags is compared after reaching the target device in each transmission path; the larger the remaining number, the fewer intermediate devices that the transmission path passes, and the transmission path The shorter. Select the transmission path with the largest remaining number of labels as the transmission path.
- the source device sends a label probe frame. If a number of intermediate devices whose transmission path reaches the target device is found to be less than a threshold, the path may be selected as the path.
- the WIFI communication in this embodiment includes voice communication, video communication, and short message communication.
- the multi-buffer technology is used for communication, so that various data loss can be avoided to improve the communication quality.
- the multi-buffer technology can better buffer the data with different buffer numbers and different buffering algorithms, and can effectively reduce data loss, especially for voice and video. WIFI communication with a large amount of communication data.
- the WIFI communication method described in this embodiment breaks the limitation of the existing WIFI communication transmission distance, can realize WIFI communication with a longer physical distance, and provides another WIFI communication method for the device to be directly connected to the WIFI. And the communication is reliable.
- Embodiment 3 :
- the embodiment provides a device for forming a WIFI routing table, and the device includes: a first acquiring unit 310, configured to acquire a first between a first device and a first connectable device.
- the WIFI directly connects the routing information; the WIFI direct connection can be established between the first device and the first connectable device;
- the second obtaining unit 320 is configured to obtain the second WIFI direct routing information between the second device and the second connectable device; and the WIFI direct connection may be established between the second device and the second connectable device; Establishing a WIFI direct connection between the first device and the second device;
- the third obtaining unit 330 is configured to acquire third WIFI direct routing information between the third device and the third connectable device; and the WIFI direct connection may be established between the third device and the third connectable device; A WIFI direct connection has been established between the second device and the third device.
- the WIFI routing table forming device may be independently configured, or may be integrated on a WIFI direct connected device.
- the first obtaining unit 310, the second obtaining unit 320, and the third obtaining unit 330 may all be receiving units having a receiving function, and the specific structure may be receiving. antenna.
- the WIFI direct connected device is the first device, and the first obtaining unit 310 may multiplex the search unit of the WIFI direct connected device.
- the searching unit may search for the connectable device of the first device, and form routing information; the routing information formed by the searching unit is the first WIFI direct routing information.
- the two acquisition unit 320 and the third acquisition unit 330 may each be a receiving unit having a receiving function.
- the receiving unit may multiplex the receiving unit of the first device, and the specific structure may be a WIFI direct communication unit, or a radio frequency transmission unit, and the specific structure includes a receiving antenna.
- the second obtaining unit 320 and the third obtaining unit 330 may be functional units that multiplex the same receiving antenna.
- the apparatus further includes an interaction unit 340.
- the interaction unit 340 is configured to exchange the WIFI routing table between the established WIFI direct devices.
- the interaction unit 340 sends the WIFI route to other devices for establishing a WIFI routing table of other devices, thereby constructing a more accurate and comprehensive WIFI routing information.
- Routing table in order to form a transmission link for WIFI communication better and faster.
- the manner of sending may be unicast, multicast, or broadcast.
- the interaction unit 340 is specifically configured to: Routing table.
- the WIFI routing device in this embodiment is a method for forming a WIFI routing table according to the present invention, and provides a physical device implemented, and forms a transmission chain between the source device, the at least one intermediate device, and the target device.
- the WIFI routing table of the road effectively breaks the limitation of the short distance in the existing WIFI communication and the high probability of non-WIFI direct communication.
- the embodiment provides a WIFI communication device, where the device includes: a selecting unit 410 configured to select a source device, one or more intermediate devices, and a slave device from a WIFI routing table according to a preset routing algorithm.
- the target device sequentially connects the transmission link formed by the WIFI; the communication unit 420 is configured to perform the WIFI communication by using the transmission path selected by the selection unit.
- the selection list 410 may be any one of the prior art that can implement the above-described selection function, and specifically includes various types of processors. Specific devices such as microcontrollers, digital processors, central processors, and programmable arrays.
- the communication unit 420 can be a WIFI communication unit, and can be any structure for performing WIFI communication in the prior art.
- the WIFI communication device may be a stand-alone WIFI communication device, or may be a WIFI communication device integrated on various communication devices, such as a mobile phone, a smart phone, a tablet computer, a personal assistant, a commercial device, and a personal computer.
- the WIFI communication device is a software, or a program including a processor, a storage medium, and at least one.
- the bus is used to connect the storage medium, the processor, and the communication interface, and the program can implement selection of a selected transmission path including the source device, the one or more intermediate devices, and the target device.
- the communication interface is configured to perform the WIFI communication.
- the specific WIFI communication device may further include a storage medium storing the WIFI routing table.
- the storage medium is a storage medium of a type such as flash or ROM.
- the WIFI communication device described in this embodiment provides physical installation for the WIFI communication method.
- the WIFI communication device further includes a determining unit 400.
- the determining unit 400 is configured to determine the source device and the target device before the selecting unit 410 selects a transmission link. It is not possible to establish a direct connection between WIFI.
- the determining unit 400 in this embodiment first determines whether a WIFI direct connection can be performed between the source device and the target device. If the WIFI direct connection is possible, there is no need to establish a direct connection between the source device, the intermediate device, and the target device WIFI. For the transmission link, the WIFI direct link can be directly used for WIFI communication to reduce the communication resources occupied by the WIFI communication.
- the determining unit 400 includes:
- the first determining module 401 is configured to determine whether a direct connection between the source device and the target device is established;
- the second determining module 402 is configured to: when it is determined that the WIFI direct connection is not established between the source device and the target device, determine whether the target device is the source device and can search for an unconnected device, where The target device is an unconnected device that is not searchable by the source device, and the WIFI direct connection cannot be established between the source device and the target device;
- the direct connection module 403 is configured to establish, when the source device is the source device, the WIFI direct connection between the source device and the target device, where the source device and the target device are The WIFI direct connection fails, and the WIFI direct connection cannot be established between the source device and the target device.
- the specific structures of the first determining module 401 and the second determining module 402 may include A comparator or an integrated circuit including a comparator, or a processor that can implement the above-described judging function.
- the direct connection module 403 can be a direct connection module in an existing WIFI device.
- the determining unit 400 utilizes the existing structure in the WIFI communication device to determine whether the source device and the target device can directly connect to the WIFI.
- the WIFI device is integrated in a WIFI direct connection device, it is usually used as a source device for WIFI communication.
- the preset routing algorithm is a routing algorithm with the smallest number of intermediate devices or a routing algorithm whose number of intermediate devices is less than a threshold.
- the routing algorithm with the least number of intermediate devices is to select a transmission path with a minimum of intermediate devices by comparing the transmission paths, so as to improve the efficiency of WIFI communication.
- the routing algorithm in which the number of intermediate devices is less than the threshold is arbitrarily selected for a transmission link whose number of intermediate devices is smaller than a pre-stored threshold, so that the selection surface is wider and the selection speed is faster.
- the selection unit 410 further includes a tag detection module:
- the tag detecting module is configured to obtain, by using tag detection, the number of intermediate devices that each of the transmission links passes through.
- the tag detecting module is specifically configured to form and send a tag detecting frame, and perform tag detection of each transmission path.
- the probe frame is usually allocated a certain number of labels. Whenever an intermediate device is used, the number of labels is automatically decreased by 1. When the number of labels is 0, the WIFI direct connected device stops forwarding the probe frame.
- the embodiment provides a WIFI communication device, which enables WIFI communication to be relayed and forwarded through the intermediate device to realize communication WIFI communication data transmission.
- the two devices cannot directly establish a WIFI direct connection, they can be relayed and forwarded through the intermediate device, thereby reducing the probability of WIFI communication failure and breaking the limitation of the distance in the WIFI communication.
- Embodiment 5 is a diagrammatic representation of Embodiment 5:
- the invention also provides a WIFI connection establishment method, which is used for automatically connecting between WIFI devices, to establish a WIFI direct connection in advance, and can directly communicate when WIFI communication is needed, thereby effectively reducing WIFI communication to establish a WIFI connection. Delay.
- the WIFI direct connection establishment method in this embodiment includes: Step S310: automatically searching for connectable devices;
- Step S320 Send a network request frame including an automatic connection field to the connectable device; the automatic connection field is used to enable automatic connection of the connectable device;
- Step S330 Establish a WIFI direct connection with the connectable device that has been automatically connected to form a WIFI network.
- the networking request frame is a data frame dedicated to implementing networking between WIFI devices.
- the auto-connect field may be carried in the body part of the network request frame, or may be set in a reserved bit of the frame header of the existing network request frame. In the embodiment, the automatic connection field is preferentially set on a reserved bit of the frame header of the networking request frame. When the automatic connection field sets the reserved bit of the frame header of the networking request frame, the WIFI device can know whether the automatic connection needs to be opened after parsing the frame header, so that the delay is small, and it is not necessary to wait until the network is parsed out.
- the automatic connection may be one or more bits.
- the WIFI device can be run in the background to implement pairing and connection between the WIFI devices.
- a WIFI device will search for several connectable devices nearby and form a connectable list. If device A searches for 10 connectable devices, the device A's connectable list lists the information of 10 connectable devices, such as MAC address and WIFI direct connection status. The device A can determine whether the establishment of the WIFI direct connection is completed by traversing the connectable list. If not, the above steps S310 to S330 are repeated until the device A and all connectable devices in the connectable list complete the establishment of the WIFI direct connection. .
- the method further includes:
- the networking request frame further includes the communication number
- the communication number is used to match the address book in the connected device, so as to match the display of the name in the address book after successful matching.
- the WIFI device that sends the network request frame is the WIFI device A
- the communication number of the WIFI device A is a
- the communication request a further includes the communication number a.
- the communication number a may be extracted from the networking request frame.
- the communication number a is included in the address book of the WIFI device B, the name corresponding to the communication number a in the address book is displayed. Therefore, the user can easily know which user the connection is from, which improves the user experience.
- the communication number may include various types and communication signals of various services, such as a communication number such as a SIM number and a UIM number, and the specific acquisition method includes a method of reading from a storage medium storing the communication number.
- the method further includes:
- the target device is a connectable device of the source device; the source device is the initiator of the WIFI communication device, and the target device is the responder of the WIFI communication; if the target device is the connectable device of the source device The device determines whether the number of connected devices of the source device has reached the upper limit;
- the WIFI direct connection that meets the connection removal policy is disconnected, and the connection with the target device is established by using the WIFI direct connection technology;
- the connection removal policy is various, and the specific may be the latest designation.
- the specific number of WIFI communication times in the duration is less than or less than the threshold, or the communication time is less than the time threshold, which can be selected as needed.
- the connection removal policy may also be: the WIFI routing table is not accepted within the latest specified duration;
- WIFI WIFI direct connection technology
- the device starts up it starts to search for connectable devices and enters the establishment of WIFI direct connection. This makes it easy for the device to WIFI communication is implemented in the first time after startup.
- the device can be connected through periodic automatic search, which realizes the update of the WIFI direct connection, deletes the invalid connection in time, and establishes an effective connection.
- the method for establishing a WIFI direct connection in this embodiment includes:
- Step S410 Receive a networking request frame.
- Step S420 detecting whether the automatic connection field is included in the networking request frame; if the determination result is yes, proceeding to step S430;
- Step S430 Start an automatic connection, and establish a WIFI direct connection between the network request frame receiving device and the sending device.
- the method for establishing a WIFI direct connection in this embodiment after receiving the network request frame, detects that there is an automatic connection field in the network request frame, and then starts the automatic connection function, which is more convenient than the manual manual networking of the user. And automatic connection is beneficial to extract and establish WIFI direct connection, and reduce the delay of WIFI communication.
- the network request frame includes the communication number of the sender, and the address record of the receiver can be successfully matched.
- the name of the user of the WIFI device can be displayed, thereby facilitating the user to search according to the user name and optimizing the user. Experience.
- the embodiment provides a WIFI direct connection establishment method, where the method includes the following steps: The first device automatically searches for a connectable device, and the connectable device is a second device; wherein the second device may be one or more ; Transmitting, by the first device, the network request frame including the auto-connect field to the connectable second device;
- the second device receives the networking request frame
- the second device detects whether the automatic connection field is included in the networking request frame
- a WIFI direct connection is established between the first device and the second device.
- the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the method described in any one of the first embodiment; The method as described in FIG. 1 is performed.
- the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used in any one of the methods according to any one of the second embodiments.
- the computer storage medium may specifically be a non-transitory storage medium such as a USB flash drive, an optical disk or a DVD.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种WIFI路由表形成方法及装置、WIFI通信方法及装置。所述WIFI路由表包括:第一设备与第一可连接设备之间的第一WIFI直连路由信息;第一设备与所述第一可连接设备之间可建立WIFI直连;第二设备与第二可连接设备之间的第二WIFI直连路由信息;第二设备与所述第二可连接设备之间可建立WIFI直连;第一设备与所述第二设备之间已建立WIFI直连;第三设备与第三可连接设备之间的第三WIFI直连路由信息;第三设备与第三可连接设备之间可建立WIFI直连;第二设备与第三设备之间已建立WIFI直连。本发明还同时公开了两种计算机存储介质。
Description
WIFI路由表形成方法及装置、 WIFI通信方法及装置和存储 介质 技术领域
本发明涉及无线通信领域的 WIFI通信技术, 尤其涉及一种 WIFI路由 表形成方法及装置、 WIFI通信方法及装置和存储介质。 背景技术
现有的 WIFI网络包括以下两种:
第一种: WIFI网络中包括一个中心设备,所述中心设备通常为路由器, 用来转发目标设备与源设备之间的数据。 这种组网方式受限于中心设备可 连接的设备数, 从而网络规模小, 两设备间的物理距离小; 且若多个设备 同时发送数据, 很容易导致数据在中心设备的堵塞, 进而导致数据传输速 率慢, 数据丟失等通信质量差的问题。
第二种: WIFI直连网络, 网络中所有的设备无优先级差异, 待发送的 数据是通过源设备和目标设备 WIFI直连链路发送的,不再通过中心设备进 行转发。 WIFI直连网络, 通过每一设备与其他设备的连接, 打破了中心设 备对网络物理距离的限制, 同时可以解决了由中心设备堵塞导致的通信质 量差的问题, 但是釆用这种 WIFI直连网络, 源设备和目标设备之间的物理 距离还是无法突破现有的 WIFI技术可连接的范围,譬如设备 A与相距 300m 的设备 B是无法实现 WIFI通信的。 发明内容
有鉴于此, 本发明期望提供一种 WIFI路由表形成方法及装置、 WIFI 通信方法及装置和存储介质, 以打破 WIFI通信的距离限制, 降低 WIFI通
信不能的几率。
为达到上述目的, 本发明的技术方案是这样实现的:
本发明实施例第一方面提供一种 WIFI路由表形成方法, 所述方法包 括:
获取第一设备与第一可连接设备之间的第一 WIFI直连路由信息;所述 第一设备与所述第一可连接设备之间可建立 WIFI直连;
获取第二设备与第二可连接设备之间的第二 WIFI直连路由信息;所述 第二设备与所述第二可连接设备之间可建立 WIFI直连; 所述第一设备与所 述第二设备之间已建立 WIFI直连;
获取第三设备与第三可连接设备之间的第三 WIFI直连路由信息;所述 第三设备与所述第三可连接设备之间可建立 WIFI直连; 所述第二设备与所 述第三设备之间已建立 WIFI直连。
优选地, 所述方法还包括:
已建立 WIFI直连设备之间交互已形成 WIFI路由表。
本发明实施例第二方面提供一种 WIFI通信方法, 所述方法包括: 根据预设路由算法从 WIFI路由表, 选择一条由源设备、 一个或多个中 间设备和目标设备依次 WIFI直连形成的传输链路;
釆用所述传输链路, 进行 WIFI通信;
其中, 所述 WIFI路由表为权利要求 1或 2所形成的 WIFI路由表。 优选地,在所述根据预设路由算法从 WIFI路由表,选择一条由源设备、 一个或多个中间设备和目标设备依次 WIFI直连形成的传输链路之前,还包 括:
确定所述源设备与所述目标设备之间不可建立 WIFI直连。
优选地,
确定所述源设备与所述目标设备之间不可建立 WIFI直连包括:
判断所述源设备与所述目标设备之间是否已建立 WIFI直连;
若否, 则判断所述目标设备是否为所述源设备可搜索到未连接设备; 若否, 则所述源设备与所述目标设备之间不可建立 WIFI直连; 若是,则建立所述源设备与所述目标设备之间的 WIFI直连,建立失败, 则所述源设备与所述目标设备之间不可建立 WIFI直连。
优选地, 所述预设路由算法为中间设备数最少的路由算法或中间设备 数小于预先存储阈值的路由算法。
优选地, 所述方法还包括: 通过标签探测获取每一条所述传输链路所 经过的中间设备数。
本发明实施例第三方面提供一种 WIFI路由表形成装置, 所述装置包 括:
第一获取单元, 配置为获取第一设备与第一可连接设备之间的第一 WIFI直连路由信息;所述第一设备与所述第一可连接设备之间可建立 WIFI 直连;
第二获取单元, 配置为获取第二设备与第二可连接设备之间的第二 WIFI直连路由信息;所述第二设备与所述第二可连接设备之间可建立 WIFI 直连; 所述第一设备与所述第二设备之间已建立 WIFI直连;
第三获取单元, 配置为获取第三设备与第三可连接设备之间的第三 WIFI直连路由信息;所述第三设备与所述第三可连接设备之间可建立 WIFI 直连; 所述第二设备与所述第三设备之间已建立 WIFI直连。
优选地, 所述装置还包括:
交互单元, 配置为已建立 WIFI直连设备之间交互已形成的 WIFI路由 表。
本发明实施例第四方面提供一种 WIFI通信装置, 所述装置包括: 选择单元, 配置为根据预设路由算法从 WIFI路由表, 选择一条由源设
备、 一个或多个中间设备和目标设备依次 WIFI直连形成的传输链路; 通信单元, 配置为釆用所述选择单元所选择的传输路径, 进行 WIFI通 信;
所述 WIFI路由表为权利要求 1或 2所形成的 WIFI路由表。
优选地, 还包括确定单元;
所述确定单元, 配置为所述选择单元选择传输链路之前, 确定所述源 设备与所述目标设备之间不可建立 WIFI直连。
优选地, 所述确定单元包括:
第一判断模块, 配置为判断所述源设备与所述目标设备之间是否已建 立 WIFI直连;
第二判断模块, 配置为在判断出所述源设备与所述目标设备之间未建 立 WIFI 直连时, 判断所述目标设备是否为所述源设备可搜索到未连接设 备, 其中, 所述目标设备为所述源设备不可搜索到的未连接设备, 则所述 源设备与所述目标设备之间不可建立 WIFI直连;
直连模块, 配置为所述目标设备为所述源设备可搜索到连接设备时, 建立所述源设备与目标设备之间的 WIFI直连; 其中, 所述源设备与所述目 标设备之间的 WIFI直连建立失败,所述源设备与所述目标设备之间不可建 立 WIFI直连。
优选地, 所述预设路由算法为中间设备数最少的路由算法或中间设备 数小于预先存储阈值的路由算法。
优选地, 所述选择单元还包括:
标签探测模块, 配置为通过标签探测获取每一条所述传输链路所经过 的中间设备数。
本发明实施例第五方面提供一种计算机存储介质, 所述计算机存储介 质中存储有计算机可执行指令, 所述计算机可执行指令用于执行本发明实
施例第一方面任一所述的方法。
本发明第六方面提供一种计算机存储介质, 所述计算机存储介质中存 储有计算机可执行指令, 所述计算机可执行指令用于执行本发明实施例第 二方面任一所述的方法。
本发明实施例中所述的一种 WIFI路由表形成方法及装置、 WIFI通信 方法及装置和存储介质, 相对于现有技术提供了一种 WIFI路由表。 所述 WIFI路由表为形成源设备、 中间设备以及目标设备依次 WIFI直连的传输 链路提供了路由信息, 从而能通过所述传输路径形成, 有效的降低因 WIFI 直连设备相距过远或 WIFI直连失败等原因导致的 WIFI通信不能的几率, 且打破 WIFI通信的距离限制。 附图说明
图 1为本发明实施例一所述的 WIFI路由表形成方法流程示意图; 图 2为本发明实施例二所述的 WIFI通信方法流程示意图之一; 图 3为本发明实施例二所述的 WIFI通信方法流程示意图之二; 图 4为本发明实施例二所述的确定源设备和目标设备不能 WIFI直连的 流程示意图;
图 5为本发明实施例三所述的 WIFI路由表形成装置结构示意图之一; 图 6为本发明实施例三所述的 WIFI路由表形成装置结构示意图之二; 图 7为本发明实施例四所述的 WIFI通信装置的结构示意图之一; 图 8为本发明实施例四所述的 WIFI通信装置的结构示意图之二; 图 9为本发明实施例四所述的确定单元的结构示意图之;
图 10为本发明实施例五所述的 WIFI直连建立方法的流程图; 图 11为本发明实施例六所述的 WIFI直连建立方法的流程图。
具体实施方式
以下结合附图对本发明的优选实施例进行详细说明, 应当理解, 以下 所说明的优选实施例仅用于说明和解释本发明, 并不用于限定本发明。
实施例一:
如图 1所示, 本实施例 WIFI路由表形成方法包括:
步骤 S110: 获取第一设备与第一可连接设备之间的第一 WIFI直连路 由信息; 所述第一设备与所述第一可连接设备之间可建立 WIFI直连;
步骤 S120: 获取第二设备与第二可连接设备之间的第二 WIFI直连路 由信息; 所述第二设备与所述第二可连接设备之间可建立 WIFI直连; 所述 第一设备与所述第二设备之间已建立 WIFI直连;
步骤 S130: 获取第三设备与第三可连接设备之间的第三 WIFI直连路 由信息; 所述第三设备与所述第三可连接设备之间可建立 WIFI直连; 所述 第二设备与所述第三设备之间已建立 WIFI直连。
所述第一设备、 第二设备、 第三设备、 第一可连接设备、 第二可连接 设备以及第三可连接设备都是属于 WIFI直连设备。 其中所述第一、 第二以 及第三在本实施例所述 WIFI路由表形成方法中, 仅是为区别不同的 WIFI 设备。 在形成的 WIFI路由表中的任何一个设备都可以作为第一设备, 相应 的与第一设备已建立了 WIFI直连的设备则为第二设备,而与第二设备建立 了 WIFI直连的设备为第三设备。 其中, 第一设备搜索到的可连接设备则为 第一可连接设备; 第二设备搜索到的可连接设备为第二可连接设备; 第三 设备搜索到的可连接设备为第三可连接设备。
所述第一、 第二以及第三 WIFI直连路由信息的获取, 均可是 WIFI直 连设备之间的相互搜索或添加。所述 WIFI直连设备之间的相互搜索又包括 了自动搜索以及基于用户指示的搜索。 所述搜索设备通常为点到点的搜索。
WIFI通信所占用的频段通常分为 13个信道,设 WIFI备间可通过收发信号,
逐一扫描每一信道上是否有可建立 WIFI直连的设备, 以形成 WIFI直连路 由信息。 如设备 A搜索周围的设备, 形成设备 A与设备 A可连接设备的路 由信息。
所述第一、 第二以及第三 WIFI直连路由信息包括各自所述对应 WIFI 设备的 MAC地址。 在基于 WIFI路由信息建立了以某一 WIFI设备为中心 的 WIFI直连群组后, 还包括了群组名称、 群组身份以及成员身份等信息。
第一可连接设备包括已与所述第一设备建立了 WIFI 直连的第一可连 接设备以及还未与第一设备建立 WIFI直连的第一可连接设备。第二可连接 设备包括已与所述第二设备建立了 WIFI 直连的第二可连接设备以及还未 与第一设备建立 WIFI直连的第二可连接设备。第三可连接设备包括已与所 述第三设备建立了 WIFI 直连的第三可连接设备以及还未与第三设备建立 WIFI直连的第三可连接设备。
所形成的 WIFI路由表至少包括所述第一 WIFI 直连路由信息、 第二 WIFI直连路由信息以及第三 WIFI直连路由信息。所述第一 WIFI直连路由 信息、 第二 WIFI直连路由信息以及第三 WIFI直连路由信息的传输方法, 可以单播, 多播以及广播。 釆用单播方式, 可以向指定的 WIFI设备发送, 多播可以同时向多个指定 WIFI设备发送, 广播向所有设备发送。
形成所述 WIFI列表后, 已建立 WIFI直连的设备间交互所述 WIFI路 由表, 从而及时的更新所述 WIFI路由表, 以便形成传输链路的有效建立。 在本实施例中选用广播进行所述 WIFI路由表的转发, 具有速度快、 效率高 的优点。 交互的方式包括釆用单播、 多播以及广播的方式, 交互的时间可 以为 WIFI直连设备启动时以及启动后周期性的交互。
根据所述 WIFI路由表中的第一 WIFI直连路由信息、 第二 WIFI直连 路由信息以及第三 WIFI直连路由信息, 且以第一设备为源设备, 至少可以 形成的传输路径至少包括以下几种:
第一种: 第一设备到第一可连接设备的 WIFI直连路径;
第二种:第一设备到第二设备 WIFI直连路径与第二设备到第二可连接 设备 WIFI直连路径, 拼接形成的传输路径;
第三种: 第一设备到第二设备 WIFI 直连路径与第二设备到第三设备 WIFI直连路径, 拼接形成的传输路径;
第四种: 第一设备到第二设备 WIFI 直连路径、 第二设备到第三设备 WIFI直连路径以及第三设备到第三可连接设备 WIFI直连路径, 拼接形成 的传输路径。
在具体的实现过程中第一可连接设备和 /或第二可连接设备和 /或第三 可连接设备可指向同一 WIFI设备。
所述第一可连接设备、 第二可连接设备以及第三可连接设备, 同样的 互为可连接设备。
本实施例中所述的 WIFI路由表可用于提供了一种包括源设备、至少一 个中间设备以及目标设备的传输链路,通过中间设备实现 WIFI的中继和转 发, 实现长距离的 WIFI通信, 从而打破了现有的 WIFI通信物理传输距离 短的限制。
所述源设备为 WIFI通信的发起方, 可为所述第一设备、 第二设备、 第 三设备、 第一可连接设备、 第二可连接设备以及第三可连接设备中的任意 一个。 所述目标设备为 WIFI 通信的接收方, 为与源设备不是同一设备的 WIFI设备。
当一个 WIFI设备不能与另一 WIFI设备因相距过远或连接建立失败等 原因, 不能建立 WIFI直连时,则可以根据所述 WIFI路由表中的路由信息, 通过中间设备的中继和转发建立 WIFI 通信,从而减低了 WIFI通信失败的 几率。
如何将第一 WIFI 直连路由信息、 第二 WIFI 直连路由信息以及第三
WIFI路由信息整合到同一 WIFI路由列表中,可以通过 WIFI设备之间的信 息传递。 具体如, 第一设备将第一 WIFI直连路由信息转发到第二设备中, 与第二 WIFI路由信息进行整合; 第三设备将第三 WIFI直连路由信息转发 到第二设备中, 再与第二 WIFI直连路由信息、 第一 WIFI直连信息进行整 合, 形成上述 WIFI路由表。
在本实施例中, 所述步骤 S110、 步骤 S120及步骤 S130可以按照图 1 所述的先后顺序执行, 在具体的实现过程中, 所述步骤 S110、 步骤 S120 及步骤 S130无一定先后顺序, 可以同时执行也可以先后执行。
实施例二:
如图 2所示, 本实施例提供一种 WIFI通信方法, 所述方法包括: 步骤 S210: 根据预设路由算法从 WIFI路由表, 选择一条由源设备、 一个或多个中间设备和目标设备依次 WIFI直连形成的传输链路;所述源设 备为 WIFI通信设备发起设备, 所述目标设备为 WIFI通信应答设备。
步骤 S220釆用所述传输链路,进行 WIFI通信。所述 WIFI路由表为实 施例一中任意技术方案所形成的路由表。
在本实施例 WIFI通信方法中, 根据 WIFI路由表选择出的传输路径, 由源设备、 至少一个中间设备以及目标设备依次 WIFI直连形成的 WIFI直 连拼接链路, 通过所述传输路径进行 WIFI通信, 釆用了中间设备进行中继 转发。 釆用本实施例中所述 WIFI通信方法, 可以实现源设备与目标设备之 间的长距离 WIFI通信, 同时降低了源设备与目标设备不能 WIFI直连时, WIFI通信的失败的几率。
具体的如当设备 a与设备 c之间因为相距较远或连接失败等原因,不可 建立 WIFI直连。 通过查询 WIFI路由表, 发现设备 b既可与设备 a建立了 WIFI直连, 同时又可与设备 c建立了 WIFI直连, 则可选择由设备 a到设 备1), 再由设备 b到设备 c两段 WIFI直连链路, 依次连接成的传输链路,
进行 WIFI通信。
如图 3所示, 作为本实施例的进一步的改进, 在进行所述步骤 S210之 前还包括步骤 S200。所述步骤 S200为确定所述源设备与所述目标设备之间 不可建立 WIFI直连。当所述源设备与目标设备之间可以建立 WIFI直连时, 则可以通过 WIFI直连进行通信,以尽量少的减少 WIFI通信所占用的资源。
进行所述源设备与目标设备之间的 WIFI直连包括:
源设备所建立 WIFI直连数是否达到连接上限;
若否, 直接建立所述源设备与目标设备之间的 WIFI直连;
若是, 则根据连接取消策略选择取消一条所述源设备的 WIFI 直连链 路, 并与所述目标设备建立 WIFI直连。
所述连接取消策略,可以为指定时间内通信频率最低的 WIFI直连链路 或路由消息最少的 WIFI直连链路。
作为本实施的再次优化, 如图 4所示, 本实施例所述方法, 还提供了 具体如何实现确定源设备与目标设备之间不可建立 WIFI直连的步骤,具体 包括:
步骤 S201 : 判断所述源设备与所述目标设备之间是否已建立 WIFI直 连; 若否, 则进入步骤 S202; 若是, 则源设备和目标设备之间已经建立了 WIFI直连可以直接通信。 判断方法可为通过查找源设备的 WIFI路由表, 具体可为: 将目标设备的 MAC地址与源设备中的 WIFI路由表中的 MAC 地址进行匹配, 若匹配成功, 且源设备到目标设备的转跳数为 1, 则源设备 与目标设备之间已经建立 WIFI直连; 其中, 转跳数对应了 WIFI直连链路 的段数。
步骤 S202:判断所述目标设备是否为所述源设备可搜索到未连接设备; 若否, 则进入步骤 S203;
若是, 则所述源设备与所述目标设备之间不可建立 WIFI直连。 具体的
实现可以将目标设备的 MAC地址与可搜索到的设备的 MAC地址进行匹 配, 匹配成功则为可搜索到的设备。
步骤 S203: 建立所述源设备与所述目标设备之间的 WIFI直连; 若建 立失败, 则所述源设备与所述目标设备之间不可建立 WIFI直连。
具体的 WIFI直连的建立方法, 可以釆用现有技术中的任意一种方法。 通过上述方法可以简单的实现源设备与目标设备之间是否可建立 WIFI 直连链路的确定。
此外, 所述 WIFI路由表中可能提供多条传输路径, 需要根据路由选择 算法, 选择出一条符合需求的传输路径。
路由选择算法有多种, 本实施例中提供了两种路由选择算法。
第一种: 中间设备最少的路由算法, 即选择经过的中间设备个数最少 的传输路径。 该路由选择算法是选择出一条占用的最少通信资源的路由选 择。
第二种: 中间设备数小于阈值的路由算法, 所述阈值为预先存储的数 值。釆用这种路由算法,可以更加快速的选择出一条传输路径,以降低 WIFI 通信的时延。
在具体的实现过程中,确定传输路径经过的 WIFI直连链路段数的方法 有多种, 在本实施例中提供一种标签探测的传输路径中间设备数。 WIFI直 连链路段数等于中间设备数的加 1。 标签探测为源设备发送一个探测帧, 分 配了一定的标签数, 当到达一个设备后, 则标签数自动减 1, 当标签数减到 0时, 则停止转发探测帧, 所述探测标签是由所述探测帧所携带的。
当釆用第一种所述中间设备最少的路由算法时, 比较各条传输路径中 达到目标设备后, 探测标签的剩余数; 剩余数越大, 则传输路径经过的中 间设备越少, 传输路径越短。 选择出标签剩余数量最大的传输路径为传输 路径。
当釆用第二种所述的中间设备数 ' j、于阈值的路由算法, 源设备发送标 签探测帧, 若发现有一条传输路径达到目标设备的中间设备数小于阈值, 则可选择该路径作为传输路径。 釆用这种方法, 无需比较各条传输路径所 经过的中间设备数, 也无需等待各条传输路径完成探测, 从而有利于传输 路径的快速选择, 且选择面相对更广, 当其中一条传输路径出现故障, 可 以选择其他的传输路径进行 WIFI通信, 而不会总是根据路由选择算法, 确 定同一条无法进行正常 WIFI通信的传输路径。
在本实施例中所述 WIFI通信包括语音通信,视频通信以及短消息通信 等。
本实施例所述的 WIFI 通信在进行通信时, 釆用多緩冲区技术进行通 信, 从而可以避免各种数据的丟失, 以提高通信质量。 所述多緩冲区技术 相对于单緩冲技术, 以不同緩冲区数和不同的緩冲算法, 可以更好的实现 数据的緩冲, 能有效减少数据的丟失, 尤其适用于语音和视频等通信数据 量大的 WIFI通信。
本实施例所述的 WIFI通信方法, 打破了现有的 WIFI通信传输距离的 限制,可以实现更长物理距离的 WIFI通信, 同时为设备间无法 WIFI直连, 提供了另一种 WIFI通信方法, 且通信可靠。 实施例三:
如图 5所示,本实施例提供一种 WIFI路由表形成装置,所述装置包括: 第一获取单元 310,配置为获取第一设备与第一可连接设备之间的第一
WIFI直连路由信息;所述第一设备与所述第一可连接设备之间可建立 WIFI 直连;
第二获取单元 320,配置为获取第二设备与第二可连接设备之间的第二 WIFI直连路由信息;所述第二设备与所述第二可连接设备之间可建立 WIFI 直连; 所述第一设备与所述第二设备之间已建立 WIFI直连;
第三获取单元 330,配置为获取第三设备与第三可连接设备之间的第三 WIFI直连路由信息;所述第三设备与所述第三可连接设备之间可建立 WIFI 直连; 所述第二设备与所述第三设备之间已建立 WIFI直连。
所述 WIFI路由表形成装置可以独立设置的装置,也可以是集成在 WIFI 直连设备上。
当所述 WIFI路由表形成装置为独立设置的装置时,所述第一获取单元 310、 第二获取单元 320以及第三获取单元 330都可以是具有接收功能的接 收单元, 具体的结构可以是接收天线。
若所述 WIFI路由表形成装置为集成在所述 WIFI 直连设备, 则所述 WIFI直连设备为第一设备, 则所述第一获取单元 310可以复用所述 WIFI 直连设备的搜索单元。 所述搜索单元可以搜索所述第一设备的可连接设备, 并形成路由信息; 所述搜索单元所述形成的路由信息即为所述第一 WIFI 直连路由信息。 所述二获取单元 320和第三获取单元 330均可是具有接收 功能的接收单元。 所述接收单元可以复用所述第一设备的接收单元, 具体 的结构可以是 WIFI直连通信单元, 还可以是射频传输单元等, 具体的结构 包括接收天线。 所述第二获取单元 320和第三获取单元 330可以为复用同 一接收天线的功能单元。
作为本实施例的进一步改进, 如图 6 所示, 所述装置还包括交互单元 340。 所述交互单元 340, 配置为已建立 WIFI直连设备之间交互所述 WIFI 路由表。
当完成了所述 WIFI路由表的建立后, 所述交互单元 340将所述 WIFI 路由发送到其他设备上, 以供其他设备的 WIFI路由表的建立, 从而构建一 个路由信息更加准确、 全面的 WIFI路由表, 以便更好更快捷的形成 WIFI 通信的传输链路。 其中所述发送的方式可以是单播、 组播或广播。 所述交 互单元 340具体配置:
路由表。
本实施例所述的 WIFI路由装置为本发明所述的 WIFI路由表形成方法, 提供了实现的物理装置, 形成了一种可用来建立由源设备、 至少一个中间 设备以及目标设备之间传输链路的 WIFI路由表, 有效的打破了现有 WIFI 通信中距离短以及不可 WIFI直连通信几率高的局限。 实施例四:
如图 7所示, 本实施例提供一种 WIFI通信装置, 所述装置包括: 选择单元 410, 配置为根据预设路由算法从 WIFI路由表, 选择一条由 源设备、 一个或多个中间设备和目标设备依次 WIFI直连形成的传输链路; 通信单元 420,配置为釆用所述选择单元所选择的传输路径,进行 WIFI 通信。
所述选择单 410可以现有技术中任意一种可以实现上述选择功能的结 构, 具体的包括各种类型的处理器。 具体的如单片机、 数字处理器、 中央 处理器以及可编程阵列等设备。
所述通信单元 420, 可为 WIFI通信单元, 可以是现有技术中的任意进 行 WIFI通信的结构。
所述 WIFI通信装置可以是独立的 WIFI通信装置, 也可以是集成在各 种通信设备上的 WIFI通信设备, 具体的手机、 智能手机、 平板电脑, 个人 助理、 商用以及个人电脑等。
所述 WIFI通信装置的另一种结构为包括处理器、存储介质、 至少一个 的软件或程序。 所述总线用以连接所述存储介质、 处理器以及通信接口, 程序, 即可实现包括源设备、 一个或多个中间设备以及目标设备的选择的 传输路径的选择。 所述通信接口用以进行所述 WIFI通信。
具体的所述 WIFI通信装置还可包括存储了有所述 WIFI路由表的存储 介质。 所述存储介质为 flash或 ROM等类型的存储介质。
本实施例所述的 WIFI通信装置, 为所述 WIFI通信方法提供了物理装
如图 8所示, 进一步的所述的 WIFI通信装置, 还包括确定单元 400; 所述确定单元 400, 用以所述选择单元 410选择传输链路之前, 确定所 述源设备与所述目标设备之间不可建立 WIFI直连。
本实施例所述的确定单元 400,首先确定源设备与目标设备之间是否可 以进行 WIFI直连, 若可以进行 WIFI直连, 就无需建立由源设备、 中间设 备以及目标设备 WIFI直连形成的传输链路, 可以直接釆用 WIFI直连链路 进行 WIFI通信, 以减少 WIFI通信所占用的通信资源。
所述确定单元 400 的结构有多种, 以下提供一种结构简单, 实现简便 的结构。 如图 9所示, 所述确定单元 400包括:
第一判断模块 401,配置为判断所述源设备与所述目标设备之间是否已 建立 WIFI直连;
第二判断模块 402,配置为在判断出所述源设备与所述目标设备之间未 建立 WIFI直连时,判断所述目标设备是否为所述源设备可搜索到未连接设 备, 其中, 所述目标设备为所述源设备不可搜索到的未连接设备, 则所述 源设备与所述目标设备之间不可建立 WIFI直连;
直连模块 403, 配置为所述目标设备为所述源设备可搜索到连接设备 时, 建立所述源设备与目标设备之间的 WIFI直连; 其中, 所述源设备与所 述目标设备之间的 WIFI直连失败,所述源设备与所述目标设备之间不可建 立 WIFI直连。
所述第一判断模块 401 以及第二判断模块 402的具体结构, 均可包括
比较器或包括比较器的集成电路, 或可以实现上述判断功能的处理器。 所述直连模块 403可为现有 WIFI装置中的直连模块。
所述确定单元 400, 利用了 WIFI通信装置中现有结构, 进行源设备与 目标设备是否能进行 WIFI直连的判断。 所述 WIFI装置集成在 WIFI直连 设备中时, 通常作为 WIFI通信的源设备。
所述预设路由算法为中间设备数最少的路由算法或中间设备数小于阈 值的路由算法。 所述中间设备最少的路由算法为通过比较各条传输路径, 选择一条经过的中间设备最少的传输路径, 从而以便提高 WIFI 通信的效 率。 所述中间设备数小于阈值的路由算法, 为任意选择一条中间设备数小 于预先存储的阈值的传输链路即可, 从而选择面更广, 选择的速度更快。
所述选择单元 410还包括标签探测模块:
所述标签探测模块, 用以通过标签探测获取每一条所述传输链路所经 过的中间设备数。 所述标签探测模块, 具体用以形成并发送标签探测帧, 进行各传输路径的标签探测。 所述探测帧中通常分配了一定的标签数, 每 到一个中间设备, 则标签数自动减 1, 当标签数为 0时, 则 WIFI直连设备 停止转发探测帧。
本实施例提供了一种 WIFI通信装置, 能使 WIFI通信经过中间设备的 中继和转发, 实现通信 WIFI通信数据传输。 当两个设备之间不能直接建立 WIFI直连时, 可以通过中间设备中继转发, 从而减少了 WIFI通信不能的 几率, 同时打破 WIFI通信中距离的局限。
实施例五:
本发明还提供一种 WIFI连接建立方法,用于 WIFI设备之间自动连接, 以预先建立 WIFI直连, 待需要进行 WIFI通信时可以直接通信, 从而可以 有效的减少 WIFI通信为建立 WIFI连接导致的时延。
如图 10所示, 本实施例所述 WIFI直连建立方法, 所述方法包括:
步骤 S310: 自动搜索可连接设备;
步骤 S320:向所述可连接设备发送包括由自动连接字段的组网请求帧; 所述自动连接字段用以所述可连接设备自动连接的开启;
步骤 S330:与已开启自动连接的可连接设备建立 WIFI直连,形成 WIFI 网络。 所述组网请求帧为专用于实现 WIFI设备之间组网用的数据帧。 所述 自动连接字段可以携带在组网请求帧的正文部分, 也可以设置在现有组网 请求帧的帧头的预留位上。 在本实施例中优先将所述自动连接字段设置在 组网请求帧的帧头的预留位上。 当所述自动连接字段设置所述组网请求帧 的帧头的预留位上, WIFI设备在解析帧头是就可知道是否需要开启自动连 接, 从而时延小, 而无需等到解析出组网请求帧的正文。 所述自动连接自 动可以是一位或多位。
在所述步骤 S330中的 WIFI直连的建立过程中, WIFI设备可以在后台 运行, 实现 WIFI设备之间的配对以及连接。
通常一个 WIFI设备将搜索到附近的若干个可连接的设备,并形成可连 接列表。 若设备 A搜索到 10个可连接设备, 则设备 A的可连接列表中依 次列出 10个可连接设备的信息, 具体的如 MAC地址、 WIFI直连的连接状 态等。设备 A可以通过遍历可连接列表来判断,是否完成 WIFI直连的建立, 若未完成则重复上述步骤 S310至步骤 S330, 直至设备 A与可连接列表中 的所有可连接设备完成 WIFI直连的建立。
作为本实施例的进一步改进,
所述方法还包括:
获取设备通信号码;
所述组网请求帧, 还包括所述通信号码;
所述通信号码, 用以与已连接设备中的通信录匹配, 以便匹配成功后 通信录中名称的显示。若发送所述组网请求帧的 WIFI设备为 WIFI设备 A,
且 WIFI设备 A的通信号码为 a, 则所述组网请求帧中还包括所述通信号码 a。 当与 WIFI设备 A建立 WIFI 直连的设备 B, 收到所述组网请求帧后, 可以从所述组网请求帧中提取所述通信号码 a。 当所述 WIFI设备 B的通信 录中包括所述通信号码 a时,则显示通信录中通信号码 a所对应的名称。从 而用户可以方便的知道该连接是来自哪一用户, 这样就提高了用户体验感 受。 所述通信号码可以包括各种类型以及各种业务的通信号, 如 SIM号、 UIM号等通信号码, 具体的获取方法包括从存储有所述通信号码的存储介 质中读取等方法。
进一步的, 所述方法还包括:
当进行 WIFI通信时, 判断源设备是否与通信的目标设备已建立 WIFI 直连;
若未建立 WIFI 直连, 则判断目标设备是否为源设备的可连接设备; 源设备为 WIFI通信设备的发起方, 所述目标设备为 WIFI通信的应答方; 若目标设备为源设备的可连接设备, 则判断源设备的已连接设备数是 否已达上限;
若连接设备数已达上限, 则断开满足连接拆除策略的 WIFI直连, 并釆 用 WIFI直连技术建立与目标设备的连接; 所述连接拆除策略有多种, 具体 的可以是最近的指定时长内 WIFI通信次数最少或小于次数阈值,或通信时 间小于时间阈值的策略具体的选择哪一种, 可以根据需要选择。 结合实施 例一至实施例四, 则所述连接拆除策略还可为: 在最近的指定时长内没有 接受到所述 WIFI路由表;
若连接设备数未达上限, 则釆用 WIFI直连技术建立源设备与目标设备 的连接。
在 WIFI设备启动时或设备启动后周期性自动搜索可连接设备。设备启 动时同步开始搜索可连接设备, 进入 WIFI直连的建立。 这样可方便设备在
启动后的第一时间内实现 WIFI通信。 当设备启动后, 通过周期性的自动搜 索可连接设备, 实现了 WIFI直连的更新, 及时的删除了无效连接, 建立了 有效连接。
实施例六:
如图 11所示, 本实施例 WIFI直连建立方法包括:
步骤 S410: 接收组网请求帧;
步骤 S420: 检测所述组网请求帧中是否包括自动连接字段; 若判断结 果为是则进入步骤 S430;
步骤 S430: 启动自动连接, 所述组网请求帧接收设备和发送设备之间 建立 WIFI直连。
本实施例所示 WIFI直连建立方法, 在接收到组网请求帧后, 检测到组 网请求帧中有自动连接字段, 则启动自动连接功能, 相对于传统的用户手 动组网, 更加便捷, 且自动连接有利于提取建立 WIFI直连, 减少 WIFI通 信的时延。
本实施例所述方法还包括:
从所述组网请求帧中获取所述组网请求帧发送端的通信号码; 将所述通信号码与通信录进行匹配,
若匹配成功, 则显示通信录中的名称。 由于组网请求帧中包括了发送 端的通信号码, 能与接收端的通信录匹配成功, 匹配成功后就能显示出该 WIFI设备的用户的名称, 从而方便了用户根据用户名称进行搜寻, 优化了 用户体验。
实施例七:
本实施例提供一种 WIFI直连建立方法, 所述方法包括以下步骤: 第一设备自动搜索可连接设备, 所述可连接设备为第二设备; 其中所 述第二设备可为一个或多个;
第一设备向所述可连接第二设备发送包括由自动连接字段的组网请求 帧;
第二设备接收组网请求帧;
第二设备检测所述组网请求帧中是否包括自动连接字段;
是则所述第二设备启动自动连接,
第一设备与第二设备之间建立 WIFI直连。
本发明实施例还提供一种计算机存储介质, 所述计算机存储介质中存 储有计算机可执行指令, 所述计算机可执行指令用于执行实施例一中任意 技术方案所述的方法; 具体的如可用于执行如图 1所述的方法。
本发明实施例还提供一种计算机存储介质, 所述计算机存储介质中存 储有计算机可执行指令, 所述计算机可执行指令用于实施例二中任意所述 任一项所述的方法, 具体的如可用于执行图 2所述的方法。 所述计算机存 储介质具体可为 U盘、 光盘或 DVD等非瞬间存储介质。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。 凡按照本发明原理所作的修改, 都应当理解为落入本发明的保护 范围。
Claims
1、 一种 WIFI路由表形成方法, 所述方法包括:
获取第一设备与第一可连接设备之间的第一 WIFI直连路由信息;所述 第一设备与所述第一可连接设备之间可建立 WIFI直连;
获取第二设备与第二可连接设备之间的第二 WIFI直连路由信息;所述 第二设备与所述第二可连接设备之间可建立 WIFI直连; 所述第一设备与所 述第二设备之间已建立 WIFI直连;
获取第三设备与第三可连接设备之间的第三 WIFI直连路由信息;所述 第三设备与所述第三可连接设备之间可建立 WIFI直连; 所述第二设备与所 述第三设备之间已建立 WIFI直连。
2、 根据权利要求 1所述的 WIFI路由表形成方法, 其中, 所述方法还 包括:
已建立 WIFI直连设备之间交互已形成 WIFI路由表。
3、 一种 WIFI通信方法, 所述方法包括:
根据预设路由算法从 WIFI路由表, 选择一条由源设备、 一个或多个中 间设备和目标设备依次 WIFI直连形成的传输链路;
釆用所述传输链路, 进行 WIFI通信;
其中, 所述 WIFI路由表为权利要求 1或 2所形成的 WIFI路由表。
4、 根据权利要求 3所述的 WIFI通信方法, 其中, 在所述根据预设路 由算法从 WIFI路由表, 选择一条由源设备、一个或多个中间设备和目标设 备依次 WIFI直连形成的传输链路之前, 还包括:
确定所述源设备与所述目标设备之间不可建立 WIFI直连。
5、 根据权利要求 4所述的 WIFI通信方法, 其中,
确定所述源设备与所述目标设备之间不可建立 WIFI直连包括: 判断所述源设备与所述目标设备之间是否已建立 WIFI直连;
若否, 则判断所述目标设备是否为所述源设备可搜索到未连接设备; 若否, 则所述源设备与所述目标设备之间不可建立 WIFI直连; 若是, 则建立所述源设备与所述目标设备之间的 WIFI直连, 建立失 败, 则所述源设备与所述目标设备之间不可建立 WIFI直连。
6、 根据权利要求 3、 4或 5所述的 WIFI通信方法, 其中, 所述预设路 由算法为中间设备数最少的路由算法或中间设备数小于预先存储阈值的路 由算法。
7、 根据权利要求 6所述的 WIFI通信方法, 其中, 所述方法还包括: 通过标签探测获取每一条所述传输链路所经过的中间设备数。
8、 一种 WIFI路由表形成装置, 所述装置包括:
第一获取单元, 配置为获取第一设备与第一可连接设备之间的第一 WIFI直连路由信息;所述第一设备与所述第一可连接设备之间可建立 WIFI 直连;
第二获取单元, 配置为获取第二设备与第二可连接设备之间的第二 WIFI直连路由信息;所述第二设备与所述第二可连接设备之间可建立 WIFI 直连; 所述第一设备与所述第二设备之间已建立 WIFI直连;
第三获取单元, 配置为获取第三设备与第三可连接设备之间的第三 WIFI直连路由信息;所述第三设备与所述第三可连接设备之间可建立 WIFI 直连; 所述第二设备与所述第三设备之间已建立 WIFI直连。
9、 根据权利要求 8所述的 WIFI路由表形成装置, 其中, 所述装置还 包括:
交互单元, 配置为已建立 WIFI直连设备之间交互已形成的 WIFI路由 表。
10、 一种 WIFI通信装置, 所述装置包括:
选择单元, 配置为根据预设路由算法从 WIFI路由表, 选择一条由源设
备、 一个或多个中间设备和目标设备依次 WIFI直连形成的传输链路; 通信单元, 配置为釆用所述选择单元所选择的传输路径, 进行 WIFI通 信;
所述 WIFI路由表为权利要求 1或 2所形成的 WIFI路由表。
11、 根据权利要求 10所述的 WIFI通信装置, 其中, 还包括确定单元; 所述确定单元, 配置为所述选择单元选择传输链路之前, 确定所述源 设备与所述目标设备之间不可建立 WIFI直连。
12、 根据权利要求 11所述的 WIFI通信装置, 其中, 所述确定单元包 括:
第一判断模块, 配置为判断所述源设备与所述目标设备之间是否已建 立 WIFI直连;
第二判断模块, 配置为在判断出所述源设备与所述目标设备之间未建 立 WIFI 直连时, 判断所述目标设备是否为所述源设备可搜索到未连接设 备, 其中, 所述目标设备为所述源设备不可搜索到的未连接设备, 则所述 源设备与所述目标设备之间不可建立 WIFI直连;
直连模块, 配置为所述目标设备为所述源设备可搜索到连接设备时, 建立所述源设备与目标设备之间的 WIFI直连; 其中, 所述源设备与所述目 标设备之间的 WIFI直连建立失败,所述源设备与所述目标设备之间不可建 立 WIFI直连。
13、 根据权利要求 10、 11或 12所述的 WIFI通信装置, 其中, 所述预 设路由算法为中间设备数最少的路由算法或中间设备数小于预先存储阈值 的路由算法。
14、 根据权利要求 13所述的 WIFI通信装置, 其中, 所述选择单元还 包括:
标签探测模块, 配置为通过标签探测获取每一条所述传输链路所经过
的中间设备数。
15、 一种计算机存储介质, 所述计算机存储介质中存储有计算机可执 行指令, 所述计算机可执行指令用于执行权利要求 1或 2所述的方法。
16、 一种计算机存储介质, 所述计算机存储介质中存储有计算机可执 行指令, 所述计算机可执行指令用于执行权利要求 3至 7任一项所述的方 法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310624921.0A CN104684043B (zh) | 2013-11-28 | 2013-11-28 | Wifi路由表形成方法及装置、wifi通信方法及装置 |
CN201310624921.0 | 2013-11-28 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014183624A1 true WO2014183624A1 (zh) | 2014-11-20 |
Family
ID=51897713
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/077299 WO2014183624A1 (zh) | 2013-11-28 | 2014-05-12 | Wifi路由表形成方法及装置、wifi通信方法及装置和存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104684043B (zh) |
WO (1) | WO2014183624A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108235283A (zh) * | 2018-01-30 | 2018-06-29 | 深圳新融典科技有限公司 | 设备之间组网通信的方法及系统 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101304369A (zh) * | 2008-05-12 | 2008-11-12 | 中山大学 | 一种基于家居区域信息的多速率无线射频路由方法 |
CN101594578A (zh) * | 2008-05-30 | 2009-12-02 | 深圳华为通信技术有限公司 | 直连链路的建立方法、站设备及通信系统 |
CN102497221A (zh) * | 2011-12-13 | 2012-06-13 | 华为终端有限公司 | 终端之间传输数据的方法和终端 |
CN102711181A (zh) * | 2012-06-05 | 2012-10-03 | 深圳市中兴移动通信有限公司 | 一种移动终端利用多链路实现网络分流的方法 |
CN103364774A (zh) * | 2012-04-02 | 2013-10-23 | 深圳富泰宏精密工业有限公司 | 基于WiFi直连的邻近设备定位系统及方法 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7940776B2 (en) * | 2007-06-13 | 2011-05-10 | Cisco Technology, Inc. | Fast re-routing in distance vector routing protocol networks |
US9749832B2 (en) * | 2010-09-24 | 2017-08-29 | Qualcomm Incorporated | Wireless display discovery and operation with TDLS |
KR101735334B1 (ko) * | 2010-11-25 | 2017-05-15 | 삼성전자 주식회사 | 와이파이 P2P 디바이스(Wi-Fi Peer to Peer Device)의 디스커버리(Discovery) 방법 및 장치 |
CN103327558B (zh) * | 2012-03-23 | 2018-03-16 | 北京新岸线移动多媒体技术有限公司 | 一种车载通信方法和通信节点 |
-
2013
- 2013-11-28 CN CN201310624921.0A patent/CN104684043B/zh active Active
-
2014
- 2014-05-12 WO PCT/CN2014/077299 patent/WO2014183624A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101304369A (zh) * | 2008-05-12 | 2008-11-12 | 中山大学 | 一种基于家居区域信息的多速率无线射频路由方法 |
CN101594578A (zh) * | 2008-05-30 | 2009-12-02 | 深圳华为通信技术有限公司 | 直连链路的建立方法、站设备及通信系统 |
CN102497221A (zh) * | 2011-12-13 | 2012-06-13 | 华为终端有限公司 | 终端之间传输数据的方法和终端 |
CN103364774A (zh) * | 2012-04-02 | 2013-10-23 | 深圳富泰宏精密工业有限公司 | 基于WiFi直连的邻近设备定位系统及方法 |
CN102711181A (zh) * | 2012-06-05 | 2012-10-03 | 深圳市中兴移动通信有限公司 | 一种移动终端利用多链路实现网络分流的方法 |
Also Published As
Publication number | Publication date |
---|---|
CN104684043A (zh) | 2015-06-03 |
CN104684043B (zh) | 2019-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9967884B2 (en) | Dedicated backhaul for whole home coverage | |
KR101629842B1 (ko) | 피어-투-피어 사전-연관 탐색 동작들 | |
JP6579597B2 (ja) | D2d同期方法、ユーザ機器、およびサービングセル | |
US20170188296A1 (en) | Wireless communication system and wireless communication method | |
CN105075386A (zh) | 使用d2d能力信息的网络辅助的d2d通信 | |
US8351896B2 (en) | Method to support emergency call through mesh network | |
US9736876B1 (en) | Method and apparatus for establishing links and maintaining consistent link information between stations | |
JP2008048145A (ja) | 通信システム、無線通信装置およびその制御方法 | |
CN108337701B (zh) | 一种传输路径切换方法 | |
WO2017209005A1 (ja) | ユーザ装置、及びネットワーク装置 | |
WO2014183619A1 (zh) | 一种邻近通信的实现方法和装置 | |
WO2015139287A1 (zh) | 检测设备对设备信号的方法、用户设备和基站 | |
CN113630754A (zh) | 多信道数据转发方法、装置、设备及存储介质 | |
WO2014183624A1 (zh) | Wifi路由表形成方法及装置、wifi通信方法及装置和存储介质 | |
WO2024052050A1 (en) | U2u relay communication | |
KR20180088421A (ko) | 통신 장치, 통신 장치를 제어하는 방법, 및 프로그램 | |
JP2000341323A (ja) | 無線アドホック端末 | |
JP4153544B2 (ja) | 通信ユニットが通信ネットワークに接続するのに必要な平均時間を短縮するための方法および装置 | |
WO2019084847A1 (zh) | 车联网中传输资源的获取方法及终端 | |
CN114745704A (zh) | 一种蓝牙通信系统、方法及设备 | |
JP2017509285A (ja) | 構成方法、ネットワークデバイス、およびユーザ機器 | |
US20210410223A1 (en) | Signaling transmission method and device, signaling reception method and device, storage medium and terminal | |
CN112399505B (zh) | 一种终端设备的辅助基站切换方法及基站 | |
WO2017028048A1 (zh) | 一种设备对设备d2d的数据传输方法、装置及系统 | |
CN113259922B (zh) | 紧急业务转发的通信方法、系统、设备及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14797392 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14797392 Country of ref document: EP Kind code of ref document: A1 |