CN111988774B - Communication method and device of beacon frame in communication network - Google Patents

Communication method and device of beacon frame in communication network Download PDF

Info

Publication number
CN111988774B
CN111988774B CN201910662823.3A CN201910662823A CN111988774B CN 111988774 B CN111988774 B CN 111988774B CN 201910662823 A CN201910662823 A CN 201910662823A CN 111988774 B CN111988774 B CN 111988774B
Authority
CN
China
Prior art keywords
beacon frame
information
base station
request message
channel parameter
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.)
Active
Application number
CN201910662823.3A
Other languages
Chinese (zh)
Other versions
CN111988774A (en
Inventor
陶震
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202310699349.8A priority Critical patent/CN116723496A/en
Priority to CN202310699504.6A priority patent/CN116723497A/en
Publication of CN111988774A publication Critical patent/CN111988774A/en
Application granted granted Critical
Publication of CN111988774B publication Critical patent/CN111988774B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/14Mobility data transfer between corresponding nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes

Abstract

The embodiment of the application provides a communication method of a beacon frame in a communication network, which comprises the following steps: receiving a first request message sent by a terminal, wherein the first request message comprises beacon frame channel query information; determining a home base station corresponding to the terminal and a beacon frame channel parameter set corresponding to the home base station according to the first request message; and sending a first response message corresponding to the first request message to the terminal, wherein the first response message comprises a beacon frame channel parameter set, and the beacon frame channel parameter is used for enabling the terminal to receive a beacon frame sent by the home base station according to the beacon frame channel parameter set. By the embodiment of the application, the receiving and transmitting of the beacon frames are independent of the time synchronization of the base stations, and the fact that the terminal is informed of the current attributive base station information under the condition that the adjacent base stations do not perform the time synchronization is guaranteed, so that the beacon frames between the adjacent base stations cannot frequently collide and interfere, and the terminal cannot be misled by the beacon frames sent by other base stations.

Description

Communication method and device of beacon frame in communication network
Technical Field
The present disclosure relates to the field of internet of things, and in particular, to a method and an apparatus for communication of a beacon frame in a communication network.
Background
The internet of things technology is a third information technology revolution following a computer and the internet, has the advantages of instantaneity, interactivity and the like, and has been widely applied to multiple fields of city management, digital home, positioning navigation, logistics management, security system and the like. The LoRa is an ultra-long distance transmission scheme based on a spread spectrum technology in the Internet of things, and has the characteristics of long transmission distance, low power consumption, multiple nodes, low cost and the like.
At present, a LoRa network generally comprises a terminal, base stations and a server, but strict time synchronization is required among the base stations when the LoRa network is deployed, otherwise, the sending time of beacon frames sent by each base station cannot be controlled, the clock of the terminal can be misled by inaccurate beacon frames, and the terminal cannot normally work in a Class B mode, namely, the beacon frame sending and receiving depend on the time synchronization of the base stations.
Disclosure of Invention
In view of the above, it is proposed to provide a communication method and apparatus of a beacon frame in a communication network, which overcomes or at least partially solves the above-mentioned problems, comprising:
a method of communication of beacon frames in a communication network, the method comprising:
the network server receives a first request message sent by a terminal, wherein the first request message comprises beacon frame channel query information, and the first request message is forwarded by one or more base stations;
The network server determines a home base station corresponding to the terminal and a beacon frame channel parameter set corresponding to the home base station according to the first request message;
the network server sends a first response message corresponding to the first request message to the terminal, wherein the first response message comprises a beacon frame channel parameter set, the beacon frame channel parameter is used for enabling the terminal to receive a beacon frame sent by the home base station according to the beacon frame channel parameter set, and the first response message is forwarded by the one or more base stations.
Optionally, the method further comprises:
the network server acquires synchronization state information corresponding to one or more base stations, wherein the synchronization state information comprises first indication information of whether absolute time is acquired or not and/or second indication information of whether time synchronization is acquired with other base stations or not;
the network server respectively determines beacon frame channel parameter sets corresponding to the one or more base stations according to the synchronization state information;
the network server transmits corresponding sets of beacon frame channel parameters to the one or more base stations.
Optionally, the beacon frame channel parameter set includes one or more of:
Time point information, channel frequency information, bandwidth information, modulation scheme information, spreading factor information, preamble information, data format information, and power information are received.
Optionally, the beacon frame includes:
the first identification information corresponding to the home base station;
and/or second identification information corresponding to the network where the home base station is located.
Optionally, the beacon frame further includes:
version information.
Optionally, after the network server sends a first response message corresponding to the first request message to the terminal, the method further includes:
the network server sends a first data frame to the terminal;
if the transmission starting time point of the first data frame is smaller than the transmission ending time point of the beacon frame, the transmission time point of the first data frame is the preset time point of the first data frame transmission minus the transmission time of the beacon frame;
a method of communication of beacon frames in a communication network, the method comprising:
the network server acquires synchronization state information corresponding to one or more base stations, wherein the synchronization state information comprises first indication information of whether absolute time is acquired or not and/or second indication information of whether time synchronization is acquired with other base stations or not;
The network server respectively determines beacon frame channel parameter sets corresponding to the one or more base stations according to the synchronization state information;
the network server transmits corresponding sets of beacon frame channel parameters to the one or more base stations.
A method of communication of beacon frames in a communication network, the method comprising:
the terminal sends a first request message to a network server, wherein the first request message comprises beacon frame channel query information, and the first request message is forwarded by one or more base stations;
the terminal receives a first response message corresponding to the first request message sent by the network server, wherein the first response message comprises a beacon frame channel parameter set, and the beacon frame channel parameter set is that the network server determines a home base station corresponding to the terminal and a beacon frame channel parameter set corresponding to the home base station according to the first request message, and the first response message is forwarded by one or more base stations;
and the terminal receives the beacon frame sent by the home base station according to the beacon frame channel parameter set.
A method of communication of beacon frames in a communication network, the method comprising:
One or more base stations receive a first request message sent by a terminal and forward the first request message to a network server, wherein the first request message comprises beacon frame channel query information;
the one or more base stations receive a first response message corresponding to the first request message sent by the network server, and forward the first request message to the terminal, wherein the first response message comprises a beacon frame channel parameter set, the beacon frame channel parameter set is a beacon frame channel parameter set corresponding to a home base station corresponding to the terminal and the home base station according to the first request message, and the beacon frame channel parameter is used for enabling the terminal to receive a beacon frame sent by the home base station according to the beacon frame channel parameter set.
A method of communication of beacon frames in a communication network, the method comprising:
one or more base stations send synchronization status information to a network server, wherein the synchronization status information comprises first indication information of whether absolute time is obtained and/or second indication information of whether time synchronization is obtained with other base stations;
the one or more base stations receive the beacon frame channel parameter sets corresponding to the network server and send, and the beacon frame channel parameter sets are respectively determined by the network server according to the synchronization state information.
A method of communicating beacon frames in a communication network, the method comprising:
the network server receives a first request message sent by a terminal, wherein the first request message comprises beacon frame channel query information, and the first request message is forwarded by one or more base stations;
the network server determines a home base station corresponding to the terminal and a beacon frame channel parameter set corresponding to the home base station according to the first request message;
the network server sends a first response message corresponding to the first request message to the terminal, wherein the first response message comprises a beacon frame channel parameter set, the beacon frame channel parameter is used for enabling the terminal to receive a beacon frame sent by the home base station according to the beacon frame channel parameter set, and the first response message is forwarded by one or more base stations;
the network server sends a first data frame to the terminal;
if the transmission starting time point of the first data frame is smaller than the transmission ending time point of the beacon frame, the transmission time point of the first data frame is the preset time point of the first data frame transmission minus the transmission time of the beacon frame.
A communication device of a beacon frame in a communication network, the device comprising:
a first request message receiving module, configured to receive a first request message sent by a terminal, where the first request message includes beacon frame channel query information, and the first request message is forwarded by one or more base stations;
the beacon frame channel parameter set determining module is used for determining a home base station corresponding to the terminal and a beacon frame channel parameter set corresponding to the home base station according to the first request message;
the first response message sending module is configured to send a first response message corresponding to the first request message to the terminal, where the first response message includes a beacon frame channel parameter set, and the beacon frame channel parameter is used to enable the terminal to receive a beacon frame sent by the home base station according to the beacon frame channel parameter set, and the first response message is forwarded by the one or more base stations.
Optionally, the apparatus further comprises:
the base station state information acquisition module is used for acquiring the synchronous state information corresponding to the one or more base stations, wherein the synchronous state information comprises first indication information for acquiring absolute time or not and/or second indication information for acquiring time synchronization with other base stations or not;
A base station channel parameter set determining module, configured to determine beacon frame channel parameter sets corresponding to the one or more base stations according to the synchronization status information;
and the base station channel parameter set sending module is used for sending the corresponding beacon frame channel parameter set to the one or more base stations.
Optionally, the beacon frame channel parameter set includes one or more of:
time point information, channel frequency information, bandwidth information, modulation scheme information, spreading factor information, preamble information, data format information, and power information are received.
Optionally, the beacon frame includes:
the first identification information corresponding to the home base station;
and/or second identification information corresponding to the network where the home base station is located.
Optionally, the beacon frame further includes:
version information.
A communication device of a beacon frame in a communication network, the device comprising:
the base station state information acquisition module is used for acquiring synchronous state information corresponding to one or more base stations, wherein the synchronous state information comprises first indication information for acquiring absolute time or not and/or second indication information for acquiring time synchronization with other base stations or not;
a base station channel parameter set determining module, configured to determine beacon frame channel parameter sets corresponding to the one or more base stations according to the synchronization status information;
And the base station channel parameter set module is used for sending the corresponding beacon frame channel parameter set to the one or more base stations.
A communication device of a beacon frame in a communication network, the device comprising:
a first request message sending module, configured to send a first request message to a network server, where the first request message includes beacon frame channel query information, and the first request message is forwarded by one or more base stations;
a first response message receiving module, configured to receive a first response message corresponding to the first request message sent by the network server, where the first response message includes a beacon frame channel parameter set, where the beacon frame channel parameter set is determined by the network server according to the first request message, where the first response message is forwarded by the one or more base stations, and the home base station corresponding to the terminal and the beacon frame channel parameter set corresponding to the home base station;
and the beacon frame receiving module is used for receiving the beacon frame sent by the home base station according to the beacon frame channel parameter set.
A communication device of a beacon frame in a communication network, the device comprising:
the first request message forwarding module is used for receiving a first request message sent by a terminal and forwarding the first request message to the network server, wherein the first request message comprises beacon frame channel query information;
The first response message forwarding module is configured to receive a first response message corresponding to the first request message sent by the network server, and forward the first request message to the terminal, where the first response message includes a beacon frame channel parameter set, and the beacon frame channel parameter set is a beacon frame channel parameter set corresponding to a home base station and to the home base station, where the network server determines, according to the first request message, a home base station corresponding to the terminal, and the beacon frame channel parameter is configured to enable the terminal to receive a beacon frame sent by the home base station according to the beacon frame channel parameter set.
A communication device of a beacon frame in a communication network, the device comprising:
the base station state information sending module is used for sending synchronous state information to the network server, wherein the synchronous state information comprises first indication information for obtaining absolute time and/or second indication information for obtaining time synchronization with other base stations;
and the base station channel parameter set receiving module is used for receiving the beacon frame channel parameter set corresponding to the transmission of the network server, wherein the beacon frame channel parameter set is the beacon frame channel parameter set corresponding to the one or more base stations respectively determined by the network server according to the synchronization state information.
A method of base station synchronization, the method comprising:
the network server sends a second request message to the terminal through the first base station, wherein the second request message comprises a synchronization start identifier, and the second request message is used for requesting the terminal to send a time synchronization message to the network server through the first base station and at least one second base station;
the network server receives a second response message corresponding to a second request message sent by the terminal through the first base station and the at least one second base station, wherein the second response message is used for enabling the network server to process time synchronization of the first base station and the at least one second base station;
and the network server receives the time synchronization message sent by the terminal through the first base station and the at least one second base station, wherein the time synchronization message is used for enabling the network server to process the time synchronization of the base stations.
Optionally, the method further comprises:
the second request message comprises synchronization frequency information, wherein the synchronization frequency information is used for indicating the frequency of time synchronization information required to be sent by the terminal;
optionally, the method further comprises:
The second request message comprises synchronization interval information, and the synchronization times information is used for indicating an interval of time synchronization information required to be sent by the terminal;
optionally, the method further comprises:
the second request message comprises synchronous task sequence number information, and the synchronous task sequence number information is used for indicating a synchronous task sequence number triggered by the second request message of the network server;
optionally, the method further comprises:
the second response message comprises synchronous task sequence number information, and the synchronous task sequence number information is used for indicating the synchronous task sequence number to which the second response message belongs to the network server;
optionally, the method further comprises:
the second response message comprises synchronous message sequence number information, and the synchronous message sequence number information is used for indicating a synchronous message sequence number corresponding to the second response message of the network server;
optionally, the method further comprises:
the second response message comprises synchronization confirmation information, wherein the synchronization confirmation information is used for indicating the state of the time synchronization message of the network server;
a method of base station synchronization, the method comprising:
the terminal receives a second request message sent by a network server through the first base station, wherein the second request message comprises a synchronization start identifier, and the second request message is used for requesting the terminal to send a time synchronization message to the network server through the first base station and at least one second base station;
The terminal sends a second response message corresponding to a second request message to the network server through the first base station and the at least one second base station, wherein the second response message is used for enabling the network server to process time synchronization of the base stations;
the terminal sends the time synchronization message to the network server through the first base station and the at least one second base station, wherein the time synchronization message is used for enabling the network server to process time synchronization of the base stations.
Optionally, the method further comprises:
the second request message comprises synchronization frequency information, wherein the synchronization frequency information is used for indicating the frequency of time synchronization information required to be sent by the terminal;
optionally, the method further comprises:
the second request message comprises synchronization interval information, and the synchronization times information is used for indicating an interval of time synchronization information required to be sent by the terminal;
optionally, the method further comprises:
the second request message comprises synchronous task sequence number information, and the synchronous task sequence number information is used for indicating a synchronous task sequence number triggered by the second request message of the network server;
Optionally, the method further comprises:
the second response message comprises synchronous task sequence number information, and the synchronous task sequence number information is used for indicating the synchronous task sequence number to which the second response message belongs to the network server;
optionally, the method further comprises:
the second response message comprises synchronous message sequence number information, and the synchronous message sequence number information is used for indicating a synchronous message sequence number corresponding to the second response message of the network server;
optionally, the method further comprises:
the second response message comprises synchronization confirmation information, wherein the synchronization confirmation information is used for indicating the state of the time synchronization message of the network server;
an electronic device comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, which when executed by the processor performs the steps of a method of communication of beacon frames in a communication network as described above.
A computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of a method of communication of beacon frames in a communication network as described above.
The embodiment of the application has the following advantages:
in the embodiment of the application, the first request message sent by the terminal is received through the network server, the first request message comprises beacon frame channel query information, then the home base station corresponding to the terminal and the beacon frame channel parameter set corresponding to the home base station are determined according to the first request message, the first response message corresponding to the first request message is sent to the terminal, and the first response message comprises the beacon frame channel parameter set, so that the terminal receives the beacon frame sent by the home base station according to the beacon frame channel parameter set, the time synchronization of the beacon frames is realized, the fact that the receiving and sending of the beacon frames do not depend on the time synchronization of the base stations is realized, the terminal is informed of the information of the currently home base station under the condition that the time synchronization of the adjacent base stations is not carried out, the beacon frames between the adjacent base stations cannot frequently collide and interfere, and the terminal cannot be misled by the beacon frames sent by other base stations.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings that are needed in the description of the present application will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is a flowchart of steps in a method for communication of a beacon frame in a communication network according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating steps of a method for communicating beacon frames in another communication network according to one embodiment of the present application;
FIG. 3 is a flowchart illustrating steps of a method for communication of beacon frames in another communication network according to an embodiment of the present application;
fig. 4 is a flowchart illustrating steps of a method for communicating a beacon frame in another communication network according to an embodiment of the present application;
fig. 5 is a flowchart illustrating steps of a method for communicating a beacon frame in another communication network according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a communication device of a beacon frame in a communication network according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a communication device of a beacon frame in another communication network according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a communication device of a beacon frame in another communication network according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a communication device of a beacon frame in another communication network according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a communication device of a beacon frame in another communication network according to an embodiment of the present application;
Fig. 11 is a flowchart of steps in a method for base station synchronization according to an embodiment of the present application;
fig. 12 is a flowchart of steps of another method for synchronizing base stations according to an embodiment of the present application.
Fig. 13 is a diagram of pulse slot allocation under random beacon frame transmission.
Fig. 14 is a flowchart illustrating steps of a method for communicating a beacon frame in another communication network according to an embodiment of the present application.
Detailed Description
In order that the above-recited objects, features and advantages of the present application will become more readily apparent, a more particular description of the invention briefly described above will be rendered by reference to specific embodiments that are illustrated in the appended drawings. It will be apparent that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Referring to fig. 1, a flowchart illustrating steps of a method for communication of a beacon frame in a communication network according to an embodiment of the present application may specifically include the following steps:
step 101, the network server receives a first request message sent by the terminal, wherein the first request message comprises beacon frame channel query information, and the first request message is forwarded by one or more base stations;
The network server may be a LoRa network server, the terminal may be a LoRa terminal, and the base station may be a gateway in a LoRa network.
The first request message may be a beacon frame channel information query request message, which may be a medium access control (Media Access Control, MAC) instruction, which may include a beacon frame channel query indication identifier.
In the case that each neighboring base station does not perform time synchronization, the terminal may transmit a beacon frame channel information inquiry request MAC instruction, which may be transmitted to the network server via one base station or may be transmitted to the network server via a plurality of base stations.
Step 102, the network server determines a home base station corresponding to the terminal and a beacon frame channel parameter set corresponding to the home base station according to the first request message;
the home base station may be a base station corresponding to the terminal to receive the beacon frame. For example, after one base station is deployed in one home, all terminals in the home only receive the beacon frame sent by the base station.
As an example, the beacon frame channel parameter set may include one or more of the following:
Time point information, channel frequency information, bandwidth information, modulation scheme information, spreading factor information, preamble information, data format information, and power information are received.
The receiving time point information is time point information of the beacon frame sent by the home base station, the channel frequency is channel frequency used by the terminal for receiving the beacon frame sent by the home base station, the bandwidth information is bandwidth required by the terminal for receiving the beacon frame sent by the home base station, the modulation mode information is modulation mode required by the terminal for receiving the beacon frame sent by the home base station, the spreading factor is preamble code required by the terminal for receiving the beacon frame sent by the home base station, the value of preamble code length and synchronization word, the data format information is data format required by the terminal for receiving the beacon frame sent by the home base station, and the power information is power required by the terminal for receiving the beacon frame sent by the home base station.
For example, the generation process of the reception time point information is as follows:
1、Key=16x 0x00;
2. rand=ae128_encrypt (Key, beamontime|base station flag sequence number|pad 16);
3. reception time point= (Rand [0] +rand [1] x 256) modulo pingPeriod + current ping period start time point.
Specifically, after receiving the first request message, the network server may determine, according to the first request message, a home base station corresponding to the terminal, and may determine a beacon frame channel parameter set corresponding to the home base station.
Step 103, the network server sends a first response message corresponding to the first request message to the terminal, where the first response message includes a beacon frame channel parameter set, and the beacon frame channel parameter is used to enable the terminal to receive a beacon frame sent by the home base station according to the target channel parameter. The first reply message is forwarded by the one or more base stations.
Wherein the first reply message is a beacon frame channel information inquiry reply message, which may be a medium access control (Media Access Control, MAC) instruction.
The beacon frame channel information inquiry response MAC instruction may include one or more of reception time point information, channel frequency information, bandwidth information, modulation mode information, spreading factor information, preamble information, data format information, and power information.
Specifically, the network server may send the beacon frame channel information inquiry response MAC instruction to the terminal via one base station (including the home base station), where the terminal receives the beacon frame sent by the home base station according to the beacon frame channel information inquiry response MAC instruction, and the time points of sending the beacon frame by each base station are randomly distributed in a period, that is, the terminal node is informed by the network of the current home base station information, and enters the Class B mode.
The beacon frame may include first identification information corresponding to the home base station, where the first identification information may be a unique identifier (Gateway Extended Unique Identifier, gateway eui) extended by the base station.
In an example, the beacon frame may also include second identification information corresponding to a network in which the home base station is located, and the beacon frame may also include version information.
In an embodiment of the present application, the method further includes:
the network server acquires synchronization state information corresponding to one or more base stations, wherein the synchronization state information comprises first indication information of whether absolute time is acquired or not and/or second indication information of whether time synchronization is acquired with other base stations or not; the network server respectively determines beacon frame channel parameter sets corresponding to the one or more base stations according to the synchronization state information; the network server transmits corresponding sets of beacon frame channel parameters to the one or more base stations.
Specifically, the network server may obtain synchronization status information corresponding to one or more base stations, for example, whether the current base station obtains accurate absolute time, whether the current base station obtains time synchronization with other base stations, and then may determine beacon frame channel parameter sets corresponding to one or more base stations according to the synchronization status information, and send the corresponding beacon frame channel parameter sets to one or more base stations, so as to implement allocation of the beacon frame channel parameter sets.
In an embodiment of the present application, the method further includes:
the network server sends a first data frame to the terminal;
if the transmission starting time point of the first data frame is smaller than the transmission ending time point of the beacon frame, the transmission time point of the first data frame is the preset time point of the first data frame transmission minus the transmission time of the beacon frame;
specifically, the first data frame may be a downlink data frame. The preset time point of the first data frame transmission is as follows:
Key=16x 0x00;
rand=ae128_encrypt (Key, beamontime|base station flag sequence number|pad 16);
a preset time point= (Rand [0] +rand [1] x 256) modulo pingPeriod of the first data frame transmission
When the transmission time of the beacon frame changes randomly, the transmission time of the downlink data frame transmitted on some pulse time slots is correspondingly adjusted. When the transmission time of the downlink data frame on a certain pulse time slot is smaller than the time point when the transmission of the beacon frame is finished, the original transmission time of the downlink data frame is affected by the transmission time of the beacon frame. Therefore, the transmission time of the downlink data frame needs to be adjusted. As shown in fig. 13, the method of adjustment is to advance the transmission time of the downlink data frame by one beacon frame transmission time length. Optionally, in order to ensure that the time point of the beacon frame transmission and the last previous downlink data frame transmission end time point do not collide. The adjustment method of the downlink data frame transmission time point may be to advance the transmission time of the downlink data frame by a first time length. The first time length is the transmission duration of the beacon frame plus one guard slot. The guard slot may be a time interval of less than 10 ms. Taking fig. 13 as an example, the terminal and the network server detect that the start time point of the pulse slot 1,2,3 falls after the end time point of the beacon frame, and therefore, the terminal and the network server advance the start time point of the pulse slot 1,2,3 by one beacon frame duration. While the transmit or receive time points of the pulse slots 4,5 are unchanged.
By dynamically modifying the sending time point of part of the downlink data frames, the conflict between the sending time of the downlink data frames and the sending time of the beacon frames can be effectively avoided, and the network transmission efficiency is improved.
In the embodiment of the application, the first request message sent by the terminal is received through the network server, the first request message comprises beacon frame channel query information, then the home base station corresponding to the terminal and the beacon frame channel parameter set corresponding to the home base station are determined according to the first request message, the first response message corresponding to the first request message is sent to the terminal, and the first response message comprises the beacon frame channel parameter set, so that the terminal receives the beacon frame sent by the home base station according to the beacon frame channel parameter set, the time synchronization of the beacon frames is realized, the fact that the receiving and sending of the beacon frames do not depend on the time synchronization of the base stations is realized, the terminal is informed of the information of the currently home base station under the condition that the time synchronization of the adjacent base stations is not carried out, the beacon frames between the adjacent base stations cannot frequently collide and interfere, and the terminal cannot be misled by the beacon frames sent by other base stations.
Referring to fig. 2, a flowchart illustrating steps of a method for communication of a beacon frame in another communication network according to an embodiment of the present application may specifically include the following steps:
Step 201, a network server acquires synchronization status information corresponding to one or more base stations, wherein the synchronization status information includes first indication information of whether absolute time is acquired and/or second indication information of whether time synchronization is acquired with other base stations;
step 202, the network server determines beacon frame channel parameter sets corresponding to the one or more base stations according to the synchronization status information;
step 203, the network server transmits corresponding beacon frame channel parameter sets to the one or more base stations.
In the embodiment of the application, the synchronization state information corresponding to one or more base stations is acquired through the network server, the synchronization state information comprises first indication information of whether absolute time is acquired and/or second indication information of whether time synchronization is acquired with other base stations, then the beacon frame channel parameter sets corresponding to one or more base stations are respectively determined according to the synchronization state information, and further the corresponding beacon frame channel parameter sets are sent to one or more base stations, so that the allocation of the beacon frame channel parameter sets is realized, and further the fact that the terminal is informed of the base station information to which the terminal belongs currently under the condition that the adjacent base stations do not perform time synchronization is guaranteed, so that the beacon frame receiving and transmitting do not depend on the time synchronization of the base stations.
Referring to fig. 3, a flowchart illustrating steps of a method for communication of a beacon frame in another communication network according to an embodiment of the present application may specifically include the following steps:
step 301, a terminal sends a first request message to a network server, wherein the first request message comprises beacon frame channel query information, and the first request message is forwarded by one or more base stations;
step 302, the terminal receives a first response message corresponding to the first request message sent by the network server, where the first response message includes a beacon frame channel parameter set, and the beacon frame channel parameter set is determined by the network server according to the first request message, where the first response message is forwarded by the one or more base stations, and the home base station corresponding to the terminal and the beacon frame channel parameter set corresponding to the home base station;
step 303, the terminal receives the beacon frame sent by the home base station according to the beacon frame channel parameter set.
In the embodiment of the application, a first request message is sent to a network server through a terminal, the first request message comprises beacon frame channel query information, the first request message is forwarded by one or more base stations, then the network server is received to send a first response message corresponding to the first request message, the first response message comprises a beacon frame channel parameter set, the beacon frame channel parameter set is a beacon frame channel parameter set corresponding to a home base station and a terminal according to the first request message, the network server determines the home base station corresponding to the terminal and the beacon frame channel parameter set corresponding to the home base station, and the first response message is forwarded by one or more base stations, so that the terminal receives a beacon frame sent by the home base station according to the beacon frame channel parameter set, the allocation of the beacon frame channel parameter set is realized, and further, the terminal is informed of the current home base station information under the condition that adjacent base stations do not perform time synchronization, so that the beacon frame receiving and transmitting are independent of the time synchronization of the base stations.
Referring to fig. 4, a flowchart illustrating steps of a method for communication of a beacon frame in another communication network according to an embodiment of the present application may specifically include the following steps:
step 401, one or more base stations receive a first request message sent by a terminal, and forward the first request message to a network server, where the first request message includes beacon frame channel query information;
step 402, the one or more base stations receive a first response message corresponding to the first request message sent by the network server, and forward the first request message to the terminal, where the first response message includes a beacon frame channel parameter set, and the beacon frame channel parameter set is a beacon frame channel parameter set corresponding to the home base station and used for enabling the terminal to receive a beacon frame sent by the home base station according to the beacon frame channel parameter set.
In the embodiment of the application, a first request message sent by a terminal is received through one or more base stations and forwarded to a network server, the first request message comprises beacon frame channel query information, then the network server is received to send a first response message corresponding to the first request message, and the first response message is forwarded to the terminal, wherein the first response message comprises a beacon frame channel parameter set, the beacon frame channel parameter set is a beacon frame channel parameter set corresponding to a home base station and a home base station corresponding to the home base station, and the network server determines the home base station corresponding to the terminal and the beacon frame channel parameter set according to the first request message.
Referring to fig. 5, a flowchart illustrating steps of a method for communication of a beacon frame in another communication network according to an embodiment of the present application may specifically include the following steps:
step 501, one or more base stations send synchronization status information to a network server, where the synchronization status information includes first indication information about whether to obtain absolute time and/or second indication information about whether to obtain time synchronization with other base stations;
step 502, the one or more base stations receive the beacon frame channel parameter sets corresponding to the network server, where the beacon frame channel parameter sets are the beacon frame channel parameter sets corresponding to the one or more base stations respectively determined by the network server according to the synchronization status information.
In the embodiment of the application, the synchronization state information is sent to the network server through one or more base stations, the synchronization state information comprises first indication information of whether absolute time is obtained and/or second indication information of whether time synchronization is obtained with other base stations, then the receiving network server sends corresponding beacon frame channel parameter sets, and the beacon frame channel parameter sets are respectively determined by the network server according to the synchronization state information, so that the distribution of the beacon frame channel parameter sets is realized, and further, the terminal is informed of the base station information to which the terminal belongs currently under the condition that the adjacent base stations do not perform time synchronization, so that the beacon frame receiving and transmitting do not depend on the time synchronization of the base stations.
Referring to fig. 14, a flowchart illustrating steps of a method for communication of a beacon frame in another communication network according to an embodiment of the present application may specifically include the following steps:
step 801, a network server receives a first request message sent by a terminal, wherein the first request message comprises beacon frame channel query information, and the first request message is forwarded by one or more base stations;
the network server may be a LoRa network server, the terminal may be a LoRa terminal, and the base station may be a gateway in a LoRa network.
The first request message may be a beacon frame channel information query request message, which may be a medium access control (Media Access Control, MAC) instruction, which may include a beacon frame channel query indication identifier.
In the case that each neighboring base station does not perform time synchronization, the terminal may transmit a beacon frame channel information inquiry request MAC instruction, which may be transmitted to the network server via one base station or may be transmitted to the network server via a plurality of base stations.
Step 802, the network server determines, according to the first request message, a home base station corresponding to the terminal and a beacon frame channel parameter set corresponding to the home base station;
The home base station may be a base station corresponding to the terminal to receive the beacon frame. For example, after one base station is deployed in one home, all terminals in the home only receive the beacon frame sent by the base station.
As an example, the beacon frame channel parameter set may include one or more of the following:
time point information, channel frequency information, bandwidth information, modulation scheme information, spreading factor information, preamble information, data format information, and power information are received.
The receiving time point information is time point information of the beacon frame sent by the home base station, the channel frequency is channel frequency used by the terminal for receiving the beacon frame sent by the home base station, the bandwidth information is bandwidth required by the terminal for receiving the beacon frame sent by the home base station, the modulation mode information is modulation mode required by the terminal for receiving the beacon frame sent by the home base station, the spreading factor is preamble code required by the terminal for receiving the beacon frame sent by the home base station, the value of preamble code length and synchronization word, the data format information is data format required by the terminal for receiving the beacon frame sent by the home base station, and the power information is power required by the terminal for receiving the beacon frame sent by the home base station.
For example, the generation process of the reception time point information is as follows:
4、Key=16x 0x00;
5. rand=ae128_encrypt (Key, beamontime|base station flag sequence number|pad 16);
6. reception time point= (Rand [0] +rand [1] x 256) modulo pingPeriod + current ping period start time point.
Specifically, after receiving the first request message, the network server may determine, according to the first request message, a home base station corresponding to the terminal, and may determine a beacon frame channel parameter set corresponding to the home base station.
Step 803, the network server sends a first response message corresponding to the first request message to the terminal, where the first response message includes a beacon frame channel parameter set, where the beacon frame channel parameter is used to enable the terminal to receive a beacon frame sent by the home base station according to the beacon frame channel parameter set, and the first response message is forwarded by the one or more base stations;
wherein the first reply message is a beacon frame channel information inquiry reply message, which may be a medium access control (Media Access Control, MAC) instruction.
The beacon frame channel information inquiry response MAC instruction may include one or more of reception time point information, channel frequency information, bandwidth information, modulation mode information, spreading factor information, preamble information, data format information, and power information.
Specifically, the network server may send the beacon frame channel information inquiry response MAC instruction to the terminal via one base station (including the home base station), where the terminal receives the beacon frame sent by the home base station according to the beacon frame channel information inquiry response MAC instruction, and the time points of sending the beacon frame by each base station are randomly distributed in a period, that is, the terminal node is informed by the network of the current home base station information, and enters the Class B mode.
The beacon frame may include first identification information corresponding to the home base station, where the first identification information may be a unique identifier (Gateway Extended Unique Identifier, gateway eui) extended by the base station.
In an example, the beacon frame may also include second identification information corresponding to a network in which the home base station is located, and the beacon frame may also include version information.
Step 804, the network server sends a first data frame to the terminal;
if the transmission starting time point of the first data frame is smaller than the transmission ending time point of the beacon frame, the transmission time point of the first data frame is the preset time point of the first data frame transmission minus the transmission time of the beacon frame.
Specifically, the first data frame may be a downlink data frame. The preset time point of the first data frame transmission is as follows:
Key=16x 0x00;
rand=ae128_encrypt (Key, beamontime|base station flag sequence number|pad 16);
a preset time point= (Rand [0] +rand [1] x 256) modulo pingPeriod of the first data frame transmission
When the transmission time of the beacon frame changes randomly, the transmission time of the downlink data frame transmitted on some pulse time slots is correspondingly adjusted. When the transmission time of the downlink data frame on a certain pulse time slot is smaller than the time point when the transmission of the beacon frame is finished, the original transmission time of the downlink data frame is affected by the transmission time of the beacon frame. Therefore, the transmission time of the downlink data frame needs to be adjusted. As shown in fig. 13, the method of adjustment is to advance the transmission time of the downlink data frame by one beacon frame transmission time length. Optionally, in order to ensure that the time point of the beacon frame transmission and the last previous downlink data frame transmission end time point do not collide. The adjustment method of the downlink data frame transmission time point may be to advance the transmission time of the downlink data frame by a first time length. The first time length is the transmission duration of the beacon frame plus one guard slot. The guard slot may be a time interval of less than 10 ms. Taking fig. 13 as an example, the terminal and the network server detect that the start time point of the pulse slot 1,2,3 falls after the end time point of the beacon frame, and therefore, the terminal and the network server advance the start time point of the pulse slot 1,2,3 by one beacon frame duration. While the transmit or receive time points of the pulse slots 4,5 are unchanged.
By dynamically modifying the sending time point of part of the downlink data frames, the conflict between the sending time of the downlink data frames and the sending time of the beacon frames can be effectively avoided, and the network transmission efficiency is improved.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are all preferred embodiments and that the acts referred to are not necessarily required by the embodiments of the present application.
Referring to fig. 6, a schematic structural diagram of a communication device of a beacon frame in a communication network according to an embodiment of the present application may specifically include the following modules:
a first request message receiving module 601, configured to receive a first request message sent by a terminal, where the first request message includes beacon frame channel query information, and the first request message is forwarded by one or more base stations;
a beacon frame channel parameter set determining module 602, configured to determine, according to the first request message, a home base station corresponding to the terminal and a beacon frame channel parameter set corresponding to the home base station;
A first response message sending module 603, configured to send a first response message corresponding to the first request message to the terminal, where the first response message includes a beacon frame channel parameter set, and the beacon frame channel parameter is used to enable the terminal to receive, according to the beacon frame channel parameter set, a beacon frame sent by the home base station, and the first response message is forwarded by the one or more base stations.
In an embodiment of the present application, the apparatus further includes:
the base station state information acquisition module is used for acquiring the synchronous state information corresponding to the one or more base stations, wherein the synchronous state information comprises first indication information for acquiring absolute time or not and/or second indication information for acquiring time synchronization with other base stations or not;
a base station channel parameter set determining module, configured to determine beacon frame channel parameter sets corresponding to the one or more base stations according to the synchronization status information;
and the base station channel parameter set sending module is used for sending the corresponding beacon frame channel parameter set to the one or more base stations.
In an embodiment of the present application, the beacon frame channel parameter set includes one or more of the following:
Time point information, channel frequency information, bandwidth information, modulation scheme information, spreading factor information, preamble information, data format information, and power information are received.
In an embodiment of the present application, the beacon frame includes:
the first identification information corresponding to the home base station;
and/or second identification information corresponding to the network where the home base station is located.
In an embodiment of the present application, the beacon frame further includes:
version information.
Referring to fig. 7, a schematic structural diagram of a communication device of a beacon frame in another communication network according to an embodiment of the present application may specifically include the following modules:
a base station status information obtaining module 701, configured to obtain synchronization status information corresponding to one or more base stations, where the synchronization status information includes first indication information about whether to obtain absolute time and/or second indication information about whether to obtain time synchronization with other base stations;
a base station channel parameter set determining module 702, configured to determine beacon frame channel parameter sets corresponding to the one or more base stations according to the synchronization status information;
a base station channel parameter set module 703, configured to send corresponding beacon frame channel parameter sets to the one or more base stations.
Referring to fig. 8, a schematic structural diagram of a communication device of a beacon frame in another communication network according to an embodiment of the present application may specifically include the following modules:
a first request message sending module 801, configured to send a first request message to a network server, where the first request message includes beacon frame channel query information, and the first request message is forwarded by one or more base stations;
a first response message receiving module 802, configured to receive a first response message corresponding to the first request message sent by the network server, where the first response message includes a beacon frame channel parameter set, and the beacon frame channel parameter set is determined, by the network server according to the first request message, a home base station corresponding to the terminal and a beacon frame channel parameter set corresponding to the home base station, where the first response message is forwarded by the one or more base stations;
a beacon frame receiving module 803, configured to receive a beacon frame sent by the home base station according to the beacon frame channel parameter set.
Referring to fig. 9, a schematic structural diagram of a communication device of a beacon frame in another communication network according to an embodiment of the present application may specifically include the following modules:
A first request message forwarding module 901, configured to receive a first request message sent by a terminal, and forward the first request message to a network server, where the first request message includes beacon frame channel query information;
a first response message forwarding module 902, configured to receive a first response message corresponding to the first request message sent by the network server, and forward the first request message to the terminal, where the first response message includes a beacon frame channel parameter set, and the beacon frame channel parameter set is a beacon frame channel parameter set corresponding to a home base station and to the home base station that the network server determines, according to the first request message, the home base station corresponding to the terminal, and the beacon frame channel parameter is configured to enable the terminal to receive a beacon frame sent by the home base station according to the beacon frame channel parameter set.
Referring to fig. 10, a schematic structural diagram of a communication device of a beacon frame in another communication network according to an embodiment of the present application may specifically include the following modules:
a base station status information sending module 1001, configured to send synchronization status information to a network server, where the synchronization status information includes first indication information that whether to obtain absolute time and/or second indication information that whether to obtain time synchronization with other base stations;
The base station channel parameter set receiving module 1002 is configured to receive a beacon frame channel parameter set corresponding to the transmission of the network server, where the beacon frame channel parameter set is the beacon frame channel parameter set corresponding to the one or more base stations that is determined by the network server according to the synchronization status information.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
Referring to fig. 11, a flowchart illustrating steps of a method for synchronizing a base station according to an embodiment of the present application may specifically include the following steps:
step 601, a network server sends a second request message to a terminal through the first base station, wherein the second request message comprises a synchronization start identifier, and the second request message is used for requesting the terminal to send a time synchronization message to the network server through the first base station and at least one second base station;
in particular, the web server is a LoRa web server. The first base station is a LoRa gateway. The terminal is a LoRa terminal. The second request information is time synchronization request information. The second request message is a MAC instruction. The time synchronization request information carries a synchronization start identifier. The synchronization start identifier is used for requesting the terminal to send a time synchronization message to the network server through at least two LoRa gateways. For example, when the synchronization start flag is set to 1, it indicates that the requesting terminal starts transmitting a time synchronization message. Alternatively, when the synchronization start flag is set to 0, a synchronization end flag may be represented. When the terminal receives the time synchronization request information with the synchronization end mark, the terminal ends sending the time synchronization message. The payload of the time synchronization message may be consistent with the time synchronization response message. Alternatively, the time synchronization message may be a time synchronization reply message. The time synchronization message may also be different from the payload of the time synchronization response message. The time synchronization message may be a normal uplink radio frame. The second base station is a LoRa gateway that is distinct from the first base station. After sending the time synchronization response message, the terminal sends the time synchronization response message to the network server via a plurality of LoRa gateways, such as a first base station and a second base station. The network server processes time synchronization between the base stations based on the base station time information in the time synchronization response messages transmitted from the plurality of base stations.
In an embodiment of the present application, the method further includes:
the second request message comprises synchronization frequency information, wherein the synchronization frequency information is used for indicating the frequency of time synchronization information required to be sent by the terminal;
specifically, for example, when the synchronization number information is 6, the terminal will transmit 6 time synchronization messages at maximum. Wherein the time synchronization response message can be counted as one of the synchronization times. Or may not count as one of the synchronization times. The present embodiment is not particularly limited.
In an embodiment of the present application, the method further includes:
the second request message comprises synchronization interval information, and the synchronization times information is used for indicating an interval of time synchronization information required to be sent by the terminal;
specifically, for example, when the synchronization interval is 5 seconds, the terminal will transmit time synchronization information every 5 seconds.
In an embodiment of the present application, the method further includes:
the second request message comprises synchronous task sequence number information, and the synchronous task sequence number information is used for indicating a synchronous task sequence number triggered by the second request message of the network server;
specifically, for example, when the terminal transmits time synchronization request information for the first time, the synchronization task number is 1. When the terminal sends the request information with different time for the 5 th time, the synchronous task sequence number is 5.
Step 602, the network server receives, through the first base station and the at least one second base station, a second response message corresponding to a second request message sent by the terminal, where the second response message is used to enable the network server to process time synchronization of the first base station and the at least one second base station;
specifically, the second response message is a time synchronization response message. The second reply message is a MAC instruction. After sending the time synchronization response message, the terminal sends the time synchronization response message to the network server via a plurality of LoRa gateways, such as a first base station and a second base station. The network server processes time synchronization between the base stations based on the base station time information in the time synchronization response messages transmitted from the plurality of base stations.
In an embodiment of the present application, the method further includes:
the second response message comprises synchronous task sequence number information, and the synchronous task sequence number information is used for indicating the synchronous task sequence number to which the second response message belongs to the network server;
specifically, for example, when the sync task number is 5, it is indicated that the time synchronization response message is a time synchronization response message corresponding to the 5 th time synchronization request message.
In an embodiment of the present application, the method further includes:
the second response message comprises synchronous message sequence number information, and the synchronous message sequence number information is used for indicating a synchronous message sequence number corresponding to the second response message of the network server;
specifically, for example, when the synchronization message sequence number is 1, it is indicated that the time synchronization response message is the first time that the terminal sends the time synchronization response message after receiving the time synchronization request message of a certain synchronization task sequence number. Since the load of the time synchronization response message is the same as the load of the time synchronization message, when the terminal transmits the time synchronization message for the second time, the synchronization message sequence number is 2. Because the terminal only sent a time synchronization response message once before this message was sent.
In an embodiment of the present application, the method further includes:
the second response message comprises synchronization confirmation information, wherein the synchronization confirmation information is used for indicating the state of the time synchronization message of the network server;
in particular, the synchronization confirm message may be a time synchronization confirm message. For example, when the sync confirm message is 0, it means that the time sync response message is a normal sync message. When the synchronization confirm message is 1, it means that the time synchronization response message is a synchronization message indicating that the terminal has ended time synchronization. When the synchronization confirm message is 2, it indicates that the terminal refuses time synchronization.
In step 603, the network server receives, through the first base station and the at least one second base station, a time synchronization message sent by the terminal, where the time synchronization message is used to enable the network server to process time synchronization of the base stations.
Specifically, after confirming the start time synchronization, the terminal will continue to transmit time synchronization information after transmitting the time synchronization response message. The time synchronization information may be a time synchronization response message. Alternatively, the time synchronization information may be just that the payload coincides with the time synchronization response message. After sending the time synchronization response message, the terminal sends the time synchronization response message to the network server via a plurality of LoRa gateways, such as a first base station and a second base station. The network server processes time synchronization between the base stations based on the base station time information in the time synchronization response messages transmitted from the plurality of base stations.
In the embodiment of the application, the time synchronization MAC instruction sent by the network server triggers the terminal to start sending the time synchronization message, so that the network server can synchronize the time of different base stations through the time synchronization message forwarded by the different base stations.
Referring to fig. 12, a flowchart illustrating steps of another method for synchronizing a base station according to an embodiment of the present application may specifically include the following steps:
Step 701, a terminal receives a second request message sent by a network server through the first base station, wherein the second request message comprises a synchronization start identifier, and the second request message is used for requesting the terminal to send a time synchronization message to the network server through the first base station and at least one second base station;
in particular, the web server is a LoRa web server. The first base station is a LoRa gateway. The terminal is a LoRa terminal. The second request information is time synchronization request information. The second request message is a MAC instruction. The time synchronization request information carries a synchronization start identifier. The synchronization start identifier is used for requesting the terminal to send a time synchronization message to the network server through at least two LoRa gateways. For example, when the synchronization start flag is set to 1, it indicates that the requesting terminal starts transmitting a time synchronization message. Alternatively, when the synchronization start flag is set to 0, a synchronization end flag may be represented. When the terminal receives the time synchronization request information with the synchronization end mark, the terminal ends sending the time synchronization message. The payload of the time synchronization message may be consistent with the time synchronization response message. Alternatively, the time synchronization message may be a time synchronization reply message. The time synchronization message may also be different from the payload of the time synchronization response message. The time synchronization message may be a normal uplink radio frame. The second base station is a LoRa gateway that is distinct from the first base station. After sending the time synchronization response message, the terminal sends the time synchronization response message to the network server via a plurality of LoRa gateways, such as a first base station and a second base station. The network server processes time synchronization between the base stations based on the base station time information in the time synchronization response messages transmitted from the plurality of base stations.
In an embodiment of the present application, the method further includes:
the second request message comprises synchronization frequency information, wherein the synchronization frequency information is used for indicating the frequency of time synchronization information required to be sent by the terminal;
specifically, for example, when the synchronization number information is 6, the terminal will transmit 6 time synchronization messages at maximum. Wherein the time synchronization response message can be counted as one of the synchronization times. Or may not count as one of the synchronization times. The present embodiment is not particularly limited.
In an embodiment of the present application, the method further includes:
the second request message comprises synchronization interval information, and the synchronization times information is used for indicating an interval of time synchronization information required to be sent by the terminal;
specifically, for example, when the synchronization interval is 5 seconds, the terminal will transmit time synchronization information every 5 seconds.
In an embodiment of the present application, the method further includes:
the second request message comprises synchronous task sequence number information, and the synchronous task sequence number information is used for indicating a synchronous task sequence number triggered by the second request message of the network server;
specifically, for example, when the terminal transmits time synchronization request information for the first time, the synchronization task number is 1. When the terminal sends the request information with different time for the 5 th time, the synchronous task sequence number is 5.
Step 702, the terminal sends a second response message corresponding to a second request message to the network server through the first base station and the at least one second base station, where the second response message is used to enable the network server to process time synchronization of the base station;
specifically, the second response message is a time synchronization response message. The second reply message is a MAC instruction. After sending the time synchronization response message, the terminal sends the time synchronization response message to the network server via a plurality of LoRa gateways, such as a first base station and a second base station. The network server processes time synchronization between the base stations based on the base station time information in the time synchronization response messages transmitted from the plurality of base stations.
In an embodiment of the present application, the method further includes:
the second response message comprises synchronous task sequence number information, and the synchronous task sequence number information is used for indicating the synchronous task sequence number to which the second response message belongs to the network server;
specifically, for example, when the sync task number is 5, it is indicated that the time synchronization response message is a time synchronization response message corresponding to the 5 th time synchronization request message.
In an embodiment of the present application, the method further includes:
The second response message comprises synchronous message sequence number information, and the synchronous message sequence number information is used for indicating a synchronous message sequence number corresponding to the second response message of the network server;
specifically, for example, when the synchronization message sequence number is 1, it is indicated that the time synchronization response message is the first time that the terminal sends the time synchronization response message after receiving the time synchronization request message of a certain synchronization task sequence number. Since the load of the time synchronization response message is the same as the load of the time synchronization message, when the terminal transmits the time synchronization message for the second time, the synchronization message sequence number is 2. Because the terminal only sent a time synchronization response message once before this message was sent.
In an embodiment of the present application, the method further includes:
the second response message comprises synchronization confirmation information, wherein the synchronization confirmation information is used for indicating the state of the time synchronization message of the network server;
in particular, the synchronization confirm message may be a time synchronization confirm message. For example, when the sync confirm message is 0, it means that the time sync response message is a normal sync message. When the synchronization confirm message is 1, it means that the time synchronization response message is a synchronization message indicating that the terminal has ended time synchronization. When the synchronization confirm message is 2, it indicates that the terminal refuses time synchronization.
Step 703, the terminal sends the time synchronization message to the network server through the first base station and the at least one second base station, where the time synchronization message is used to enable the network server to process time synchronization of the base station.
Specifically, after confirming the start time synchronization, the terminal will continue to transmit time synchronization information after transmitting the time synchronization response message. The time synchronization information may be a time synchronization response message. Alternatively, the time synchronization information may be just that the payload coincides with the time synchronization response message. After sending the time synchronization response message, the terminal sends the time synchronization response message to the network server via a plurality of LoRa gateways, such as a first base station and a second base station. The network server processes time synchronization between the base stations based on the base station time information in the time synchronization response messages transmitted from the plurality of base stations.
In the embodiment of the application, the time synchronization MAC instruction sent by the network server triggers the terminal to start sending the time synchronization message, so that the network server can synchronize the time of different base stations through the time synchronization message forwarded by the different base stations.
An embodiment of the present application further provides an electronic device that may include a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program implementing the steps of the communication method of the beacon frame in the communication network as above when executed by the processor.
An embodiment of the present application further provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of communication of beacon frames in a communication network as above.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, the present embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present embodiments have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the present application.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The foregoing has described in detail the method and apparatus for communication of beacon frames in a communication network, and specific examples have been applied herein to illustrate the principles and embodiments of the present application, the above examples being provided only to assist in understanding the method and core ideas of the present application; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (15)

1. A method of communicating beacon frames in a communication network, the method comprising:
the network server receives a first request message sent by a terminal, wherein the first request message comprises beacon frame channel query information, and the first request message is forwarded by one or more base stations;
the network server determines a home base station corresponding to the terminal and a beacon frame channel parameter set corresponding to the home base station according to the first request message;
the network server sends a first response message corresponding to the first request message to the terminal, wherein the first response message comprises a beacon frame channel parameter set, and the beacon frame channel parameter set is used for enabling the terminal to receive a beacon frame sent by the home base station according to the beacon frame channel parameter set, and the first response message is forwarded by one or more base stations;
wherein the method further comprises:
the network server acquires synchronization state information corresponding to one or more base stations, wherein the synchronization state information comprises first indication information of whether absolute time is acquired or not and/or second indication information of whether time synchronization is acquired with other base stations or not;
The network server respectively determines beacon frame channel parameter sets corresponding to the one or more base stations according to the synchronization state information;
the network server transmits corresponding sets of beacon frame channel parameters to the one or more base stations.
2. The method of claim 1, wherein the beacon frame channel parameter set comprises one or more of:
time point information, channel frequency information, bandwidth information, modulation scheme information, spreading factor information, preamble information, data format information, and power information are received.
3. The method of claim 1, wherein the beacon frame comprises:
the first identification information corresponding to the home base station;
and/or second identification information corresponding to the network where the home base station is located.
4. The method of claim 1, wherein the beacon frame further comprises:
version information.
5. The method according to claim 1, further comprising, after the network server sends a first response message corresponding to the first request message to the terminal:
the network server sends a first data frame to the terminal;
If the transmission starting time point of the first data frame is smaller than the transmission ending time point of the beacon frame, the transmission time point of the first data frame is the preset time point of the first data frame transmission minus the transmission time of the beacon frame.
6. A method of communicating beacon frames in a communication network, the method comprising:
the terminal sends a first request message to a network server, wherein the first request message comprises beacon frame channel query information, and the first request message is forwarded by one or more base stations;
the terminal receives a first response message corresponding to the first request message sent by the network server, wherein the first response message comprises a beacon frame channel parameter set, and the beacon frame channel parameter set is that the network server determines a home base station corresponding to the terminal and a beacon frame channel parameter set corresponding to the home base station according to the first request message, and the first response message is forwarded by one or more base stations;
the terminal receives the beacon frame sent by the home base station according to the beacon frame channel parameter set;
wherein, the network server is further configured to:
acquiring synchronization state information corresponding to one or more base stations, wherein the synchronization state information comprises first indication information of whether absolute time is acquired or not and/or second indication information of whether time synchronization is acquired with other base stations or not; respectively determining beacon frame channel parameter sets corresponding to the one or more base stations according to the synchronization state information; and transmitting the corresponding beacon frame channel parameter sets to the one or more base stations.
7. A method of communicating beacon frames in a communication network, the method comprising:
one or more base stations receive a first request message sent by a terminal and forward the first request message to a network server, wherein the first request message comprises beacon frame channel query information;
the one or more base stations receive a first response message corresponding to the first request message sent by the network server and forward the first request message to the terminal, wherein the first response message comprises a beacon frame channel parameter set, and the beacon frame channel parameter set is a beacon frame channel parameter set corresponding to a home base station and a home base station corresponding to the terminal, which is determined by the network server according to the first request message, and is used for enabling the terminal to receive a beacon frame sent by the home base station according to the beacon frame channel parameter set;
wherein the method further comprises:
the one or more base stations send synchronization status information to the network server, wherein the synchronization status information comprises first indication information of whether absolute time is obtained and/or second indication information of whether time synchronization is obtained with other base stations;
The one or more base stations receive the beacon frame channel parameter sets corresponding to the network server and send, and the beacon frame channel parameter sets are respectively determined by the network server according to the synchronization state information.
8. A communication device for beacon frames in a communication network, the device comprising:
a first request message receiving module, configured to receive a first request message sent by a terminal, where the first request message includes beacon frame channel query information, and the first request message is forwarded by one or more base stations;
the beacon frame channel parameter set determining module is used for determining a home base station corresponding to the terminal and a beacon frame channel parameter set corresponding to the home base station according to the first request message;
a first response message sending module, configured to send a first response message corresponding to the first request message to the terminal, where the first response message includes a beacon frame channel parameter set, where the beacon frame channel parameter set is used to enable the terminal to receive, according to the beacon frame channel parameter set, a beacon frame sent by the home base station, and the first response message is forwarded by the one or more base stations;
Wherein the apparatus further comprises:
the base station state information acquisition module is used for acquiring the synchronous state information corresponding to the one or more base stations, wherein the synchronous state information comprises first indication information for acquiring absolute time or not and/or second indication information for acquiring time synchronization with other base stations or not;
a base station channel parameter set determining module, configured to determine beacon frame channel parameter sets corresponding to the one or more base stations according to the synchronization status information;
and the base station channel parameter set sending module is used for sending the corresponding beacon frame channel parameter set to the one or more base stations.
9. The apparatus of claim 8, wherein the beacon frame channel parameter set comprises one or more of:
time point information, channel frequency information, bandwidth information, modulation scheme information, spreading factor information, preamble information, data format information, and power information are received.
10. The apparatus of claim 8, wherein the beacon frame comprises:
the first identification information corresponding to the home base station;
and/or second identification information corresponding to the network where the home base station is located.
11. The apparatus of claim 8, wherein the beacon frame further comprises:
version information.
12. A communication device for beacon frames in a communication network, the device comprising:
a first request message sending module, configured to send a first request message to a network server, where the first request message includes beacon frame channel query information, and the first request message is forwarded by one or more base stations;
a first response message receiving module, configured to receive a first response message corresponding to the first request message sent by the network server, where the first response message includes a beacon frame channel parameter set, where the beacon frame channel parameter set is a beacon frame channel parameter set corresponding to a home base station and a home base station corresponding to a terminal, where the first response message is forwarded by the one or more base stations according to the first request message by the network server;
the beacon frame receiving module is used for receiving the beacon frame sent by the home base station according to the beacon frame channel parameter set;
wherein, the network server is further configured to:
acquiring synchronization state information corresponding to one or more base stations, wherein the synchronization state information comprises first indication information of whether absolute time is acquired or not and/or second indication information of whether time synchronization is acquired with other base stations or not; respectively determining beacon frame channel parameter sets corresponding to the one or more base stations according to the synchronization state information; and transmitting the corresponding beacon frame channel parameter sets to the one or more base stations.
13. A communication device for beacon frames in a communication network, the device comprising:
the first request message forwarding module is used for receiving a first request message sent by a terminal and forwarding the first request message to the network server, wherein the first request message comprises beacon frame channel query information;
a first response message forwarding module, configured to receive a first response message corresponding to the first request message sent by the network server, and forward the first request message to the terminal, where the first response message includes a beacon frame channel parameter set, and the beacon frame channel parameter set is a beacon frame channel parameter set corresponding to a home base station and to the home base station, where the network server determines, according to the first request message, a home base station corresponding to the terminal, and the beacon frame channel parameter set is configured to enable the terminal to receive a beacon frame sent by the home base station according to the beacon frame channel parameter set;
wherein the device is further for:
transmitting synchronization state information to the network server, wherein the synchronization state information comprises first indication information of whether absolute time is obtained and/or second indication information of whether time synchronization is obtained with other base stations;
And receiving a beacon frame channel parameter set which corresponds to the network server and is obtained by respectively determining one or more beacon frame channel parameter sets corresponding to the base stations by the network server according to the synchronous state information.
14. An electronic device comprising a processor, a memory and a computer program stored on the memory and operable on the processor, the computer program when executed by the processor implementing the steps of the method of communication of beacon frames in a communication network as claimed in any one of claims 1 to 7.
15. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the method of communication of beacon frames in a communication network according to any of claims 1 to 7.
CN201910662823.3A 2019-05-24 2019-07-22 Communication method and device of beacon frame in communication network Active CN111988774B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202310699349.8A CN116723496A (en) 2019-05-24 2019-07-22 Base station synchronization method
CN202310699504.6A CN116723497A (en) 2019-05-24 2019-07-22 Communication method and device of beacon frame in communication network

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2019104420071 2019-05-24
CN201910442007 2019-05-24

Related Child Applications (2)

Application Number Title Priority Date Filing Date
CN202310699504.6A Division CN116723497A (en) 2019-05-24 2019-07-22 Communication method and device of beacon frame in communication network
CN202310699349.8A Division CN116723496A (en) 2019-05-24 2019-07-22 Base station synchronization method

Publications (2)

Publication Number Publication Date
CN111988774A CN111988774A (en) 2020-11-24
CN111988774B true CN111988774B (en) 2023-07-07

Family

ID=73437078

Family Applications (3)

Application Number Title Priority Date Filing Date
CN201910662823.3A Active CN111988774B (en) 2019-05-24 2019-07-22 Communication method and device of beacon frame in communication network
CN202310699504.6A Pending CN116723497A (en) 2019-05-24 2019-07-22 Communication method and device of beacon frame in communication network
CN202310699349.8A Pending CN116723496A (en) 2019-05-24 2019-07-22 Base station synchronization method

Family Applications After (2)

Application Number Title Priority Date Filing Date
CN202310699504.6A Pending CN116723497A (en) 2019-05-24 2019-07-22 Communication method and device of beacon frame in communication network
CN202310699349.8A Pending CN116723496A (en) 2019-05-24 2019-07-22 Base station synchronization method

Country Status (2)

Country Link
CN (3) CN111988774B (en)
WO (1) WO2020238738A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114697863B (en) * 2022-05-12 2023-10-24 南京创芯慧联技术有限公司 Positioning method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015013934A1 (en) * 2013-07-31 2015-02-05 华为技术有限公司 Timing adjustment method, device and system
CN109479265A (en) * 2016-08-12 2019-03-15 华为技术有限公司 Communication means, base station and system

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6197687B2 (en) * 2014-02-20 2017-09-20 富士通株式会社 COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD
CN106301510A (en) * 2015-06-02 2017-01-04 中兴通讯股份有限公司 A kind of method and apparatus obtaining channel parameter
FR3044198B1 (en) * 2015-11-25 2018-04-27 Sagemcom Energy & Telecom Sas METHOD FOR CONFIGURING A GATEWAY
FR3047384B1 (en) * 2016-01-28 2018-11-23 Sagemcom Broadband Sas METHOD FOR SYNCHRONIZING A GATEWAY IN A LORA NETWORK
CN106162844B (en) * 2016-06-03 2019-08-13 西安电子科技大学 The implementation method of MAC protocol for wireless sensor networks based on LoRa
US10567495B2 (en) * 2016-11-16 2020-02-18 Cisco Technology, Inc. Application based intelligent edge computing in a low power wide area network environment
CN106792916B (en) * 2016-12-13 2023-07-21 浙江科技学院 Hybrid remote wireless sensor network system and communication method thereof
CN108055059B (en) * 2017-12-14 2019-11-29 天津中科智城网络科技有限公司 A kind of optimization method of LoRa wireless communication order
CN108990159B (en) * 2018-07-12 2023-04-07 东南大学 Combined resource allocation method based on hierarchical game in mobile edge computing system
CN109067496B (en) * 2018-10-26 2020-06-26 昂科信息技术(上海)股份有限公司 Wireless clock synchronization method, system and medium for centerless base station
CN109743140B (en) * 2019-02-01 2021-09-14 安徽博大光通物联科技有限公司 Communication control method and device based on low-power-consumption wide area network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015013934A1 (en) * 2013-07-31 2015-02-05 华为技术有限公司 Timing adjustment method, device and system
CN109479265A (en) * 2016-08-12 2019-03-15 华为技术有限公司 Communication means, base station and system

Also Published As

Publication number Publication date
CN116723497A (en) 2023-09-08
CN111988774A (en) 2020-11-24
CN116723496A (en) 2023-09-08
WO2020238738A1 (en) 2020-12-03

Similar Documents

Publication Publication Date Title
CN111279766B (en) Reducing power consumption of all types of terminal devices
CN104936133B (en) Method, base station and the terminal of machine type communication
RU2019104613A (en) SYSTEM INFORMATION ON REQUEST FOR WIRELESS COMMUNICATIONS
US9629121B2 (en) Network access method and apparatus
EP3510813B1 (en) Validity time of system information in a wireless communication system
US9510312B2 (en) Method and apparatus for performing network entry/reentry in wireless communication system
KR20140096317A (en) Method for supporting device to device synchronization and identification in wireless access system that supports device to device communication
KR20180013889A (en) Machine type communication method, terminal and base station
US8774849B2 (en) Apparatus for updating information of an M2M device in a wireless communication system and method thereof
CN110557805B (en) Communication method and device based on relay equipment and communication method and device between terminal and base station
WO2018234851A1 (en) Random access procedure for massive mtc devices
CA3161691A1 (en) Method and device for sidelink communication
JP5767396B2 (en) Method and apparatus for ranging of M2M devices in a wireless communication system
CN111988774B (en) Communication method and device of beacon frame in communication network
JP5596883B2 (en) Method and apparatus for performing network re-entry in a wireless communication system
CN111434171B (en) Group-based system information communication
CN106921987B (en) Wireless communication method and device
KR101785668B1 (en) Method and apparatus for performing ranging at m2m device in a wireless communication system
CN114745044A (en) Wireless signal transmission method and device
CN111050401B (en) Communication method and device of terminal and base station
CN111050357B (en) Communication method and device for terminal and base station
WO2013085128A1 (en) Method and apparatus for transmitting a mac control message in wireless access system
CN114070533A (en) Network communication method and device
CN116390241A (en) Data transmission method, device, system, electronic equipment and storage medium
JPWO2021070388A5 (en)

Legal Events

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