CN118055522A - Communication method, target terminal and communication system - Google Patents

Communication method, target terminal and communication system Download PDF

Info

Publication number
CN118055522A
CN118055522A CN202410363597.XA CN202410363597A CN118055522A CN 118055522 A CN118055522 A CN 118055522A CN 202410363597 A CN202410363597 A CN 202410363597A CN 118055522 A CN118055522 A CN 118055522A
Authority
CN
China
Prior art keywords
target
gateway device
communication
target terminal
relative distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410363597.XA
Other languages
Chinese (zh)
Inventor
郭昊
徐志明
高潭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dingdao Zhixin Shanghai Semiconductor Co ltd
Original Assignee
Dingdao Zhixin Shanghai Semiconductor Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dingdao Zhixin Shanghai Semiconductor Co ltd filed Critical Dingdao Zhixin Shanghai Semiconductor Co ltd
Priority to CN202410363597.XA priority Critical patent/CN118055522A/en
Publication of CN118055522A publication Critical patent/CN118055522A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a communication method, a target terminal and a communication system, wherein the target terminal establishes a first communication connection with at least one gateway device based on a first communication mode in response to the target terminal receiving a broadcast message of the at least one gateway device; the target terminal receives relative distance information between the target terminal corresponding to the first communication connection and the corresponding gateway equipment, which is sent by at least one gateway equipment; determining a target gateway device based on the relative distance information; based on the second communication mode, the target terminal establishes a second communication connection with the target gateway device; wherein the first communication mode is different from the second communication mode.

Description

