WO2022179447A1 - Wireless networking method, wireless device and storage medium - Google Patents
Wireless networking method, wireless device and storage medium Download PDFInfo
- Publication number
- WO2022179447A1 WO2022179447A1 PCT/CN2022/076831 CN2022076831W WO2022179447A1 WO 2022179447 A1 WO2022179447 A1 WO 2022179447A1 CN 2022076831 W CN2022076831 W CN 2022076831W WO 2022179447 A1 WO2022179447 A1 WO 2022179447A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- wireless network
- local wireless
- anchor point
- network
- local
- Prior art date
Links
- 230000006855 networking Effects 0.000 title claims abstract description 85
- 238000000034 method Methods 0.000 title claims abstract description 82
- 238000004891 communication Methods 0.000 claims description 101
- 230000000694 effects Effects 0.000 claims description 23
- 230000007958 sleep Effects 0.000 claims description 13
- 230000004617 sleep duration Effects 0.000 claims description 13
- 230000005059 dormancy Effects 0.000 claims description 8
- 238000013507 mapping Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 description 26
- 230000003993 interaction Effects 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000001186 cumulative effect Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- QVFWZNCVPCJQOP-UHFFFAOYSA-N chloralodol Chemical compound CC(O)(C)CC(C)OC(O)C(Cl)(Cl)Cl QVFWZNCVPCJQOP-UHFFFAOYSA-N 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004941 influx Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000035515 penetration Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 230000004622 sleep time Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
- 238000012384 transportation and delivery Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/08—Reselecting an access point
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/14—Reselecting a network or an air interface
Definitions
- the embodiments of the present application relate to, but are not limited to, the field of wireless communications, and specifically relate to, but are not limited to, a wireless networking method, a wireless device, and a storage medium.
- the communication between mobile wireless devices mainly relies on basic communication networks such as base stations for connection. Therefore, when the wireless base station signal is not covered or the coverage signal is weak, or when the infrastructure such as the base station is seriously damaged, the mobile terminal Communication between them will face huge obstacles. Aiming at this problem, the solution proposed at present is to create a local wireless network by one mobile terminal for other mobile terminals to access, so as to realize the communication between the local mobile terminals.
- the mobile terminal that creates the local wireless network has insufficient power or needs to move away from other mobile terminals in the network, users of other mobile terminals need to manually exit the local wireless network, and then manually create a new local wireless network.
- the implementation of this wireless networking solution relies on a large number of manual operations by the user, which increases the operational burden of the user.
- the wireless networking method, wireless device, and storage medium provided by the embodiments of the present application.
- An embodiment of the present application provides a wireless networking method, including: a first device determining a standby anchor point from a node device of a first local wireless network, the first device being the current anchor point of the first local wireless network, The network identifier of the first local wireless network is the first network identifier; the first device sends an anchor switch packet to the standby anchor point of the first local wireless network, and the anchor switch packet is used to indicate the standby anchor point is used as a new anchor point of the first local wireless network; the first device sends a handover message to a node device in the first local wireless network, where the handover message is used to instruct the node device Saving the first network identifier and exiting the first local wireless network; the first device searches and accesses the first local wireless network created by the backup anchor point according to the first network identifier.
- An embodiment of the present application further provides a wireless networking method, including: a second device receiving an anchor point handover message sent by an anchor point of a first local wireless network, where the anchor point handover message is used to instruct the second device Switch to the new anchor point of the first local wireless network, and the network identifier of the first local wireless network is the first network identifier; the second device saves the first network identifier and exits the first local wireless network network; the second device recreates the first local wireless network according to the first network identifier; the second device accepts the local wireless device as a node device of the first local wireless network to access the first local wireless network local wireless network.
- An embodiment of the present application further provides a wireless networking method, including: a third device receiving a handover message sent by an anchor point in a first local wireless network, where the handover message is used to indicate that the anchor point of the first local wireless network will A handover occurs, and the network identifier of the first local wireless network is the first network identifier; the third device saves the first network identifier and exits the first local wireless network according to the handover message; the third device The device searches for and accesses the first local wireless network created by the new anchor point according to the first network identifier.
- An embodiment of the present application further provides a wireless device, the wireless device includes a processor, a memory, and a communication bus; the communication bus is used to implement connection and communication between the processor and the memory; the processor is used to execute storage in the memory The first wireless networking program to implement the steps of the above-mentioned first wireless networking method; or, the processor is configured to execute the second wireless networking program stored in the memory to implement the above-mentioned second wireless networking method. or, the processor is configured to execute the third wireless networking program stored in the memory, so as to implement the steps of the above-mentioned third wireless networking method.
- An embodiment of the present application further provides a storage medium, where the storage medium stores at least one of a first wireless networking program, a second wireless networking program, and a third wireless networking program, the first wireless networking program can be executed by one or more processors to implement the steps of the above-mentioned first wireless networking method; the second wireless networking program can be executed by one or more processors to implement the above-mentioned second wireless networking method The steps of the method; the third wireless networking program can be executed by one or more processors to implement the steps of the third wireless networking method.
- FIG. 1 is a flowchart of the wireless networking method provided in Embodiment 1 of the present application.
- FIG. 2 is a flow chart of selecting an alternate anchor point for the first device serving as an anchor point provided in Embodiment 1 of the present application;
- FIG. 3 is a schematic diagram of a node device that is close to the center according to the selection position shown in Embodiment 1 of the present application as a backup anchor point;
- FIG. 5 is a flowchart of an anchor point in Embodiment 1 of the present application for judging whether a backup anchor point is available as a new anchor point;
- FIG. 6 is a schematic diagram of a process performed before the first device determines a backup anchor point in Embodiment 2 of the present application;
- FIG. 7 is a flow chart of the node device provided in Embodiment 2 of the present application communicating with other node devices through an anchor point;
- FIG. 8a is a schematic diagram of a display interface of the wireless device shown in Embodiment 2 of the present application.
- FIG. 8b is a schematic diagram of another display interface of the wireless device shown in Embodiment 2 of the present application.
- FIG. 9 is a flowchart of information communication between the anchor point and the remote wireless network provided in Embodiment 3 of the present application.
- FIG. 10 is a schematic diagram of a local wireless network and a remote wireless network shown in Embodiment 3 of the present application;
- FIG. 11 is a flowchart of the anchor point switching between a local wireless network connection and a remote wireless network connection provided in Embodiment 3 of the present application;
- FIG. 13 is a flowchart of the anchor point switching between a local wireless network connection and a remote wireless network connection provided in Embodiment 4 of the present application;
- FIG. 14 is a flowchart of selecting a backup anchor point and performing anchor point switching for the anchor point provided in Embodiment 4 of the present application;
- FIG. 15 is a specific flowchart of the anchor point switching performed by the anchor point provided in Embodiment 4 of the present application.
- FIG. 16 is a schematic diagram of a hardware structure of the wireless device provided in Embodiment 5 of the present application.
- the Internet of Things originated in the media field and is the third revolution in the information technology industry.
- the Internet of Things refers to the use of information sensing equipment to connect any object with the network according to the agreed protocol, and the object passes the information.
- the media exchanges and communicates information to realize intelligent identification, positioning, tracking, supervision and other functions.
- the interconnection protocols between devices have also developed by leaps and bounds, thus laying the foundation for the local or remote interconnection of devices.
- a communication connection is established between mobile terminals based on a basic communication network such as a base station to realize wireless communication.
- a basic communication network such as a base station
- walkie-talkie module into a mobile terminal, such as a mobile phone with a walkie-talkie function.
- these two wireless communication schemes have significant drawbacks: for example, for the former, this communication scheme does not meet the needs of no base station or poor base station signal coverage; for the latter, after integrating the walkie-talkie module, the size of the mobile terminal Both power consumption and power consumption will increase significantly, which is not in line with the development trend of portability and low power consumption of mobile terminals.
- the communication protocol that the traditional walkie-talkie module relies on may be eliminated later, which leads to the loss of foundation for the realization of the latter wireless communication scheme.
- the wireless device may create a local wireless network for other local wireless devices to access. Since other devices access the local wireless network through the wireless device that creates the local wireless network, the wireless device that creates the local wireless network is equivalent to an "anchor point", and the wireless device that creates the local wireless network is called here.
- the anchor point of the local wireless network, and other wireless devices accessing the local wireless network are called "node devices”.
- wireless devices b, c, d near a can access the local wireless network N0 through a.
- the users of b, c, and d need to manually disconnect the wireless connection between each wireless device and a. Then these users negotiate together, select a new anchor point from the three wireless devices b, c, and d, and re-create the local wireless network N1.
- the users decide to use c as the new anchor point after consultation, then
- the user of c can manually create a local wireless network N1 on c, and then the users of b and d respectively manually control the wireless devices to search for the local wireless network N1, and control b and d to access the local wireless network N1.
- the remaining power of a also supports wireless communication, the user of a can also control a to search and access the local wireless network N1.
- this embodiment provides a wireless networking method. Please refer to the flowchart of the wireless networking method shown in FIG. 1 :
- the first device determines a backup anchor point from the node devices of the first local wireless network.
- the first local wireless network is a local wireless network with a network identifier of the first network identifier, which was originally created by the first device. Therefore, the first device is a member of the first local wireless network before the anchor point switch. Anchor.
- other wireless devices other than the anchor point in the first local wireless network are referred to as "node devices”. Therefore, the node devices access the first local wireless network through the first device.
- the first device can determine the backup anchor point of the first local wireless network, and the backup anchor point is the new anchor point after the completion of the anchor point switching process, that is, during the anchor point switching process
- the node device that recreates the first local wireless network in may temporarily determine the backup anchor point when the anchor point switching needs to be performed, or may determine the backup anchor point in advance before there is an anchor point switching requirement.
- the backup anchor point of the first local wireless network may be designated by the user. For example, when the first local wireless network is created, or after the creation is completed, each user negotiates to designate the backup anchor point. The device can determine the backup anchor point according to the pre-stored network configuration information. There are also some examples where the first device can choose an alternate anchor point by itself:
- the first device may select a backup anchor point according to the location information of each node device. For example, see FIG. 2 :
- S202 The first device acquires the location information of the node device in the first local wireless network.
- the first device may obtain the location information of each node device from each node device, for example, each node device in the first local wireless network may obtain its own real-time location based on satellite positioning, etc., and transmit the real-time location to the first device.
- each device in the first local wireless network will Move as the group moves. Therefore, in order to be able to grasp the real-time location of each node device, the first device may periodically acquire the location information of each node device; in some scenarios, the first device may only apply each node device in the first local wireless network when it needs to. Each node device is instructed to report its real-time location only when the location information of the node device is obtained.
- the first device may locate each device in the first local wireless network by itself.
- the first device may use any one of, but not limited to, multilateral positioning, triangulation, and pole positioning. Positioning each device in the first local wireless network, thereby acquiring the location information of each node device.
- the first device will obtain the location information of each node device in the first local wireless network, but in some other examples, the first device may not need to obtain the location information of the first local wireless network The location information of all node devices. For example, if one of the nodes fails to report its own location information to the first device, the first device can also determine the backup anchor point according to the location information of the remaining node devices. For another example, if the first device only locates part of the node devices in the first local wireless network, the first device cannot obtain location information of another part of the node devices.
- the first device determines a backup anchor point according to the location information of the node device.
- the first device After the first device acquires the location information of the node device, it can determine the backup anchor point according to the location information.
- the first node device may directly select a node device whose current location is in the center among the devices of the first local wireless network as the backup anchor point.
- the first device may determine, according to historical location information and current location information of each node device, a node device with a relatively large activity range as a backup anchor point.
- the first device determines the central node device among the devices of the first local wireless network as the standby node device according to the location information of each node device, as shown in FIG. 3 .
- the first device can first calculate the Two-by-two distances are determined, and then two node devices that are farthest away from each other are determined (for example, node devices b and c in FIG. 3, the distance between them is d1). Subsequently, the first device can determine the midpoint O of the connection between the two node devices, and select the node device closest to the midpoint O from other node devices, such as node device e as shown in FIG. 3 , The node device e may be regarded as the most central node device among the node devices of the first local wireless network.
- the manner of determining the node device in the center is not limited to this one.
- the distance between the first device and the central node device may be further determined. d2, and determine the ratio between d1 and d2, and determine whether to select the central node device as the backup anchor according to the relationship between the ratio and the preset ratio: if the calculated ratio is greater than the preset ratio, the central node device is used as the backup anchor point; otherwise the current anchor point remains as the anchor point.
- the preset ratio is 0.1.
- the size of the preset ratio can be flexibly set, and is not limited to a value of 0.1. It should be understood that the sensitivity of the anchor point switching can be controlled by adjusting the size of the preset ratio.
- the first device determines the node device with the largest activity range among the devices of the first local wireless network as the standby node device according to the location information of each node device, please refer to the flowchart shown in FIG. 4 :
- the first device determines the first node device with the largest activity range recently and the second node device with the largest historical cumulative activity range.
- the first device After each time the first device obtains the location information of each node device, it can determine the activity range of the node device in the latest positioning cycle according to the current location information of the node device and the latest historical location information, that is, the latest activity of the node device. Scope, for example, for node device a, its recent historical location information is (x1, y1), and the current location information is (x2, y2), then the latest activity range of node device a is the location point (x2, y2) and The distance between the location points (x1, y1). By comparing the recent activity range of each node device, the first device can select the node device with the largest recent activity range, that is, the first node device.
- the first device may determine the historical cumulative activity range for each node device. For example, since the first device created the first local wireless network, positioning has been performed four times in total, then for the same node device, the first device Three recent activity ranges for the device can be obtained, and the sum of the three recent activity ranges is the historical cumulative activity range of the node device. By comparing the historical cumulative activity range of each node device, the first device can select the node device with the largest historical cumulative activity range, that is, the second node device.
- S404 The first device determines whether the first node device and the second node device are the same.
- the first device selects the node device as a backup anchor point.
- the node device Since the same node device is not only the node device with the largest activity range in history, but also the node device with the largest activity range recently, the node device is the node device with the widest activity range and can be used as a backup anchor point.
- the first device determines the anchor points of the two node devices respectively.
- the first device may determine the anchor points of the first node device and the second node device respectively, for example, the first device obtains the latest activity ranges of the two node devices respectively As with the historical cumulative activity range, it is assumed that the recent activity ranges of the first node device and the second node device are C1 and C2, respectively, and the historical cumulative activity ranges of the two are S1 and S2, respectively.
- the weights of the most recent activity range and the historical accumulated activity range in calculating the anchor point points are W1 and W2 respectively, then the anchor point points T1 of the first node device and the anchor point points T2 of the second node device are respectively:
- T1 C1*W1+S1*W2;
- T2 C2*W1+S2*W2.
- the value of W1 may be 0.7 and the value of W2 may be 0.3.
- the calculation of the anchor point integral in combination with the recent activity range and the historical accumulated activity range is mainly to reduce the influence caused by accidental positioning errors and to suppress the frequent switching of the anchor points.
- the first device selects one of the two node devices with a larger anchor point score as a backup anchor point.
- the first device compares the values of T1 and T2, and if T1 is greater than T2, the first node device is selected as the backup anchor; otherwise, the second node device is selected as the backup anchor.
- the first device when determining the backup anchor point, not only considers the location information of the node device, but also other information, for example, the first device also considers the work of the first local wireless network mode, in some examples, the working mode of the first local wireless network can be divided into a first working mode and a second working mode, in an example of this embodiment, the working mode of the first local wireless network is the first working mode In the case of the working mode, the first device determines, according to the location information of each node device, the node device that is in the center among the devices of the first local wireless network as the standby node device.
- the first working mode may be a travel mode, which is suitable for group travel use.
- the first device determines to be active in each device of the first local wireless network according to the location information of each node device The node device with the largest range serves as the standby node device.
- the second working mode may be an emergency mode, which is suitable for use in post-disaster rescue scenarios.
- the first device can also select the standby anchor point according to the device configuration information of each node device.
- the device configuration information mentioned here includes but is not limited to the remaining power of the node device, the node device creates At least one of several types of wireless network capabilities.
- the first device may select the backup anchor point in combination with the location information and device configuration information of each node device, or even further in combination with the working mode of the first local wireless network.
- S104 The first device sends an anchor point switching packet to the standby anchor point of the first local wireless network.
- the first device may send an anchor point switching message to the standby anchor point, where the anchor point switching message is used to notify the standby anchor point to switch the anchor point called the first local wireless network in the subsequent process, In other words, it is the first device that requires the backup anchor to recreate the first local wireless network after disconnecting from the first device.
- the first device does not consider the device configuration information of each node device when selecting the backup anchor point. Therefore, the first device cannot determine whether the device configuration information for selecting the backup anchor point supports the It acts as an anchor point, so in some examples of this embodiment, after the first device determines the backup anchor point, before sending the anchor point switching packet to the backup anchor point, it will also first determine whether the backup anchor point is suitable as a new anchor point. , see Figure 5:
- S502 The first device sends a device configuration information request message to the standby anchor point.
- the configuration information request is used to request the backup anchor to feed back its device configuration information.
- the device configuration information includes at least one of the backup anchor's ability to create a wireless network and the current remaining power.
- S504 The first device receives the device configuration information sent by the standby anchor point according to the configuration information request message.
- the first device determines, according to the device configuration information of the standby anchor point, whether the standby anchor point has the capability of serving as a new anchor point of the first local wireless network.
- S508 The first device sends an anchor point switching message to the standby anchor point.
- S510 The first device reselects an alternate anchor point.
- the first device may start to perform the process of FIG. 5 from S502 again.
- S106 The first device sends a handover message to the node device in the first local wireless network.
- the first device After the first device sends the anchor point handover message to the standby anchor point, it may send a handover message to the node devices in the first local wireless network, where the handover message is used to instruct each node device in the first local wireless network to save the first local wireless network.
- the network identifier of the wireless network that is, the first network identifier, and the connection with the first local wireless network is disconnected.
- the first device Since each node device in the first local wireless network will disconnect from the first local wireless network after receiving the handover message, the first device needs to ensure that after the first local wireless network is disconnected, the backup anchor point can A new first local wireless network is re-created in time. Therefore, the first device needs to ensure that the standby anchor point has received the anchor point switching message before, and is ready for the anchor point switching. Therefore, in some examples of this embodiment, after the first device sends the anchor point handover message to the standby anchor point, before sending the handover message to the node device in the first local wireless network, it needs to ensure that it has received the The handover confirmation message of the standby anchor point.
- S108 The second device and the third device save the first network identifier and exit the first local wireless network.
- the backup anchor point selected by the first device is the second device.
- the node devices other than the first device and the second device in the first local wireless network are referred to as “third devices” herein.
- the target is all node devices, that is, it includes both the second device and the third device. Therefore, after receiving the handover message, the second device and the third device Instruct to save the first network identity and exit the first local wireless network.
- the first device sends the handover message, it also pushes out of the first local wireless network.
- S110 The second device recreates the first local wireless network according to the first network identifier.
- the second device After exiting the first local wireless network maintained by the first device, the second device will re-create the first local wireless network, that is, the second device will re-create a local wireless network with a network identifier of the first network identifier.
- an anchor when an anchor creates a local wireless network, it usually uses a high-frequency channel to create it.
- S112 The first device and the third device search for and access the first local wireless network created by the second device according to the first network identifier.
- the second device After the second device recreates the first local wireless network as a new anchor point, it can wait for the access of the local wireless device.
- the first local wireless network For the first device (ie the original anchor point) and the third device, the first local wireless network can be searched with the pre-stored first network identifier, and an access request can be sent to the second device after the first local wireless network is found. , so as to access the first local wireless network.
- the first device and the third device search for the first local wireless network according to the first network identifier A local wireless network is always faced with a search failure result.
- at least one of the first device and the third device may recreate a local wireless network by itself if the first local wireless network cannot be found.
- one of the first device and the third device may scan the high-frequency channel, select a high-frequency channel whose communication quality meets the requirements, and create a local wireless network.
- the network identification of the local wireless network may continue to be the first network identification, or may not be the first network identification, for example, a device may create a second local wireless network with the second network identification.
- the devices in the second device and the third device may create a local wireless network by themselves after the number of failures to search for the first local wireless network according to the first network identifier reaches a preset number of times. It does not rule out the practice of creating a local wireless network by itself immediately after a failed search. After an anchor has created a local wireless network, it can wait for the local wireless device to search for and join the local wireless network.
- the anchor point when a device is not suitable to continue to serve as the anchor point of the local wireless network, it can determine the backup anchor point, and instruct the backup anchor point to create a same network after exiting the local wireless network
- the anchor point can also send a handover message to the node device in the local wireless network, so that other devices in the local wireless network except the backup anchor point can exit the original wireless network. Then re-search and join the local wireless network with the same network identification, so that the anchor point of a local wireless network can be migrated from one device to another without the user's manual participation, and automatically let each node device find the new one. and access the local wireless network with the same network ID. This not only ensures the smooth operation of the local wireless network during the anchor point switching process, but also reduces the operation burden of all users of the wireless device during the wireless networking process, and saves the time spent by users on managing and maintaining the local wireless network.
- Embodiment 2 is a diagrammatic representation of Embodiment 1:
- the process of creating the first local wireless network by the first device may be the same as the process of creating the first local wireless network by the second device, that is, the anchor point before the first device instructs the first device through an anchor point switching message.
- the first local wireless network is created, and after the first local wireless network is created, the access of the local wireless device to the first local wireless network through the first device is received.
- the first device may also be a wireless device that automatically creates the first local wireless network, that is, before the first device creates the first local wireless network, no other device notifies the first device A first local wireless network identified by the first network is created.
- S602 The first device scans the local wireless network through high frequency.
- the local wireless network is created based on the high-frequency signal, so the first device can initially scan whether there is a local wireless network that can be accessed near itself through the high-frequency.
- S604 The first device determines whether to scan a local wireless network.
- S606 Select a high frequency channel to create a first local wireless network.
- the first device if the first device does not scan a local wireless network, it means that there is no local wireless network near the first device. Therefore, the first device cannot join the created local wireless network, and can only use its own Create a local wireless network yourself. Before the first device creates the local wireless network, it needs to select the network identifier and the frequency point of the local wireless network created by the first device. In this embodiment, assuming that the network identifier determined by the first device is the first network identifier, when the first device selects the frequency point of the local wireless network, it can scan the high-frequency channel again, and select the one with less interference and better channel quality. high frequency channel, thereby creating the first local wireless network.
- the first device accepts the local wireless device as a node device to access the first local wireless network.
- the first device After the first device creates the first local wireless network, it can accept other local wireless devices to access the first local wireless network, and these local wireless devices that access the first local wireless network through the first device are node devices of the first local wireless network .
- S610 The first device selects to access an existing local wireless network.
- the anchor point for the anchor point (for example, the first device before the anchor point switch, and the second device after the anchor point switch), because the node device accesses the first local wireless network through it, therefore, the anchor point
- the node can obtain the relevant information of each node device, such as the device identifier of the node device (information that can uniquely distinguish a device in the first local wireless network, such as the MAC address of the device, the name set by the user for the device, etc.), Get the remaining power of the node device, etc.
- the anchor point can use the acquired information to associate with the node device, for example, use the device identifier to mark the node device.
- the anchor point can also generate network device information according to the information of each device in the first local wireless network, and transmit it to each node device in the first local wireless network, so that the node device can also understand the network device information except for other network devices according to the network device information. equipment other than itself.
- the network device information sent by the anchor point to the node device includes the device identifiers of each device in the first local wireless network (which may include the anchor point itself). After the node device receives the network device information, It is possible to know which devices are in the first local wireless network. In this embodiment, after receiving the network device information, the node device can use the network device information to communicate with other node devices in the first local wireless network through the anchor point, as shown in FIG. 7 :
- the node device receives the network device information sent by the anchor.
- the network device information received by the node device includes at least the device identifiers of each device in the first local wireless network.
- the network device information sent by the anchor point may further include the location information of each device. In this way, the node device can also know the current location of each device.
- node device mentioned here includes the second device and the third device mentioned above.
- the node device selects a device in the first local wireless network as a target communication object according to the network device information.
- the node device After the node device obtains the device identifiers of each device in the first local wireless network, it can display the device identifiers on the screen in the form of a list. For example, see FIG. The situation of each device in the wireless network can also be used by the user to select the target communication object. Of course, those skilled in the art can understand that the node device may not present the network device information of the first local wireless network in the form of a list. For example, in some of the examples, after receiving the network device information, the node device can display the location of each device on the screen according to the location information of each device. For example, please refer to Figure 8b. In Figure 8b, the node device can The device identification of each device is also associated and displayed at the corresponding position on the screen. The user can touch the position corresponding to the screen and the device identification, so that the node device can determine the target communication object according to the mapping relationship between the device identification and the screen position and the touch position detected by the screen.
- the node device only designates one device at a time as the target communication object; in other examples, the node device can also designate multiple devices at one time as the target communication object at the same time.
- S706 The node device sends a communication message to the target communication object through the anchor point.
- the node device may generate a communication message according to the communication content, and the communication content includes, but is not limited to, at least one of text, files (pictures, videos, or audio) and the like. It can be understood that if the target communication object selected by the node device is the anchor, the communication message can be directly received by the target communication object; but if the target communication object selected by the node device is not the anchor, the communication message cannot be transmitted. To the target communication object, it needs to be forwarded through the anchor point. In order to let the anchor know that the message is not sent to itself after receiving the communication message, and to know which device the communication message should be forwarded to, when the node device generates the communication message, it will carry the information of the target communication object in the communication message. Equipment Identity.
- S708 The first device forwards the communication information to the target communication object when it is determined that its own device identification does not match the device identification of the target communication object.
- the first device After the first device (that is, the anchor) receives the communication message, it extracts the device identification carried therein, and judges whether the device identification matches its own device identification, and if it matches, the target communication object of the communication message is itself; but If it does not match, the first device forwards the communication message to the corresponding device according to the carried device identifier. If there is only one target communication object, the first device may select the unicast mode for forwarding, and if there are multiple target communication objects, the first device may select the multicast mode for forwarding.
- the anchor point determines whether the communication message is sent to itself according to whether the device identification carried in the communication message matches its own device identification, which means that when the node device sends a communication message, regardless of the Whichever the target communication object is, will carry the device ID.
- the anchor can determine whether the communication message is intended for itself based on whether the device identification is extracted from the communication message.
- communication between devices in the local wireless network can be realized, which is beneficial for users of each device to realize information exchange in corresponding scenarios, and facilitates risk early warning, resource allocation, and the like.
- This embodiment provides a networking method, in which information exchange between different wireless networks can be implemented. For example, see FIG. 9 :
- S902 The first device scans the remote wireless network through the low frequency.
- Local wireless network A and local wireless network B are local wireless networks located in two different places respectively.
- the local wireless network B is a remote wireless network, called "remote wireless network"; similarly, for the local wireless network B, A is also a remote wireless network. Therefore, the remote wireless network is a relative concept.
- the remote wireless network is another local wireless network that has a certain physical distance from it.
- the remote wireless network is essentially a local wireless network created at other locations. Therefore, the remote wireless network also includes an anchor point connecting other wireless devices in the local wireless network.
- the The anchor point of the remote wireless network is called the "remote anchor point”.
- Figure 10 only shows the situation where two local wireless networks are close to each other and are remote wireless networks. Undoubtedly, in actual situations, there may be two or more remote wireless networks near one local wireless network. end wireless network.
- a wireless device in a local wireless network can communicate with a wireless device in a remote wireless network through a low frequency, because the low frequency has the advantages of anti-interference, strong penetration performance, and long transmission distance.
- the first device in the foregoing embodiment is used as the anchor point of the first local wireless network as an example for illustration: in the first local wireless network, the first device can discover the remote wireless network through low-frequency scanning.
- S904 The first device accesses the remote wireless network through the remote anchor point.
- the first device uses a low frequency to search for a remote wireless network, it may not be able to search.
- there is only one remote wireless network near the first local wireless network so the first device can only search for one remote wireless network.
- the first device wants to communicate with the remote wireless network For interaction, there is no choice but to choose to access the remote wireless network through the remote anchor point of the remote wireless network.
- the first device selects by default to access a remote wireless network with the best signal quality, and in some examples, the first device selects by default to access a remote wireless network that is closest to it.
- the user of the first device may select the remote wireless network to be accessed.
- S906 The first device exchanges information with the remote anchor point.
- the first device After the first device is connected to the remote anchor point through a low frequency, it can communicate with the remote anchor point to realize information exchange.
- the information transmitted between the first device and the remote anchor point includes, but is not limited to, at least one of text, emoticons, files (audio, video, pictures, documents), and the like.
- the first device and the remote anchor point can know the location of each other, and the first device can transmit its own location information to the remote anchor point, because the location information of the first device can basically represent the first device.
- the overall location of the local wireless network so after the remote anchor point receives the location information transmitted by the first device, it can roughly determine the orientation of the first local wireless network.
- the anchors of the two wireless networks when they transmit the location information, they may also transmit the location information of all devices in the local wireless networks to which they belong to the opposite end. All network device information corresponding to the end wireless network is sent to the first device, and the network device information sent by the remote anchor point includes the device identifiers of each device in the remote wireless network, and may further include location information of each device.
- the first device does not support simultaneous high-frequency communication and low-frequency communication. Therefore, when the connection between the first device and the device in the local wireless network, and the connection between the first device and the remote anchor point It can only be done alternately, in other words, when the first device maintains the first local wireless network, it cannot connect to the remote anchor; and when the first device is connected to the remote anchor, it cannot make the first local wireless network
- the node device in is connected to the first local wireless network.
- the first device can implement the handover between the local wireless network connection and the remote wireless network connection with reference to the process shown in FIG. 11 :
- the first device sends a sleep message to the node device in the first local wireless network.
- a dormancy message may be sent to the node device in the first local wireless network, where the dormancy message is used to instruct the node device Saving the first network identifier, exiting the first local wireless network, and re-searching to access the first local wireless network after a preset sleep duration.
- the node device can save the first network identifier, exit the first local wireless network, and start timing until the timer reaches the preset sleep duration, and searches for the first local wireless network according to the first network identifier.
- S1104 The first device exits the first local wireless network, and starts timing from the moment when the sleep message is sent.
- the first device After the first device sends the sleep message, it can exit the first local wireless network and start timing at the same time.
- S1106 The first device searches for and accesses the remote wireless network.
- S1108 The first device exchanges information with the remote wireless network.
- the first device searches and counts the remote wireless network, and the process of exchanging information with the remote wireless network will not be repeated here.
- S1110 The first device determines whether the time difference between the current time and the sending time of the sleep message reaches a preset sleep duration.
- the first device proceeds to S1112, and if the judgment result is no, it continues to execute S1108.
- S1112 The first device disconnects the connection with the remote wireless network, and uses the first network identifier to recreate the first local wireless network for the node device to access.
- the first device disconnects from the segment wireless network, and recreates the first local wireless network by using the first network identifier, and recreates the first local wireless network. After the local wireless network, the first device can wait for the local wireless device to access it.
- the first device after the first device sends the sleep message, it counts according to the preset sleep duration, and the node device also counts according to the preset sleep duration after receiving the sleep message. In this way, the node device sleeps over and restarts the search.
- the first device When the first local wireless network is used, the first device is also disconnected from the remote wireless network at almost the same time, and starts to rebuild the first local wireless network. If it takes a long time for the first device to rebuild the first local wireless network, some node devices cannot find the first local wireless network when searching for the first local wireless network, and the search fails.
- the timing duration of the first device is not equal to the timing duration of the node device, and the timing duration of the first device is smaller than the timing duration of the node device.
- the first device Before a local wireless network, the first device has recreated the first local wireless network, which avoids the problem that the node device fails to search.
- the first device determines whether the timing duration reaches the preset sleep duration. After the network starts the process of information exchange. But in fact, after the first device starts timing, it can periodically determine whether the timing duration reaches the preset sleep duration. For example, in some examples, there is no other wireless network around the first device, so the first device searches for a remote wireless network that can be accessed for many times, but the timing period has reached the preset sleep period. In this case, the first device has started to recreate the first local wireless network before accessing the remote wireless network.
- the anchor point of the first local wireless network communicates with the remote anchor point of the remote wireless network, so as to realize the connection of the two wireless networks.
- the interaction between wireless networks may also be implemented by devices other than the anchor point.
- a node device may be designated as an inter-network interaction device in a local wireless network, and the node device accesses a remote wireless network to perform information exchange. Because the node device can also obtain network device information from the anchor point, such as at least one of the device identifiers and location information of each device in the first local wireless network, the node device can also communicate with the remote wireless network. Realize the interaction of location information, etc.
- the anchor point is not used as an inter-network interaction device, even if the node device does not support simultaneous high-frequency and low-frequency communication, when the node device accesses the remote wireless network, it only needs to save the first network identifier by itself, and It is sufficient to temporarily exit the first local wireless network, and it is not necessary to dissolve the entire first local wireless network. After the node device completes the interaction with the remote wireless network, it may search for and join the first local wireless network again according to the first network identifier.
- the wireless device supports simultaneous high-frequency and low-frequency communication, it does not need to exit the first local wireless network as an inter-network interaction device.
- the anchor or node device acts as an inter-network interaction device. The effect of interactive devices is not much different.
- the wireless networking method provided in this embodiment can not only create a local wireless network by using a high-frequency channel through wireless devices to realize interaction between local wireless devices, but also enable devices in the local wireless network to communicate with remote devices through a low-frequency channel.
- Other wireless network connections can realize information exchange, which is conducive to the transmission of information and expands the scope of communication.
- Embodiment 4 is a diagrammatic representation of Embodiment 4:
- the Internet of Things refers to the real-time collection of information on any object that needs to be monitored, connected, and interacted through various devices and technologies such as information sensors, radio frequency identification technology, global positioning systems, infrared sensors, and laser scanners. Information such as heat, electricity, mechanics, chemistry, biology, and location can be accessed through various possible networks to realize the ubiquitous connection between things and people and things and people, and then realize intelligent perception, identification and management of items and processes. .
- the Internet of Things is an information carrier based on the Internet, traditional telecommunication networks, etc. It enables all common physical objects that can be independently addressed to form an interconnected network.
- D2D (Device-to-Device) communication is a new technology under the control of the system that allows terminals to communicate directly by reusing cell resources. question. D2D technology can be applied to mobile cellular networks to improve resource utilization and network capacity. The resources occupied by each D2D communication link are equal to those occupied by one cellular communication link.
- both IOT and D2D applications are based on the Internet. If they leave the backbone network or mobile communication network, the two will be restricted or even the function will not be realized.
- the communication between wireless devices mainly relies on basic communication networks such as base stations, such as Tianyi Intercom, Zhuozhida, Trunking, Weila, etc. This communication scheme requires the assistance of traditional base station equipment, and cannot meet the needs of specific situations such as no base station signal or poor base station signal.
- Another option is to incorporate the walkie-talkie module into the wireless device, for example, in some examples, the walkie-talkie module can be embedded in a smartphone case, thus combining the smartphone and the walkie-talkie into one.
- the walkie-talkie module can be directly put into the motherboard of the smartphone, the phone uses the cellular network, and the walkie-talkie function is implemented based on the LoRa (Long Range Radio) protocol.
- LoRa Long Range Radio
- This communication scheme will not only lead to an increase in the size and power consumption of wireless devices, but also the protocols it relies on are very likely to be eliminated. For example, the LoRa protocol will not be promoted in China in the future.
- this embodiment provides a wireless networking solution: in the absence of mobile base station signal coverage, for a plurality of wireless devices in relatively concentrated locations, a local wireless network is established through high-frequency channels and local communication is carried out.
- the anchor point of the wireless network can network with other local wireless networks through the low-frequency channel and carry out effective communication, so as to complete the information transmission.
- the wireless device After the wireless device triggers the local wireless networking, it tries to scan the local wireless network in the nearby area. If it scans the local wireless network, it can select one from the scanning results and try to join; otherwise, the wireless device can use itself as the anchor to form a local wireless network. Wireless network, and for other wireless devices to access. In addition, a wider range of local wireless networks can also be established between anchor points of two or more local wireless networks, thereby realizing information sharing.
- the wireless networking solution in this embodiment includes the following processes:
- the local wireless network networking is realized through high frequency.
- the wireless device When the wireless base station signal has no coverage or the coverage signal is weak, the wireless device is triggering the local wireless networking: first scan whether there is a local wireless network in the nearby area, if so, try to access the existing local wireless network, otherwise it will take itself as the The anchor points form a new local wireless network, as shown in Figure 12:
- S1202 The wireless device scans the wireless high-frequency channel
- S1204 The wireless device determines whether to scan the local wireless network
- step S1206 Through high-frequency channel scanning, if it is confirmed that there is no local wireless network in the nearby area, then go to step S1206; otherwise, go to step S1210;
- the wireless device determines the network identifier for creating the local wireless network, scans the high-frequency channel and selects the high-frequency channel for creating the local wireless network;
- S1208 The wireless device uses itself as an anchor to create a local wireless network, and waits for other local wireless devices to access the network;
- the wireless device selects the target wireless network from the scanning result
- target wireless network in this embodiment refers to the local wireless network that the wireless device wants to access.
- S1212 The wireless device sends an access request to the target wireless network
- the anchor point of the target wireless network After receiving the access request of the wireless device, the anchor point of the target wireless network can determine whether the wireless device can access according to the network conditions.
- S1214 The wireless device accesses the target wireless network, and performs information transmission and interaction.
- the wireless device if it is rejected by the target wireless network anchor, it cannot access the target wireless network, and can only select a new target wireless network from the search results, or create a local wireless network by itself.
- the wireless device serving as the anchor point periodically locates the node device in the local wireless network.
- the positioning is mainly carried out by the anchor point in the local wireless network.
- the anchor After the anchor locates the local wireless network, it can broadcast the location information of all devices in the network to all node devices in the local wireless network, and mark each node device with device identification, which is especially important in emergency disaster relief or team travel .
- the anchor point can perform broadcast communication to node devices in the local wireless network, and can also perform unicast communication to any node device.
- the wireless device acting as the anchor point can interact with the remote wireless network.
- the anchor point stores the network identifier of the local wireless network and sends a dormancy message to the node device in the local wireless network;
- the node device saves the network identifier of the local wireless network after receiving the sleep message, and exits the local wireless network;
- the anchor scans the remote wireless network through the low frequency
- the anchor point selects the target remote wireless network.
- the anchor point After the anchor point scans the remote wireless network, it can determine whether the remote wireless network is scanned in the nearby area, and if so, it can select a remote wireless network as the target remote wireless network.
- the anchor point shares the location information of each device in the local wireless network with the anchor point of the target remote wireless network, that is, the remote anchor point, and can also transmit text, voice and other information.
- the sensitive information when the anchor point of the local wireless network communicates with the remote wireless network, the sensitive information may be selectively filtered or other means may be used to ensure the security of the sensitive information.
- the anchor point determines whether the time difference between the current moment and the moment when the sleep message is sent reaches a preset sleep duration
- the anchor point accepts the access of the node device of the local wireless network.
- the node device in the local wireless network after receiving the sleep message, it saves the network identifier of the local wireless network, exits the local wireless network, and starts timing until the timing time reaches the preset sleep time. Just join the local wireless network.
- the anchor point may indicate the size of the preset sleep duration to the node device in the sleep message, so that the anchor point can flexibly set the preset sleep duration according to its interaction requirements with the remote wireless network.
- the wireless device as the anchor point can help realize the information exchange between the node devices in the local wireless network.
- the anchor point can transmit the network device information of the local wireless network (including the identification information and location information of each device) to each node device of the local wireless network.
- the node device After the node device receives the network device information, it can be displayed on the screen, so that The relative positional relationship between the devices is presented to the user.
- the user can specify the target communication object from various devices other than the user, and the node device generates a communication message carrying the device identification of the target communication object. After the node device generates the communication message, it sends it to the anchor.
- the anchor receives the communication message, it extracts the device ID carried in it, and judges whether the device ID matches its own device ID. If it matches, it means the communication message.
- the target communication object is itself; but if it does not match, the first device will forward the communication message to the corresponding device according to the carried device ID.
- the wireless device as the anchor point controls the realization of anchor point handover.
- connection and communication of the local wireless network are realized by the anchor point in the network, and different application scenarios may have different requirements for the anchor point. For example, in emergency disaster relief, a wireless device with a wide range of activities may be selected as the anchor While on a group trip, you need to choose a wireless device that is closer to the center as the anchor point. In addition, the selection of the anchor point also needs to consider the current state of the corresponding wireless device, such as the battery level. In this embodiment, the local wireless network can actively adjust the anchor point as required, so as to ensure the normal availability of the network to the greatest extent. Please refer to the anchor point process shown in Figure 14 below:
- S1402 The anchor obtains its own state information
- the state information of the anchor point includes the remaining power and its relative position in each device of the local wireless network.
- the anchor determines whether its own state can continue to be the anchor in the current network working mode
- the anchor supports working in two network working modes: travel mode and emergency mode, wherein the travel mode is suitable for group travel scenarios, and the emergency mode is suitable for emergency disaster relief scenarios.
- different network working modes have different requirements for the location of the anchor point. Therefore, if the position of the current anchor point does not match the requirements of the current network working mode, it may be necessary to switch the anchor point; The power consumption brought by the wireless network is relatively high, so if the remaining power of the anchor point is not much, it is not suitable to continue to be the anchor point of the local wireless network.
- the anchor point switching can be triggered; Anchor point switching will be triggered only after the number of state information types reaches a certain number; in other examples, anchor point switching is required when all the state information of the anchor point does not meet the requirements of the current network working mode.
- the anchor point selects a backup anchor point according to the acquired location information of each node device according to the corresponding selection principle
- the anchor point periodically obtains the location information of each device in the local wireless network.
- the anchor point combines the anchor point selection principle corresponding to the current network working mode and each The location information of the device selects the corresponding backup anchor point.
- the anchor point may not be suitable as an anchor point after verification. For example, it does not have the ability to serve as an anchor point, and the anchor point needs to re-select an alternate anchor point. In this case When the anchor point is reselected, the previous alternate anchor point is excluded.
- the anchor receives the device configuration information of the standby anchor
- the anchor point determines whether the standby anchor point has the ability to serve as an anchor point according to the device configuration information
- the first device and the second device are the anchor point and the backup anchor point, respectively, and the third device is the node in the local wireless network except the anchor point and the backup anchor point.
- S1502 The first device sends an anchor point switching packet to the second device;
- the second device sends a handover confirmation message to the first device
- S1506 The first device sends a handover message to the second device and the third device;
- S1508 The first device, the second device, and the third device save the network identifier, and exit the local wireless network;
- S1510 The second device recreates the local wireless network according to the saved network identifier
- S1512 The first device and the third device search for and access the local wireless network according to the stored network identifier.
- the wireless devices such as the first device and the third device search for the local wireless network according to the saved network identifier, it is likely that the search cannot be found.
- the wireless device fails to search, You can search again until the number of search failures reaches a certain number, or when the search time reaches a certain length, you can stop the search and recreate the local wireless network yourself.
- a wireless device when a wireless device creates a local wireless network, it can select a new network identifier or use its own saved network identifier, because if the new network identifier is used, The device is connected to the same network again, preventing other wireless devices from creating a local wireless network due to their respective search failures.
- the present application can provide not only emergency communication and positioning services, but also organization and communication services between team members during travel when the wireless base station signal is not covered or the coverage signal is weak.
- the embodiments of the present application also provide corresponding devices and systems. Each of them will be described in detail below.
- Embodiment 5 is a diagrammatic representation of Embodiment 5:
- the present embodiments provide a storage medium including volatile or non-volatile implemented in any method or technology for storage of information, such as computer readable instructions, data structures, computer program modules or other data volatile, removable or non-removable media.
- Storage media include but are not limited to RAM (Random Access Memory), ROM (Read-Only Memory, read-only memory), EEPROM (Electrically Erasable Programmable read only memory, electrified Erasable Programmable Read-Only Memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), Digital Versatile Disc (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or available with Any other medium that stores the desired information and can be accessed by a computer.
- RAM Random Access Memory
- ROM Read-Only Memory
- EEPROM Electrically Erasable Programmable Read only memory
- flash memory or other memory technology
- CD-ROM Compact Disc Read-Only Memory
- DVD Digital Versatile
- the storage medium may store one or more computer programs that can be read, compiled and executed by one or more processors.
- the storage medium may store a first wireless networking program.
- the wireless networking program can be used by one or more processors to implement the process on the first device side (anchor point side) in any of the wireless networking methods described in the foregoing embodiments;
- the second wireless networking program can be used by one or more processors.
- Each processor executes the process of implementing the second device side (standby anchor point side) in any of the wireless networking methods described in the foregoing embodiments;
- the third wireless networking program can be executed by one or more processors to implement the foregoing embodiments The flow of the third device side (node device side) in any of the wireless networking methods introduced.
- This embodiment also provides a computer program product, including a computer-readable device, where the computer program as shown above is stored on the computer-readable device.
- the computer-readable device may include the computer-readable storage medium as described above.
- the computer program product includes a wireless device, as shown in FIG. 16 : the wireless device 16 includes a processor 161, a memory 162, and a communication bus 163 for connecting the processor 161 and the memory 162, wherein the memory 162 can be the aforementioned A storage medium for at least one of a wireless networking program, a second wireless networking program, and a third wireless networking program.
- the first wireless networking program, the second wireless networking program and the third wireless networking program are stored in the memory 162 at the same time, and the processor 161 can select which one to execute according to the situation, and implement the corresponding one. process.
- the wireless device 16 in this embodiment includes at least one of a mobile phone, a PAD (tablet computer), a PDA (personal digital assistant), and a wearable device.
- a backup anchor point can be determined, and then a backup anchor point can be determined during the anchor point switching process.
- the second device serving as the backup anchor point sends an anchor point switching message to instruct the second device to switch to be the new anchor point of the first local wireless network.
- the first device sends a handover message to each node device in the first local wireless network.
- each node device in the first local wireless network saves the network identifier of the first local wireless network according to the instruction of the handover message , that is, the first network identifier, and exit the first local wireless network.
- the second device recreates the first local wireless network with the network identifier as the first network identifier according to the instruction of the anchor handover message, and accepts the local wireless device as a node device of the first local wireless network to access the first local wireless network in the subsequent process.
- a local wireless network In the wireless networking solution provided by the embodiment of the present application, during the anchor point switching process, the original anchor point, the backup anchor point and the common node devices in the local wireless network can cooperate with each other and automatically realize, whether the original anchor point or the backup point Users of the anchor point or ordinary node equipment do not need to perform manual operations, which reduces the burden of manual operations for users and improves the automation and intelligence of wireless networking.
- the functional modules/units in the system, and the device can be implemented as software (which can be implemented by computer program codes executable by a computing device). ), firmware, hardware, and their appropriate combination.
- the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components Components execute cooperatively.
- Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit .
- communication media typically embodies computer readable instructions, data structures, computer program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery, as is well known to those of ordinary skill in the art medium. Therefore, the present application is not limited to any particular combination of hardware and software.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A wireless networking method, a wireless device and a storage medium. After creating a first local wireless network, a first device can determine a standby anchor point, and can send an anchor point switching message to a second device that serves as the standby anchor point, so as to instruct the second device to switch to a new anchor point of the first local wireless network. Then, the first device sends a switching message to each node device in the first local wireless network, so as to instruct the node devices to store a first network identifier and to exit the first local wireless network. The second device recreates the first local wireless network according to the first network identifier, and accepts access by a local wireless device serving as a node device.
Description
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202110200901.5、申请日为2021年2月23日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number of 202110200901.5 and the filing date of February 23, 2021, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is incorporated herein by reference.
本申请实施例涉及但不限于无线通信领域,具体而言,涉及但不限于一种无线组网方法、无线设备及存储介质。The embodiments of the present application relate to, but are not limited to, the field of wireless communications, and specifically relate to, but are not limited to, a wireless networking method, a wireless device, and a storage medium.
目前,移动无线设备间的通信主要还是依靠基站等基础通信网络进行连接,所以在无线基站信号未覆盖或者覆盖信号很弱的情况下,或者是在基站等基础设施损坏严重的情况下,移动终端之间的通信就会面临巨大的障碍。针对该问题,目前提出的解决方案是由一个移动终端创建本地无线网络供其他移动终端接入,从而实现本地移动终端间的通信。当创建本地无线网络的移动终端电量不足或者是需要移动离开网络内的其他移动终端,则其他移动终端的用户需要手动退出该本地无线网络,然后重新手动创建一个新的本地无线网络。在这种无线组网方案实现,依赖于用户的大量手动操作,增加了用户的操作负担。At present, the communication between mobile wireless devices mainly relies on basic communication networks such as base stations for connection. Therefore, when the wireless base station signal is not covered or the coverage signal is weak, or when the infrastructure such as the base station is seriously damaged, the mobile terminal Communication between them will face huge obstacles. Aiming at this problem, the solution proposed at present is to create a local wireless network by one mobile terminal for other mobile terminals to access, so as to realize the communication between the local mobile terminals. When the mobile terminal that creates the local wireless network has insufficient power or needs to move away from other mobile terminals in the network, users of other mobile terminals need to manually exit the local wireless network, and then manually create a new local wireless network. The implementation of this wireless networking solution relies on a large number of manual operations by the user, which increases the operational burden of the user.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供的无线组网方法、无线设备及存储介质。The wireless networking method, wireless device, and storage medium provided by the embodiments of the present application.
本申请实施例提供一种无线组网方法,包括:第一设备从第一本地无线网络的节点设备中确定备用锚点,所述第一设备为所述第一本地无线网络当前的锚点,所述第一本地无线网络的网络标识为第一网络标识;所述第一设备向所述第一本地无线网络的备用锚点发送锚点切换报文,所述锚点切换报文用于指示所述备用锚点作为所述第一本地无线网络新的锚点;所述第一设备向所述第一本地无线网络中的节点设备发送切换消息,所述切换消息用于指示所述节点设备保存所述第一网络标识并退出所述第一本地无线网络;所述第一设备根据所述第一网络标识搜索并接入由所述备用锚点创建的第一本地无线网络。An embodiment of the present application provides a wireless networking method, including: a first device determining a standby anchor point from a node device of a first local wireless network, the first device being the current anchor point of the first local wireless network, The network identifier of the first local wireless network is the first network identifier; the first device sends an anchor switch packet to the standby anchor point of the first local wireless network, and the anchor switch packet is used to indicate the standby anchor point is used as a new anchor point of the first local wireless network; the first device sends a handover message to a node device in the first local wireless network, where the handover message is used to instruct the node device Saving the first network identifier and exiting the first local wireless network; the first device searches and accesses the first local wireless network created by the backup anchor point according to the first network identifier.
本申请实施例还提供一种无线组网方法,包括:第二设备接收第一本地无线网络的锚点发送的锚点切换报文,所述锚点切换报文用于指示所述第二设备切换为所述第一本地无线网络新的锚点,所述第一本地无线网络的网络标识为第一网络标识;所述第二设备保存所述第一网络标识并退出所述第一本地无线网络;所述第二设备根据所述第一网络标识重新创建所述第一本地无线网络;所述第二设备接受本地无线设备作为所述第一本地无线网络的节点设备接入所述第一本地无线网络。An embodiment of the present application further provides a wireless networking method, including: a second device receiving an anchor point handover message sent by an anchor point of a first local wireless network, where the anchor point handover message is used to instruct the second device Switch to the new anchor point of the first local wireless network, and the network identifier of the first local wireless network is the first network identifier; the second device saves the first network identifier and exits the first local wireless network network; the second device recreates the first local wireless network according to the first network identifier; the second device accepts the local wireless device as a node device of the first local wireless network to access the first local wireless network local wireless network.
本申请实施例还提供一种无线组网方法,包括:第三设备接收第一本地无线网络中锚点发送的切换消息,所述切换消息用于表征所述第一本地无线网络的锚点将发生切换,所述第一本地无线网络的网络标识为第一网络标识;所述第三设备根据所述切换消息保存所述第一网络标识并退出所述第一本地无线网络;所述第三设备根据所述第一网络标识搜索并接入由新的锚点创建的第一本地无线网络。An embodiment of the present application further provides a wireless networking method, including: a third device receiving a handover message sent by an anchor point in a first local wireless network, where the handover message is used to indicate that the anchor point of the first local wireless network will A handover occurs, and the network identifier of the first local wireless network is the first network identifier; the third device saves the first network identifier and exits the first local wireless network according to the handover message; the third device The device searches for and accesses the first local wireless network created by the new anchor point according to the first network identifier.
本申请实施例还提供一种无线设备,所述无线设备包括处理器、存储器及通信总线;所述通信总线用于实现处理器和存储器之间的连接通信;所述处理器用于执行存储器中存储的第一无线组网程序,以实现上述第一种无线组网方法的步骤;或,所述处理器用于执行存储器中存储的第二无线组网程序,以实现上述第二种无线组网方法的步骤;或,所述处理器用于执行存储器中存储的第三无线组网程序,以实现上述第三种无线组网方法的步骤。An embodiment of the present application further provides a wireless device, the wireless device includes a processor, a memory, and a communication bus; the communication bus is used to implement connection and communication between the processor and the memory; the processor is used to execute storage in the memory The first wireless networking program to implement the steps of the above-mentioned first wireless networking method; or, the processor is configured to execute the second wireless networking program stored in the memory to implement the above-mentioned second wireless networking method. or, the processor is configured to execute the third wireless networking program stored in the memory, so as to implement the steps of the above-mentioned third wireless networking method.
本申请实施例还提供一种存储介质,所述存储介质存储有第一无线组网程序、第二无线组网程序以及第三无线组网程序中的至少一个,所述第一无线组网程序可被一个或者多个处理器执行,以实现上述第一种无线组网方法的步骤;所述第二无线组网程序可被一个或者多个处理器执行,以实现上述第二种无线组网方法的步骤;所述第三无线组网程序可被一个或者多个处理器执行,以实现上述第三种无线组网方法的步骤。An embodiment of the present application further provides a storage medium, where the storage medium stores at least one of a first wireless networking program, a second wireless networking program, and a third wireless networking program, the first wireless networking program can be executed by one or more processors to implement the steps of the above-mentioned first wireless networking method; the second wireless networking program can be executed by one or more processors to implement the above-mentioned second wireless networking method The steps of the method; the third wireless networking program can be executed by one or more processors to implement the steps of the third wireless networking method.
本申请其他特征和相应的有益效果在说明书的后面部分进行阐述说明,且应当理解,至少部分有益效果从本申请说明书中的记载变的显而易见。Other features and corresponding beneficial effects of the present application are described in later parts of the specification, and it should be understood that at least some of the beneficial effects will become apparent from the description in the specification of the present application.
图1为本申请实施例一中提供的无线组网方法的一种流程图;FIG. 1 is a flowchart of the wireless networking method provided in Embodiment 1 of the present application;
图2为本申请实施例一中提供的作为锚点的第一设备选择备用锚点的一种流程图;FIG. 2 is a flow chart of selecting an alternate anchor point for the first device serving as an anchor point provided in Embodiment 1 of the present application;
图3为本申请实施例一中示出的根据选择位置靠近中心的节点设备作为备用锚点的一种示意图;FIG. 3 is a schematic diagram of a node device that is close to the center according to the selection position shown in Embodiment 1 of the present application as a backup anchor point;
图4为本申请实施例一中提供的根据活动范围选择备用锚点的一种流程图;4 is a flowchart of selecting a backup anchor point according to an activity range provided in Embodiment 1 of the present application;
图5为本申请实施例一中锚点判断备用锚点是否具备作为新锚点的一种流程图;FIG. 5 is a flowchart of an anchor point in Embodiment 1 of the present application for judging whether a backup anchor point is available as a new anchor point;
图6为本申请实施例二中第一设备确定备用锚点前所执行流程的一种示意图;6 is a schematic diagram of a process performed before the first device determines a backup anchor point in Embodiment 2 of the present application;
图7为本申请实施例二中提供的节点设备通过锚点与其他节点设备通信的一种流程图;FIG. 7 is a flow chart of the node device provided in Embodiment 2 of the present application communicating with other node devices through an anchor point;
图8a为本申请实施例二中示出的无线设备的一种显示界面示意图;8a is a schematic diagram of a display interface of the wireless device shown in Embodiment 2 of the present application;
图8b为本申请实施例二中示出的无线设备的另一种显示界面示意图;FIG. 8b is a schematic diagram of another display interface of the wireless device shown in Embodiment 2 of the present application;
图9为本申请实施例三中提供的锚点与远端无线网络信息通信的一种流程图;FIG. 9 is a flowchart of information communication between the anchor point and the remote wireless network provided in Embodiment 3 of the present application;
图10为本申请实施例三中示出的本端无线网络与远端无线网络的一种示意图;10 is a schematic diagram of a local wireless network and a remote wireless network shown in Embodiment 3 of the present application;
图11为本申请实施例三中提供的锚点在本地无线网络连接与远端无线网络连接间切换的一种流程图;11 is a flowchart of the anchor point switching between a local wireless network connection and a remote wireless network connection provided in Embodiment 3 of the present application;
图12为本申请实施例四中提供的无线设备接入或创建本地无线网络的一种流程图;12 is a flowchart of the wireless device accessing or creating a local wireless network provided in Embodiment 4 of the present application;
图13为本申请实施例四中提供的锚点在本地无线网络连接与远端无线网络连接间切换的一种流程图;13 is a flowchart of the anchor point switching between a local wireless network connection and a remote wireless network connection provided in Embodiment 4 of the present application;
图14为本申请实施例四中提供的锚点选择备用锚点并执行锚点切换的一种流程图;14 is a flowchart of selecting a backup anchor point and performing anchor point switching for the anchor point provided in Embodiment 4 of the present application;
图15为本申请实施例四中提供的锚点执行锚点切换的一种具体流程图;FIG. 15 is a specific flowchart of the anchor point switching performed by the anchor point provided in Embodiment 4 of the present application;
图16为本申请实施例五中提供的无线设备的一种硬件结构示意图。FIG. 16 is a schematic diagram of a hardware structure of the wireless device provided in Embodiment 5 of the present application.
为了使本申请的目的、技术方案及优点更加清楚明白,下面通过具体实施方式结合附图对本申请实施例作进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the embodiments of the present application will be further described in detail below through specific implementation manners in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
实施例一:Example 1:
随着无线技术不断发展,无线网络速率的不断提升,尤其是5G无线网络相较4G无线网络,性能有了巨大提升。基于无线网络提供的服务不断拓展,例如家用智能设备的不断涌入催生了万物互联的物联网的诞生。物联网(Internet of Things,IoT)起源于传媒领域,是信息科技产业的第三次革命,物联网是指通过信息传感设备,按约定的协议,将任何物体与网络相连接,物体通过信息传播媒介进行信息交换和通信,以实现智能化识别、定位、跟踪、监管等功能。随着物联网的不断发展,设备间的互联协议也得到了长足的发展,从而为设备本地或者与远端互联奠定了基础。With the continuous development of wireless technology and the continuous improvement of wireless network speed, especially the performance of 5G wireless network has been greatly improved compared with 4G wireless network. The services provided by wireless networks continue to expand. For example, the continuous influx of home smart devices has given birth to the Internet of Things, which is the Internet of Everything. The Internet of Things (IoT) originated in the media field and is the third revolution in the information technology industry. The Internet of Things refers to the use of information sensing equipment to connect any object with the network according to the agreed protocol, and the object passes the information. The media exchanges and communicates information to realize intelligent identification, positioning, tracking, supervision and other functions. With the continuous development of the Internet of Things, the interconnection protocols between devices have also developed by leaps and bounds, thus laying the foundation for the local or remote interconnection of devices.
通常情况下,移动终端间基于基站等基础通信网络建立通信连接,实现无线通信。还有一些方案将对讲机模块集成到移动终端中,例如带有对讲功能的手机等。不过这两种无线通信方案都有显著的弊端:例如针对前者,这种通信方案不满足无基站或者基站信号覆盖差等情况下的需求;对于后者,在集成对讲机模块之后,移动终端的体积与功耗都会显著增大,这不符合移动终端便携性、低功耗的发展趋势。而且,传统对讲机模块所依赖的通信协议后续可能被淘汰,这就导致后一种无线通信方案的实现失去基础。Generally, a communication connection is established between mobile terminals based on a basic communication network such as a base station to realize wireless communication. There are also some solutions to integrate the walkie-talkie module into a mobile terminal, such as a mobile phone with a walkie-talkie function. However, these two wireless communication schemes have significant drawbacks: for example, for the former, this communication scheme does not meet the needs of no base station or poor base station signal coverage; for the latter, after integrating the walkie-talkie module, the size of the mobile terminal Both power consumption and power consumption will increase significantly, which is not in line with the development trend of portability and low power consumption of mobile terminals. Moreover, the communication protocol that the traditional walkie-talkie module relies on may be eliminated later, which leads to the loss of foundation for the realization of the latter wireless communication scheme.
本实施例中,无线设备可以创建本地无线网络,以供其他本地的无线设备接入。由于其他设备都是通过创建本地无线网络的无线设备接入该本地无线网络的,因此,创建本地无线网络的无线设备就相当于一个“锚点”,这里将创建本地无线网络的无线设备称为本地无线网络的锚点,将其他接入该本地无线网络的无线设备称为“节点设备”。In this embodiment, the wireless device may create a local wireless network for other local wireless devices to access. Since other devices access the local wireless network through the wireless device that creates the local wireless network, the wireless device that creates the local wireless network is equivalent to an "anchor point", and the wireless device that creates the local wireless network is called here. The anchor point of the local wireless network, and other wireless devices accessing the local wireless network are called "node devices".
在相关的技术方案中,当无线设备a创建了本地无线网络N0后,处于a附近的其他无线设备(例如无线设备b,c,d)都可以通过a接入本地无线网络N0。但如果a的电量不足,不能支持继续维护本地无线网络N0,则需要b,c,d的用户手动断开各无线设备与a之间的无线连接。然后这些用户一起商量,从b,c,d三个无线设备中选择出一个新的锚点,并重新创建本地无线网络N1,这里假定由用户们商量后决定由c作为新的锚点,则c的用户可以手动的在c上创建本地无线网络N1,然后b与d的用户分别手动控制无线设备搜索到本地无线网络N1,并控制b与d接入到本地无线网络N1中。当然,如果a的剩余电量还支持其进行无线通信,则a的用户也同样可以控制a搜索并接入本地无线网络N1。In a related technical solution, after the wireless device a creates the local wireless network N0, other wireless devices (eg wireless devices b, c, d) near a can access the local wireless network N0 through a. However, if the battery of a is insufficient and cannot support the continued maintenance of the local wireless network N0, the users of b, c, and d need to manually disconnect the wireless connection between each wireless device and a. Then these users negotiate together, select a new anchor point from the three wireless devices b, c, and d, and re-create the local wireless network N1. Here, it is assumed that the users decide to use c as the new anchor point after consultation, then The user of c can manually create a local wireless network N1 on c, and then the users of b and d respectively manually control the wireless devices to search for the local wireless network N1, and control b and d to access the local wireless network N1. Of course, if the remaining power of a also supports wireless communication, the user of a can also control a to search and access the local wireless network N1.
可见在上述无线组网方案中,一旦原锚点不能继续维护其所创建的本地无线网络,就需要该本地无线网络中各无线设备的用户都分别进行不同程度的手动操作后,才能实现新的本地无线网络的建立。这给用户带来了巨大的时间、精力耗费,尤其是在灾后救援等场合中,无线组网的耗时严重影响了用户其他工作的推进。It can be seen that in the above wireless networking scheme, once the original anchor point cannot continue to maintain the local wireless network created by it, the users of each wireless device in the local wireless network need to perform manual operations to varying degrees before the new network can be realized. The establishment of a local wireless network. This brings huge time and energy consumption to the user, especially in the post-disaster rescue and other occasions, the time-consuming wireless networking seriously affects the progress of the user's other work.
针对上述问题,本实施例提供一种无线组网方法,请参见图1示出的该无线组网方法的流程图:In response to the above problems, this embodiment provides a wireless networking method. Please refer to the flowchart of the wireless networking method shown in FIG. 1 :
S102:第一设备从第一本地无线网络的节点设备中确定备用锚点。S102: The first device determines a backup anchor point from the node devices of the first local wireless network.
在本实施例中,第一本地无线网络是网络标识为第一网络标识的本地无线网络,其原本由第一设备创建,因此,第一设备在锚点切换之前是该第一本地无线网络的锚点。本实施例中将第一本地无线网络中除了锚点以外的其他无线设备称为“节点设备”,因此,节点设备通过第一设备接入到第一本地无线网络中。In this embodiment, the first local wireless network is a local wireless network with a network identifier of the first network identifier, which was originally created by the first device. Therefore, the first device is a member of the first local wireless network before the anchor point switch. Anchor. In this embodiment, other wireless devices other than the anchor point in the first local wireless network are referred to as "node devices". Therefore, the node devices access the first local wireless network through the first device.
作为第一本地无线网络的锚点,第一设备可以确定出该第一本地无线网络的备用锚点,备用锚点就是 锚点切换过程完成后的新锚点,也即是在锚点切换过程中重新创建第一本地无线网络的节点设备。可以理解的是,第一设备可以是在需要进行锚点切换时才临时确定备用锚点,也可以是在有锚点切换需求之前就预先确定出备用锚点。在一些示例中,第一本地无线网络的备用锚点可以由用户指定,例如,第一本地无线网络创建时,或创建完成以后,各用户商量指定备用锚点,在这种情况下,第一设备根据预先存储的网络配置信息就可以确定备用锚点。还有一些示例中,第一设备可以自己选择备用锚点:As the anchor point of the first local wireless network, the first device can determine the backup anchor point of the first local wireless network, and the backup anchor point is the new anchor point after the completion of the anchor point switching process, that is, during the anchor point switching process The node device that recreates the first local wireless network in . It can be understood that, the first device may temporarily determine the backup anchor point when the anchor point switching needs to be performed, or may determine the backup anchor point in advance before there is an anchor point switching requirement. In some examples, the backup anchor point of the first local wireless network may be designated by the user. For example, when the first local wireless network is created, or after the creation is completed, each user negotiates to designate the backup anchor point. The device can determine the backup anchor point according to the pre-stored network configuration information. There are also some examples where the first device can choose an alternate anchor point by itself:
在本实施例的一些示例中,第一设备可以根据各节点设备的位置信息选择备用锚点,例如,请参见图2所示:In some examples of this embodiment, the first device may select a backup anchor point according to the location information of each node device. For example, see FIG. 2 :
S202:第一设备获取第一本地无线网络中节点设备的位置信息。S202: The first device acquires the location information of the node device in the first local wireless network.
在本实施例的一些示例中,第一设备可以从各节点设备处分别获取各节点设备的位置信息,例如,第一本地无线网络中各节点设备可以基于卫星定位等方式获取自己的实时位置,并将该实时位置传输给第一设备。可以理解的是,由于第一本地无线网络很可能是在不停的移动的,例如,第一本地无线网络由旅游团队中的多个团员创建,因此,第一本地无线网络中的各设备会随着团员的移动而移动。因此,第一设备为了能够掌握各节点设备的实时位置,可能会周期性地获取各节点设备的位置信息;还有一些情景中,第一设备可以仅在自己需要应用第一本地无线网络中各节点设备的位置信息时,才指示各节点设备上报自己的实时位置。In some examples of this embodiment, the first device may obtain the location information of each node device from each node device, for example, each node device in the first local wireless network may obtain its own real-time location based on satellite positioning, etc., and transmit the real-time location to the first device. It can be understood that, since the first local wireless network is likely to be constantly moving, for example, the first local wireless network is created by a plurality of members in the tour group, therefore, each device in the first local wireless network will Move as the group moves. Therefore, in order to be able to grasp the real-time location of each node device, the first device may periodically acquire the location information of each node device; in some scenarios, the first device may only apply each node device in the first local wireless network when it needs to. Each node device is instructed to report its real-time location only when the location information of the node device is obtained.
还有一些示例中,第一设备可以自己对第一本地无线网络中的各设备进行定位,例如,第一设备采用包括但不限于多边定位方式、三角定位方式以及极点方式中的任意一种实现对第一本地无线网络中各设备的定位,从而获取到各节点设备的位置信息。In some other examples, the first device may locate each device in the first local wireless network by itself. For example, the first device may use any one of, but not limited to, multilateral positioning, triangulation, and pole positioning. Positioning each device in the first local wireless network, thereby acquiring the location information of each node device.
应当理解的是,在上述示例中,第一设备会获取到第一本地无线网络中各节点设备的位置信息,但在其他一些示例中,第一设备也可以不用获取到第一本地无线网络中全部节点设备的位置信息,例如,其中一个节点因为故障,无法向第一设备上报自己的位置信息,则第一设备也可以依据其余节点设备的位置信息确定出备用锚点。又例如,第一设备仅仅对第一本地无线网络中的部分节点设备进行了定位,则第一设备无法获取到另一部分节点设备的位置信息。It should be understood that, in the above example, the first device will obtain the location information of each node device in the first local wireless network, but in some other examples, the first device may not need to obtain the location information of the first local wireless network The location information of all node devices. For example, if one of the nodes fails to report its own location information to the first device, the first device can also determine the backup anchor point according to the location information of the remaining node devices. For another example, if the first device only locates part of the node devices in the first local wireless network, the first device cannot obtain location information of another part of the node devices.
S204:第一设备根据节点设备的位置信息确定备用锚点。S204: The first device determines a backup anchor point according to the location information of the node device.
在第一设备获取到节点设备的位置信息后,可以根据这些位置信息确定出备用锚点。在本实施例的一些示例中,第一节点设备可以直接选择当前位置在第一本地无线网络的各设备中处于中心的节点设备作为备用锚点。在本实施例的一些示例中,第一设备可以根据各节点设备的历史位置信息与当前位置信息,确定活动范围比较大的节点设备作为备用锚点。After the first device acquires the location information of the node device, it can determine the backup anchor point according to the location information. In some examples of this embodiment, the first node device may directly select a node device whose current location is in the center among the devices of the first local wireless network as the backup anchor point. In some examples of this embodiment, the first device may determine, according to historical location information and current location information of each node device, a node device with a relatively large activity range as a backup anchor point.
如果第一设备根据各节点设备的位置信息确定在第一本地无线网络的各设备中处于中心的节点设备作为备用节点设备,请参见图3所示,第一设备可以先分别计算各节点设备的两两距离,然后确定出彼此距离最远的两个节点设备(例如图3中的节点设备b与c,二者间的距离为d1)。随后,第一设备可以确定出这两个节点设备连线的中点O,并从其他节点设备中选择出同该中点O距离最近的节点设备,如图3中示出的节点设备e,该节点设备e则可以被视为是在第一本地无线网络各节点设备中处于最中心的节点设备。当然,本领域技术人员可以理解的是,确定处于中心的节点设备的方式不限于这一种。If the first device determines the central node device among the devices of the first local wireless network as the standby node device according to the location information of each node device, as shown in FIG. 3 , the first device can first calculate the Two-by-two distances are determined, and then two node devices that are farthest away from each other are determined (for example, node devices b and c in FIG. 3, the distance between them is d1). Subsequently, the first device can determine the midpoint O of the connection between the two node devices, and select the node device closest to the midpoint O from other node devices, such as node device e as shown in FIG. 3 , The node device e may be regarded as the most central node device among the node devices of the first local wireless network. Of course, those skilled in the art can understand that the manner of determining the node device in the center is not limited to this one.
一些示例中,如果第一设备电量充足,则依据上述方式选择出在第一本地无线网络各节点设备中处于最中心的节点设备后,还可以进一步确定第一设备与该中心节点设备间的距离d2,并确定d1与d2的比值,根据该比值与预设比值间的大小关系确定是否选择中心节点设备作为备用锚点:如果计算出的比值大于预设比值则将该中心节点设备作为备用锚点;否则当前锚点仍旧作为锚点。在本实施例的一种示例中,预设比值为0.1,当然,本领域技术人员可以理解的是,预设比值的大小可以灵活设置,不限于0.1这一个值。应当明白的是,通过调整预设比例的大小可以控制锚点切换的灵敏程度。In some examples, if the power of the first device is sufficient, after selecting the most central node device among the node devices of the first local wireless network according to the above method, the distance between the first device and the central node device may be further determined. d2, and determine the ratio between d1 and d2, and determine whether to select the central node device as the backup anchor according to the relationship between the ratio and the preset ratio: if the calculated ratio is greater than the preset ratio, the central node device is used as the backup anchor point; otherwise the current anchor point remains as the anchor point. In an example of this embodiment, the preset ratio is 0.1. Of course, those skilled in the art can understand that the size of the preset ratio can be flexibly set, and is not limited to a value of 0.1. It should be understood that the sensitivity of the anchor point switching can be controlled by adjusting the size of the preset ratio.
如果第一设备根据各节点设备的位置信息确定在第一本地无线网络的各设备中活动范围最大的节点设备作为备用节点设备,则请参见图4示出的流程图:If the first device determines the node device with the largest activity range among the devices of the first local wireless network as the standby node device according to the location information of each node device, please refer to the flowchart shown in FIG. 4 :
S402:第一设备确定最近活动范围最大的第一节点设备以及历史累计活动范围最大的第二节点设备。S402: The first device determines the first node device with the largest activity range recently and the second node device with the largest historical cumulative activity range.
第一设备在每一次获取到各节点设备的位置信息后,可以根据节点设备当前的位置信息与最近的历史位置信息确定节点设备在最近一个定位周期内的活动范围,也即节点设备的最近活动范围,例如,针对节点设备a,其最近的历史位置信息为(x1,y1),当前的位置信息为(x2,y2),则节点设备a的最近活动范围就是位置点(x2,y2)与位置点(x1,y1)之间的距离。通过比较各节点设备的最近活动范围,第一设备可以选择出最近活动范围最大的节点设备,即第一节点设备。After each time the first device obtains the location information of each node device, it can determine the activity range of the node device in the latest positioning cycle according to the current location information of the node device and the latest historical location information, that is, the latest activity of the node device. Scope, for example, for node device a, its recent historical location information is (x1, y1), and the current location information is (x2, y2), then the latest activity range of node device a is the location point (x2, y2) and The distance between the location points (x1, y1). By comparing the recent activity range of each node device, the first device can select the node device with the largest recent activity range, that is, the first node device.
另一方面,第一设备可以针对每个节点设备分别确定历史累计活动范围,例如,自第一设备创建第一本地无线网络后,总共进行了四次定位,则对于同一节点设备,第一设备可以获取到针对该设备的三个最近活动范围,这三个最近活动范围的和就是该节点设备的历史累计活动范围。通过比较各节点设备的历史累计活动范围,第一设备可以选择出历史累计活动范围最大的节点设备,即第二节点设备。On the other hand, the first device may determine the historical cumulative activity range for each node device. For example, since the first device created the first local wireless network, positioning has been performed four times in total, then for the same node device, the first device Three recent activity ranges for the device can be obtained, and the sum of the three recent activity ranges is the historical cumulative activity range of the node device. By comparing the historical cumulative activity range of each node device, the first device can select the node device with the largest historical cumulative activity range, that is, the second node device.
S404:第一设备判断第一节点设备与第二节点设备是否相同。S404: The first device determines whether the first node device and the second node device are the same.
若判断结果为是,则进入S406,否则进入S408。If the judgment result is yes, go to S406, otherwise go to S408.
S406:第一设备选择该节点设备作为备用锚点。S406: The first device selects the node device as a backup anchor point.
由于同一个节点设备既是历史累计活动范围最大的节点设备,又是最近活动范围最大的节点设备,因此,该节点设备就是活动范围最广的一个节点设备,可以作为备用锚点。Since the same node device is not only the node device with the largest activity range in history, but also the node device with the largest activity range recently, the node device is the node device with the widest activity range and can be used as a backup anchor point.
S408:第一设备分别确定这两个节点设备的锚点积分。S408: The first device determines the anchor points of the two node devices respectively.
如果第一节点设备与第二节点设备并不相同,则第一设备可以分别确定第一节点设备与第二节点设备的锚点积分,例如,第一设备分别获取两个节点设备的最近活动范围与历史累计活动范围,假定第一节点设备与第二节点设备的最近活动范围分别为C1与C2,两者的历史累计活动范围分别为S1与S2。最近活动范围与历史累计活动范围在计算锚点积分时的权值分别为W1、W2,则第一节点设备的锚点积分T1、第二节点设备的锚点积分T2分别为:If the first node device and the second node device are not the same, the first device may determine the anchor points of the first node device and the second node device respectively, for example, the first device obtains the latest activity ranges of the two node devices respectively As with the historical cumulative activity range, it is assumed that the recent activity ranges of the first node device and the second node device are C1 and C2, respectively, and the historical cumulative activity ranges of the two are S1 and S2, respectively. The weights of the most recent activity range and the historical accumulated activity range in calculating the anchor point points are W1 and W2 respectively, then the anchor point points T1 of the first node device and the anchor point points T2 of the second node device are respectively:
T1=C1*W1+S1*W2;T1=C1*W1+S1*W2;
T2=C2*W1+S2*W2。T2=C2*W1+S2*W2.
在本实施例的一些示例中,W1的值可以为0.7,W2的值为0.3。本实施例中结合最近活动范围与历史累计活动范围计算锚点积分主要是为了减少偶然定位误差带来的影响,抑制锚点频繁切换。In some examples of this embodiment, the value of W1 may be 0.7 and the value of W2 may be 0.3. In this embodiment, the calculation of the anchor point integral in combination with the recent activity range and the historical accumulated activity range is mainly to reduce the influence caused by accidental positioning errors and to suppress the frequent switching of the anchor points.
S410:第一设备选择两个节点设备中锚点积分较大的一个作为备用锚点。S410: The first device selects one of the two node devices with a larger anchor point score as a backup anchor point.
第一设备比较T1和T2的值,如果T1大于T2则选择第一节点设备作为备用锚点;否者选择第二节点设备作为备用锚点。The first device compares the values of T1 and T2, and if T1 is greater than T2, the first node device is selected as the backup anchor; otherwise, the second node device is selected as the backup anchor.
在本实施例的一些示例中,第一设备在确定备用锚点时,不仅会考虑节点设备的位置信息,而且还会考虑其他信息,例如,第一设备还会考虑第一本地无线网络的工作模式,在一些示例中,第一本地无线网络的工作模式可以分为第一工作模式与第二工作模式,在本实施例的一种示例中,在第一本地无线网络的工作模式为第一工作模式的情况下,第一设备根据各节点设备的位置信息确定在第一本地无线网络的各设备中处于中心的节点设备作为备用节点设备。第一工作模式可以是旅游模式,适用于团队旅行使用。在本实施例的一种示例中,在第一本地无线网络的工作模式为第二工作模式的情况下,第一设备根据各节点设备的位置信息确定在第一本地无线网络的各设备中活动范围最大的节点设备作为备用节点设备。第二工作模式可以是紧急模式,适用于灾后救援场景使用。In some examples of this embodiment, when determining the backup anchor point, the first device not only considers the location information of the node device, but also other information, for example, the first device also considers the work of the first local wireless network mode, in some examples, the working mode of the first local wireless network can be divided into a first working mode and a second working mode, in an example of this embodiment, the working mode of the first local wireless network is the first working mode In the case of the working mode, the first device determines, according to the location information of each node device, the node device that is in the center among the devices of the first local wireless network as the standby node device. The first working mode may be a travel mode, which is suitable for group travel use. In an example of this embodiment, when the working mode of the first local wireless network is the second working mode, the first device determines to be active in each device of the first local wireless network according to the location information of each node device The node device with the largest range serves as the standby node device. The second working mode may be an emergency mode, which is suitable for use in post-disaster rescue scenarios.
可以理解的是,在其他一些示例中,第一设备也可以根据各节点设备的设备配置信息来选择备用锚点,这里所说的设备配置信息包括但不限节点设备的剩余电量,节点设备创建无线网络的能力等几种中的至少一种。或者第一设备可以结合各节点设备的位置信息、设备配置信息甚至进一步结合第一本地无线网络的工作模式来选择备用锚点。It can be understood that, in some other examples, the first device can also select the standby anchor point according to the device configuration information of each node device. The device configuration information mentioned here includes but is not limited to the remaining power of the node device, the node device creates At least one of several types of wireless network capabilities. Alternatively, the first device may select the backup anchor point in combination with the location information and device configuration information of each node device, or even further in combination with the working mode of the first local wireless network.
S104:第一设备向第一本地无线网络的备用锚点发送锚点切换报文。S104: The first device sends an anchor point switching packet to the standby anchor point of the first local wireless network.
第一设备在确定备用锚点之后,可以向备用锚点发送锚点切换报文,该锚点切换报文用于通知备用锚点在后续过程中切换称为第一本地无线网络的锚点,换言之,是第一设备要求要备用锚点在与第一设备断开连接之后,重新创建第一本地无线网络。After determining the standby anchor point, the first device may send an anchor point switching message to the standby anchor point, where the anchor point switching message is used to notify the standby anchor point to switch the anchor point called the first local wireless network in the subsequent process, In other words, it is the first device that requires the backup anchor to recreate the first local wireless network after disconnecting from the first device.
在本实施例的一些示例中,第一设备在选择备用锚点的时候,并未考虑各节点设备的设备配置信息,因此,第一设备并不能确定自己选择备用锚点的设备配置信息是否支持其作为锚点,所以,在本实施例的一些示例中,第一设备确定备用锚点之后,向备用锚点发送锚点切换报文之前,还会先确定备用锚点是否适合作为新锚点,请参见图5所示:In some examples of this embodiment, the first device does not consider the device configuration information of each node device when selecting the backup anchor point. Therefore, the first device cannot determine whether the device configuration information for selecting the backup anchor point supports the It acts as an anchor point, so in some examples of this embodiment, after the first device determines the backup anchor point, before sending the anchor point switching packet to the backup anchor point, it will also first determine whether the backup anchor point is suitable as a new anchor point. , see Figure 5:
S502:第一设备向备用锚点发送设备配置信息请求报文。S502: The first device sends a device configuration information request message to the standby anchor point.
该配置信息请求保用用于请求备用锚点反馈其设备配置信息,根据前面的介绍可知,设备配置信息包括:备用锚点创建无线网络的能力、当前的剩余电量中的至少一种。The configuration information request is used to request the backup anchor to feed back its device configuration information. According to the foregoing introduction, the device configuration information includes at least one of the backup anchor's ability to create a wireless network and the current remaining power.
S504:第一设备接收备用锚点根据配置信息请求报文发送的设备配置信息。S504: The first device receives the device configuration information sent by the standby anchor point according to the configuration information request message.
S506:第一设备根据备用锚点的设备配置信息判断备用锚点是否具备作为第一本地无线网络新锚点的能力。S506: The first device determines, according to the device configuration information of the standby anchor point, whether the standby anchor point has the capability of serving as a new anchor point of the first local wireless network.
若判断结果为是,则执行S508,否则执行S510。应当理解的是,如果备用锚点不具备创建无线网络的能力,则备用锚点绝对不能作为新锚点。如果备用锚点当前的剩余电量过低,则其也不适于作为新锚点。If the judgment result is yes, execute S508; otherwise, execute S510. It should be understood that if the backup anchor point does not have the ability to create a wireless network, the backup anchor point must not act as a new anchor point. If the current remaining power of the backup anchor is too low, it is also not suitable as a new anchor.
S508:第一设备向该备用锚点发送锚点切换报文。S508: The first device sends an anchor point switching message to the standby anchor point.
S510:第一设备重新选择备用锚点。S510: The first device reselects an alternate anchor point.
第一设备重新选择备用锚点的过程前面已经做了比较详细的说明,这里不再赘述。在选择出新锚点之后,第一设备可以重新从S502开始执行图5的流程。The process of re-selecting the backup anchor point by the first device has been described in detail above, and will not be repeated here. After the new anchor point is selected, the first device may start to perform the process of FIG. 5 from S502 again.
S106:第一设备向第一本地无线网络中的节点设备发送切换消息。S106: The first device sends a handover message to the node device in the first local wireless network.
第一设备向备用锚点发送锚点切换报文后,可以向第一本地无线网络中的节点设备发送切换消息,该切换消息用于指示第一本地无线网络中的各节点设备保存第一本地无线网络的网络标识,即第一网络标识,并断开与第一本地无线网络的连接。After the first device sends the anchor point handover message to the standby anchor point, it may send a handover message to the node devices in the first local wireless network, where the handover message is used to instruct each node device in the first local wireless network to save the first local wireless network. The network identifier of the wireless network, that is, the first network identifier, and the connection with the first local wireless network is disconnected.
由于第一本地无线网络中的各节点设备在接收到切换消息之后就会断开与第一本地无线网络的连接,第一设备需要保证在该第一本地无线网络断开之后,备用锚点能够及时重新创建出新的第一本地无线网络,所以,第一设备需要确保备用锚点之前已经收到了锚点切换报文,做好了锚点切换的准备。因此,在本实施例的一些示例中,在第一设备向备用锚点发送了锚点切换报文之后,向第一本地无线网络中的节点设备发送切换消息之前,需要先确保自己收到了来自备用锚点的切换确认报文。Since each node device in the first local wireless network will disconnect from the first local wireless network after receiving the handover message, the first device needs to ensure that after the first local wireless network is disconnected, the backup anchor point can A new first local wireless network is re-created in time. Therefore, the first device needs to ensure that the standby anchor point has received the anchor point switching message before, and is ready for the anchor point switching. Therefore, in some examples of this embodiment, after the first device sends the anchor point handover message to the standby anchor point, before sending the handover message to the node device in the first local wireless network, it needs to ensure that it has received the The handover confirmation message of the standby anchor point.
S108:第二设备与第三设备保存第一网络标识并退出第一本地无线网络。S108: The second device and the third device save the first network identifier and exit the first local wireless network.
在本实施例中,第一设备选择的备用锚点是第二设备,为了便于介绍,这里将第一本地无线网络中除了第一设备、第二设备以外的节点设备称为“第三设备”。第一设备在发送切换消息时,面向的对象是所有节点设备,也即既包括第二设备又包括第三设备,因此,第二设备与第三设备在接收到切换消息后,根据切换消息的指示保存第一网络标识并退出第一本地无线网络。In this embodiment, the backup anchor point selected by the first device is the second device. For the convenience of introduction, the node devices other than the first device and the second device in the first local wireless network are referred to as “third devices” herein. . When the first device sends the handover message, the target is all node devices, that is, it includes both the second device and the third device. Therefore, after receiving the handover message, the second device and the third device Instruct to save the first network identity and exit the first local wireless network.
应当明白的是,在第一设备发送切换消息之后,其自身也会推出第一本地无线网络。It should be understood that after the first device sends the handover message, it also pushes out of the first local wireless network.
S110:第二设备根据第一网络标识重新创建第一本地无线网络。S110: The second device recreates the first local wireless network according to the first network identifier.
第二设备在退出由第一设备维护的第一本地无线网络后,将会重新创建第一本地无线网络,也即第二设备会重新创建一个网络标识为第一网络标识的本地无线网络。在本实施例的一些示例中,锚点创建本地无线网络时,通常都是采用高频信道进行创建。After exiting the first local wireless network maintained by the first device, the second device will re-create the first local wireless network, that is, the second device will re-create a local wireless network with a network identifier of the first network identifier. In some examples of this embodiment, when an anchor creates a local wireless network, it usually uses a high-frequency channel to create it.
S112:第一设备与第三设备根据第一网络标识搜索并接入由第二设备创建的第一本地无线网络。S112: The first device and the third device search for and access the first local wireless network created by the second device according to the first network identifier.
第二设备作为新的锚点重新创建第一本地无线网络之后,可以等待本地无线设备的接入。对于第一设备(即原锚点)与第三设备,则可以以预先保存的第一网络标识搜索第一本地无线网络,并在搜索到第一本地无线网络后向第二设备发送接入请求,从而接入该第一本地无线网络。After the second device recreates the first local wireless network as a new anchor point, it can wait for the access of the local wireless device. For the first device (ie the original anchor point) and the third device, the first local wireless network can be searched with the pre-stored first network identifier, and an access request can be sent to the second device after the first local wireless network is found. , so as to access the first local wireless network.
不能排除的是,第二设备在重新创建第一本地无线网络的过程中可能出现一些问题,导致第一本地无线网络无法重建,因此,第一设备与第三设备在按照第一网络标识搜索第一本地无线网络时,总是面临搜索失败的结果。在本实施例的一些示例中,第一设备与第三设备中的至少一个设备,在未能搜索到第一本地无线网络的情况下,可以自己重新创建一个本地无线网络。在一种示例中,第一设备与第三设备中的某一个设备可以通过扫描高频信道,选择一个通信质量符合要求的高频信道,创建本地无线网络,可以理解的是,创建的第一本地无线网络的网络标识可以继续为第一网络标识,也可以不再为第一网络标识,例如,一个设备可以以第二网络标识创建第二本地无线网络。在本实施例的一些示例中,第二设备与第三设备中的设备可以在按照第一网络标识搜索第一本地无线网络失败的次数达到预设次数后再自行创建本地无线网络,当然这里也并不排除搜索失败一次后就立即自行创建本地无线网络的做法。在一个锚点创建了本地无线网络之后,就可以等待本地无线设备搜索并加入该本地无线网络中。It cannot be ruled out that some problems may occur in the process of re-creating the first local wireless network by the second device, so that the first local wireless network cannot be rebuilt. Therefore, the first device and the third device search for the first local wireless network according to the first network identifier A local wireless network is always faced with a search failure result. In some examples of this embodiment, at least one of the first device and the third device may recreate a local wireless network by itself if the first local wireless network cannot be found. In an example, one of the first device and the third device may scan the high-frequency channel, select a high-frequency channel whose communication quality meets the requirements, and create a local wireless network. It can be understood that the created first device The network identification of the local wireless network may continue to be the first network identification, or may not be the first network identification, for example, a device may create a second local wireless network with the second network identification. In some examples of this embodiment, the devices in the second device and the third device may create a local wireless network by themselves after the number of failures to search for the first local wireless network according to the first network identifier reaches a preset number of times. It does not rule out the practice of creating a local wireless network by itself immediately after a failed search. After an anchor has created a local wireless network, it can wait for the local wireless device to search for and join the local wireless network.
本实施例提供的无线组网方法,当一个设备不适于再继续作为本地无线网络的锚点时,其可以确定出备用锚点,并指示备用锚点在退出该本地无线网络之后创建一个同网络标识的本地无线网络;另一方面,锚点还可以向本地无线网络中的节点设备发送切换消息,以便让本地无线网络中除了备用锚点以外的其他设备都可以在退出原本地无线网络之后,再重新搜索并加入同网络标识的本地无线网络,这样可以在不需要用户手动参与的情况下将一个本地无线网络的锚点从一个设备迁移到另一个设备上,并自动让各节点设备找到新的锚点并接入同网络标识的本地无线网络。这不仅在保证锚点切换过程中本地无线网络的平稳运行,也减小了无线设备在无线组网过程中所有用户的操作负担,节约了用户在管理维护本地无线网络上花费的时间。In the wireless networking method provided in this embodiment, when a device is not suitable to continue to serve as the anchor point of the local wireless network, it can determine the backup anchor point, and instruct the backup anchor point to create a same network after exiting the local wireless network On the other hand, the anchor point can also send a handover message to the node device in the local wireless network, so that other devices in the local wireless network except the backup anchor point can exit the original wireless network. Then re-search and join the local wireless network with the same network identification, so that the anchor point of a local wireless network can be migrated from one device to another without the user's manual participation, and automatically let each node device find the new one. and access the local wireless network with the same network ID. This not only ensures the smooth operation of the local wireless network during the anchor point switching process, but also reduces the operation burden of all users of the wireless device during the wireless networking process, and saves the time spent by users on managing and maintaining the local wireless network.
实施例二:Embodiment 2:
本实施例将在前述实施例的基础上,继续对本地无线组网方法进行介绍:This embodiment will continue to introduce the local wireless networking method on the basis of the previous embodiment:
可以理解的是,第一设备创建第一本地无线网络的过程可以与第二设备创建第一本地无线网络的过程一样,即在第一设备之前的锚点通过锚点切换报文指示第一设备创建第一本地无线网络,并在创建第一本地无线网络之后接收本地无线设备通过第一设备接入至第一本地无线网络。但在本实施例的其他一些示例当中,第一设备也可以是自发创建第一本地无线网络的无线设备,即在第一设备创建第一本地无线网络之前,并没有其他设备通知指示第一设备创建以第一网络标识的第一本地无线网络。It can be understood that the process of creating the first local wireless network by the first device may be the same as the process of creating the first local wireless network by the second device, that is, the anchor point before the first device instructs the first device through an anchor point switching message. The first local wireless network is created, and after the first local wireless network is created, the access of the local wireless device to the first local wireless network through the first device is received. However, in some other examples of this embodiment, the first device may also be a wireless device that automatically creates the first local wireless network, that is, before the first device creates the first local wireless network, no other device notifies the first device A first local wireless network identified by the first network is created.
下面对第一设备从第一本地无线网络的节点设备中确定备用锚点之前的过程进行介绍,请参见图6示出的流程图:The following describes the process before the first device determines the standby anchor point from the node device of the first local wireless network, please refer to the flowchart shown in FIG. 6 :
S602:第一设备通过高频扫描本地无线网络。S602: The first device scans the local wireless network through high frequency.
在本实施例中,本地无线网络基于高频信号创建,所以,第一设备一开始可以通过高频扫描自己附近是否存在可以接入的本地无线网络。In this embodiment, the local wireless network is created based on the high-frequency signal, so the first device can initially scan whether there is a local wireless network that can be accessed near itself through the high-frequency.
S604:第一设备判断是否扫描到本地无线网络。S604: The first device determines whether to scan a local wireless network.
在判断结果为是的情况下,执行S610,否则执行S606。If the judgment result is yes, execute S610; otherwise, execute S606.
S606:选择高频信道创建第一本地无线网络。S606: Select a high frequency channel to create a first local wireless network.
本实施例中,如果第一设备一个本地无线网络都没有扫描到,则说明第一设备附近并不存在本地无线网络,因此,第一设备不能加入已经创建好的本地无线网络中,只能自己自行创建一个本地无线网络。第一设备创建本地无线网络之前,需要先选择其所创建的本地无线网络的网络标识以及所在的频点。在本实施例中,假定第一设备确定的网络标识是第一网络标识,第一设备在选择本地无线网络的频点时,可以再次对高频信道进行扫描,选择干扰小,信道质量佳的高频信道,进而创建第一本地无线网络。In this embodiment, if the first device does not scan a local wireless network, it means that there is no local wireless network near the first device. Therefore, the first device cannot join the created local wireless network, and can only use its own Create a local wireless network yourself. Before the first device creates the local wireless network, it needs to select the network identifier and the frequency point of the local wireless network created by the first device. In this embodiment, assuming that the network identifier determined by the first device is the first network identifier, when the first device selects the frequency point of the local wireless network, it can scan the high-frequency channel again, and select the one with less interference and better channel quality. high frequency channel, thereby creating the first local wireless network.
S608:第一设备接受本地无线设备作为节点设备接入第一本地无线网络。S608: The first device accepts the local wireless device as a node device to access the first local wireless network.
第一设备创建第一本地无线网络之后,可以接受其他本地无线设备接入第一本地无线网络,这些通过第一设备接入第一本地无线网络的本地无线设备就是第一本地无线网络的节点设备。After the first device creates the first local wireless network, it can accept other local wireless devices to access the first local wireless network, and these local wireless devices that access the first local wireless network through the first device are node devices of the first local wireless network .
S610:第一设备选择接入已有的本地无线网络。S610: The first device selects to access an existing local wireless network.
可以理解的是,对于锚点(例如锚点切换前的第一设备,以及锚点切换后的第二设备)而言,因为节点设备通过其接入到第一本地无线网络中,因此,锚点可以获取到各节点设备的相关信息,例如获取到节点设备的设备标识(可在第一本地无线网络中唯一区分一个设备的信息,例如设备的MAC地址、用户为设备设置的名称等),获取节点设备的剩余电量等。锚点可以利用获取到的信息与节点设备进行关联,例如利用设备标识对节点设备进行标记。锚点还可以根据第一本地无线网络中各设备的信息生成网络设备信息,并传输给第一本地无线网络中的各节点设备,以便让节点设备也能够根据网络设备信息了解本网络中除其自身之外的其他设备。在本实施例的一些示例中,锚点发送给节点设备的网络设备信息中包括第一本地无线网络中各设备(可以包括锚点本身)的设备标识,节点设备在收到网络设备信息之后,就可以知道第一本地无线网络中有哪些设备。在本实施例中,节点设备收到网络设备信息以后,可以利用网络设备信息,通过锚点与第一本地无线网络中的其他节点设备进行通信,请参见图7所示:It can be understood that, for the anchor point (for example, the first device before the anchor point switch, and the second device after the anchor point switch), because the node device accesses the first local wireless network through it, therefore, the anchor point The node can obtain the relevant information of each node device, such as the device identifier of the node device (information that can uniquely distinguish a device in the first local wireless network, such as the MAC address of the device, the name set by the user for the device, etc.), Get the remaining power of the node device, etc. The anchor point can use the acquired information to associate with the node device, for example, use the device identifier to mark the node device. The anchor point can also generate network device information according to the information of each device in the first local wireless network, and transmit it to each node device in the first local wireless network, so that the node device can also understand the network device information except for other network devices according to the network device information. equipment other than itself. In some examples of this embodiment, the network device information sent by the anchor point to the node device includes the device identifiers of each device in the first local wireless network (which may include the anchor point itself). After the node device receives the network device information, It is possible to know which devices are in the first local wireless network. In this embodiment, after receiving the network device information, the node device can use the network device information to communicate with other node devices in the first local wireless network through the anchor point, as shown in FIG. 7 :
S702:节点设备接收锚点发送的网络设备信息。S702: The node device receives the network device information sent by the anchor.
节点设备接收到的网络设备信息中至少包括第一本地无线网络中各设备的设备标识,在本实施例的一些示例中,锚点发送的网络设备信息中还可以进一步包括各设备的位置信息,这样,节点设备还可以了解每一个设备当前所处的位置。The network device information received by the node device includes at least the device identifiers of each device in the first local wireless network. In some examples of this embodiment, the network device information sent by the anchor point may further include the location information of each device. In this way, the node device can also know the current location of each device.
应当明白的是,这里所说的节点设备包括前面所说的第二设备与第三设备。It should be understood that the node device mentioned here includes the second device and the third device mentioned above.
S704:节点设备根据网络设备信息选择第一本地无线网络中的设备作为目标通信对象。S704: The node device selects a device in the first local wireless network as a target communication object according to the network device information.
节点设备获取到第一本地无线网络中各设备的设备标识之后,可以将设备标识以列表的形式显示在屏幕上,例如,请参见图8a所示,设备标识的显示可供用户了解第一本地无线网络中各设备的情况,也可供用户选择目标通信对象。当然,本领域技术人员可以理解的是,节点设备也可以不采用列表的形式呈现第一本地无线网络的网络设备信息。例如,其中一些示例里面,节点设备收到网络设备信息之后,可以按照各设备的位置信息在屏幕上显示出各设备所在的位置,例如请参见图8b所示,在图8b当中,节点设备可以将各设备的设备标识也关联显示于屏幕的相应位置处。用户可以通过触控屏幕与设备标识对应的位置,从而让节点设备根据设备标识同屏幕位置间的映射关系,以及屏幕检测到的触控位置确定目标通信对象。After the node device obtains the device identifiers of each device in the first local wireless network, it can display the device identifiers on the screen in the form of a list. For example, see FIG. The situation of each device in the wireless network can also be used by the user to select the target communication object. Of course, those skilled in the art can understand that the node device may not present the network device information of the first local wireless network in the form of a list. For example, in some of the examples, after receiving the network device information, the node device can display the location of each device on the screen according to the location information of each device. For example, please refer to Figure 8b. In Figure 8b, the node device can The device identification of each device is also associated and displayed at the corresponding position on the screen. The user can touch the position corresponding to the screen and the device identification, so that the node device can determine the target communication object according to the mapping relationship between the device identification and the screen position and the touch position detected by the screen.
可以理解的是,在一些示例中,节点设备一次仅指定一个设备作为目标通信对象;在另一些示例中,节点设备也可以一次性指定多个设备同时作为目标通信对象。It can be understood that, in some examples, the node device only designates one device at a time as the target communication object; in other examples, the node device can also designate multiple devices at one time as the target communication object at the same time.
S706:节点设备通过锚点向目标通信对象发送通信消息。S706: The node device sends a communication message to the target communication object through the anchor point.
节点设备可以根据通信内容生成通信消息,通信内容包括但不限于文字、文件(图片、视频或音频)等几种中的至少一种。可以理解的是,如果节点设备选择的目标通信对象是锚点,则该通信消息可以直接被目标通信对象接收到;但如果节点设备选择的目标通信对象并不是锚点,则该通信消息不能传输到目标通信对象处,需要经过锚点的转发。为了让锚点接收到通信消息后知道该消息并不是发送给其自己的,并且知道应该将该通信消息转发给哪一个设备,节点设备生成通信消息时,会在通信消息中携带目标通信对象的设备标识。The node device may generate a communication message according to the communication content, and the communication content includes, but is not limited to, at least one of text, files (pictures, videos, or audio) and the like. It can be understood that if the target communication object selected by the node device is the anchor, the communication message can be directly received by the target communication object; but if the target communication object selected by the node device is not the anchor, the communication message cannot be transmitted. To the target communication object, it needs to be forwarded through the anchor point. In order to let the anchor know that the message is not sent to itself after receiving the communication message, and to know which device the communication message should be forwarded to, when the node device generates the communication message, it will carry the information of the target communication object in the communication message. Equipment Identity.
S708:第一设备在确定自身的设备标识与目标通信对象的设备标识不匹配的情况下,将通信信息转发给目标通信对象。S708: The first device forwards the communication information to the target communication object when it is determined that its own device identification does not match the device identification of the target communication object.
第一设备(即锚点)接收到通信消息后,提取其中携带的设备标识,并判断该设备标识与自身的设备标识是否匹配,如果匹配,则说明该通信消息的目标通信对象就是自身;但如果不匹配,则第一设备会按照携带的设备标识将该通信消息转发给对应的设备。如果目标通信对象仅有一个,则第一设备可以选择单播的方式转发,如果目标通信对象有多个,则第一设备可以选择组播的方式转发。After the first device (that is, the anchor) receives the communication message, it extracts the device identification carried therein, and judges whether the device identification matches its own device identification, and if it matches, the target communication object of the communication message is itself; but If it does not match, the first device forwards the communication message to the corresponding device according to the carried device identifier. If there is only one target communication object, the first device may select the unicast mode for forwarding, and if there are multiple target communication objects, the first device may select the multicast mode for forwarding.
在上述示例中,锚点是根据通信消息中携带的设备标识与自身的额设备标识是否相符来确定通信消息是否是发给自己的,这说明节点设备在发送通信消息时,无论该通信消息的目标通信对象是哪一个,都会携带设备标识。但在本实施例的一些示例中,如果节点设备是直接发送给锚点的,就可以不用在通信消息中携带设备标识,如果是发送给其他设备的才会携带对应的设备标识。因此,在这些示例中,锚点可以根据是否从通信消息中提取到设备标识来判定该通信消息是否是发送给自身的。In the above example, the anchor point determines whether the communication message is sent to itself according to whether the device identification carried in the communication message matches its own device identification, which means that when the node device sends a communication message, regardless of the Whichever the target communication object is, will carry the device ID. However, in some examples of this embodiment, if the node device is directly sent to the anchor, the device identifier may not be carried in the communication message, and the corresponding device identifier will be carried only if it is sent to other devices. Thus, in these examples, the anchor can determine whether the communication message is intended for itself based on whether the device identification is extracted from the communication message.
本实施例提供的无线组网方法中,本地无线网络中的各设备间可以实现通信,有利于各设备的用户在 对应的场景中实现信息交流,方便风险预警,资源调配等。In the wireless networking method provided in this embodiment, communication between devices in the local wireless network can be realized, which is beneficial for users of each device to realize information exchange in corresponding scenarios, and facilitates risk early warning, resource allocation, and the like.
实施例三:Embodiment three:
本实施例提供一种组网方法,在该组网方法可以实现不同无线网络之间的信息交互,例如,请参见图9所示:This embodiment provides a networking method, in which information exchange between different wireless networks can be implemented. For example, see FIG. 9 :
S902:第一设备通过低频扫描远端无线网络。S902: The first device scans the remote wireless network through the low frequency.
可以理解的是,距离一个本地无线网络不远的地方,还可能存在其他的无线网络,例如,请参见图10,本地无线网络A与本地无线网络B分别是位于两个不同地方的本地无线网络,对于本地无线网络A而言,本地无线网络B就是远端的一个无线网络,称为“远端无线网络”;同样地,对于本地无线网络B而言,A也是远端无线网络。所以,远端无线网络是一个相对的概念,对于某一个本地无线网络而言,其远端无线网络是与之存在一定物理距离的另一个本地无线网络。It can be understood that there may be other wireless networks not far from a local wireless network. For example, please refer to Figure 10. Local wireless network A and local wireless network B are local wireless networks located in two different places respectively. , for the local wireless network A, the local wireless network B is a remote wireless network, called "remote wireless network"; similarly, for the local wireless network B, A is also a remote wireless network. Therefore, the remote wireless network is a relative concept. For a certain local wireless network, the remote wireless network is another local wireless network that has a certain physical distance from it.
根据上述介绍可知,远端无线网络实质就是在其他位置处创建的一个本地无线网络,因此,远端无线网络也包括连接该本地无线网络中其他无线设备的锚点,在本实施例中,将远端无线网络的锚点称为“远端锚点”。According to the above introduction, the remote wireless network is essentially a local wireless network created at other locations. Therefore, the remote wireless network also includes an anchor point connecting other wireless devices in the local wireless network. In this embodiment, the The anchor point of the remote wireless network is called the "remote anchor point".
图10中仅示出了两个本地无线网络距离较近,互为远端无线网络的情况,毫无疑义的是,在实际情况中,一个本地无线网络附近可能存在两个甚至更多的远端无线网络。Figure 10 only shows the situation where two local wireless networks are close to each other and are remote wireless networks. Undoubtedly, in actual situations, there may be two or more remote wireless networks near one local wireless network. end wireless network.
应当明白的是,远端无线网络与本地无线网络之间的距离通常比较远,因此,对于本地无线网络中的一个无线设备而言,通过高频信道与远端无线网络通信的难度可能比较大,所以,在本实施例中,一个本地无线网络中的无线设备可以通过低频与远端无线网络中的无线设备通信,因为低频具有抗干扰、穿透性能强、传输距离远等优点。这里继续以前述实施例中第一设备作为第一本地无线网络的锚点进行举例说明:在第一本地无线网络中,第一设备可以通过低频扫描发现远端无线网络。It should be understood that the distance between the remote wireless network and the local wireless network is usually long, so it may be difficult for a wireless device in the local wireless network to communicate with the remote wireless network through a high frequency channel Therefore, in this embodiment, a wireless device in a local wireless network can communicate with a wireless device in a remote wireless network through a low frequency, because the low frequency has the advantages of anti-interference, strong penetration performance, and long transmission distance. Here, the first device in the foregoing embodiment is used as the anchor point of the first local wireless network as an example for illustration: in the first local wireless network, the first device can discover the remote wireless network through low-frequency scanning.
S904:第一设备通过远端锚点接入远端无线网络。S904: The first device accesses the remote wireless network through the remote anchor point.
可以理解的是,在一个本地无线网络附近,可能并不存在其他本地无线网络,因此,第一设备采用低频搜索远端无线网络的时候,可能搜索不到。在一些情景中,第一本地无线网络附近仅有一个远端无线网络,因此,第一设备只能搜索到一个远端无线网络,在这种情况下,第一设备若要与远端无线网络进行交互,则没有选择,只能选择通过该远端无线网络的远端锚点接入该远端无线网络。还有一些情景中,第一本地无线网络附近存在两个甚至多个远端无线网络,在这些示例中,第一设备的搜索结果中会有至少两个远端无线网络可供第一设备接入,第一设备可以从中选择一个进行接入。在本实施例的一些示例中,第一设备默认选择接入信号质量最优一个远端无线网络中,一些示例中,第一设备默认选择接入与之距离最近的一个远端无线网络中。当然还有一些示例中,可以由第一设备的用户选择要接入的远端无线网络。It can be understood that there may not be other local wireless networks near one local wireless network, and therefore, when the first device uses a low frequency to search for a remote wireless network, it may not be able to search. In some scenarios, there is only one remote wireless network near the first local wireless network, so the first device can only search for one remote wireless network. In this case, if the first device wants to communicate with the remote wireless network For interaction, there is no choice but to choose to access the remote wireless network through the remote anchor point of the remote wireless network. In some other scenarios, there are two or even more remote wireless networks near the first local wireless network. In these examples, there will be at least two remote wireless networks in the search result of the first device for the first device to connect to. access, the first device can select one of them to access. In some examples of this embodiment, the first device selects by default to access a remote wireless network with the best signal quality, and in some examples, the first device selects by default to access a remote wireless network that is closest to it. Of course, in some examples, the user of the first device may select the remote wireless network to be accessed.
S906:第一设备与远端锚点进行信息交互。S906: The first device exchanges information with the remote anchor point.
第一设备与远端锚点通过低频连接之后,可以与远端锚点进行通信,实现信息交互。在本实施例中,第一设备与远端锚点间传输的信息包括但不限于文字、表情符号、文件(音频、视频、图片、文档)等几种中的至少一种。还有一些示例中,第一设备与远端锚点可以了解对方所处的位置,第一设备可以将自己的位置信息传输给远端锚点,因为第一设备的位置信息基本可以表征第一本地无线网络的整体位置,因此远端锚点接收到第一设备传输的位置信息之后,就可以大致确定第一本地无线网络的方位。这在山区旅游情景中可以帮助实现两个或者多个旅游团队间的沟通交流,有助于提升旅游团队的安全性。而在灾后救援情景中,也有助于不同救援团队之间的交流,优化救灾资源的配置。在本实施例的一些示例中,两个无线网络的锚点在传输位置信息的时候,也可以将所属本地无线网络中全部设备的位置信息均传输给对端,例如远端锚点可以将远端无线网络对应的网络设备信息全部发送给第一设备,而远端锚点发送的网络设备信息中包括远端无线网络中各设备的设备标识,进一步地,还可以包括各设备的位置信息。After the first device is connected to the remote anchor point through a low frequency, it can communicate with the remote anchor point to realize information exchange. In this embodiment, the information transmitted between the first device and the remote anchor point includes, but is not limited to, at least one of text, emoticons, files (audio, video, pictures, documents), and the like. In some other examples, the first device and the remote anchor point can know the location of each other, and the first device can transmit its own location information to the remote anchor point, because the location information of the first device can basically represent the first device. The overall location of the local wireless network, so after the remote anchor point receives the location information transmitted by the first device, it can roughly determine the orientation of the first local wireless network. This can help to realize the communication between two or more tourist groups in the mountain tourism scenario, which helps to improve the safety of the tourist groups. In post-disaster rescue scenarios, it also helps to communicate between different rescue teams and optimize the allocation of disaster relief resources. In some examples of this embodiment, when the anchors of the two wireless networks transmit the location information, they may also transmit the location information of all devices in the local wireless networks to which they belong to the opposite end. All network device information corresponding to the end wireless network is sent to the first device, and the network device information sent by the remote anchor point includes the device identifiers of each device in the remote wireless network, and may further include location information of each device.
在本实施例的一些示例中,第一设备不支持同时进行高频通信与低频通信,因此,当第一设备与本地无线网络中设备的连接,及第一设备与远端锚点间的连接只能交替进行,换言之,当第一设备维护第一本地无线网络的时候,就不能与远端锚点连接;而当第一设备与远端锚点连接时,就无法让第一本地无线网络中的节点设备接入第一本地无线网络中。在这些示例中,第一设备可以参照图11所示的流程实现本地无线网络连接与远端无线网络连接间的切换:In some examples of this embodiment, the first device does not support simultaneous high-frequency communication and low-frequency communication. Therefore, when the connection between the first device and the device in the local wireless network, and the connection between the first device and the remote anchor point It can only be done alternately, in other words, when the first device maintains the first local wireless network, it cannot connect to the remote anchor; and when the first device is connected to the remote anchor, it cannot make the first local wireless network The node device in is connected to the first local wireless network. In these examples, the first device can implement the handover between the local wireless network connection and the remote wireless network connection with reference to the process shown in FIG. 11 :
S1102:第一设备向第一本地无线网络中的节点设备发送休眠消息。S1102: The first device sends a sleep message to the node device in the first local wireless network.
在第一设备作为锚点维护第一本地无线网络时,如果有与远端无线网络交流的需求,则可以向第一本地无线网络中的节点设备发送休眠消息,该休眠消息用于指示节点设备保存第一网络标识,退出第一本地无线网络,并在预设休眠时长后重新搜索接入至第一本地无线网络中。在节点设备接收到休眠消息后,就可以保存第一网络标识,退出第一本地无线网络,并开始计时,直至计时时长达预设休眠时长后,按照第一网络标识搜索第一本地无线网络。When the first device acts as an anchor to maintain the first local wireless network, if there is a need to communicate with the remote wireless network, a dormancy message may be sent to the node device in the first local wireless network, where the dormancy message is used to instruct the node device Saving the first network identifier, exiting the first local wireless network, and re-searching to access the first local wireless network after a preset sleep duration. After receiving the dormancy message, the node device can save the first network identifier, exit the first local wireless network, and start timing until the timer reaches the preset sleep duration, and searches for the first local wireless network according to the first network identifier.
S1104:第一设备退出第一本地无线网络,并从休眠消息的发送时刻开始计时。S1104: The first device exits the first local wireless network, and starts timing from the moment when the sleep message is sent.
第一设备将休眠消息发送出去后,可以退出第一本地无线网络,并同时开始计时。After the first device sends the sleep message, it can exit the first local wireless network and start timing at the same time.
S1106:第一设备搜索并接入远端无线网络。S1106: The first device searches for and accesses the remote wireless network.
S1108:第一设备与远端无线网络进行信息交互。S1108: The first device exchanges information with the remote wireless network.
第一设备搜索并计入远端无线网络,与远端无线网络进行信息交互的过程这里不再赘述。The first device searches and counts the remote wireless network, and the process of exchanging information with the remote wireless network will not be repeated here.
S1110:第一设备判断当前时刻与休眠消息的发送时刻的时间差是否达到预设休眠时长。S1110: The first device determines whether the time difference between the current time and the sending time of the sleep message reaches a preset sleep duration.
若判断结果为是,第一设备进入S1112,若判断结果为否,则继续执行S1108。If the judgment result is yes, the first device proceeds to S1112, and if the judgment result is no, it continues to execute S1108.
S1112:第一设备断开与远端无线网络的连接,并采用第一网络标识重新创建第一本地无线网络,供节点设备接入。S1112: The first device disconnects the connection with the remote wireless network, and uses the first network identifier to recreate the first local wireless network for the node device to access.
在确定当前时刻与休眠消息的发送时刻的时间差达到预设休眠时长后,第一设备断开与语段无线网络的连接,并采用第一网络标识重新创建第一本地无线网络,重新创建第一本地无线网络后,第一设备可以等待本地无线设备接入其中。After it is determined that the time difference between the current moment and the sending moment of the dormancy message reaches the preset dormant duration, the first device disconnects from the segment wireless network, and recreates the first local wireless network by using the first network identifier, and recreates the first local wireless network. After the local wireless network, the first device can wait for the local wireless device to access it.
在图11示出的示例中,第一设备发送休眠消息后按照预设休眠时长进行计时,而节点设备收到休眠消息后也按照预设休眠时长进行计时,这样节点设备休眠结束,重新开始搜索第一本地无线网络时,第一设备也几乎同时才与远端无线网络断开,开始重建第一本地无线网络。如果第一设备重建第一本地无线网络花费的时间较长,则会导致一些节点设备在搜索第一本地无线网络上的无法搜索到,出现搜索失败的情况。因此,在本实施例的其他一些示例中,第一设备的计时时长与节点设备的计时时长不相等,第一设备的计时时长小于节点设备的计时时长,这样可以保证在节点设备开始重新搜索第一本地无线网络之前,第一设备已经重新创建了第一本地无线网络,避免了节点设备搜索失败的问题。In the example shown in FIG. 11 , after the first device sends the sleep message, it counts according to the preset sleep duration, and the node device also counts according to the preset sleep duration after receiving the sleep message. In this way, the node device sleeps over and restarts the search. When the first local wireless network is used, the first device is also disconnected from the remote wireless network at almost the same time, and starts to rebuild the first local wireless network. If it takes a long time for the first device to rebuild the first local wireless network, some node devices cannot find the first local wireless network when searching for the first local wireless network, and the search fails. Therefore, in some other examples of this embodiment, the timing duration of the first device is not equal to the timing duration of the node device, and the timing duration of the first device is smaller than the timing duration of the node device. Before a local wireless network, the first device has recreated the first local wireless network, which avoids the problem that the node device fails to search.
可以理解的是,第一设备搜索并接入一个远端无线网络所需要的时长通常比较短,因此,图11中第一设备判断计时时长是否达到预设休眠时长的过程,在与远端无线网络开始信息交互的过程之后。但实际上,第一设备自计时开始后,可以周期性地确定计时时长是否达到预设休眠时长。例如,在一些示例中,第一设备周围并不存在其他无线网络,因此第一设备多次搜索均为搜索到可以接入的远端无线网络,但计时时长就已经达到了预设休眠时长,在这种情况下,第一设备尚未接入远端无线网络就已经开始重新创建第一本地无线网络了。It can be understood that the time required for the first device to search for and access a remote wireless network is usually relatively short. Therefore, in FIG. 11, the first device determines whether the timing duration reaches the preset sleep duration. After the network starts the process of information exchange. But in fact, after the first device starts timing, it can periodically determine whether the timing duration reaches the preset sleep duration. For example, in some examples, there is no other wireless network around the first device, so the first device searches for a remote wireless network that can be accessed for many times, but the timing period has reached the preset sleep period. In this case, the first device has started to recreate the first local wireless network before accessing the remote wireless network.
需要说明的是,在上述示例中,是由第一本地无线网络的锚点与远端无线网络的远端锚点进行通信,从而实现两个无线网络的连接,但在本实施例的其他一些示例中,无线网络间的交互也可以由锚点以外的设备实现。例如,在一种示例中,一个本地无线网络中可以指定一个节点设备作为网络间交互设备,由该节点设备接入远端无线网络,进行信息交互。因为节点设备也可以从锚点处获取到网络设备信息,例如第一本地无线网络中各设备的设备标识、位置信息等几种中的至少一种,因此节点设备也同样可以与远端无线网络实现位置信息等的交互。不同的是,因为不是锚点作为网络间交互设备,因此,即便节点设备不支持同时进行高频与低频通信,但节点设备接入远端无线网络时,只需要自己保存第一网络标识,并暂时退出第一本地无线网络即可,不需要解散整个第一本地无线网络。在节点设备与远端无线网络交互完成后,可以重新按照第一网络标识搜索并加入第一本地无线网络。It should be noted that, in the above example, the anchor point of the first local wireless network communicates with the remote anchor point of the remote wireless network, so as to realize the connection of the two wireless networks. In an example, the interaction between wireless networks may also be implemented by devices other than the anchor point. For example, in an example, a node device may be designated as an inter-network interaction device in a local wireless network, and the node device accesses a remote wireless network to perform information exchange. Because the node device can also obtain network device information from the anchor point, such as at least one of the device identifiers and location information of each device in the first local wireless network, the node device can also communicate with the remote wireless network. Realize the interaction of location information, etc. The difference is that, because the anchor point is not used as an inter-network interaction device, even if the node device does not support simultaneous high-frequency and low-frequency communication, when the node device accesses the remote wireless network, it only needs to save the first network identifier by itself, and It is sufficient to temporarily exit the first local wireless network, and it is not necessary to dissolve the entire first local wireless network. After the node device completes the interaction with the remote wireless network, it may search for and join the first local wireless network again according to the first network identifier.
应当明白的是,如果无线设备支持同时进行高频与低频通信,则其作为网络间交互设备时,并不需要退出第一本地无线网络,在这种情况下,锚点或者节点设备作为网络间交互设备的效果差别不大。It should be understood that if the wireless device supports simultaneous high-frequency and low-frequency communication, it does not need to exit the first local wireless network as an inter-network interaction device. In this case, the anchor or node device acts as an inter-network interaction device. The effect of interactive devices is not much different.
本实施例提供的无线组网方法,不仅可以通过无线设备利用高频信道创建本地无线网络,实现本地无线设备间的交互,而且可以本地无线网络中的设备还可以通过低频信道与距离较远的其他无线网络连接,实现信息交互,有利于信息的传输,扩大沟通范围。The wireless networking method provided in this embodiment can not only create a local wireless network by using a high-frequency channel through wireless devices to realize interaction between local wireless devices, but also enable devices in the local wireless network to communicate with remote devices through a low-frequency channel. Other wireless network connections can realize information exchange, which is conducive to the transmission of information and expands the scope of communication.
实施例四:Embodiment 4:
物联网是指通过信息传感器、射频识别技术、全球定位系统、红外感应器、激光扫描器等各种装置与技术,实时采集任何需要监控、连接、互动的物体的信息,采集其声、光、热、电、力学、化学、生物、位置等信息,通过各类可能的网络接入,实现物与物、物与人的泛在连接,进而实现对物品和过程的智能化感知、识别和管理。物联网是一个基于互联网、传统电信网等的信息承载体,它让所有能够被独立寻址的普通物理对象形成互联互通的网络。The Internet of Things refers to the real-time collection of information on any object that needs to be monitored, connected, and interacted through various devices and technologies such as information sensors, radio frequency identification technology, global positioning systems, infrared sensors, and laser scanners. Information such as heat, electricity, mechanics, chemistry, biology, and location can be accessed through various possible networks to realize the ubiquitous connection between things and people and things and people, and then realize intelligent perception, identification and management of items and processes. . The Internet of Things is an information carrier based on the Internet, traditional telecommunication networks, etc. It enables all common physical objects that can be independently addressed to form an interconnected network.
D2D(Device-to-Device,设备到设备)通信是一种在系统的控制下,允许终端之间通过复用小区资源直接进行通信的新型技术,在一定程度上解决无线通信系统频谱资源匮乏的问题。D2D技术可以应用于移动蜂窝网络,以提高资源利用率和网络容量。每一个D2D通信链路占用的资源与一个蜂窝通信链路占用的相等。D2D (Device-to-Device) communication is a new technology under the control of the system that allows terminals to communicate directly by reusing cell resources. question. D2D technology can be applied to mobile cellular networks to improve resource utilization and network capacity. The resources occupied by each D2D communication link are equal to those occupied by one cellular communication link.
目前,无论是IOT还是D2D的应用都是以互联网作为基础的,如果离开骨干网或者移动通信网络,则会使得二者的遭到限制甚至是导致功能无法实现。目前,无线设备间的通信,主要还是依靠基站等基础通信网络进行,诸如:天翼对讲、卓智达、集群通、微喇等。这种通信方案需要传统基站设备的协助,无法满足无基站信号或者基站信号差等特定情况下的需求。还有一种就是将对讲机模块植入到无线设备中,例 如,在一些示例中,可以将对讲机模块植入智能手机套中,从而把智能手机和对讲机二合一。另一些示例中,可以直接把对讲机模块放进智能手机的主板中,手机使用蜂窝网,对讲功能则基于LoRa(Long Range Radio,远距离无线电)协议实现。这种通信方案不仅会导致无线设备体积与功耗增大,而且其所依赖的协议也极有可能被淘汰,如未来国内将不再推广LoRa协议。At present, both IOT and D2D applications are based on the Internet. If they leave the backbone network or mobile communication network, the two will be restricted or even the function will not be realized. At present, the communication between wireless devices mainly relies on basic communication networks such as base stations, such as Tianyi Intercom, Zhuozhida, Trunking, Weila, etc. This communication scheme requires the assistance of traditional base station equipment, and cannot meet the needs of specific situations such as no base station signal or poor base station signal. Another option is to incorporate the walkie-talkie module into the wireless device, for example, in some examples, the walkie-talkie module can be embedded in a smartphone case, thus combining the smartphone and the walkie-talkie into one. In other examples, the walkie-talkie module can be directly put into the motherboard of the smartphone, the phone uses the cellular network, and the walkie-talkie function is implemented based on the LoRa (Long Range Radio) protocol. This communication scheme will not only lead to an increase in the size and power consumption of wireless devices, but also the protocols it relies on are very likely to be eliminated. For example, the LoRa protocol will not be promoted in China in the future.
针对上述问题,本实施例提供一种无线组网方案:在没有移动基站信号覆盖的情况下,对于位置相对集中的多个无线设备,通过高频信道组建本地无线网络并开展本地通信,同时本地无线网络的锚点又可以通过低频信道与其他本地无线网络组网并开展有效通信,从而完成信息传递。In view of the above problems, this embodiment provides a wireless networking solution: in the absence of mobile base station signal coverage, for a plurality of wireless devices in relatively concentrated locations, a local wireless network is established through high-frequency channels and local communication is carried out. The anchor point of the wireless network can network with other local wireless networks through the low-frequency channel and carry out effective communication, so as to complete the information transmission.
无线设备在触发本地无线组网后,尝试扫描附近区域的本地无线网络,如果扫描到本地无线网络,则可以从扫描结果中选择一个并尝试加入;否则,无线设备可以以自己为锚点组建本地无线网络,并供其他无线设备接入。另外,两个或多个本地无线网络的锚点间也可以建立更大范围的本地无线网络,从而实现信息共享。本实施例中的无线组网方案中包括以下一些流程:After the wireless device triggers the local wireless networking, it tries to scan the local wireless network in the nearby area. If it scans the local wireless network, it can select one from the scanning results and try to join; otherwise, the wireless device can use itself as the anchor to form a local wireless network. Wireless network, and for other wireless devices to access. In addition, a wider range of local wireless networks can also be established between anchor points of two or more local wireless networks, thereby realizing information sharing. The wireless networking solution in this embodiment includes the following processes:
第一,通过高频实现本地无线网络组网。First, the local wireless network networking is realized through high frequency.
在无线基站信号无覆盖或者覆盖信号弱的情况下,无线设备在触发本地无线组网:首先扫描附近区域是否存在本地无线网络,如果存在则尝试接入已有的本地无线网络,否则以自己为锚点组建新的本地无线网络,请参见图12所示:When the wireless base station signal has no coverage or the coverage signal is weak, the wireless device is triggering the local wireless networking: first scan whether there is a local wireless network in the nearby area, if so, try to access the existing local wireless network, otherwise it will take itself as the The anchor points form a new local wireless network, as shown in Figure 12:
S1202:无线设备扫描无线高频信道;S1202: The wireless device scans the wireless high-frequency channel;
S1204:无线设备判断是否扫描到本地无线网络;S1204: The wireless device determines whether to scan the local wireless network;
通过高频信道扫描,如果确认附近区域没有本地无线网络,则进入步骤S1206;否则进入步骤S1210;Through high-frequency channel scanning, if it is confirmed that there is no local wireless network in the nearby area, then go to step S1206; otherwise, go to step S1210;
S1206:无线设备确定创建本地无线网络的网络标识,扫描高频信道并选择出创建本地无线网络的高频信道;S1206: The wireless device determines the network identifier for creating the local wireless network, scans the high-frequency channel and selects the high-frequency channel for creating the local wireless network;
S1208:无线设备以自身作为锚点创建本地无线网络,等待其他本地无线设备接入该网络;S1208: The wireless device uses itself as an anchor to create a local wireless network, and waits for other local wireless devices to access the network;
S1210:无线设备从扫描结果中选择目标无线网络;S1210: The wireless device selects the target wireless network from the scanning result;
本实施例中所谓的“目标无线网络”就是无线设备选择的想要接入的本地无线网络。The so-called "target wireless network" in this embodiment refers to the local wireless network that the wireless device wants to access.
S1212:无线设备向目标无线网络发送接入请求;S1212: The wireless device sends an access request to the target wireless network;
目标无线网络的锚点接收到无线设备的接入请求后,可以根据网络情况判断该无线设备是否可以接入。After receiving the access request of the wireless device, the anchor point of the target wireless network can determine whether the wireless device can access according to the network conditions.
S1214:无线设备接入目标无线网络,进行信息传递与交互。S1214: The wireless device accesses the target wireless network, and performs information transmission and interaction.
当然,如果无线设备遭到了目标无线网络锚点的拒绝,则其不可以接入目标无线网络,只能重新从搜索结果中选择新的目标无线网络,或者自己创建本地无线网络。Of course, if the wireless device is rejected by the target wireless network anchor, it cannot access the target wireless network, and can only select a new target wireless network from the search results, or create a local wireless network by itself.
第二,作为锚点的无线设备对本地无线网络中节点设备进行周期性定位。Second, the wireless device serving as the anchor point periodically locates the node device in the local wireless network.
本实施例中定位主要由本地无线网络中的锚点开展。锚点对本地无线网络进行定位后,可以向本地无线网络中所有节点设备广播本网络内所有设备的位置信息,并采用设备标识标记每个节点设备,这在应急救灾或者团队旅行中显得尤其重要。可以理解的是,锚点可以对本地无线网络中的节点设备可以进行广播通信,也可以针对任一节点设备进行单播通信。In this embodiment, the positioning is mainly carried out by the anchor point in the local wireless network. After the anchor locates the local wireless network, it can broadcast the location information of all devices in the network to all node devices in the local wireless network, and mark each node device with device identification, which is especially important in emergency disaster relief or team travel . It can be understood that the anchor point can perform broadcast communication to node devices in the local wireless network, and can also perform unicast communication to any node device.
第三,作为锚点的无线设备可以与远端无线网络进行交互。Third, the wireless device acting as the anchor point can interact with the remote wireless network.
请参见图13所示:See Figure 13:
S1302:锚点保存本地无线网络的网络标识并向本地无线网络中的节点设备发送休眠消息;S1302: The anchor point stores the network identifier of the local wireless network and sends a dormancy message to the node device in the local wireless network;
S1304:节点设备在收到休眠消息后保存本地无线网络的网络标识,并退出本地无线网络;S1304: The node device saves the network identifier of the local wireless network after receiving the sleep message, and exits the local wireless network;
S1306:锚点通过低频扫描远端无线网络;S1306: The anchor scans the remote wireless network through the low frequency;
S1308:锚点选择目标远端无线网络。S1308: The anchor point selects the target remote wireless network.
锚点在扫描远端无线网络后,可以判断是否在临近区域扫描到远端无线网络,如果是,则可以选择一个远端无线网络作为目标远端无线网络。After the anchor point scans the remote wireless network, it can determine whether the remote wireless network is scanned in the nearby area, and if so, it can select a remote wireless network as the target remote wireless network.
S1310:锚点与远端锚点建立连接;S1310: The anchor point establishes a connection with the remote anchor point;
S1312:锚点与远端锚点进行信息交互;S1312: the anchor point exchanges information with the remote anchor point;
锚点向目标远端无线网络的锚点,即远端锚点分享本地无线网络中各设备的位置信息,同时也可以传送文字、语音等信息。The anchor point shares the location information of each device in the local wireless network with the anchor point of the target remote wireless network, that is, the remote anchor point, and can also transmit text, voice and other information.
在一些示例中,本地无线网络的锚点与远端无线网络进行信息传递时,可以有选择地过滤敏感信息或者使用其他手段以保证敏感信息的安全。In some examples, when the anchor point of the local wireless network communicates with the remote wireless network, the sensitive information may be selectively filtered or other means may be used to ensure the security of the sensitive information.
S1314:锚点判断当前时刻距离休眠消息发送时刻的时间差是否达到预设休眠时长;S1314: The anchor point determines whether the time difference between the current moment and the moment when the sleep message is sent reaches a preset sleep duration;
如果是则进入S1316;否则返回步骤S1312;If yes, enter S1316; otherwise, return to step S1312;
S1316:在判断结果为是时,锚点断开与远端无线网络的连接,并重新组建本地无线网络;S1316: when the judgment result is yes, the anchor disconnects the connection with the remote wireless network, and re-establishes the local wireless network;
S1318:锚点接受本地无线网络的节点设备的接入。S1318: The anchor point accepts the access of the node device of the local wireless network.
可以理解的是,对于本地无线网络中的节点设备,在接收到休眠消息后,保存本地无线网络的网络标识,退出本地无线网络,并启动计时,直到计时时长到达预设休眠时长再重新搜索并加入本地无线网络即 可。It can be understood that, for the node device in the local wireless network, after receiving the sleep message, it saves the network identifier of the local wireless network, exits the local wireless network, and starts timing until the timing time reaches the preset sleep time. Just join the local wireless network.
在本实施例的一些示例中,锚点可以在休眠消息中向节点设备指示预设休眠时长的大小,这样,锚点可以根据自己与远端无线网络的交互需求灵活设置预设休眠时长。In some examples of this embodiment, the anchor point may indicate the size of the preset sleep duration to the node device in the sleep message, so that the anchor point can flexibly set the preset sleep duration according to its interaction requirements with the remote wireless network.
第四,作为锚点的无线设备可以帮助实现本地无线网络内节点设备间的信息交互。Fourth, the wireless device as the anchor point can help realize the information exchange between the node devices in the local wireless network.
锚点可以将本地无线网络的网络设备信息(包括各设备的标识信息与位置信息)传输给本地无线网络的各节点设备,节点设备在接收到网络设备信息后,可以在屏幕上进行显示,以便向用户呈现各设备间的相对位置关系。用户可以从自身以外的各设备中指定目标通信对象,由节点设备生成携带目标通信对象设备标识的通信消息。节点设备生成通信消息后,将其发送给锚点,锚点收到通信消息后,提取其中携带的设备标识,并判断该设备标识与自身的设备标识是否匹配,如果匹配,则说明该通信消息的目标通信对象就是自身;但如果不匹配,则第一设备会按照携带的设备标识将该通信消息转发给对应的设备。The anchor point can transmit the network device information of the local wireless network (including the identification information and location information of each device) to each node device of the local wireless network. After the node device receives the network device information, it can be displayed on the screen, so that The relative positional relationship between the devices is presented to the user. The user can specify the target communication object from various devices other than the user, and the node device generates a communication message carrying the device identification of the target communication object. After the node device generates the communication message, it sends it to the anchor. After the anchor receives the communication message, it extracts the device ID carried in it, and judges whether the device ID matches its own device ID. If it matches, it means the communication message. The target communication object is itself; but if it does not match, the first device will forward the communication message to the corresponding device according to the carried device ID.
第五,作为锚点的无线设备控制实现锚点切换。Fifth, the wireless device as the anchor point controls the realization of anchor point handover.
本地无线网络的连接和通信都是由该网络内的锚点来实现的,而且不同的应用场景可能对锚点的要求不一样,如在应急救灾中,可能选用活动范围大的无线设备作为锚点,而在团队旅行中则需要选择位置比较靠近中心的无线设备作为锚点。另外锚点的选择同样需要考虑当前对应无线设备的状态,如电池电量等。本实施例中,本地无线网络可以根据需要主动调整锚点,以最大限度保证网络正常可用。下面请参见图14示出的锚点流程:The connection and communication of the local wireless network are realized by the anchor point in the network, and different application scenarios may have different requirements for the anchor point. For example, in emergency disaster relief, a wireless device with a wide range of activities may be selected as the anchor While on a group trip, you need to choose a wireless device that is closer to the center as the anchor point. In addition, the selection of the anchor point also needs to consider the current state of the corresponding wireless device, such as the battery level. In this embodiment, the local wireless network can actively adjust the anchor point as required, so as to ensure the normal availability of the network to the greatest extent. Please refer to the anchor point process shown in Figure 14 below:
S1402:锚点获取自身的状态信息;S1402: The anchor obtains its own state information;
本实施例中,锚点的状态信息包括剩余电量、其在本地无线网络各设备中的相对位置。In this embodiment, the state information of the anchor point includes the remaining power and its relative position in each device of the local wireless network.
S1404:锚点判断自身的状态是否可以继续作为当前网络工作模式下的锚点;S1404: The anchor determines whether its own state can continue to be the anchor in the current network working mode;
若判断结果为否,则进入S1406;若判断结果为是,则等待一段时间之后,继续执行S1402。If the judgment result is no, proceed to S1406; if the judgment result is yes, after a period of time, continue to execute S1402.
在本实施例中,锚点支持在两种网络工作模式下工作:旅游模式及紧急模式,其中旅游模式适用于团队旅游场景,而紧急模式适用于应急救灾场景。根据前面的介绍,不同网络工作模式对锚点的位置要求不一样,因此如果当前锚点的位置与当前网络工作模式的要求不符,则可能需要进行锚点切换;另外,因为作为锚点维护本地无线网络所带来的功耗比较高,因此如果锚点的剩余电量不多,则其也不适于继续作为本地无线网络的锚点。在本实施例的一些示例中,只要锚点的一种状态信息不符合当前网络工作模式的要求,则可以触发锚点切换;还有一些示例中,要求锚点不符合当前网络工作模式要求的状态信息种类达到一定数目后才会触发锚点切换;另外一些示例中,要求锚点的全部状态信息均不满足当前网络工作模式要求时再触发锚点切换。In this embodiment, the anchor supports working in two network working modes: travel mode and emergency mode, wherein the travel mode is suitable for group travel scenarios, and the emergency mode is suitable for emergency disaster relief scenarios. According to the previous introduction, different network working modes have different requirements for the location of the anchor point. Therefore, if the position of the current anchor point does not match the requirements of the current network working mode, it may be necessary to switch the anchor point; The power consumption brought by the wireless network is relatively high, so if the remaining power of the anchor point is not much, it is not suitable to continue to be the anchor point of the local wireless network. In some examples of this embodiment, as long as one state information of the anchor point does not meet the requirements of the current network working mode, the anchor point switching can be triggered; Anchor point switching will be triggered only after the number of state information types reaches a certain number; in other examples, anchor point switching is required when all the state information of the anchor point does not meet the requirements of the current network working mode.
S1406:锚点根据获取的各节点设备的位置信息按照对应的选择原则选择备用锚点;S1406: The anchor point selects a backup anchor point according to the acquired location information of each node device according to the corresponding selection principle;
在本实施例的一些示例中,锚点会周期性地获取本地无线网络中各设备的位置信息,在确定需要进行锚点切换时,锚点结合当前网络工作模式对应的锚点选择原则以及各设备的位置信息选择出对应的备用锚点。In some examples of this embodiment, the anchor point periodically obtains the location information of each device in the local wireless network. When it is determined that the anchor point switching is required, the anchor point combines the anchor point selection principle corresponding to the current network working mode and each The location information of the device selects the corresponding backup anchor point.
可以理解的是,在一些示例中,锚点选择备用锚点经过验证可以能不适于作为锚点,例如其不具备作为锚点的能力,则锚点需要重新选择备用锚点,在这种情况下,锚点进行重新选择时,就会排除之前的备用锚点。It can be understood that, in some examples, the anchor point may not be suitable as an anchor point after verification. For example, it does not have the ability to serve as an anchor point, and the anchor point needs to re-select an alternate anchor point. In this case When the anchor point is reselected, the previous alternate anchor point is excluded.
S1408:锚点向备用锚点发送配置信息请求报文;S1408: The anchor sends a configuration information request message to the standby anchor;
S1410:锚点接收备用锚点的设备配置信息;S1410: The anchor receives the device configuration information of the standby anchor;
S1412:锚点根据设备配置信息判断备用锚点是否具备作为锚点的能力;S1412: The anchor point determines whether the standby anchor point has the ability to serve as an anchor point according to the device configuration information;
若判断结果为是,则进入S1414,否则执行S1406。If the judgment result is yes, go to S1414, otherwise go to S1406.
S1414:启动锚点切换。S1414: Start anchor point switching.
下面结合图15对锚点切换过程进行说明,在图15当中,第一设备和第二设备分别为锚点、备用锚点,第三设备是本地无线网络中除了锚点与备用锚点的节点设备:The anchor point switching process will be described below with reference to FIG. 15. In FIG. 15, the first device and the second device are the anchor point and the backup anchor point, respectively, and the third device is the node in the local wireless network except the anchor point and the backup anchor point. equipment:
S1502:第一设备向第二设备发送锚点切换报文;S1502: The first device sends an anchor point switching packet to the second device;
S1504:第二设备向第一设备发送切换确认报文;S1504: The second device sends a handover confirmation message to the first device;
S1506:第一设备向第二设备与第三设备发送切换消息;S1506: The first device sends a handover message to the second device and the third device;
S1508:第一设备、第二设备、第三设备保存网络标识,并退出本地无线网络;S1508: The first device, the second device, and the third device save the network identifier, and exit the local wireless network;
S1510:第二设备根据保存的网络标识重新创建本地无线网络;S1510: The second device recreates the local wireless network according to the saved network identifier;
S1512:第一设备、第三设备按照保存的网络标识搜索并接入本地无线网络。S1512: The first device and the third device search for and access the local wireless network according to the stored network identifier.
可以理解的是,第一设备与第三设备这些无线设备在按照保存的网络标识搜索本地无线网络时,很可能会出现搜索不到的情况,在这种情况下,无线设备在搜索失败后,可以再次搜索,直到搜索失败的次数到达一定数目,或者搜索时长达到一定时长后,可以停止搜索,自己重新创建本地无线网络。在本实施例的一种示例中,无线设备创建本地无线网络时,可以选择新的网络标识,也可以沿用自己保存的网络标识,因为如果沿用新的网络标识,就可以尽快将原网络中的设备再次接入同一个网络,避免了其他无线设备也 各自因搜索失败而创建本地无线网络。It can be understood that when the wireless devices such as the first device and the third device search for the local wireless network according to the saved network identifier, it is likely that the search cannot be found. In this case, after the wireless device fails to search, You can search again until the number of search failures reaches a certain number, or when the search time reaches a certain length, you can stop the search and recreate the local wireless network yourself. In an example of this embodiment, when a wireless device creates a local wireless network, it can select a new network identifier or use its own saved network identifier, because if the new network identifier is used, The device is connected to the same network again, preventing other wireless devices from creating a local wireless network due to their respective search failures.
本申请可以在无线基站信号无覆盖或者覆盖信号弱的情况下不仅为应急通信、定位服务,而且也可以在为旅行中团队成员间提供组织、通讯服务。本申请实施例还提供了相应的设备及系统。以下分别进行详细说明。The present application can provide not only emergency communication and positioning services, but also organization and communication services between team members during travel when the wireless base station signal is not covered or the coverage signal is weak. The embodiments of the present application also provide corresponding devices and systems. Each of them will be described in detail below.
实施例五:Embodiment 5:
本实施例提供了一种存储介质,该存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、计算机程序模块或其他数据)的任何方法或技术中实施的易失性或非易失性、可移除或不可移除的介质。存储介质包括但不限于RAM(Random Access Memory,随机存取存储器),ROM(Read-Only Memory,只读存储器),EEPROM(Electrically Erasable Programmable read only memory,带电可擦可编程只读存储器)、闪存或其他存储器技术、CD-ROM(Compact Disc Read-Only Memory,光盘只读存储器),数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。The present embodiments provide a storage medium including volatile or non-volatile implemented in any method or technology for storage of information, such as computer readable instructions, data structures, computer program modules or other data volatile, removable or non-removable media. Storage media include but are not limited to RAM (Random Access Memory), ROM (Read-Only Memory, read-only memory), EEPROM (Electrically Erasable Programmable read only memory, electrified Erasable Programmable Read-Only Memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), Digital Versatile Disc (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or available with Any other medium that stores the desired information and can be accessed by a computer.
该存储介质中可以存储有一个或多个可供一个或多个处理器读取、编译并执行的计算机程序,在本实施例中,该存储介质可以存储有第一无线组网程序,第一无线组网程序可供一个或多个处理器执行实现前述实施例介绍的任意一种无线组网方法中第一设备侧(锚点侧)的流程;第二无线组网程序可供一个或多个处理器执行实现前述实施例介绍的任意一种无线组网方法中第二设备侧(备用锚点侧)的流程;第三无线组网程序可供一个或多个处理器执行实现前述实施例介绍的任意一种无线组网方法中第三设备侧(节点设备侧)的流程。The storage medium may store one or more computer programs that can be read, compiled and executed by one or more processors. In this embodiment, the storage medium may store a first wireless networking program. The wireless networking program can be used by one or more processors to implement the process on the first device side (anchor point side) in any of the wireless networking methods described in the foregoing embodiments; the second wireless networking program can be used by one or more processors. Each processor executes the process of implementing the second device side (standby anchor point side) in any of the wireless networking methods described in the foregoing embodiments; the third wireless networking program can be executed by one or more processors to implement the foregoing embodiments The flow of the third device side (node device side) in any of the wireless networking methods introduced.
本实施例还提供了一种计算机程序产品,包括计算机可读装置,该计算机可读装置上存储有如上所示的计算机程序。本实施例中该计算机可读装置可包括如上所示的计算机可读存储介质。例如,该计算机程序产品包括无线设备,如图16所示:无线设备16包括处理器161、存储器162以及用于连接处理器161与存储器162的通信总线163,其中存储器162可以为前述存储有第一无线组网程序、第二无线组网程序以及第三无线组网程序中至少一个的存储介质。This embodiment also provides a computer program product, including a computer-readable device, where the computer program as shown above is stored on the computer-readable device. In this embodiment, the computer-readable device may include the computer-readable storage medium as described above. For example, the computer program product includes a wireless device, as shown in FIG. 16 : the wireless device 16 includes a processor 161, a memory 162, and a communication bus 163 for connecting the processor 161 and the memory 162, wherein the memory 162 can be the aforementioned A storage medium for at least one of a wireless networking program, a second wireless networking program, and a third wireless networking program.
可以理解的是,通常情况下,一个无线设备在一些情形下需要作为锚点,在另一些情形下需要作为备用锚点,还有一些情形下,其仅作为普通节点设备,因此,在本实施例的一些示例中,存储器162中同时存储有第一无线组网程序、第二无线组网程序以及第三无线组网程序,处理器161可以根据情况选择执行其中的哪一个,并实现对应的流程。It can be understood that, in general, a wireless device needs to be used as an anchor point in some cases, as a backup anchor point in other cases, and in some cases, it is only used as a common node device. Therefore, in this implementation In some examples, the first wireless networking program, the second wireless networking program and the third wireless networking program are stored in the memory 162 at the same time, and the processor 161 can select which one to execute according to the situation, and implement the corresponding one. process.
本实施例中的无线设备16包括手机、PAD(平板电脑)、PDA(个人数字助理)、穿戴式设备等几种中的至少一种。The wireless device 16 in this embodiment includes at least one of a mobile phone, a PAD (tablet computer), a PDA (personal digital assistant), and a wearable device.
无线设备16实现无线组网方法的具体流程请参见前述实施例的介绍,这里不再赘述。For the specific process of implementing the wireless networking method by the wireless device 16, please refer to the introduction of the foregoing embodiment, and details are not repeated here.
根据本申请实施例提供的无线组网方法、无线设备及存储介质,在第一设备作为锚点创建了第一本地无线网络后,可以确定备用锚点,然后在进行锚点切换的过程中向作为备用锚点的第二设备发送锚点切换报文,以指示第二设备切换为第一本地无线网络的新锚点。随后,第一设备发送切换消息给第一本地无线网络中的各节点设备,第一本地无线网络中的各节点设备收到切换消息后,根据切换消息的指示保存第一本地无线网络的网络标识,即第一网络标识,并退出第一本地无线网络。第二设备根据锚点切换报文的指示,重新创建网络标识为第一网络标识的第一本地无线网络,并在后续过程中接受本地无线设备作为第一本地无线网络的节点设备接入该第一本地无线网络。在本申请实施例提供的无线组网方案中,在锚点切换过程中,可以由原锚点、备用锚点以及本地无线网络中的普通节点设备相互配合自动实现,不管是原锚点、备用锚点还是普通节点设备的用户,都不需要进行手动操作,这降低了用户手动操作的负担,提升了无线组网的自动化程度与智能化程度。According to the wireless networking method, wireless device, and storage medium provided by the embodiments of the present application, after the first local wireless network is created by the first device as an anchor point, a backup anchor point can be determined, and then a backup anchor point can be determined during the anchor point switching process. The second device serving as the backup anchor point sends an anchor point switching message to instruct the second device to switch to be the new anchor point of the first local wireless network. Subsequently, the first device sends a handover message to each node device in the first local wireless network. After receiving the handover message, each node device in the first local wireless network saves the network identifier of the first local wireless network according to the instruction of the handover message , that is, the first network identifier, and exit the first local wireless network. The second device recreates the first local wireless network with the network identifier as the first network identifier according to the instruction of the anchor handover message, and accepts the local wireless device as a node device of the first local wireless network to access the first local wireless network in the subsequent process. A local wireless network. In the wireless networking solution provided by the embodiment of the present application, during the anchor point switching process, the original anchor point, the backup anchor point and the common node devices in the local wireless network can cooperate with each other and automatically realize, whether the original anchor point or the backup point Users of the anchor point or ordinary node equipment do not need to perform manual operations, which reduces the burden of manual operations for users and improves the automation and intelligence of wireless networking.
可见,本领域的技术人员应该明白,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件(可以用计算装置可执行的计算机程序代码来实现)、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。It can be seen that those skilled in the art should understand that all or some of the steps in the methods disclosed above, the functional modules/units in the system, and the device can be implemented as software (which can be implemented by computer program codes executable by a computing device). ), firmware, hardware, and their appropriate combination. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components Components execute cooperatively. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit .
此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、计算机程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。所以,本申请不限制于任何特定的硬件和软件结合。In addition, communication media typically embodies computer readable instructions, data structures, computer program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery, as is well known to those of ordinary skill in the art medium. Therefore, the present application is not limited to any particular combination of hardware and software.
以上内容是结合具体的实施方式对本申请实施例所作的进一步详细说明,不能认定本申请的具体实施只局限于这些说明。对于本申请所属技术领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本申请的保护范围。The above content is a further detailed description of the embodiments of the present application in conjunction with specific implementations, and it cannot be considered that the specific implementation of the present application is limited to these descriptions. For those of ordinary skill in the technical field of the present application, without departing from the concept of the present application, some simple deductions or substitutions can be made, which should be regarded as belonging to the protection scope of the present application.
Claims (16)
- 一种无线组网方法,包括:A wireless networking method, comprising:第一设备从第一本地无线网络的节点设备中确定备用锚点,所述第一设备为所述第一本地无线网络当前的锚点,所述第一本地无线网络的网络标识为第一网络标识;The first device determines the standby anchor point from the node devices of the first local wireless network, the first device is the current anchor point of the first local wireless network, and the network identifier of the first local wireless network is the first network identification;所述第一设备向所述第一本地无线网络的备用锚点发送锚点切换报文,所述锚点切换报文用于指示所述备用锚点作为所述第一本地无线网络新的锚点;The first device sends an anchor point switch packet to the standby anchor point of the first local wireless network, where the anchor point switch packet is used to indicate the standby anchor point as a new anchor point of the first local wireless network point;所述第一设备向所述第一本地无线网络中的节点设备发送切换消息,所述切换消息用于指示所述节点设备保存所述第一网络标识并退出所述第一本地无线网络;sending, by the first device, a handover message to a node device in the first local wireless network, where the handover message is used to instruct the node device to save the first network identifier and exit the first local wireless network;所述第一设备根据所述第一网络标识搜索并接入由所述备用锚点创建的第一本地无线网络。The first device searches for and accesses the first local wireless network created by the backup anchor point according to the first network identifier.
- 如权利要求1所述的无线组网方法,其中,所述第一设备从第一本地无线网络的节点设备中确定备用锚点包括:The wireless networking method according to claim 1, wherein the first device determining the standby anchor point from the node devices of the first local wireless network comprises:所述第一设备获取所述第一本地无线网络中节点设备的位置信息;obtaining, by the first device, location information of a node device in the first local wireless network;所述第一设备根据所述节点设备的位置信息确定备用锚点。The first device determines a backup anchor point according to the location information of the node device.
- 如权利要求2所述的无线组网方法,其中,所述第一设备根据所述节点设备的位置信息确定备用锚点包括:The wireless networking method according to claim 2, wherein determining the standby anchor point by the first device according to the location information of the node device comprises:在所述第一本地无线网络的工作模式为第一工作模式的情况下,所述第一设备根据各所述节点设备的位置信息确定在所述第一本地无线网络的各设备中处于中心的节点设备作为所述备用节点设备;In the case where the working mode of the first local wireless network is the first working mode, the first device determines, according to the location information of each node device, the center of each device in the first local wireless network. node device as the standby node device;在所述第一本地无线网络的工作模式为第二工作模式的情况下,所述第一设备根据各所述节点设备的位置信息确定在所述第一本地无线网络的各设备中活动范围最大的节点设备作为所述备用节点设备。When the working mode of the first local wireless network is the second working mode, the first device determines, according to the location information of each of the node devices, that the activity range is the largest among the devices in the first local wireless network The node device is used as the standby node device.
- 如权利要求1所述的无线组网方法,还包括:The wireless networking method of claim 1, further comprising:所述第一设备向所述第一本地无线网络中的节点设备发送网络设备信息,所述网络设备信息中包括所述第一本地无线网络中各设备的设备标识。The first device sends network device information to a node device in the first local wireless network, where the network device information includes device identifiers of each device in the first local wireless network.
- 如权利要求4所述的无线组网方法,其中,所述第一设备向所述第一本地无线网络中的节点设备发送网络设备信息之后,还包括:The wireless networking method according to claim 4, wherein after the first device sends the network device information to the node device in the first local wireless network, the method further comprises:所述第一设备接收所述节点设备发送的通信信息,所述通信信息中包含目标通信对象的设备标识;receiving, by the first device, communication information sent by the node device, where the communication information includes the device identifier of the target communication object;所述第一设备在确定自身的设备标识与所述目标通信对象的设备标识不匹配的情况下,将所述通信信息转发给所述目标通信对象。The first device forwards the communication information to the target communication object when it is determined that its own device identification does not match the device identification of the target communication object.
- 如权利要求1-5任一项所述的无线组网方法,其中,所述第一设备从第一本地无线网络的节点设备中确定备用锚点之前,还包括:The wireless networking method according to any one of claims 1-5, wherein before the first device determines the standby anchor point from the node device of the first local wireless network, the method further comprises:所述第一设备通过低频扫描远端无线网络;The first device scans the remote wireless network through a low frequency;所述第一设备通过远端锚点接入所述远端无线网络,所述远端锚点为所述远端无线网络的锚点;The first device accesses the remote wireless network through a remote anchor point, where the remote anchor point is an anchor point of the remote wireless network;所述第一设备与所述远端锚点进行信息交互。The first device exchanges information with the remote anchor point.
- 如权利要求6所述的无线组网方法,其中,所述第一设备通过低频扫描远端无线网络之前,还包括:The wireless networking method according to claim 6, wherein before the first device scans the remote wireless network through the low frequency, the method further comprises:所述第一设备向所述第一本地无线网络中的节点设备发送休眠消息,所述休眠消息用于指示所述节点设备保存所述第一网络标识,退出所述第一本地无线网络,并在预设休眠时长后重新搜索接入至所述第一本地无线网络;The first device sends a dormancy message to the node device in the first local wireless network, where the dormancy message is used to instruct the node device to save the first network identifier, exit the first local wireless network, and Re-search for access to the first local wireless network after a preset sleep duration;所述第一设备通过低频扫描远端无线网络之后,还包括:After the first device scans the remote wireless network through the low frequency, it further includes:所述第一设备确定当前时刻与所述休眠消息的发送时刻的时间差达到预设休眠时长;The first device determines that the time difference between the current moment and the sending moment of the sleep message reaches a preset sleep duration;所述第一设备断开与所述远端无线网络的连接,并采用所述第一网络标识重新创建所述第一本地无线网络,供所述节点设备接入。The first device disconnects from the remote wireless network, and uses the first network identifier to recreate the first local wireless network for the node device to access.
- 一种无线组网方法,包括:A wireless networking method, comprising:第二设备接收第一本地无线网络的锚点发送的锚点切换报文,所述锚点切换报文用于指示所述第二设备切换为所述第一本地无线网络新的锚点,所述第一本地无线网络的网络标识为第一网络标识;The second device receives an anchor point handover message sent by the anchor point of the first local wireless network, where the anchor point handover message is used to instruct the second device to switch to the new anchor point of the first local wireless network, so The network identifier of the first local wireless network is the first network identifier;所述第二设备保存所述第一网络标识并退出所述第一本地无线网络;the second device saves the first network identifier and exits the first local wireless network;所述第二设备根据所述第一网络标识重新创建所述第一本地无线网络;The second device recreates the first local wireless network according to the first network identifier;所述第二设备接受本地无线设备作为所述第一本地无线网络的节点设备接入所述第一本地无线网络。The second device accepts the local wireless device as a node device of the first local wireless network to access the first local wireless network.
- 如权利要求8所述的无线组网方法,其中,所述第二设备接收第一本地无线网络的锚点发送的锚点切换报文之前,还包括:The wireless networking method according to claim 8, wherein before the second device receives the anchor point handover message sent by the anchor point of the first local wireless network, the method further comprises:所述第二设备接收所述锚点发送的配置信息请求报文;receiving, by the second device, a configuration information request message sent by the anchor;所述第二设备根据所述配置信息请求报文向所述锚点发送设备配置信息,所述设备配置信息用于表征所述第二设备作为锚点的能力。The second device sends device configuration information to the anchor point according to the configuration information request message, where the device configuration information is used to represent the capability of the second device as an anchor point.
- 一种无线组网方法,包括:A wireless networking method, comprising:第三设备接收第一本地无线网络中锚点发送的切换消息,所述切换消息用于表征所述第一本地无线网络的锚点将发生切换,所述第一本地无线网络的网络标识为第一网络标识;The third device receives the handover message sent by the anchor point in the first local wireless network, the handover message is used to indicate that the anchor point of the first local wireless network will be handed over, and the network identifier of the first local wireless network is the first local wireless network. a network identifier;所述第三设备根据所述切换消息保存所述第一网络标识并退出所述第一本地无线网络;The third device saves the first network identifier according to the handover message and exits the first local wireless network;所述第三设备根据所述第一网络标识搜索并接入由新的锚点创建的第一本地无线网络。The third device searches for and accesses the first local wireless network created by the new anchor point according to the first network identifier.
- 如权利要求10所述的无线组网方法,还包括:The wireless networking method of claim 10, further comprising:所述第三设备接收所述第一本地无线网络中锚点发送的休眠消息;receiving, by the third device, a dormancy message sent by an anchor in the first local wireless network;所述第三设备保存所述第一网络标识,退出所述第一本地无线网络并开始计时;the third device saves the first network identifier, exits the first local wireless network and starts timing;所述第三设备在计时时长达到预设休眠时长后,根据所述第一网络标识搜索并接入由所述锚点重新创建的第一本地无线网络。The third device searches for and accesses the first local wireless network recreated by the anchor point according to the first network identifier after the timing duration reaches the preset sleep duration.
- 如权利要求10所述的无线组网方法,其中,所述第三设备根据所述第一网络标识搜索并接入第一本地无线网络包括:The wireless networking method according to claim 10, wherein the third device searching for and accessing the first local wireless network according to the first network identifier comprises:所述第三设备根据所述第一网络标识通过高频扫描无线网络;The third device scans the wireless network through high frequency according to the first network identifier;所述第三设备在未扫描到所述第一本地无线网络的情况下选择高频信道创建第二本地无线网络,所述第二本地无线网络的网络标识为第二网络标识;The third device selects a high-frequency channel to create a second local wireless network without scanning the first local wireless network, and the network identifier of the second local wireless network is the second network identifier;所述第三设备接受本地无线设备作为节点设备接入所述第二本地无线网络。The third device accepts a local wireless device as a node device to access the second local wireless network.
- 如权利要求10-12任一项所述的无线组网方法,其中,所述无线组网方法还包括:The wireless networking method according to any one of claims 10-12, wherein the wireless networking method further comprises:所述第三设备接收所述锚点发送的网络设备信息,所述网络设备信息中至少包括所述第一本地无线网络中各设备的设备标识;receiving, by the third device, the network device information sent by the anchor point, where the network device information at least includes device identifiers of each device in the first local wireless network;所述第三设备根据所述网络设备信息选择所述第一本地无线网络中的设备作为目标通信对象;The third device selects a device in the first local wireless network as a target communication object according to the network device information;所述第三设备通过所述锚点向所述目标通信对象发送通信消息,所述通信消息中包括所述目标通信对象的设备标识。The third device sends a communication message to the target communication object through the anchor point, where the communication message includes the device identification of the target communication object.
- 如权利要求13所述的无线组网方法,其中,所述网络设备信息中还包括各设备的位置信息;所述第三设备根据所述网络设备信息选择所述第一本地无线网络中的设备作为目标通信对象包括:The wireless networking method according to claim 13, wherein the network device information further includes location information of each device; the third device selects a device in the first local wireless network according to the network device information As target communication objects include:所述第三设备控制屏幕按照所述网络设备信息关联显示所述第一本地无线网络中各设备的位置与设备标识;The third device control screen displays the location and device identification of each device in the first local wireless network in association with the network device information;所述第三设备根据设备标识同屏幕位置间的映射关系,以及所述屏幕检测到的触控位置确定所述目标通信对象。The third device determines the target communication object according to the mapping relationship between the device identifier and the screen position and the touch position detected by the screen.
- 一种无线设备,所述无线设备包括处理器、存储器及通信总线;其中,A wireless device comprising a processor, a memory and a communication bus; wherein,所述通信总线用于实现处理器和存储器之间的连接通信;The communication bus is used to realize the connection communication between the processor and the memory;所述处理器用于执行存储器中存储的第一无线组网程序,以实现如权利要求1至7中任一项所述的无线组网方法的步骤;或,所述处理器用于执行存储器中存储的第二无线组网程序,以实现如权利要求8或9所述的无线组网方法的步骤;或,所述处理器用于执行存储器中存储的第三无线组网程序,以实现如权利要求10至14中任一项所述的无线组网方法的步骤。The processor is configured to execute the first wireless networking program stored in the memory to implement the steps of the wireless networking method according to any one of claims 1 to 7; or, the processor is configured to execute the storage in the memory The second wireless networking program to realize the steps of the wireless networking method as claimed in claim 8 or 9; Steps of the wireless networking method described in any one of 10 to 14.
- 一种存储介质,其存储有第一无线组网程序、第二无线组网程序以及第三无线组网程序中的至少一个,其中,所述第一无线组网程序可被一个或者多个处理器执行,以实现如权利要求1至7中任一项所述的无线组网方法的步骤;所述第二无线组网程序可被一个或者多个处理器执行,以实现如权利要求8或9所述的无线组网方法的步骤;所述第三无线组网程序可被一个或者多个处理器执行,以实现如权利要求10至14中任一项所述的无线组网方法的步骤。A storage medium storing at least one of a first wireless networking program, a second wireless networking program, and a third wireless networking program, wherein the first wireless networking program can be processed by one or more The second wireless networking program can be executed by one or more processors to realize the steps of the wireless networking method according to any one of claims 1 to 7; 9. The steps of the wireless networking method; the third wireless networking program can be executed by one or more processors to implement the steps of the wireless networking method according to any one of claims 10 to 14 .
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110200901.5 | 2021-02-23 | ||
CN202110200901.5A CN114980237A (en) | 2021-02-23 | 2021-02-23 | Wireless networking method, wireless device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022179447A1 true WO2022179447A1 (en) | 2022-09-01 |
Family
ID=82954542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/076831 WO2022179447A1 (en) | 2021-02-23 | 2022-02-18 | Wireless networking method, wireless device and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114980237A (en) |
WO (1) | WO2022179447A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101136724A (en) * | 2007-10-18 | 2008-03-05 | 郑紫微 | Wireless self-organizing cooperative communication method |
US20120026992A1 (en) * | 2010-07-29 | 2012-02-02 | Microsoft Corporation | Energy-Efficient On-The-Fly Wi-Fi Hotspot Using Mobile Devices |
CN102970728A (en) * | 2012-11-02 | 2013-03-13 | 北京小米科技有限责任公司 | Message notification method and device |
CN104378800A (en) * | 2013-08-13 | 2015-02-25 | 华为终端有限公司 | Method, device and system for joining in neighbor awareness network cluster |
CN104780580A (en) * | 2015-03-19 | 2015-07-15 | 江苏晓山信息产业股份有限公司 | Wi-Fi mobile networking method with balanced energy consumption |
-
2021
- 2021-02-23 CN CN202110200901.5A patent/CN114980237A/en active Pending
-
2022
- 2022-02-18 WO PCT/CN2022/076831 patent/WO2022179447A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101136724A (en) * | 2007-10-18 | 2008-03-05 | 郑紫微 | Wireless self-organizing cooperative communication method |
US20120026992A1 (en) * | 2010-07-29 | 2012-02-02 | Microsoft Corporation | Energy-Efficient On-The-Fly Wi-Fi Hotspot Using Mobile Devices |
CN102970728A (en) * | 2012-11-02 | 2013-03-13 | 北京小米科技有限责任公司 | Message notification method and device |
CN104378800A (en) * | 2013-08-13 | 2015-02-25 | 华为终端有限公司 | Method, device and system for joining in neighbor awareness network cluster |
CN104780580A (en) * | 2015-03-19 | 2015-07-15 | 江苏晓山信息产业股份有限公司 | Wi-Fi mobile networking method with balanced energy consumption |
Also Published As
Publication number | Publication date |
---|---|
CN114980237A (en) | 2022-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12004117B2 (en) | LMF selection method and terminal location service method and device | |
US20200128466A1 (en) | Switching between network based and relay based operation for mission critical voice call | |
US9078121B2 (en) | Automatic ad-hoc network of mobile devices | |
WO2022088826A1 (en) | Computing service discovery method and communication apparatus | |
WO2020207116A1 (en) | Terminal location based service method and apparatus | |
CN110933623A (en) | Communication method and device | |
WO2017028743A1 (en) | Relay user equipment control method, device, and user equipment | |
EP2815521B1 (en) | Method and apparatus for supporting device-to-device communications | |
CN104333888A (en) | Self-organized instant messaging method based on Wi-Fi direct connection | |
WO2012100728A1 (en) | Method for communication terminal to reside in a plurality of networks and communication terminal | |
CN114071490A (en) | Configuration method and terminal in sidelink relay architecture | |
WO2021017703A1 (en) | Communication information exchange method and apparatus, storage medium and computer device | |
CN108370498B (en) | Method, device and equipment for determining transmission scheme | |
KR102435491B1 (en) | Communication method and device | |
CN114390610B (en) | Cell switching method, communication device and storage medium | |
CN108029061A (en) | Manage the method, apparatus and equipment of RRC connections | |
WO2014187289A1 (en) | Short-range communication method, user equipment, and mobile management entity | |
EP4247061A1 (en) | Communication method, apparatus, and system | |
KR20160138170A (en) | System and method to enhance the user experience of applications for proximity-based peer-to-peer mobile computing | |
EP4040814A1 (en) | Communication method, device, and system | |
GB2507299A (en) | Preparing a mobile terminal for reconnection to a different cell in the event of a radio link failure on a serving cell | |
JP2008288727A (en) | Radio communication method, radio communication terminal and radio communication program | |
WO2014101028A1 (en) | Method, device, and system for scanning wireless local area network access point | |
KR102200775B1 (en) | Communication device, communication method, and program | |
WO2016149911A1 (en) | Access point automatic switching method and wireless routing device |
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: 22758811 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 18/01/2024) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22758811 Country of ref document: EP Kind code of ref document: A1 |