Communication method, target terminal and communication system
Technical Field
The present application relates to the field of communications technologies, and in particular, to a communications method, a target terminal, and a communications system.
Background
With the development of communication technology, more and more electronic devices can transmit data through WiFi (wireless network communication). However, when the electronic device is connected to the wireless network through WiFi, there are problems such as high latency and low precision, which results in poor user experience.
Disclosure of Invention
In view of this, the present application provides the following technical solutions:
a communication method applied to a target terminal, the communication method comprising:
establishing a first communication connection with at least one gateway device based on a first communication mode in response to receiving a broadcast message of the at least one gateway device;
receiving relative distance information between the target terminal corresponding to the first communication connection and the corresponding gateway equipment, which is sent by at least one gateway equipment;
Determining a target gateway device based on the relative distance information;
establishing a second communication connection with the target gateway device based on a second communication mode;
wherein the first communication mode is different from the second communication mode.
Optionally, the determining, based on the relative distance information, the target gateway device includes:
Ordering all gateway devices based on the relative distance information to obtain a first gateway device set meeting the relative distance condition, wherein the first gateway device set comprises at least one gateway device;
Triggering a second channel scanning corresponding to a second communication mode to obtain the signal state of each gateway device in the first gateway device set;
and determining the target gateway equipment based on the signal state.
Optionally, the determining, based on the relative distance information, the target gateway device includes:
Triggering a second channel corresponding to the second communication mode to perform second channel scanning in response to receiving the relative distance information of the target terminal and the corresponding gateway equipment;
obtaining candidate gateway equipment based on a scanning result of the second channel scanning;
And determining the target gateway equipment based on the relative distance information between the candidate gateway equipment and the target terminal.
Optionally, the triggering a second channel corresponding to the second communication mode, and performing second channel scanning includes:
Generating a target communication data frame according to the relative distance information between the target terminal and the corresponding gateway equipment and the terminal configuration information of the target terminal;
generating a channel scanning instruction based on the target communication data frame;
and triggering a second channel corresponding to the second communication mode based on the channel scanning instruction, and performing second channel scanning.
Optionally, the method further comprises:
If the communication data connected with the second communication of the target gateway equipment is detected to not meet the target communication condition, determining the relative distance information between the target terminal and each gateway equipment again by utilizing the first communication mode;
Determining whether a switchable target gateway device exists based on the relative distance information;
and if the switchable target gateway device exists, establishing a second communication connection with the switchable target gateway device through the second communication mode.
Optionally, the detecting that the communication data of the second communication connection with the target gateway device does not meet the target communication condition includes:
Detecting that the position information of the target terminal is changed;
and/or a signal state corresponding to the transmission signal of the target gateway device is changed in the second communication mode.
A communication method applied to a gateway device, comprising:
Transmitting a broadcast message to a target terminal, and establishing a first communication connection with the target terminal based on a first communication mode;
determining relative distance information to the target terminal based on the first communication connection;
transmitting the relative distance information to the target terminal, so that the target terminal determines target gateway equipment to be accessed based on the relative distance information;
if a network access request sent by the target terminal based on a second communication mode is received, establishing second communication connection with the target terminal;
wherein the first communication mode is different from the second communication mode.
Optionally, the sending the relative distance information to the target terminal includes:
Generating target data according to the attribute information of the gateway equipment and the relative distance information according to a target information packaging format;
And sending the target data to the target terminal.
A target terminal, comprising:
A first establishing unit, configured to establish a first communication connection with at least one gateway device based on a first communication mode in response to receiving a broadcast message of the at least one gateway device;
A receiving unit, configured to receive relative distance information between the target terminal corresponding to the first communication connection and a corresponding gateway device, where the relative distance information is sent by at least one gateway device;
A first determining unit configured to determine a target gateway device based on the relative distance information;
a second establishing unit, configured to establish a second communication connection with the target gateway device based on a second communication mode;
The first communication mode is different from the second communication mode, and a first positioning accuracy of the first communication mode is higher than a second positioning accuracy of the second communication mode.
A communication system, comprising:
The target terminal as described above;
and a gateway device for performing the communication method as claimed in any one of the above-mentioned application to the gateway device.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only embodiments of the present application, and other drawings may be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a communication method applied to a target terminal according to an embodiment of the present application;
Fig. 2 is a flow chart of a communication method applied to a gateway device according to an embodiment of the present application;
fig. 3 is a signaling interaction diagram of a gateway device and a target terminal according to an embodiment of the present application;
Fig. 4 is a schematic structural diagram of a target terminal according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first and second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may include other steps or elements not expressly listed.
The embodiment of the application provides a communication method which is applied to the scene that a terminal of a terminal access wireless access point is communicated with gateway equipment, and can solve the problem that the user experience is poor due to high delay and low precision when a wireless network is connected.
In the embodiment of the application, the wireless network adopted when the terminal is accessed to the wireless access point mainly refers to WiFi (WIRELESS FIDELITY is a wireless local area network based on IEEE 802.11b standard), the target terminal is a terminal which needs to be accessed to the wireless access point, the target terminal is provided with a wireless network module, and the target terminal can be one of a mobile phone, a tablet computer, a computer and a wearable device. The gateway device is an AP device, which may also be simply referred to as an Access Point (AP) device, and may also be referred to as a radio Access Point or a hotspot, etc. The gateway device is an access point for the wireless terminal to enter the wired network, and is mainly applied to an area with a built local area network, such as a campus, a factory, a building, a warehouse, a factory and the like, where the wireless network needs to be arranged.
Referring to fig. 1, a flow chart of a communication method applied to a target terminal according to an embodiment of the present application may include the following steps:
s101, in response to receiving the broadcast message of at least one gateway device, suggesting a first communication connection with the at least one gateway device based on a first communication mode.
S102, receiving relative distance information between a target terminal corresponding to the first communication connection and a corresponding gateway device, which is sent by at least one gateway device.
S103, determining the target gateway equipment based on the relative distance information.
S104, establishing a second communication connection with the target gateway device based on the second communication mode.
In a network environment, the gateway device continuously sends a broadcast message carrying a service set identifier SSID (SERVICE SET IDENTIFIER ) to the outside, where the broadcast message may include at least information such as the SSID of the gateway device itself, MAC ADDRESS (local area network address), supportrates (transmission rate supported by communication), and the like, so that terminals around the gateway device can receive and acquire the information. Correspondingly, the target terminal in the embodiment of the present application may be any terminal around the gateway device, or may be a terminal with a requirement for switching the gateway device, which is not limited in the embodiment of the present application. The target terminal may acquire the broadcast message sent by each gateway device in real time by starting the network receiving module, or may start the corresponding network receiving module to acquire the broadcast message sent by each gateway device when the target terminal satisfies a certain condition (for example, the data transmission rate of the target terminal is lower than a preset transmission threshold). When the target terminal receives a broadcast message of at least one gateway device around it, the target terminal may establish a first communication connection with the at least one gateway device based on the first communication mode.
In the embodiment of the application, the target terminal and the gateway device have at least two different communication modes, for example, the target terminal and the gateway device can establish communication connection through a first communication mode and a second communication mode, and the first communication mode is different from the second communication mode, specifically, the communication configuration modes of the first communication mode and the second communication mode are different, and the communication configuration modes can be reflected in different communication power consumption, communication measurement precision or communication transmission rate and the like. For example, the first communication mode may be a communication mode with lower power consumption than the second communication mode, that is, the first communication mode may be a bluetooth communication mode or a UWB (ultra wide band) communication mode, which may be a communication mode in which signal transmission and reception are achieved without completing connection of a communication link in a strict alignment direction.
After the target terminal establishes a first communication connection with the gateway device through the first communication mode, the gateway device acquires the terminal identification information of the target terminal, and starts a processing flow of measuring the relative distance information between the target terminal and the gateway device through the first communication mode. For example, the first communication mode is a UWB communication mode, where the target terminal may serve as Tag (Tag), and the gateway device serves as Anchor (calibration Anchor). After the gateway device measures and obtains the relative distance information of each terminal, the relative distance information is sent to the corresponding terminal, so that the target terminal obtains the relative distance information of each gateway device. The relative distance information between the target terminal and each gateway device can be obtained based on a UWB SS-TWR (SINGLE SIDED-Two WAY RANGING) method.
The TWR method measures Tag and calibrates anchor point by confirming the ToF (Time offlight ) value of UWB RF (ultra bandwidth radio frequency) signal, which is the relative distance information of gateway device and target terminal. The Tag sends a Poll message (a message for ranging) to the Anchor, and at this time, the propagation distance (D) from the Tag to the calibration Anchor point of the Poll will generate a period of time TOF, and at this time, the following results:
ToF=D/c;
Wherein c is the speed of light, the time interval from the time when the Anchor point Anchor receives the Poll request message to the time when the PSDU response message is sent is set as T Reply, and the time interval from the time when the Tag sends the request Req to the time when the Tag receives the response Rsp is recorded as T, so that the following can be obtained:
T=2ToF+TReply
From this, a calculation method of ToF can be obtained, and the final distance D from Tag to Anchor, that is, the relative distance between the gateway device and the target terminal is obtained:
after obtaining the relative distance information to each gateway device, the target terminal may determine the target gateway device in at least one gateway device based on the relative distance information. A second communication connection is then established with the target gateway device based on the second communication mode.
The target terminal may determine the relative distance between the target terminal and each gateway device according to the relative distance information between the target terminal and each gateway device, and sort the target terminal according to the relative distance from small to large, and preferably select the gateway device with smaller distance as the target gateway device to perform channel scanning in the second communication mode and subsequent identity authentication, association and communication connection processing, so as to establish the second communication connection. Further, the target gateway device may be determined based on information such as signal status while the target gateway device is determined based on the relative distance.
In the embodiment of the application, the relative distance information of the target terminal and the gateway equipment can be determined through the first communication mode, and the first communication mode can adopt the UWB communication mode with higher measurement precision, so that the high-precision ranging is realized to solve the problem that the precision of selecting the gateway equipment through the WiFi scanning signal strength is not high and inaccurate. Before the target gateway device is determined based on the first communication mode, the communication channel corresponding to the second communication mode can be in a silent state, and the problem of unstable connection such as automatic disconnection caused by inaccurate judgment of the scanning signal intensity can be avoided. And after the available gateway equipment closest to the gateway equipment is determined, the channel scanning and authentication process of the second communication mode can be quickly entered, so that the time for switching the gateway equipment is greatly saved, and the user experience effect is improved.
The following describes the related process flow of the present application with reference to a specific application scenario.
After the target terminal obtains the relative distance information with each gateway device, the target gateway device may be determined based on the relative distance information, and in one implementation of the embodiment of the present application, the process may include:
Ordering the gateway devices based on the relative distance information to obtain a first gateway device set meeting the relative distance condition; triggering a second channel scanning corresponding to a second communication mode to acquire a signal state of each gateway device in the first gateway device set; based on the signal state, a target gateway device is determined.
The first gateway device set includes at least one gateway device, and each gateway device is firstly ordered through relative distance information, namely, the gateway devices are ordered according to the relative distance between each gateway device and a target terminal, and then the gateway devices with the relative distance smaller than a preset distance threshold can be selected to form the first gateway device set based on the preset distance threshold. And then triggering a second channel corresponding to the second communication mode of the target terminal to perform channel scanning so as to acquire the signal state of each gateway device, and determining the signal strength state as if acquiring the scanning signal strength, thereby selecting the gateway device with stronger signal strength from the first gateway device set as the target gateway device, and establishing the second communication connection of the target terminal and the second communication mode of the target gateway device. In the embodiment, the target gateway equipment is determined based on the relative distance between the target terminal and the gateway equipment and the signal state of the gateway equipment, so that the aim of accessing the corresponding target gateway equipment with high precision and high accuracy is fulfilled, and the experience effect of a user is improved.
In another embodiment of the present application, the process of determining the target gateway device by the target terminal based on the relative distance information may further include:
Triggering a second signal corresponding to a second communication mode to perform second channel scanning in response to receiving the relative distance information of the target terminal and the corresponding gateway equipment; obtaining candidate gateway equipment; and determining the target gateway equipment based on the relative distance information between the candidate gateway equipment and the target terminal.
After the target terminal obtains the relative distance information sent by the gateway equipment, triggering a second channel to scan, selecting the gateway equipment with stronger signal strength as candidate gateway equipment according to the signal strength in the signal scanning result, and then selecting the gateway equipment with closer relative distance as target gateway equipment in the candidate gateway equipment, so that the target terminal establishes a second communication connection with the target gateway equipment.
Further, the target terminal triggers a second signal corresponding to a second communication mode corresponding to the second communication mode to perform a second channel scan, including:
Generating a target communication data frame according to the relative distance information between the target terminal and the corresponding gateway equipment and the terminal configuration information of the target terminal; generating a channel scanning instruction based on the target communication data frame; and triggering a second channel corresponding to the second communication mode based on the channel scanning instruction, and performing second channel scanning.
When the second channel is scanned in the embodiment of the application, the second channel can be triggered based on the target communication data frame, and the target communication data frame at least comprises SSID (service set identifier), MAC ADDRESS (local area network address), relative distance information and the like, so that the encapsulated target data frame comprises the relative distance information, is not easy to imitate by gateway equipment, has higher safety, can prevent the problem that the time for switching the gateway equipment is prolonged due to the interference of the pseudo gateway equipment to the connection of the pseudo hot spot, and improves the user experience effect.
The communication method provided by the embodiment of the application can also be applied to the scene that the terminal is accessed to the gateway equipment, but the gateway equipment is required to be switched. Specifically, the communication method further includes: if the communication data connected with the second communication of the target gateway equipment is detected to not meet the target communication condition, the relative distance information between the target terminal and each gateway equipment is redetermined by utilizing the first communication mode; determining whether a switchable target gateway device exists based on the relative distance information; if a switchable target gateway device is present, a second communication connection is established with the switchable target gateway device via a second communication mode.
For example, after the target terminal establishes the second communication connection with the target gateway device AP1, if the detected transmission rate of the communication data between the target terminal and the AP1 is less than the transmission threshold, the relative distance information between the target terminal and each gateway device around the target terminal is determined again, so as to determine whether a new target gateway device capable of replacing the AP1 exists. If gateway equipment AP2 which is closer to the target terminal and has stronger channel strength exists, the second communication connection between the target terminal and the AP1 is disconnected, the second communication connection between the target terminal and the AP2 is established, the efficient transmission of communication data is ensured, and the experience effect of a user is improved.
Further, detecting that the communication data of the second communication connection of the target gateway device does not meet the target communication condition includes: detecting that the position information of the target terminal is changed; and/or a signal state corresponding to the target gateway device transmission signal is changed in the second communication mode. Specifically, when the positioning module of the target terminal detects that the position of the target terminal changes, for example, the position deviation from the previous detection period is larger, a process flow of determining the relative distance information between the target terminal and each gateway device based on the first communication mode again may be triggered. Correspondingly, the signal state in the second communication mode may be changed, such as a decrease in data transmission rate, a decrease in data response speed, and the like. Therefore, whether to switch to the gateway equipment with better effect again or not can be determined in real time based on the state of the target terminal to access the wireless network, and the experience effect of the user is improved.
Correspondingly, in the embodiment of the present application, there is further provided a communication method applied to a gateway device, referring to fig. 2, the method may include the following steps:
S201, sending the broadcast message to the target terminal, and establishing a first communication connection with the target terminal based on the first communication mode.
S202, determining relative distance information between the target terminal and the target terminal based on the first communication connection.
And S203, the relative distance information is sent to the target terminal, so that the target terminal determines the target gateway equipment to be accessed based on the relative distance information.
S204, if the network access request sent by the target terminal based on the second communication mode is received, the second communication connection with the target terminal is established.
The first communication mode is different from the second communication mode, each gateway device determines relative distance information between the gateway device and the target terminal based on the first communication mode, and sends the relative distance information to the target terminal, and when the gateway device is determined as the target gateway device by the target terminal, a network access request sent by the target terminal based on the second communication mode is received, and a second communication connection with the target terminal is established. The gateway equipment with stronger signal quality is obtained through interaction of the first communication mode and the second communication mode, so that the precision of the terminal accessing the gateway equipment and the experience effect of the terminal user are improved.
Further, the processing procedure of the gateway device for transmitting the relative distance information to the target terminal includes:
Generating target data according to the attribute information and the relative distance information of the gateway equipment and the target information packaging format; and sending the target data to the target terminal.
In the embodiment of the application, taking the first communication mode as UWB and the second communication mode as WiFi as an example, the interaction between UWB and WiFi systems is involved, namely communication between 802.15.4z and 802.11 protocol specifications, the UWB data frame format is not definitely defined by the former protocol at present, in order to achieve the purpose of communication without interference, a UWB data frame with a self-defined new data frame is represented by uBeacon, two system language intercommunication is realized, uBeacon is a probe data packet carrying distance information and identity information of target gateway equipment, and the frame structure comprises SSID, MAC ADDRESS and ToF (relative distance). If the inter-interference problem is considered uBeacon, a super-frame (SuperFrame) in a time division multiplexing mode can be adopted, and a special scheduling device divides an independent channel use time slot (slot) for each UWB device. The whole channel resource is divided into different time slots according to time, uBeacon data receiving and transmitting time slots of each device are allocated by a scheduling module, each device can only receive and transmit data in own time slot, and mutual interference among uBeacon is avoided.
The following describes an interaction procedure between the target terminal and the gateway device in the embodiment of the present application, taking the first communication mode as UWB communication and the second communication mode as WiFi communication as an example. The gateway device is represented by an AP, for example, the current environment includes AP1 and AP2 … … Apn, the target terminal is represented by an STA, and the STA includes a UWB module and a WiFi module, see fig. 3, which is a signaling interaction diagram of the gateway device and the target terminal. The method comprises the following steps:
The AP periodically broadcasts a message to a certain range, where the message includes information such as the SSID, MAC ADDRESS, support rates, etc. of the AP, so that the surrounding STA can receive and acquire the information.
The application relates to the interaction between UWB and WiFi systems, namely the communication between 802.15.4z and 802.11 protocol specifications, the prior protocol does not clearly define UWB data frame format, in order to realize the purpose of communication without interference, UWB data frames with self-defined new data frames are adopted to be represented by uBeacon, two system language intercommunication is realized, uBeacon is a probe data packet carrying distance information and identity information of target gateway equipment, and the frame structure comprises SSID, MAC ADDRESS and ToF (relative distance).
The UWB module of the STA acquires the identity information of the AP, and the first step of interaction between the STA and the AP of the terminal equipment is started, wherein the STA is used as Tag, the AP is used as Anchor (calibration Anchor point), and the relative distance information (expressed by ToF) of the STA and the AP can be acquired by combining with a UWB SS-TWR ranging method.
After the UWB module of the terminal STA obtains the AP location information, the UWB module sends uBeacon the information carrying SSID, MAC ADDRESS, toF, etc. to the WiFi module, and the WiFi module receives the uBeacon passive downlink channel scanning instruction and sends it to the underlying hardware driver, and broadcasts notification WIFITRACKER after scanning is completed, so as to obtain the AP scanning result. At this time, the ToF values collected by the UWB may be calculated in order from small to large to perform screening and sorting of the AP scan list, and the AP with the smallest distance is preferentially selected to perform the next channel scan and subsequent operations of identity authentication, association and connection. In the embodiment of the application, the APs are ordered according to the ToF size, the terminal connection reference information is given, and the channel scanning of the corresponding APs is successfully triggered.
For example, in the current environment, there are a terminal STA1 and a terminal STA2, where STA1 is in the signal range of the gateway device AP1, and a strong enough RSSI can establish a connection, and at this time, the scanning of the terminal channel of STA1 is triggered. STA2 can obtain SSID and RSSI information of three wireless access points of AP1, AP2 and AP3 because of a long distance, but if actively accessing, a weak signal and even a dropped line will occur. Taking STA1 as an example, the device will preferentially select AP1 as a target to connect according to the rank of the ToF value, and after confirmation, will send a Probe Req (Probe Req characterizes a Probe request signal) to a designated network AP, where the Probe request signal carries SSID information of AP1 to indicate that AP1 is to be added, so as to complete subsequent network access connection.
The specific terminal STA and gateway device AP will enter the following three phases until the connection is finally completed:
authentication:
After the STA sends the authentication request, the gateway device AP1 replies with a challenge plaintext (CHALLENGE TEXT).
The STA encrypts the challenge plaintext using a preset key and then transmits to the AP1.
The AP1 decrypts the received information by using the secret key, compares the challenge plaintext after success, and returns a success response message to the STA if the challenge plaintext is consistent, so that authentication is successful.
And (3) an association stage:
Gateway device AP1, after receiving the association request (Assoc Req) frame, finally confirms whether the STA's listening interval (LISTEN INTERVAL) itself is acceptable, whether the capability information matches, if everything is normal, replies to the association response (Assoc Rsp) frame, carrying AID (Association ID) and association success (success) information.
And (3) a connection stage:
after receiving the association success information, the STA successfully establishes a connection with the WiFi of the AP 1.
The WiFi module of the STA enters the next passive listening period.
In the embodiment of the application scene, the defect of inaccurate judgment due to low precision of the AP selection through the RSSI is overcome by combining UWB high-precision ranging. Because the WiFi is always in a silence state before the UWB gives the AP suggestion, the problem of unstable connection such as automatic disconnection and the like caused by inaccurate RSSI judgment can be avoided, and once the available AP with the nearest distance is confirmed, the channel scanning and authentication process can be rapidly carried out, the AP switching time is greatly saved, and the user experience is improved. The UWB data frame structure is difficult to imitate at present, the security is very high, and the phenomenon that a pseudo AP interferes with a connection fake hot spot to prolong the AP switching time and influence the user experience can be prevented. Through can combine other built-in UWB wearable consumer electronics equipment to realize more scene interactions behind the built-in UWB module of AP, application scope is wider. The method effectively combines the IEEE 802.1x protocol and the 802.15.4z protocol, and exerts greater expansibility and flexibility on the protocol and the communication network.
In an embodiment of the present application, there is further provided a target terminal, referring to fig. 4, where the target terminal may include:
a first establishing unit 401, configured to establish a first communication connection with at least one gateway device based on a first communication mode in response to receiving a broadcast message of the at least one gateway device;
A receiving unit 402, configured to receive relative distance information between the target terminal corresponding to the first communication connection and a corresponding gateway device, where the relative distance information is sent by at least one gateway device;
a first determining unit 403, configured to determine a target gateway device based on the relative distance information;
A second establishing unit 404, configured to establish a second communication connection with the target gateway device based on a second communication mode;
The first communication mode is different from the second communication mode, and a first positioning accuracy of the first communication mode is higher than a second positioning accuracy of the second communication mode.
Optionally, the first determining unit includes:
A first obtaining subunit, configured to sort each gateway device based on the relative distance information, so as to obtain a first gateway device set that meets a relative distance condition, where the first gateway device set includes at least one gateway device;
the second acquisition subunit is used for triggering a second channel scanning corresponding to a second communication mode to acquire the signal state of each gateway device in the first gateway device set;
a first determining subunit, configured to determine a target gateway device based on the signal status.
Optionally, the first determining unit further includes:
a triggering subunit, configured to trigger a second channel corresponding to the second communication mode to perform second channel scanning in response to receiving the relative distance information between the target terminal and the corresponding gateway device;
A third obtaining subunit, configured to obtain a candidate gateway device based on a scanning result of the second channel scanning;
and the second determining subunit is used for determining the target gateway equipment based on the relative distance information between the candidate gateway equipment and the target terminal.
Optionally, the trigger subunit is configured to:
Generating a target communication data frame according to the relative distance information between the target terminal and the corresponding gateway equipment and the terminal configuration information of the target terminal;
generating a channel scanning instruction based on the target communication data frame;
and triggering a second channel corresponding to the second communication mode based on the channel scanning instruction, and performing second channel scanning.
Optionally, the method further comprises:
a redetermining unit, configured to redetermine, by using the first communication mode, relative distance information between a target terminal and each gateway device if it is detected that communication data connected to a second communication of the target gateway device does not meet a target communication condition;
a second determining unit configured to determine whether a switchable target gateway device exists based on the relative distance information;
A third establishing unit, configured to establish, if a switchable target gateway device exists, a second communication connection with the switchable target gateway device through the second communication mode.
Optionally, the detecting that the communication data of the second communication connection with the target gateway device does not meet the target communication condition includes:
Detecting that the position information of the target terminal is changed;
and/or a signal state corresponding to the transmission signal of the target gateway device is changed in the second communication mode.
Correspondingly, in the embodiment of the present application, there is also provided a gateway device, including:
The first sending unit is used for sending the broadcast message to the target terminal and establishing a first communication connection with the target terminal based on a first communication mode;
a distance determining unit configured to determine relative distance information with the target terminal based on the first communication connection;
A second sending unit, configured to send the relative distance information to the target terminal, so that the target terminal determines a target gateway device to be accessed based on the relative distance information;
The establishing unit is used for establishing second communication connection with the target terminal if the network access request sent by the target terminal based on the second communication mode is received;
wherein the first communication mode is different from the second communication mode.
Optionally, the second transmitting unit is configured to:
Generating target data according to the attribute information of the gateway equipment and the relative distance information according to a target information packaging format;
And sending the target data to the target terminal.
It should be noted that, in this embodiment, specific implementations of each unit and sub-unit of the target terminal and the gateway device may refer to corresponding content in the foregoing, which is not described in detail herein.
In another embodiment of the present application, there is also provided a communication system including the target terminal as set forth in any one of the above and the gateway device as set forth in any one of the above.
In another embodiment of the present application, there is also provided a readable storage medium having stored thereon a computer program which, when executed by a processor, implements a communication method as set forth in any of the above.
It should be noted that, the specific implementation of the processor in this embodiment may refer to the corresponding content in the foregoing, which is not described in detail herein.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A communication method applied to a target terminal, the communication method comprising:
establishing a first communication connection with at least one gateway device based on a first communication mode in response to receiving a broadcast message of the at least one gateway device;
receiving relative distance information between the target terminal corresponding to the first communication connection and the corresponding gateway equipment, which is sent by at least one gateway equipment;
Determining a target gateway device based on the relative distance information;
establishing a second communication connection with the target gateway device based on a second communication mode;
wherein the first communication mode is different from the second communication mode.
2. The method of claim 1, the determining a target gateway device based on the relative distance information, comprising:
Ordering all gateway devices based on the relative distance information to obtain a first gateway device set meeting the relative distance condition, wherein the first gateway device set comprises at least one gateway device;
Triggering a second channel scanning corresponding to a second communication mode to obtain the signal state of each gateway device in the first gateway device set;
and determining the target gateway equipment based on the signal state.
3. The method of claim 1, the determining a target gateway device based on the relative distance information, comprising:
Triggering a second channel corresponding to the second communication mode to perform second channel scanning in response to receiving the relative distance information of the target terminal and the corresponding gateway equipment;
obtaining candidate gateway equipment based on a scanning result of the second channel scanning;
And determining the target gateway equipment based on the relative distance information between the candidate gateway equipment and the target terminal.
4. The method of claim 2, the triggering a second channel corresponding to the second communication mode, performing a second channel scan, comprising:
Generating a target communication data frame according to the relative distance information between the target terminal and the corresponding gateway equipment and the terminal configuration information of the target terminal;
generating a channel scanning instruction based on the target communication data frame;
and triggering a second channel corresponding to the second communication mode based on the channel scanning instruction, and performing second channel scanning.
5. The method of claim 1, further comprising:
If the communication data connected with the second communication of the target gateway equipment is detected to not meet the target communication condition, determining the relative distance information between the target terminal and each gateway equipment again by utilizing the first communication mode;
Determining whether a switchable target gateway device exists based on the relative distance information;
and if the switchable target gateway device exists, establishing a second communication connection with the switchable target gateway device through the second communication mode.
6. The method of claim 5, the detecting that communication data of a second communication connection with the target gateway device does not satisfy a target communication condition, comprising:
Detecting that the position information of the target terminal is changed;
and/or a signal state corresponding to the transmission signal of the target gateway device is changed in the second communication mode.
7. A communication method applied to a gateway device, comprising:
Transmitting a broadcast message to a target terminal, and establishing a first communication connection with the target terminal based on a first communication mode;
determining relative distance information to the target terminal based on the first communication connection;
transmitting the relative distance information to the target terminal, so that the target terminal determines target gateway equipment to be accessed based on the relative distance information;
if a network access request sent by the target terminal based on a second communication mode is received, establishing second communication connection with the target terminal;
wherein the first communication mode is different from the second communication mode.
8. The method of claim 7, the sending the relative distance information to the target terminal, comprising:
Generating target data according to the attribute information of the gateway equipment and the relative distance information according to a target information packaging format;
And sending the target data to the target terminal.
9. A target terminal, comprising:
A first establishing unit, configured to establish a first communication connection with at least one gateway device based on a first communication mode in response to receiving a broadcast message of the at least one gateway device;
A receiving unit, configured to receive relative distance information between the target terminal corresponding to the first communication connection and a corresponding gateway device, where the relative distance information is sent by at least one gateway device;
A first determining unit configured to determine a target gateway device based on the relative distance information;
a second establishing unit, configured to establish a second communication connection with the target gateway device based on a second communication mode;
The first communication mode is different from the second communication mode, and a first positioning accuracy of the first communication mode is higher than a second positioning accuracy of the second communication mode.
10. A communication system, comprising:
the target terminal of claim 9;
and a gateway device for performing the communication method according to any one of claims 7 to 8.
CN202410363597.XA 2024-03-27 2024-03-27 Communication method, target terminal and communication system Pending CN118055522A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410363597.XA CN118055522A (en) 2024-03-27 2024-03-27 Communication method, target terminal and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410363597.XA CN118055522A (en) 2024-03-27 2024-03-27 Communication method, target terminal and communication system

Publications (1)

Publication Number Publication Date
CN118055522A true CN118055522A (en) 2024-05-17

Family

ID=91050458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410363597.XA Pending CN118055522A (en) 2024-03-27 2024-03-27 Communication method, target terminal and communication system

Country Status (1)

Country Link
CN (1) CN118055522A (en)

Similar Documents

Publication Publication Date Title
US10448424B2 (en) Method and apparatus for use of simultaneous multiple channels in the dynamic frequency selection band in wireless networks
KR101249102B1 (en) Ad hoc network initiation method and apparatus
US9042829B2 (en) Method, apparatus, and computer program product for wireless short-range communication
EP2672764B1 (en) Method, apparatus, and computer program product for wireless short-range communication disconnection
RU2591172C2 (en) Method, apparatus and computer program product for exchange of probing requests and responses to probing requests
KR101736953B1 (en) Dedicated channel for fast initial link setup in a wireless network
US10104665B2 (en) Method and apparatus for providing dynamic frequency selection spectrum access in peer-to-peer wireless networks
KR101521095B1 (en) Method and system for controlling wireless communication channel
CN111989585A (en) Relative positioning method, terminal, base station, communication device and storage medium
WO2007018864A2 (en) Coverage enhancement using dynamic antennas
WO2017206102A1 (en) Method and device for channel contention
EP1864440A2 (en) Wireless local area network scan based on location
US20100113042A1 (en) Wireless network discovery
US9877328B2 (en) Method, apparatus, and computer program product for efficient use of frequency bands and channels in wireless environment
KR20150046527A (en) Apparatus and method for handover in wireless communication system
WO2015163013A1 (en) Wireless communication device, wireless communication method, and wireless communication system
US11632716B2 (en) Wireless communication method used in wireless communication device and wireless communication device
CN118055522A (en) Communication method, target terminal and communication system
WO2023004591A1 (en) Method, apparatus, and device for location acquisition, medium, chip, product, and program
KR102617098B1 (en) Method and apparatus for positioning mobile station using wireless communications
CN114747247A (en) Electronic device, wireless communication method, and computer-readable storage medium
CN116233942A (en) Peer-assisted out-of-band discovery for single-band wireless access points
CN117528444A (en) Communication perception method and device
CN115039430A (en) Beam scanning method, device, communication equipment and storage medium
CN117440452A (en) Switching method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination