CN110708763A - Scheduling method, device and computer storage medium - Google Patents

Scheduling method, device and computer storage medium Download PDF

Info

Publication number
CN110708763A
CN110708763A CN201911215698.8A CN201911215698A CN110708763A CN 110708763 A CN110708763 A CN 110708763A CN 201911215698 A CN201911215698 A CN 201911215698A CN 110708763 A CN110708763 A CN 110708763A
Authority
CN
China
Prior art keywords
lorawan
downlink
message
time
uplink
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911215698.8A
Other languages
Chinese (zh)
Other versions
CN110708763B (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.)
WUHAN HUILIAN UNLIMITED TECHNOLOGY Co Ltd
Original Assignee
WUHAN HUILIAN UNLIMITED TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WUHAN HUILIAN UNLIMITED TECHNOLOGY Co Ltd filed Critical WUHAN HUILIAN UNLIMITED TECHNOLOGY Co Ltd
Priority to CN201911215698.8A priority Critical patent/CN110708763B/en
Publication of CN110708763A publication Critical patent/CN110708763A/en
Application granted granted Critical
Publication of CN110708763B publication Critical patent/CN110708763B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0833Random access procedures, e.g. with 4-step access
    • H04W74/0841Random access procedures, e.g. with 4-step access with collision treatment
    • H04W74/085Random access procedures, e.g. with 4-step access with collision treatment collision avoidance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • H04W72/1263Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a scheduling method, a scheduling device and a computer storage medium, wherein the method comprises the following steps: obtaining at least one Internet Protocol (IP) uplink message; the at least one IP uplink message belongs to the same communication terminal; based on the at least one IP uplink message, obtaining a first LoRaWAN downlink message sent to the communication terminal, a forwarding gateway for forwarding the first LoRaWAN downlink message and a receiving moment when the forwarding gateway receives the LoRaWAN uplink message; acquiring first time and second time when the forwarding gateway can send the first LoRaWAN downlink message based on the first LoRaWAN downlink message and the receiving time; determining state information of a forwarding gateway based on a gateway identification code of the forwarding gateway; and determining a downlink window for the communication terminal to receive the first LoRaWAN downlink message based on the state information, the first time and the second time.

Description

Scheduling method, device and computer storage medium
Technical Field
The present invention relates to Long Range Radio (LoRa) technology in the field of communications, and in particular, to a scheduling method, apparatus, and computer storage medium.
Background
In a Long-distance Radio Wide Area Network (LoRaWAN, Long Range Radio Wide Area Network) Network, after a communication terminal sends an uplink message to a Network server through a gateway (base station), the communication terminal can open two downlink windows to receive the downlink message sent by the Network server through the gateway (base station), and how to effectively utilize the two downlink windows makes communication between the communication terminal and the Network server more efficient, reduces the conflict of the message at the gateway (base station) side, and improves the success rate of message transmission.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a scheduling method, an apparatus, and a computer storage medium.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a scheduling method, where the method includes:
obtaining at least one Internet Protocol (IP) uplink message; the at least one IP uplink message belongs to the same communication terminal;
based on the at least one IP uplink message, obtaining a first long-distance wireless wide area network LoRaWAN downlink message sent to the communication terminal, a forwarding gateway for forwarding the first LoRaWAN downlink message and a receiving time when the forwarding gateway receives the LoRaWAN uplink message;
acquiring first time and second time when the forwarding gateway can send the first LoRaWAN downlink message based on the first LoRaWAN downlink message and the receiving time;
determining state information of the forwarding gateway based on the gateway identification code of the forwarding gateway;
and determining a downlink window for the communication terminal to receive the first LoRaWAN downlink message based on the state information, the first time and the second time.
In the foregoing solution, the determining, based on the state information, the first time and the second time, a downlink window in which the communication terminal receives the first LoRaWAN downlink packet includes:
judging whether the first state of the forwarding gateway meets a set state at the first time or not based on the state information;
and when the first state of the forwarding gateway meets the set state, taking a first downlink window of the communication terminal as a downlink window for receiving the first LoRaWAN downlink message.
In the above aspect, the method further includes:
when the first state of the forwarding gateway is judged not to meet the set state, judging whether the second state of the forwarding gateway meets the set state at the second time;
and when the second state of the forwarding gateway meets the set state, taking a second downlink window of the communication terminal as a downlink window for receiving the first LoRaWAN downlink message.
In the foregoing solution, the obtaining, based on the at least one IP uplink packet, a first long-distance radio wide area network LoRaWAN downlink packet sent to the communication terminal, a forwarding gateway forwarding the first LoRaWAN downlink packet, and a receiving time at which the forwarding gateway receives an LoRaWAN uplink packet includes:
determining a target IP uplink message based on the at least one IP uplink message;
and acquiring a first LoRaWAN downlink message sent to the communication terminal, a forwarding gateway for forwarding the first LoRaWAN downlink message and the receiving time of the LoRaWAN uplink message received by the forwarding gateway based on the target IP uplink message.
In the foregoing solution, the determining a target IP uplink packet based on the at least one IP uplink packet includes:
processing the at least one IP uplink message according to a set rule to obtain a processing result;
and determining a target IP uplink message based on the processing result.
In the foregoing scheme, the processing the at least one IP uplink packet according to the set rule to obtain a processing result includes:
performing first analysis on each IP uplink message in the at least one IP uplink message to obtain a first analysis result;
obtaining the signal intensity corresponding to each IP uplink message based on the first analysis result;
performing first sequencing on each signal intensity according to a first set condition to obtain a first sequencing result;
correspondingly, the determining the target IP uplink packet based on the processing result includes:
determining a target IP uplink message based on the first sequencing result;
alternatively, the first and second electrodes may be,
the processing the at least one IP uplink packet according to the set rule to obtain a processing result includes:
acquiring the arrival time of each IP uplink message in the at least one IP uplink message;
performing second sequencing on each IP uplink message according to the sequence of the arrival time of each IP uplink message to obtain a second sequencing result;
correspondingly, the determining the target IP uplink packet based on the processing result includes:
and determining a target IP uplink message based on the second sequencing result.
In the above scheme, obtaining a first LoRaWAN downlink packet sent to the communication terminal based on the target IP uplink packet includes:
performing second analysis on the target IP uplink message to obtain a second analysis result;
obtaining first LoRaWAN uplink data based on the second analysis result;
and acquiring a first LoRaWAN downlink message sent to the communication terminal based on the first LoRaWAN uplink data.
In the foregoing solution, the obtaining a first LoRaWAN downlink packet sent to the communication terminal based on the first LoRaWAN uplink data includes:
performing third analysis on the first LoRaWAN uplink data to obtain a third analysis result;
obtaining uplink data based on the third analysis result;
determining response data corresponding to the first LoRaWAN upstream data based on the upstream data;
packaging the response data according to a LoRaWAN protocol to obtain a packaged message;
and acquiring a first LoRaWAN downlink message corresponding to the communication terminal based on the encapsulation message.
In the foregoing solution, determining a forwarding gateway for forwarding the first LoRaWAN downlink packet based on the target IP uplink packet includes:
acquiring a gateway identification code contained in the target IP uplink message based on the second analysis result;
and taking the gateway corresponding to the gateway identification code as a forwarding gateway for forwarding the first LoRaWAN downlink message.
In the above scheme, determining the receiving time of the LoRaWAN uplink packet received by the forwarding gateway based on the target IP uplink packet includes:
obtaining the time contained in the time field of the target IP uplink message based on the second analysis result;
and taking the time as the receiving time of the LoRaWAN uplink message received by the forwarding gateway.
In the foregoing solution, the obtaining a first time and a second time at which the forwarding gateway can send the first LoRaWAN downlink packet based on the first LoRaWAN downlink packet and the receiving time includes:
determining the transmission time of the first LoRaWAN downlink message based on the first LoRaWAN downlink message;
determining a first downlink window opening time and a second downlink window opening time of the communication terminal based on the receiving time;
and acquiring first time and second time when the forwarding gateway can send the first LoRaWAN downlink message based on the transmission time of the first LoRaWAN downlink message, the first downlink window opening time and the second downlink window opening time.
In the foregoing solution, the determining the status information of the forwarding gateway based on the gateway identification code of the forwarding gateway includes:
taking the gateway identification code of the forwarding gateway as a query key value;
based on the query key value and the mapping relation, obtaining the stored state information of the forwarding gateway; the mapping relation is the corresponding relation between the gateway identification code and the state information.
In the above scheme, the status information at least includes that the forwarding gateway is in a busy state; updating the state information of the forwarding gateway, including:
recording a first IP downlink message sent to the forwarding gateway;
acquiring first sending time for sending a second LoRaWAN downlink message by the forwarding gateway based on the first IP downlink message; the second LoRaWAN downlink message is obtained by the network server based on the first IP downlink message;
marking that the forwarding gateway is in a busy state within the first sending time;
determining a first mapping relation between the gateway identification code of the forwarding gateway and the forwarding gateway in a busy state at the first sending time, and storing the first mapping relation;
alternatively, the first and second electrodes may be,
updating the state information of the forwarding gateway, including:
receiving second sending time of sending a third LoRaWAN downlink message by the forwarding gateway; the third LoRaWAN downlink message is obtained by the forwarding gateway based on the received second IP downlink message; the second IP downlink message is a message which is sent to the forwarding gateway by the network server and contains a user instruction;
marking that the forwarding gateway is in a busy state within the second sending time;
determining a second mapping relation between the gateway identification code of the forwarding gateway and the forwarding gateway in a busy state at the second sending time; and storing the second mapping relation.
In the above scheme, obtaining at least one IP uplink packet includes:
classifying each IP uplink message received in a set time period to obtain a classification processing result;
and obtaining the at least one IP uplink message belonging to the communication terminal based on the classification processing result.
In the above scheme, the classifying each IP uplink packet received in a set time period to obtain a classification result includes:
performing fourth analysis on each IP uplink message in each IP uplink message to obtain a fourth analysis result;
obtaining second LoRaWAN uplink data corresponding to each IP uplink message based on the fourth analysis result;
classifying each IP uplink message according to a second set condition to obtain a classification processing result; the second set condition is that the IP uplink messages with the same second LoRaWAN uplink data are classified into one class;
correspondingly, the obtaining the at least one IP uplink packet belonging to the communication terminal based on the classification processing result includes:
based on the classification processing result, obtaining an IP uplink message of which the equipment identifier belongs to the communication terminal;
and taking each IP uplink message of which the equipment identifier belongs to the communication terminal as at least one IP uplink message belonging to the communication terminal.
In the above aspect, the method further includes:
receiving at least two interfering communication terminals; allocating corresponding first downlink frequency points to a second downlink window of each interference communication terminal in the at least two interference communication terminals according to a set algorithm;
determining a corresponding relation between the equipment identification of each interference communication terminal in the at least two interference communication terminals and the corresponding first downlink frequency point, and storing the corresponding relation;
recognizing that a certain interference communication terminal successfully accesses the network, and acquiring a second downlink frequency point corresponding to a second downlink window of the certain interference communication terminal based on the corresponding relation and the equipment identifier of the certain interference communication terminal;
and generating a protocol instruction based on the corresponding second downlink frequency point, and sending the protocol instruction to the certain interference communication terminal, wherein the protocol instruction is used for instructing the certain interference communication terminal to configure the frequency point of a second downlink window into the corresponding second downlink frequency point.
In a second aspect, an embodiment of the present invention provides a scheduling apparatus, where the apparatus includes: a first obtaining module, a second obtaining module, a third obtaining module, a first determining module, and a second determining module, wherein,
the first obtaining module is used for obtaining at least one Internet Protocol (IP) uplink message; the at least one IP uplink message belongs to the same communication terminal;
the second obtaining module is configured to obtain, based on the at least one IP uplink packet, a first long-distance radio wide area network LoRaWAN downlink packet sent to the communication terminal, a forwarding gateway that forwards the first LoRaWAN downlink packet, and a receiving time at which the forwarding gateway receives the LoRaWAN uplink packet;
the third obtaining module is configured to obtain, based on the first LoRaWAN downlink packet and the receiving time, a first time and a second time at which the forwarding gateway can send the first LoRaWAN downlink packet;
the first determining module is used for determining the state information of the forwarding gateway based on the gateway identification code of the forwarding gateway;
and the second determining module is configured to determine, based on the state information, the first time and the second time, a downlink window in which the communication terminal receives the first LoRaWAN downlink packet.
In the foregoing solution, the second determining module is specifically configured to: judging whether the first state of the forwarding gateway meets a set state at the first time or not based on the state information; and when the first state of the forwarding gateway meets the set state, taking a first downlink window of the communication terminal as a downlink window for receiving the first LoRaWAN downlink message.
In the foregoing solution, the second determining module is further configured to: when the first state of the forwarding gateway is judged not to meet the set state, judging whether the second state of the forwarding gateway meets the set state at the second time; and when the second state of the forwarding gateway meets the set state, taking a second downlink window of the communication terminal as a downlink window for receiving the first LoRaWAN downlink message.
In the foregoing aspect, the second obtaining module includes: a determining unit and a first obtaining unit, wherein,
the determining unit is configured to determine a target IP uplink packet based on the at least one IP uplink packet;
the first obtaining unit is configured to obtain, based on the target IP uplink packet, a first LoRaWAN downlink packet sent to the communication terminal, a forwarding gateway that forwards the first LoRaWAN downlink packet, and a receiving time at which the forwarding gateway receives the LoRaWAN uplink packet.
In the foregoing solution, the determining unit includes: a processing subunit and a determining subunit, wherein,
the processing subunit is configured to process the at least one IP uplink packet according to a set rule, and obtain a processing result;
and the determining subunit is configured to determine the target IP uplink packet based on the processing result.
In the foregoing solution, the processing subunit is specifically configured to: performing first analysis on each IP uplink message in the at least one IP uplink message to obtain a first analysis result; obtaining the signal intensity corresponding to each IP uplink message based on the first analysis result; performing first sequencing on each signal intensity according to a first set condition to obtain a first sequencing result; correspondingly, the determining subunit is specifically configured to determine a target IP uplink packet based on the first sequencing result;
or, the processing subunit is specifically configured to: acquiring the arrival time of each IP uplink message in the at least one IP uplink message; performing second sequencing on each IP uplink message according to the sequence of the arrival time of each IP uplink message to obtain a second sequencing result; correspondingly, the determining subunit is specifically configured to: and determining a target IP uplink message based on the second sequencing result.
In the foregoing scheme, the first obtaining unit includes: a parsing subunit, a first obtaining subunit, and a second obtaining subunit, wherein,
the analysis subunit is configured to perform a second analysis on the target IP uplink packet to obtain a second analysis result;
the first obtaining subunit is configured to obtain first LoRaWAN uplink data based on the second analysis result;
and the second obtaining subunit obtains a first LoRaWAN downlink message sent to the communication terminal based on the first LoRaWAN uplink data.
In the foregoing scheme, the second obtaining subunit is specifically configured to: performing third analysis on the first LoRaWAN uplink data to obtain a third analysis result; obtaining uplink data based on the third analysis result; determining response data corresponding to the first LoRaWAN upstream data based on the upstream data; packaging the response data according to a LoRaWAN protocol to obtain a packaged message; and acquiring a first LoRaWAN downlink message corresponding to the communication terminal based on the encapsulation message.
In the foregoing scheme, the first obtaining unit is further specifically configured to: acquiring a gateway identification code contained in the target IP uplink message based on the second analysis result; and taking the gateway corresponding to the gateway identification code as a forwarding gateway for forwarding the first LoRaWAN downlink message.
In the foregoing scheme, the first obtaining unit is further specifically configured to: obtaining the time contained in the time field of the target IP uplink message based on the second analysis result; and taking the time as the receiving time of the LoRaWAN uplink message received by the forwarding gateway.
In the foregoing scheme, the third obtaining module is specifically configured to: determining the transmission time of the first LoRaWAN downlink message based on the first LoRaWAN downlink message; determining a first downlink window opening time and a second downlink window opening time of the communication terminal based on the receiving time; and acquiring first time and second time when the forwarding gateway can send the first LoRaWAN downlink message based on the transmission time of the first LoRaWAN downlink message, the first downlink window opening time and the second downlink window opening time.
In the foregoing solution, the first determining module is specifically configured to: taking the gateway identification code of the forwarding gateway as a query key value; based on the query key value and the mapping relation, obtaining the stored state information of the forwarding gateway; the mapping relation is the corresponding relation between the gateway identification code and the state information.
In the above solution, the apparatus further comprises:
an updating module, configured to update the status information at least including that the forwarding gateway is in a busy status; recording a first IP downlink message sent to the forwarding gateway; acquiring first sending time for sending a second LoRaWAN downlink message by the forwarding gateway based on the first IP downlink message; the second LoRaWAN downlink message is obtained by the network server based on the first IP downlink message; marking that the forwarding gateway is in a busy state within the first sending time; determining a first mapping relation between the gateway identification code of the forwarding gateway and the forwarding gateway in a busy state at the first sending time, and storing the first mapping relation;
alternatively, the first and second electrodes may be,
an updating module, configured to update the status information at least including that the forwarding gateway is in a busy status; receiving second sending time of sending a third LoRaWAN downlink message by the forwarding gateway; the third LoRaWAN downlink message is obtained by the forwarding gateway based on the received second IP downlink message; the second IP downlink packet is a packet that the network server actively sends to the forwarding gateway; marking that the forwarding gateway is in a busy state within the second sending time; determining a second mapping relation between the gateway identification code of the forwarding gateway and the forwarding gateway in a busy state at the second sending time; and storing the second mapping relation.
In the foregoing solution, the first obtaining module includes: a classification processing unit and a second obtaining unit, wherein,
the classification processing unit is used for performing classification processing on each IP uplink message received within a set time period to obtain a classification processing result;
the second obtaining unit obtains the at least one IP uplink packet belonging to the communication terminal based on the classification processing result.
In the foregoing scheme, the classification processing unit is specifically configured to: performing fourth analysis on each IP uplink message in each IP uplink message to obtain a fourth analysis result; obtaining second LoRaWAN uplink data corresponding to each IP uplink message based on the fourth analysis result; classifying each IP uplink message according to a second set condition to obtain a classification processing result; the second set condition is that the IP uplink messages with the same second LoRaWAN uplink data are classified into one class;
correspondingly, the second obtaining unit is specifically configured to: based on the classification processing result, obtaining an IP uplink message of which the equipment identifier belongs to the communication terminal; and taking each IP uplink message of which the equipment identifier belongs to the communication terminal as at least one IP uplink message belonging to the communication terminal.
In the above solution, the apparatus further comprises: a receiving module, a distribution module, a third determination module, a storage module, an identification module, a generation module and a sending module, wherein,
the receiving module is used for receiving at least two interference communication terminals;
the allocation module is used for allocating corresponding first downlink frequency points to second downlink windows of each of the at least two interference communication terminals according to a set algorithm;
the third determining module is configured to determine a correspondence between the device identifier of each of the at least two interfering communication terminals and the corresponding first downlink frequency point;
the storage module is used for storing the corresponding relation;
the identification module is used for identifying that a certain interference communication terminal successfully accesses the network, and acquiring a second downlink frequency point corresponding to a second downlink window of the certain interference communication terminal based on the corresponding relation and the equipment identifier of the certain interference communication terminal;
the generating module is used for generating a protocol instruction based on the corresponding second downlink frequency point;
the sending module is configured to send the protocol instruction to the certain interfering communication terminal; the protocol instruction is used for instructing the certain interfering communication terminal to configure the frequency point of a second downlink window into the corresponding second downlink frequency point.
In a third aspect, an embodiment of the present invention provides a computer storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any of the methods described above.
In a fourth aspect, an embodiment of the present invention provides a scheduling apparatus, where the scheduling apparatus includes: a processor and a memory for storing a computer program operable on the processor, wherein the processor is operable to perform the steps of the method of any preceding claim when the computer program is executed by the processor.
The embodiment of the invention provides a scheduling method, a scheduling device and a computer storage medium, wherein the method comprises the following steps: obtaining at least one Internet Protocol (IP) uplink message; the at least one IP uplink message belongs to the same communication terminal; based on the at least one IP uplink message, obtaining a first long-distance wireless wide area network LoRaWAN downlink message sent to the communication terminal, a forwarding gateway for forwarding the first LoRaWAN downlink message and a receiving time when the forwarding gateway receives the LoRaWAN uplink message; acquiring first time and second time when the forwarding gateway can send the first LoRaWAN downlink message based on the first LoRaWAN downlink message and the receiving time; determining state information of the forwarding gateway based on the gateway identification code of the forwarding gateway; and determining a downlink window for the communication terminal to receive the first LoRaWAN downlink message based on the state information, the first time and the second time. By adopting the scheduling method and the scheduling device provided by the embodiment of the invention, the network server can use the downlink window of the communication terminal more reasonably based on the state information of the forwarding gateway, so that the problem that the forwarding gateway discards part of downlink messages and reduces the success rate of downlink message transmission due to the conflict of message sending time can be solved.
Drawings
Fig. 1 is a schematic diagram of a system architecture of a LoRaWAN in the related art;
fig. 2 is a schematic diagram illustrating a flow of opening time of an uplink window and a downlink window of a communication terminal in the related art;
fig. 3 is a schematic flowchart of a scheduling method according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating an update flow of an information status of a forwarding gateway according to an embodiment of the present invention;
fig. 5 is a schematic application flow chart of the scheduling method according to the embodiment of the present invention;
fig. 6 is a schematic view of a configuration flow of a second downlink window of a communication terminal according to an embodiment of the present invention;
fig. 7 is an interaction diagram of a configuration flow of a second downlink window of a communication terminal according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a scheduling apparatus according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware structure of a scheduling apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the following describes specific technical solutions of the present invention in further detail with reference to the accompanying drawings in the embodiments of the present invention. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
To facilitate understanding of the present invention, a brief description will be given of a related art of message transmission in the LoRaWAN.
The LoRaWAN is a set of communication protocol and system architecture designed based on a Long Range (LoRa) communication network, and is widely applied to the internet of things, and as shown in fig. 1, the system architecture includes a communication terminal 101, a communication terminal 102, a communication terminal 103, a gateway (base station) 104, a gateway (base station) 105, and a network server 106. It should be noted that there are not only three communication terminals in the LoRaWAN, but also two gateways (base stations), and the embodiment of the present invention only uses the LoRaWAN having 3 communication terminals and 2 gateways (base stations) to illustrate the technical solution adopted by the present invention to solve the technical problem of LoRaWAN.
The network server 106 integrates a LoRaWAN network protocol service and a LoRaWAN network management service, and has a LoRaWAN message processing function and a management function of a communication terminal and a gateway (base station) defined by the LoRaWAN protocol standard.
In the system architecture, the gateway (base station) functions to connect the network server 106 and the communication terminal, and specifically, the communication terminal may send an uplink message to the network server 106 through the gateway (base station), which is called an uplink process, and the uplink process includes two transmission processes: a transmission process of the communication terminal sending a LoRaWAN uplink message to the gateway (base station) and a transmission process of the IP uplink message sent by the gateway (base station) to the network server 106. The network server 106 may send a downlink message to the communication terminal through a gateway (base station), and this process is called a downlink process, and the downlink process includes two transmission processes: the network server 106 sends the transmission process of the IP downlink message to the gateway (base station) and the transmission process of the LoRaWAN downlink message sent by the gateway (base station) to the communication terminal.
In the system architecture, the network server 106, the gateway (base station) 104 and the gateway (base station) 105 may communicate with each other through an Internet Protocol (IP) to transmit an IP uplink packet or an IP downlink packet, where the IP may be: the mobile cellular network protocol may be, for example, a third generation mobile communication technology (3G), a fourth generation mobile communication technology (4G), a Wireless Fidelity (WIFI) protocol, an Ethernet (Ethernet) protocol, a micro earth station (VSAT) satellite communication technology protocol, or the like. The communication terminals 101, 102, and 103 communicate with the gateway (base station) 104 or the gateway (base station) 105 using the LoRaWAN protocol to transmit LoRaWAN uplink messages or LoRaWAN downlink messages.
In the technical standard of LoRaWAN, the communication terminals 101, 102, and 103 are sensor terminals having LoRaWAN communication functions, and the communication terminals are roughly classified into: a class a two-way communication terminal, a class B two-way communication terminal, and a class C two-way communication terminal, wherein,
as shown in fig. 2, each time an uplink message is sent to the network server 106 through the gateway (base station), the communication terminal of this type opens an uplink window 201 after sending a LoRaWAN uplink message to the gateway (base station), closes the uplink window 201 after the LoRaWAN uplink message is sent, and after the uplink window 201 is closed, waits for a set time delay, and opens a first downlink window 202 and a second downlink window 203, where the first downlink window 202 is also referred to as RX1202, the second downlink window 203 is also referred to as RX 3, and the RX1202 is opened earlier than RX 2203. In the related art, the two downlink windows are not reasonably utilized, generally, the Class a terminal only sets one of RX1202 and RX2203, that is, when the Class a terminal leaves the factory, a default downlink window RX1202 or RX2203 is generally set, after sending the LoRaWAN uplink message, the default downlink window is used to receive the downlink message carrying the response information sent by the network server 106 through the gateway (base station), for example, if the default downlink window is RX1202, the network server 106 sends the downlink message to the Class a terminal through the gateway (base station), and the Class a terminal receives the downlink message through RX1202, however, since a certain gateway (base station) may need to forward the downlink messages of multiple communication terminals, at the gateway (base station) side, part of the downlink message may be discarded because of the collision of the message sending time of the network server 106, and the gateway (base station) may discard part of the downlink message, thus, the success rate of downlink message transmission is reduced. For another example, if the default downlink window is RX2203, when the network server 106 sends the downlink packet carrying the response information to the Class a terminal through the gateway (base station), not only the downlink packet at the side of the gateway (base station) is discarded due to the conflict of the packet sending time, but also the configuration parameters of RX2203, such as frequency band parameters, data transmission rate, etc., are generally fixed, so that mutual interference occurs in the air transmission process of a part of the downlink packet, that is, mutual interference occurs in the air sent by various downlink packets to the communication terminal through the gateway (base station), which results in a failure of downlink packet transmission, and reduces the success rate of downlink packet transmission.
The Class B bidirectional communication terminal is also called a Class B terminal, and the application scene of the Class B bidirectional communication terminal can be a valve control water gas electric meter and the like. The Class B terminal has some unique characteristics besides the characteristics of the Class a terminal, specifically: the Class B terminal also opens a downlink window at a designated time to receive downlink messages sent by the network server 106 via the gateway (base station). That is, the Class B terminal has more downlink windows than the Class a terminal. According to the specific attributes of the Class B terminal, there are two cases of data transmission between the Class B terminal and the network server 106: when a Class B terminal sends an uplink message through a gateway (base station), the network server 106 sends a downlink message carrying response information corresponding to the uplink message to the Class B terminal, or when sending a downlink message at least including the response information and a user instruction, the Class B terminal receives the downlink message by using RX1202 or RX 2203; when the Class B terminal does not send an uplink packet and the network server 106 needs to send a user instruction to the Class B terminal, the downlink packet carrying the user instruction may be sent by using a downlink window opened at a specified time. For the former case, Class B terminals face similar problems as the aforementioned Class a terminals; for the latter case, the Class B terminal also faces the problem that, at the gateway (base station), because of the conflict between the time when the network server 106 sends the packet, the gateway (base station) discards part of the downlink packet, thereby reducing the success rate of downlink packet transmission.
The downlink window of the Class C bidirectional communication terminal is always open, and only the downlink window is temporarily closed in the process of sending the uplink message, because the downlink window of the Class C terminal is always open, or in other words, the Class C terminal is always in a continuous receiving state, the network server 106 can send the downlink message to the Class C terminal through the gateway (base station) at any time, and the application scene of the Class C terminal can be the control of a street lamp, and the like. The Class C terminal also faces the problem that, at the gateway (base station), due to the conflict between the time when the network server 106 sends the packet, part of the downlink packet is discarded by the gateway (base station), which reduces the success rate of downlink packet transmission.
Based on the above description, in LoRaWAN, these three types of communication terminals have a common feature: after the communication terminal sends the LoRaWAN uplink message, a downlink window is opened: RX1202, or, open downlink windows RX1202 and RX2203, and then, network server 106 sends a downlink message to the communication terminal through the gateway (base station) within the opening time of one downlink window selected from the two downlink windows, where the downlink message may carry response information corresponding to the LoRaWAN uplink message, or may carry the response information and the user instruction. Since one gateway (base station) in the LoRaWAN may be connected to multiple communication terminals, there is a problem that, in the same time period, the network server 106 may need to send downlink messages to multiple communication terminals through a certain gateway (base station), but the gateway (base station) cannot simultaneously forward multiple downlink messages, so that part of the downlink messages are lost, thereby affecting the success rate of downlink message transmission.
Based on this, the embodiment of the present invention maintains a piece of status information about the gateway (base station) in the network server 106, where the status information includes that the gateway (base station) is in a busy state and in an idle state; the busy state refers to a state that a gateway (base station) sends a LoRaWAN downlink message to a communication terminal; the idle state refers to a state that a gateway (base station) does not send LoRaWAN downlink messages to a communication terminal, so that the use of RX1202 and RX2203 is reasonably scheduled, and the success rate of downlink message transmission is improved. It should be noted that the role played by the gateway or the base station related to the LoRaWAN is a relay, and the roles of the gateway and the base station are the same, so the inventive concept of the present invention is described below only by taking the gateway as an example.
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
As shown in fig. 3, it shows a flowchart of a scheduling method, applied to the web server 106, the method includes:
s301: obtaining at least one IP uplink message; the at least one IP uplink message belongs to the same communication terminal.
In an actual application process, since a plurality of gateways are usually deployed in the LoRaWAN, a certain communication terminal may send an uplink message to the network server 106 through one or more gateways, for example, in fig. 1, taking the communication terminal 101 as an example, the communication terminal 101 may select to send the uplink message to the network server 106 through the gateway 104 or the gateway 105, or through both the gateway 104 and the gateway 105.
It should be noted that, based on the foregoing description, the sending, by the communication terminal, the uplink message to the network server 106 through the gateway includes two transmission processes: the transmission process of the communication terminal sending the LoRaWAN uplink packet to the gateway and the transmission process of the IP uplink packet sent by the gateway to the network server 106, therefore, the network server 106 can receive a plurality of IP uplink packets related to the communication terminal, wherein the type of the certain communication terminal may be any one of a Class a terminal, a Class B terminal, and a Class C terminal.
In some embodiments, the process of sending the uplink message to the network server 106 by the certain communication terminal through one or more gateways may include:
the communication terminal sends LoRaWAN uplink messages according to the LoRaWAN protocol;
at least one gateway receives the LoRaWAN uplink message;
each gateway in the at least one gateway processes the LoRaWAN uplink message according to the IP to obtain an IP uplink message;
and sending the IP uplink message to a network server 106.
It should be noted that, when the communication terminal needs to send data, the communication terminal generates a LoRaWAN uplink packet according to a format requirement of a LoRaWAN protocol, and then sends the LoRaWAN uplink packet according to a LoRaWAN wireless communication protocol, where the LoRaWAN uplink packet at least includes a device identifier of the communication terminal, where the device identifier is a unique identifier, in other words, the device identifier is like an identity identifier for identifying the uniqueness of the communication terminal. For example, the device identifier may be a product serial number of the communication terminal when the communication terminal is shipped from a factory. During the transmission of subsequent data, the network server 106 may determine to which communication terminal to send the downlink packet containing the response information based on the device identifier.
In some embodiments, each of the at least one gateway processes the LoRaWAN uplink packet according to IP, including: adding a gateway related information field in the LoRaWAN uplink message, wherein the gateway related information field can comprise a time field, a gateway identification field, a channel identification field, a signal strength field and the like, and the time field at least comprises the time when the LoRaWAN uplink message is received by the gateway; the gateway Identification field at least includes a gateway Identification code, for example, the gateway Identification code is a unique Identification of an identity (Identification) of the gateway, for example, the gateway Identification code may be a Media Access Control (MAC) address allocated when the gateway leaves the factory; the channel identification field at least comprises a channel identification of a channel adopted by the gateway to send the IP uplink message to the network server; the signal intensity field at least comprises the signal intensity of a channel adopted by the gateway to send the IP uplink message to the network server. After adding the gateway related information field to the LoRaWAN uplink message, an IP uplink message is obtained, and the IP uplink message is sent to the network server 106.
It should be noted that, according to the LoRaWAN protocol, the LoRaWAN uplink packet sent by the communication terminal may be received by one or more gateways, and on this basis, each different gateway adds its own gateway-related information field to the LoRaWAN uplink packet received by itself according to the IP, obtains the IP uplink packet corresponding to each gateway, and sends the IP uplink packet corresponding to each gateway to the network server 106. The IP uplink messages corresponding to the gateways only have different contents contained in the gateway related information fields.
In an actual application process, as shown in fig. 1, a plurality of communication terminals are included in the LoRaWAN, and then, on this basis, in a certain time, the network server 106 receives an IP uplink packet uploaded by more than one communication terminal through a gateway, and the network server 106 needs to obtain each IP uplink packet belonging to the communication terminal from the obtained plurality of IP uplink packets.
Based on this, in some embodiments, the obtaining at least one IP uplink packet may include: classifying each IP uplink message received in a set time period to obtain a classification processing result; and obtaining at least one IP uplink message belonging to the same communication terminal based on the classification processing result.
It should be noted that, in the LoRaWAN, distances between deployed gateways and the network server 106 are not necessarily equal, and may be influenced by network factors, and the like, and the time when the network server 106 receives the IP uplink messages uploaded by the same communication terminal through different gateways may be different, so that the network server 106 needs to count all the IP uplink messages uploaded by the same communication terminal through different gateways within a set time period, so that the statistics is complete, where the set time period may be manually set, and may be set based on a large number of simulation experiments.
In some embodiments, the classifying each IP uplink packet received in the set time period to obtain a classification result includes:
performing fourth analysis on each IP uplink message in each IP uplink message to obtain a fourth analysis result;
obtaining second LoRaWAN uplink data corresponding to each IP uplink message based on the fourth analysis result;
classifying each IP uplink message according to a second set condition to obtain a classification processing result; the second set condition is that the IP uplink messages with the same second LoRaWAN uplink data are classified into one class;
correspondingly, the obtaining the at least one IP uplink packet belonging to the communication terminal based on the classification processing result may include: based on the classification processing result, obtaining an IP uplink message of which the equipment identifier belongs to the communication terminal; and taking each IP uplink message of which the equipment identifier belongs to the communication terminal as at least one IP uplink message belonging to the communication terminal.
It should be noted that the second LoRaWAN uplink data mentioned herein is substantially data included in the LoRaWAN uplink message sent by the communication terminal, for example, the second LoRaWAN uplink data may be a device identifier, and the like. For another example, the second LoRaWAN uplink data may also be specific data uploaded by the communication terminal, for example, if the communication terminal is an electricity meter, the second LoRaWAN uplink data may be a power consumption number of the user in a certain time, and the like.
It should be noted that, the network server 106 may obtain the device identifier based on the second LoRaWAN uplink data in the IP uplink message, and determine whether the IP uplink message belongs to the message sent by the communication terminal according to the device identifier. All IP uplink messages corresponding to the second LoRaWAN uplink data containing the same device identifier belong to the communication terminal for transmission, and therefore, the network server 106 may use each IP uplink message of which the device identifier belongs to the communication terminal as at least one IP uplink message belonging to the communication terminal.
S302: and acquiring a first long-distance radio wide area network LoRaWAN downlink message sent to the communication terminal, a forwarding gateway for forwarding the first LoRaWAN downlink message and the receiving time of the LoRaWAN uplink message received by the forwarding gateway based on the at least one IP uplink message.
In practical application, for S302, the following steps are included:
determining a target IP uplink message based on the at least one IP uplink message;
and based on the target IP uplink message, acquiring a first LoRaWAN downlink message sent to the communication terminal, determining a forwarding gateway for forwarding the first LoRaWAN downlink message, and determining the receiving time of the LoRaWAN uplink message received by the forwarding gateway.
It should be noted that, based on the foregoing description, the network server 106 should receive the IP uplink packet sent by one or more gateways. Since only the gateway related information field is added to the LoRaWAN uplink packet, that is, when the same LoRaWAN uplink packet is forwarded to the gateway server 106 through different gateways, only the gateway related information field of different gateways is added to the IP uplink packet, therefore, the second LoRaWAN uplink data carried in each IP uplink packet received by the network server 106 are the same, and on this basis, if the network server 106 responds to all the received IP uplink packets, the operation burden and resource overhead of the network server 106 are greatly increased. And the communication terminal may receive a plurality of identical downlink messages containing response information, which not only causes data redundancy, but also increases the overhead of the communication terminal.
Based on this, in some embodiments, the determining a target IP uplink packet based on the at least one IP uplink packet includes: processing the at least one IP uplink message according to a set rule to obtain a processing result; and determining a target IP uplink message based on the processing result.
It should be noted that, the network server 106 may determine, based on the target IP uplink packet, a first LoRaWAN downlink packet sent to the communication terminal and a forwarding gateway for forwarding the first LoRaWAN downlink packet.
In the actual application process, the setting rule may be the signal strength in the IP uplink packet, or the setting rule may also be the sequence of the IP uplink packet reaching the network server 106.
Specifically, as an embodiment, when the set rule is a signal strength in an IP uplink message, the processing the at least one IP uplink message according to the set rule to obtain a processing result includes: performing first analysis on each IP uplink message in the at least one IP uplink message to obtain a first analysis result; obtaining the signal intensity corresponding to each IP uplink message based on the first analysis result; performing first sequencing on each signal intensity according to a first set condition to obtain a first sequencing result; correspondingly, the determining the target IP uplink packet based on the processing result includes: and determining a target IP uplink message based on the first sequencing result.
Specifically, in some embodiments, the first setting condition may be that the signal strength is from large to small, and then the performing the first ranking on each signal strength according to the first setting condition includes: performing first sequencing on each IP uplink message according to the sequence of the signal intensity from large to small to obtain a first sequencing result; correspondingly, the obtaining a target IP uplink packet based on the first sequencing result includes: and taking the IP uplink message corresponding to the first signal strength as a target IP uplink message.
In other embodiments, when the first setting condition is that the signal strength is from small to large, the first ranking of each signal strength according to the first setting condition includes: performing first sequencing on each IP uplink message according to the sequence of the signal intensity from small to large to obtain a first sequencing result; correspondingly, the obtaining a target IP uplink packet based on the first sequencing result includes: and taking the IP uplink message corresponding to the sequenced signal strength as a target IP uplink message.
It should be noted that the first parsing refers to the network server 106 parsing each IP uplink packet according to the IP. The first analysis is the reverse process of the processing process performed by the gateway on the received LoRaWAN uplink packet according to the IP, and therefore, the network server 106 may obtain the signal strength included in each IP uplink packet after the first analysis.
As another optional implementation manner, when the set rule is the sequence of the IP uplink packets arriving at the network server 106, then, processing the at least one IP uplink packet according to the set rule to obtain a processing result includes: acquiring the arrival time of each IP uplink message in the at least one IP uplink message; performing second sequencing on each IP uplink message according to the sequence of the arrival time of each IP uplink message to obtain a second sequencing result; correspondingly, the determining the target IP uplink packet based on the processing result includes: and determining a target IP uplink message based on the second sequencing result. Specifically, the obtaining the target IP uplink packet based on the third sorting result includes: and taking the IP uplink message corresponding to the first arrival time as a target IP uplink message.
It should be noted that the network server 106 may obtain the time when each IP uplink packet reaches the network server 106 based on its own timer.
In an actual application process, the obtaining, based on the target IP uplink packet, a first LoRaWAN downlink packet sent to the communication terminal may include:
performing second analysis on the target IP uplink message to obtain a second analysis result;
obtaining first LoRaWAN uplink data based on the second analysis result;
and acquiring a first LoRaWAN downlink message sent to the communication terminal based on the first LoRaWAN uplink data.
It should be noted that the second parsing refers to a process of parsing, by the network server, the target IP uplink packet according to the IP, and since the target IP uplink packet is one of the at least one IP uplink packet, the second parsing is also a reverse process of a process of processing, by the gateway, the received LoRaWAN uplink packet according to the IP. Therefore, the network server 106 may obtain the first LoRaWAN uplink data included in the target IP uplink packet after the second parsing.
Here, the first LoRaWAN uplink data is a LoRaWAN uplink packet, and in an actual application process, the forwarding gateway encapsulates the LoRaWAN uplink packet sent by the communication terminal according to the IP to form an IP uplink packet sent by the forwarding gateway to the network server 106, so that the network server 106 can obtain data encapsulated according to the LoRaWAN protocol, that is, the first LoRaWAN uplink data, after parsing the IP uplink packet according to the IP. The "first LoRaWAN upstream data" and the "second LoRaWAN upstream data" are used herein only for convenience of description of different processes and are not intended to limit the present invention.
In an actual application process, the obtaining, based on the first LoRaWAN uplink data, a first LoRaWAN downlink packet sent to the communication terminal includes:
performing third analysis on the first LoRaWAN uplink data to obtain a third analysis result;
obtaining uplink data based on the third analysis result;
determining response data corresponding to the first LoRaWAN upstream data based on the upstream data;
packaging the response data according to a LoRaWAN protocol to obtain a packaged message;
and acquiring a first LoRaWAN downlink message corresponding to the communication terminal based on the encapsulation message.
It should be noted that the third parsing refers to a process of parsing, by the network server 106, the first LoRaWAN uplink data according to the LoRaWAN protocol. The third analysis is a reverse process of the communication terminal encapsulating the uplink data according to the LoRaWAN protocol to obtain the LoRaWAN uplink message. Therefore, the network server 106 may obtain the uplink data after the third analysis based on the first LoRaWAN uplink data, where the uplink data refers to data that the communication terminal needs to send, for example, when the communication terminal is an electricity meter, the uplink data may be electricity usage degrees reported to the network server 106 in a certain time.
In an actual application process, the network server 106 determines response data based on the uplink data, for example, the LoRaWAN uplink message sent by the certain communication terminal to the network server 106 through the forwarding gateway is a message including a network access request, then, after the network server 106 performs third analysis on the LoRaWAN uplink data based on the LoRaWAN protocol, the network access request sent by the communication terminal is obtained, and then, the network server 106 obtains response data for the communication terminal according to the LoRaWAN protocol based on the network access request, for example, if the communication terminal is allowed to access the network server 106, the network server 106 sends response data allowed for network access to the communication terminal.
It should be noted that the first LoRaWAN downlink message, the second LoRaWAN downlink message, and the third LoRaWAN downlink message are only used for distinguishing data in different flows, and are not used to limit the present invention.
In some embodiments, determining, based on the target IP uplink packet, a forwarding gateway for forwarding the first LoRaWAN downlink packet may include:
acquiring a gateway identification code contained in the target IP uplink message based on the second analysis result;
and taking the gateway corresponding to the gateway identification code as a forwarding gateway for forwarding the first LoRaWAN downlink message.
It should be noted that, because the target IP uplink packet is one of the IP uplink packets, according to the description above, the gateway identification field of the target IP uplink packet includes the gateway identification code, and the gateway identification code is the only identification for identifying the identity of the gateway, so the network server 106 can obtain the gateway identification code included in the target IP uplink packet according to the second analysis result, and use the gateway corresponding to the gateway identification code as the forwarding gateway for forwarding the first LoRaWAN downlink packet.
In some embodiments, determining, based on the target IP uplink packet, a receiving time at which the forwarding gateway receives a LoRaWAN uplink packet may include: obtaining the time contained in the time field of the target IP uplink message based on the second analysis result; and taking the time as the receiving time of the LoRaWAN uplink message received by the forwarding gateway.
It should be noted that, because the target IP uplink packet is one of the IP uplink packets, according to the foregoing description, the time field of the target IP uplink packet includes the time when the forwarding gateway receives the LoRaWAN uplink packet sent by the communication terminal, the network server 106 may obtain the time field included in the target IP uplink packet according to the foregoing second analysis result, and obtain the receiving time when the forwarding gateway receives the LoRaWAN uplink packet based on the time field.
S303: and acquiring first time and second time when the forwarding gateway can send the first LoRaWAN downlink message based on the first LoRaWAN downlink message and the receiving time.
In practical application, for S303, the following steps are included:
determining the transmission time of the first LoRaWAN downlink message based on the first LoRaWAN downlink message;
determining a first downlink window opening time and a second downlink window opening time of the communication terminal based on the receiving time;
and acquiring first time and second time when the forwarding gateway can send the first LoRaWAN downlink message based on the transmission time of the first LoRaWAN downlink message, the first downlink window opening time and the second downlink window opening time.
It should be noted that, the transmission time of the first LoRaWAN downlink packet referred to herein refers to the time required for the first LoRaWAN downlink packet to be transmitted from the forwarding gateway to the communication terminal and for the communication terminal to completely receive the first LoRaWAN downlink packet.
In an actual application process, based on a LoRaWAN protocol, a format of the first LoRaWAN downlink packet includes: a Preamble (Preamble), a Header (Header), and a data Payload (Payload), and a transmission time of the first LoRaWAN downlink packet may be calculated by the following formula:
Figure RE-680126DEST_PATH_IMAGE001
Figure RE-580266DEST_PATH_IMAGE003
Figure RE-709896DEST_PATH_IMAGE004
Figure RE-799261DEST_PATH_IMAGE006
wherein, T is the time required for the gateway to completely transmit the downlink packet to the Class B terminal, also called transmission time; t isPreambleIs the time of preamble transmission; t isPayloadIs the time of transmission of the data payload; n is a radical ofPreIs the length of the Preamble; t isPayTime of symbol transmission for a single LoRa data packet; n is a radical ofPayloadThe number of symbols contained in the data payload; PL is the number of bytes of data payload; SF is a spreading factor; h is a value of a different preamble mode, wherein H =0 when the preamble mode is displayed; in implicit preamble mode, H = 1; DE is 1 or 0, DE =1 when the symbol transmission time of a single LoRa packet exceeds 16 msec; otherwise DE = 0; CR is a forward error correction coding rate and has a value range of 1-4; rsIs the symbol duration; BW is the bandwidth. Here, the unit of time is milliseconds.
It should be noted that, based on the specification of the LoRaWAN protocol, and as shown in fig. 2, taking the communication terminal 101 as an example, after the communication terminal 101 has sent the LoRaWAN uplink message, the uplink window 201 will be closed, and after the uplink window 201 is closed and waiting for a set delay, the RX1202 is turned on, and those skilled in the art can understand that, when the RX1202 is kept on, if the communication terminal 101 receives the first LoRaWAN downlink message, after the first LoRaWAN downlink message is received, the communication terminal 101 will not turn on the RX2203 again; if the communication terminal 101 receives the first LoRaWAN downlink packet while RX2203 remains in the on state, the communication terminal 101 starts RX1202 first after waiting for a predetermined delay after the uplink window 201 is closed, and then starts RX2203 again after a predetermined window opening interval, so as to receive the first LoRaWAN downlink packet while RX2203 remains in the on state. That is, when the communication terminal 101 receives the first LoRaWAN downlink packet by using the RX1202, the RX2203 is not turned on any more; when the communication terminal 101 receives the LoRaWAN downlink message by using the RX2203, the RX1202 is still turned on, but the communication terminal 101 cannot receive the first LoRaWAN downlink message during the period that the RX1202 is kept in the on state, and the communication terminal 101 may receive the first LoRaWAN downlink message only when the RX2203 is turned on.
In some embodiments, the default values of the LoRaWAN protocol are used for the set delay and the set window opening interval, or, in the network access phase and the communication phase after the network access of the communication terminal, the network server 106 configures the set delay and the set window opening interval of the communication terminal, and after the configuration, the set delay and the set window opening interval are fixed, in other words, the set delay and the set window opening interval are not changed after the configuration is completed, in general, for example, the set delay may be set to 1s (second); the setup window open interval may also be set to 1 s.
Based on this, in an actual application process, the determining a first downlink window opening time and a second downlink window opening time of the communication terminal based on the receiving time includes: adding a set time delay to the receiving time to obtain a first downlink window opening time of the communication terminal;
and adding the set time delay to the receiving time, and adding a set window opening interval to obtain a second downlink window opening time of the communication terminal.
Specifically, the first downlink window opening time of the communication terminal is equal to the time when the forwarding gateway has received the LoRaWAN uplink packet, and the time after the set time delay is extended, that is: adding a set time delay to the receiving time to obtain a first downlink window opening time; the second downlink window opening time of the communication terminal is equal to the time after the set window opening interval is prolonged after the time when the forwarding gateway receives the LoRaWAN uplink message is started and the set time delay is prolonged, that is: and adding the set time delay to the receiving time, and adding the set window opening interval to obtain a second downlink window opening time.
In some embodiments, the obtaining, based on the transmission time of the first LoRaWAN downlink packet, the first downlink window opening time, and the second downlink window opening time, the first time and the second time at which the forwarding gateway can send the first LoRaWAN downlink packet includes:
acquiring first time when the forwarding gateway can send the first LoRaWAN downlink message based on the transmission time of the first LoRaWAN downlink message and the opening time of the first downlink window;
and acquiring second time for the forwarding gateway to be capable of sending the first LoRaWAN downlink message based on the transmission time of the first LoRaWAN downlink message and the opening time of the second downlink window.
In the actual application process, the process of the web server 106 obtaining the first time is as follows: firstly, subtracting the transmission time of the first LoRaWAN downlink message from the first downlink window opening time to obtain a first time, wherein the first time is the time between the first time and the first downlink window opening time; the process of the web server 106 obtaining the second time is: and subtracting the transmission time of the first LoRaWAN downlink message from the second downlink window opening time to obtain a second time, wherein the second time is the time between the second time and the second downlink window opening time.
S304: and determining the state information of the forwarding gateway based on the gateway identification code of the forwarding gateway.
In some embodiments, for S304, comprising:
taking the gateway identification code of the forwarding gateway as a query key value;
based on the query key value and the mapping relation, obtaining the stored state information of the forwarding gateway; the mapping relation is the corresponding relation between the gateway identification code and the state information.
It should be noted that the status information of the forwarding gateway may include that the forwarding gateway is in a busy state and that the forwarding gateway is in an idle state, where the busy state refers to that the forwarding gateway is in a state of sending a LoRaWAN downlink packet; the idle state refers to a state that the forwarding gateway is not sending the LoRaWAN downlink message.
It will be understood by those skilled in the art that in a LoRaWAN, there are more than one communication terminal and there are different types of communication terminals, in other words, the LoRaWAN downlink message mentioned here includes not only the first LoRaWAN downlink message but also messages sent to other communication terminals.
In an actual application process, in order to ensure normal transmission and reception of data in the LoRaWAN, the network server 106 records an IP downlink packet sent to each gateway, calculates the LoRaWAN downlink packet sent to each communication terminal based on each recorded IP downlink packet, and determines which downlink window each communication terminal adopts to receive the LoRaWAN downlink packet, thereby updating state information of each gateway.
It should be noted that the process of updating the status information of each gateway by the web server 106 is similar, and only the update of the status information of the forwarding gateway is described in detail below.
In some embodiments, the process by which web server 106 updates the state information of the forwarding gateway may be as follows:
recording a first IP downlink message sent to the forwarding gateway;
acquiring first sending time for sending a second LoRaWAN downlink message by the forwarding gateway based on the first IP downlink message; the second LoRaWAN downlink message is obtained by the network server based on the first IP downlink message;
marking that the forwarding gateway is in a busy state within the first sending time;
and determining a first mapping relation between the gateway identification code of the forwarding gateway and the forwarding gateway in a busy state at the first sending time, and storing the first mapping relation.
It should be noted that, the first IP downlink packet, the second LoRaWAN downlink packet, the subsequent second IP downlink packet, and the third LoRaWAN downlink packet are only for convenience of description of different processing procedures, and are not used to limit the present invention.
In an actual application process, the network server 106 may analyze the recorded first IP downlink packet according to IP, obtain a second LoRaWAN downlink packet sent by the forwarding gateway to a certain communication terminal, and determine, based on the second LoRaWAN downlink packet, transmission time of the second LoRaWAN downlink packet from the forwarding gateway to the corresponding communication terminal, that is: the transmission time of a second LoRaWAN downlink message; then, the network server 106 determines the opening time of the downlink window of the certain communication terminal based on the recorded downlink window adopted by the certain communication terminal to receive the second LoRaWAN downlink message, then obtains the first sending time of the second LoRaWAN downlink message sent by the forwarding gateway based on the transmission time of the second LoRaWAN downlink message and the opening time of the downlink window received by the certain communication terminal, finally marks the forwarding gateway in the first sending time as being in a busy state, determines the first mapping relationship between the gateway identification code of the forwarding gateway and the forwarding gateway in the busy state in the first sending time, and stores the first mapping relationship. On this basis, if the network server 106 needs to send the LoRaWAN downlink packet to a certain communication terminal through the forwarding gateway again, the network server 106 may determine, based on the state information of the forwarding gateway, which downlink window can be adopted by the certain communication terminal to receive the LoRaWAN downlink packet.
It should be noted that the first mapping relationship is a specific form of the aforementioned mapping relationship; the forwarding gateway is in a busy state at the first sending time, which is a specific form of the state information of the forwarding gateway. The first sending time is the time from the first sending time to the opening time of the downlink window of the certain communication terminal, and the first sending time is the time obtained by subtracting the transmission time of the second LoRaWAN downlink message from the opening time of the downlink window of the certain communication terminal. The first transmission time is any one of the first time and the second time.
In the actual application process, since three types of communication terminals are included in the LoRaWAN and the characteristics of the communication terminals are different, each type of communication terminal may be different for updating the status information of the forwarding gateway based on the characteristics.
Specifically, for the Class a terminal and the Class B terminal, when the network server 106 has sent the LoRaWAN downlink packet to the Class a terminal and/or the Class B terminal, the process of the network server 106 updating the status information of the store-and-forward gateway may be as described above.
For the Class C terminal, due to the characteristics of the Class C terminal, the Class C terminal is in a receiving state most of the time, and when the Class C terminal sends a LoRaWAN uplink packet to the network server 106, the update and storage conditions of the state information of the forwarding gateway are the same as those of the Class a terminal and the Class B terminal; when the Class C terminal does not send the LoRaWAN uplink packet to the network server 106, if the network server 106 needs to actively send the LoRaWAN downlink packet including the user instruction to the Class C terminal, the network server 106 encapsulates the LoRaWAN downlink packet including the user instruction into an IP downlink packet and directly sends the IP downlink packet to the forwarding gateway, and the forwarding gateway allocates sending time to the LoRaWAN downlink packet based on the condition of the forwarding gateway itself, and at this time, the network server 106 cannot know the time when the forwarding gateway sends the LoRaWAN downlink packet, and cannot accurately maintain the state information of the forwarding gateway.
In some embodiments, in order to enable the network server 106 to accurately maintain the status information of the forwarding gateway, when a Class C terminal is included in the LoRaWAN, the process of the network server 106 updating the status information of the forwarding gateway may include:
receiving second sending time of sending a third LoRaWAN downlink message by the forwarding gateway; the third LoRaWAN downlink message is obtained by the forwarding gateway based on the received second IP downlink message; the second IP downlink packet is a packet that the network server actively sends to the forwarding gateway;
marking that the forwarding gateway is in a busy state within the second sending time;
determining a second mapping relation between the gateway identification code of the forwarding gateway and the forwarding gateway in a busy state at the second sending time; and storing the second mapping relation.
It should be noted that the forwarding gateway needs to obtain a third LoRaWAN downlink packet sent to the Class C terminal based on the second IP downlink packet actively sent by the network server 106, and obtain transmission time for transmitting the third LoRaWAN downlink packet to the Class C terminal based on the third LoRaWAN downlink packet; and determining second sending time for sending the third LoRaWAN downlink message to the Class C terminal based on the self time condition and the transmission time of the third LoRaWAN downlink message, and returning the second sending time to the network server 106, so that the network server 106 can accurately know the state information of the forwarding gateway.
It should be noted that the second mapping relationship is a specific form of the aforementioned mapping relationship; the forwarding gateway is in a busy state at the second sending time, which is a specific form of the state information of the forwarding gateway. The second sending time is the time from the second sending time to the opening time of the downlink window of the certain communication terminal, and the second sending time is the time obtained by subtracting the transmission time of the second LoRaWAN downlink message from the opening time of the downlink window of the certain communication terminal. The second transmission time is any one of the first time and the second time.
For example, assuming that the transmission time of the third LoRaWAN downlink packet including the user command is 0.5s and the forwarding gateway is in the idle state between the 3 rd 3 ~ 4th s, if the forwarding gateway sends the third LoRaWAN downlink packet including the user command between the 3 rd 3 ~ 3.5.5 th s and reports the third LoRaWAN downlink packet including the user command between the 3 rd 3 ~ 3.5.5 th s to the network server 106, the network server 106 may know that the forwarding gateway is in the busy state between the 3 rd 3 ~ 3.5.5 th s based on this.
In an actual application process, as shown in fig. 4, the communication terminal in the LoRaWAN includes the type of the Class C terminal, and the interaction process of the network server 106 updating the status information of the forwarding gateway may be as follows:
1) the network server 106 actively sends the second IP downlink packet containing the user instruction to the forwarding gateway.
2) And the forwarding gateway determines the second sending time of the third LoRaWAN downlink message containing the user instruction.
It should be noted that, the forwarding gateway obtains a third LoRaWAN downlink packet including the user instruction based on the second IP downlink packet including the user instruction, and determines the transmission time of the third LoRaWAN downlink packet including the user instruction based on the third LoRaWAN downlink packet; determining second sending time for sending the third LoRaWAN downlink message based on the self time condition; the second transmission time is transmitted to the web server 106.
It should be noted that, the forwarding gateway obtains the third LoRaWAN downlink packet including the user instruction based on the second IP downlink packet including the user instruction, that is, the forwarding gateway processes the second IP downlink packet according to the LoRaWAN protocol to obtain LoRaWAN downlink data including the user instruction, and then encapsulates the LoRaWAN downlink data according to the LoRaWAN protocol to form the third LoRaWAN downlink packet. The transmission time of the third LoRaWAN downlink packet may be calculated based on the foregoing manner, which is not described herein again.
3) The network server 106 marks the forwarding gateway as a busy state at the second sending time, and determines a corresponding relationship between the gateway identification code of the forwarding gateway and the gateway identification code of the forwarding gateway which is in the busy state at the second sending time.
It should be noted that the network server 106 marks the forwarding gateway as being in a busy state in the second sending time; and determining a second mapping relation between the gateway identification code of the forwarding gateway and the forwarding gateway in a busy state at a second sending time, and storing the second mapping relation.
4) The web server 106 updates the state information of the forwarding gateway.
It should be noted that the web server 106 stores the second mapping relationship.
S304: and determining a downlink window for the communication terminal to receive the first LoRaWAN downlink message based on the state information, the first time and the second time.
In practical application, the method for S304 includes:
judging whether the first state of the forwarding gateway meets a set state at the first time or not based on the state information;
and when the first state of the forwarding gateway meets the set state, taking a first downlink window of the communication terminal as a downlink window for receiving the first LoRaWAN downlink message.
In some embodiments, for S304, further comprising:
when the first state of the forwarding gateway is judged not to meet the set state, judging whether the second state of the forwarding gateway meets the set state at the second time;
and when the second state of the forwarding gateway meets the set state, taking a second downlink window of the communication terminal as a downlink window for receiving the first LoRaWAN downlink message.
It should be noted that, in the actual application process, when the network server 106 determines that the second state of the forwarding gateway does not satisfy the set state, the network server 106 abandons sending the first LoRaWAN downlink packet to the forwarding gateway, and sends the relevant information to the log server, which is convenient for the operation and maintenance staff to process.
It should be noted that the setting state described herein means that the forwarding gateway is in an idle state. The first state is the state of the forwarding gateway at the first time; the second state is a state in which the forwarding gateway is at a second time.
Specifically, the web server 106 first determines whether the forwarding gateway is in an idle state at the first time based on the state information of the forwarding gateway; if the forwarding gateway is in an idle state at the first time, that is: if the first state of the forwarding gateway meets the set state, the network server 106 controls the forwarding gateway to send the LoRaWAN downlink packet to the communication terminal during the RX1202 of the communication terminal is turned on, and the communication terminal may receive the LoRaWAN downlink packet by using the RX1202 and is no longer turned on RX 2203; if the forwarding gateway is in a busy state at the first time, that is, the first state of the forwarding gateway does not satisfy the set state, the network server 106 determines whether the forwarding gateway is in an idle state at the second time, and if the forwarding gateway is in an idle state at the second time, that is: if the second state of the forwarding gateway meets the set state, the network server 106 controls the forwarding gateway to send the LoRaWAN downlink packet to the communication terminal during the RX2203 of the communication terminal is turned on, and the communication terminal may receive the LoRaWAN downlink packet by using the RX 2203. Note that, at this time, RX1202 is already turned on; if the forwarding gateway is in a busy state at the second time, that is: if the second state of the forwarding gateway does not meet the set state, the network server 106 gives up sending the LoRaWAN downlink message to the forwarding gateway, and sends related information to the log server, which is convenient for operation and maintenance personnel to process.
For understanding the present invention, as shown in fig. 5, an application flow of the scheduling method provided by the embodiment of the present invention is shown, and the application flow specifically includes the following steps:
(1) and determining the first time and the second time for sending the first LoRaWAN downlink message, and the transmission time of the forwarding gateway and the first LoRaWAN downlink message.
Here, the network server 106 may obtain, based on the foregoing S303, the first time and the second time for the forwarding gateway to send the first LoRaWAN downlink packet, and the transmission time of the first LoRaWAN downlink packet, which is not described herein again.
(2) And inquiring the state information of the forwarding gateway based on the gateway identification code of the forwarding gateway.
It should be noted that, the network server 106 uses the gateway identifier of the forwarding gateway as a query key, and queries the status information of the forwarding gateway from the database of the network server 106 based on the query key and the mapping relationship in the foregoing S304.
(3) And judging whether the forwarding gateway can send the first LoRaWAN downlink message at the first time or the second time based on the state information of the forwarding gateway.
(4) If the forwarding gateway can be sent at the first time, updating the state information of the forwarding gateway; and if the forwarding gateway can be sent at the second time, updating the state information of the forwarding gateway.
Specifically, the network server 106 determines whether the forwarding gateway can send a first LoRaWAN downlink packet at a first time based on the state information; if the message can be sent, the network server 106 controls the forwarding gateway to send the first LoRaWAN downlink message to the communication terminal during the RX1202 of the communication terminal is turned on, the communication terminal may receive the LoRaWAN downlink message by using the RX1202, and the network server 106 makes the forwarding gateway in a busy state at the first time, stores a mapping relationship between a gateway identification code of the forwarding gateway and the forwarding gateway in the busy state at the first time, that is, updates state information of the forwarding gateway; if the message cannot be sent, based on the state information, determining whether the forwarding gateway can send the first LoRaWAN downlink message at the second time, if the message can be sent, the network server 106 controls the forwarding gateway to send the first LoRaWAN downlink message to the communication terminal during an RX2203 of the communication terminal is turned on, and the communication terminal may receive the first LoRaWAN downlink message by using the RX2203, and the network server 106 updates the state information of the forwarding gateway, that is: the network server 106 marks the forwarding gateway as being in a busy state between the second time and the starting time of a second downlink window, and stores the mapping relation between the gateway identification code of the forwarding gateway and the forwarding gateway in the busy state at the second time; if not, the network server 106 gives up sending the first LoRaWAN downlink message to the forwarding gateway, and sends related information to the log server, so that operation and maintenance of operation and maintenance personnel are facilitated.
In an actual application process, in LoRaWAN, since parameters of a second downlink window of each communication terminal are generally fixed, which easily causes that each LoRaWAN downlink message collides in the air when each gateway sends an LoRaWAN downlink message to a communication terminal, in order to solve this problem, an embodiment of the present invention further provides a method for reallocating downlink frequency points of RX2203, as shown in fig. 6, where the method includes:
s601: at least two interfering communication terminals are received.
It should be noted that the determination of the interfering communication terminals is determined by the deployment personnel according to the region where the communication terminal is located in the LoRaWAN, specifically, after the LoRaWAN deployment is completed, the deployment personnel determines whether the communication terminals are interfered with each other according to the region where each communication terminal is located. For example, when a communication terminal is located in the area of Beijing; and the other communication terminal is located in the Shanghai area, the two communication terminals cannot interfere with each other. For another example, two communication terminals are located in the same cell, and the two communication terminals interfere with each other. In general, each of the communication terminals that interfere with each other is referred to as an interfering communication terminal.
In some embodiments, the deployment personnel may transmit the interfering communication terminal to the network server through an adapter, where the adapter is a receiving converter, which may be independent of the hardware receiving device, and allow the hardware or electronic interface to be connected to other hardware or electronic receiving devices, and may also be an information interface, which may have various types and functions, where the adapter may implement communication between the network server 106 and the communication terminal, and may be used to implement functions such as registration of the communication terminal, parameter configuration of the communication terminal, and the like.
S602: and allocating corresponding first downlink frequency points to a second downlink window of each of the at least two interference communication terminals according to a set algorithm.
The setting algorithm may be a random algorithm, such as a numerical probability algorithm, a monte carlo algorithm, a las vegas algorithm, or a wold algorithm. Specifically, since the original downlink frequency points in the second downlink window of each of the at least two interfering communication terminals are fixed, the original downlink frequency points in the second downlink window of each of the at least two interfering communication terminals, when each gateway in the LoRaWAN transmits the LoRaWAN downlink message to the corresponding communication terminal through the second downlink window, each LoRaWAN downlink message may collide in the air, and therefore, in the embodiment of the invention, the network server distributes each interference communication terminal to different downlink frequency points by using a random algorithm, thus, the downlink frequency points corresponding to the second downlink window of each interfering communication terminal are different, and then, when each gateway sends LoRaWAN downlink messages through the second downlink window of the corresponding interference communication terminal, because each LoRaWAN downlink message is sent by adopting different downlink frequency points, each LoRaWAN downlink message does not conflict in the air.
It should be noted that, the first downlink frequency point and the subsequent second downlink frequency point are only used to facilitate the description of different processing procedures, and are not intended to limit the present invention.
S603: and determining the corresponding relation between the equipment identification of each interference communication terminal in the at least two interference communication terminals and the corresponding first downlink frequency point, and storing the corresponding relation.
S604: recognizing that a certain interference communication terminal successfully accesses the network, and acquiring a second downlink frequency point corresponding to a second downlink window of the certain interference communication terminal based on the corresponding relation and the equipment identifier of the certain interference communication terminal; generating a protocol instruction based on the corresponding second downlink frequency point; sending the protocol instruction to the certain interference communication terminal; the protocol instruction is used for instructing the certain interfering communication terminal to configure the frequency point of a second downlink window into the corresponding second downlink frequency point.
It should be noted that, generating a protocol instruction based on the corresponding second downlink frequency point includes: and generating a protocol instruction for the corresponding second downlink frequency point according to a LoRaWAN protocol. The certain interfering communication terminal refers to any one of the at least two interfering communication terminals.
In an actual application process, after each of the at least two interfering communication terminals successfully accesses the network, the network server 106 sends a protocol instruction to each interfering communication terminal based on a downlink frequency point corresponding to the second downlink window of each interfering communication terminal, and after each interfering communication terminal receives the corresponding protocol instruction, the frequency point of the corresponding second downlink window is configured into a corresponding downlink frequency point, so that collisions of the LoRaWAN downlink messages in the air are reduced, and the success rate of the LoRaWAN downlink messages is improved.
For understanding the embodiment of the present invention, as shown in fig. 7, it illustrates a configuration flow of the RX2203 parameters of the communication terminal, and the configuration flow of the RX2203 parameters of the communication terminal is as follows:
1) when registering a communication terminal with the network server 106, the project deployment personnel sends at least two communication terminals with interference to the network server 106 through the adapter;
2) the network server 106 receives the at least one communication terminal, allocates a corresponding first downlink frequency point to the RX2203 of each of the at least two communication terminals according to a set algorithm, and stores a corresponding relationship between the first downlink frequency point allocated to the RX2203 of each communication terminal and the device identifier of the corresponding communication terminal in a database; the network server 106 recognizes that a certain communication terminal successfully accesses the network, based on the device identifier of the certain communication terminal and the corresponding relationship, obtains a second downlink frequency point corresponding to the RX2203 of the certain communication terminal from the database, generates a protocol instruction based on the obtained second downlink frequency point, and sends the protocol instruction to the communication terminal, where the protocol instruction is used to instruct the certain communication terminal to configure the frequency point of the RX2203 into the second downlink frequency point.
The embodiment of the invention provides a scheduling method, when a network server 106 needs to send a first LoRaWAN downlink message to a communication terminal through a forwarding gateway at a certain moment, the network server 106 can reasonably schedule the use of a downlink window of the communication terminal based on the state information of the forwarding gateway, reduce the conflict between LoRaWAN downlink messages on the forwarding gateway and improve the transmission success rate of the LoRaWAN downlink messages.
Based on the same inventive concept, an embodiment of the present invention further provides a scheduling apparatus, as shown in fig. 8, where the apparatus 80 includes: a first obtaining module 801, a second obtaining module 802, a third obtaining module 803, a first determining module 804, and a second determining module 805, wherein,
the first obtaining module 801 is configured to obtain at least one internet protocol IP uplink packet; the at least one IP uplink message belongs to the same communication terminal;
the second obtaining module 802 is configured to obtain, based on the at least one IP uplink packet, a first long-distance radio wide area network LoRaWAN downlink packet sent to the communication terminal, a forwarding gateway that forwards the first LoRaWAN downlink packet, and a receiving time at which the forwarding gateway receives the LoRaWAN uplink packet;
the third obtaining module 803 is configured to obtain, based on the first LoRaWAN downlink packet and the receiving time, a first time and a second time at which the forwarding gateway can send the first LoRaWAN downlink packet;
the first determining module 804 is configured to determine, based on the gateway identification code of the forwarding gateway, status information of the forwarding gateway;
the second determining module 805 is configured to determine, based on the state information, the first time and the second time, a downlink window in which the communication terminal receives the first LoRaWAN downlink packet.
In some embodiments, the second determining module 805 is specifically configured to: judging whether the first state of the forwarding gateway meets a set state at the first time or not based on the state information; and when the first state of the forwarding gateway meets the set state, taking a first downlink window of the communication terminal as a downlink window for receiving the first LoRaWAN downlink message.
In some embodiments, the second determining module 805 is further configured to: when the first state of the forwarding gateway is judged not to meet the set state, judging whether the second state of the forwarding gateway meets the set state at the second time; and when the second state of the forwarding gateway meets the set state, taking a second downlink window of the communication terminal as a downlink window for receiving the first LoRaWAN downlink message.
In some embodiments, the second obtaining module 802 comprises: a determining unit and a first obtaining unit, wherein,
the determining unit is configured to determine a target IP uplink packet based on the at least one IP uplink packet;
the first obtaining unit is configured to obtain, based on the target IP uplink packet, a first LoRaWAN downlink packet sent to the communication terminal, a forwarding gateway that forwards the first LoRaWAN downlink packet, and a receiving time at which the forwarding gateway receives the LoRaWAN uplink packet.
In some embodiments, the determining unit includes: a processing subunit and a determining subunit, wherein,
the processing subunit is configured to process the at least one IP uplink packet according to a set rule, and obtain a processing result;
and the determining subunit is configured to determine the target IP uplink packet based on the processing result.
In the foregoing solution, the processing subunit is specifically configured to: performing first analysis on each IP uplink message in the at least one IP uplink message to obtain a first analysis result; obtaining the signal intensity corresponding to each IP uplink message based on the first analysis result; performing first sequencing on each signal intensity according to a first set condition to obtain a first sequencing result; correspondingly, the determining subunit is specifically configured to determine a target IP uplink packet based on the first sequencing result;
or, the processing subunit is specifically configured to: acquiring the arrival time of each IP uplink message in the at least one IP uplink message; performing second sequencing on each IP uplink message according to the sequence of the arrival time of each IP uplink message to obtain a second sequencing result; correspondingly, the determining subunit is specifically configured to: and determining a target IP uplink message based on the second sequencing result.
In some embodiments, the first obtaining unit includes: a parsing subunit, a first obtaining subunit, and a second obtaining subunit, wherein,
the analysis subunit is configured to perform a second analysis on the target IP uplink packet to obtain a second analysis result;
the first obtaining subunit is configured to obtain first LoRaWAN uplink data based on the second analysis result;
and the second obtaining subunit obtains a first LoRaWAN downlink message sent to the communication terminal based on the first LoRaWAN uplink data.
In some embodiments, the second obtaining subunit is specifically configured to: performing third analysis on the first LoRaWAN uplink data to obtain a third analysis result; obtaining uplink data based on the third analysis result; determining response data corresponding to the first LoRaWAN upstream data based on the upstream data; packaging the response data according to a LoRaWAN protocol to obtain a packaged message; and acquiring a first LoRaWAN downlink message corresponding to the communication terminal based on the encapsulation message.
In some embodiments, the first obtaining unit is further specifically configured to: acquiring a gateway identification code contained in the target IP uplink message based on the second analysis result; and taking the gateway corresponding to the gateway identification code as a forwarding gateway for forwarding the first LoRaWAN downlink message.
In some embodiments, the first obtaining unit is further specifically configured to: obtaining the time contained in the time field of the target IP uplink message based on the second analysis result; and taking the time as the receiving time of the LoRaWAN uplink message received by the forwarding gateway.
In some embodiments, the third obtaining module is specifically configured to: determining the transmission time of the first LoRaWAN downlink message based on the first LoRaWAN downlink message; determining a first downlink window opening time and a second downlink window opening time of the communication terminal based on the receiving time; and acquiring first time and second time when the forwarding gateway can send the first LoRaWAN downlink message based on the transmission time of the first LoRaWAN downlink message, the first downlink window opening time and the second downlink window opening time.
In some embodiments, the first determining module is specifically configured to: taking the gateway identification code of the forwarding gateway as a query key value; based on the query key value and the mapping relation, obtaining the stored state information of the forwarding gateway; the mapping relation is the corresponding relation between the gateway identification code and the state information.
In some embodiments, the apparatus 80 further comprises:
an updating module, configured to update the status information at least including that the forwarding gateway is in a busy status; recording a first IP downlink message sent to the forwarding gateway; acquiring first sending time for sending a second LoRaWAN downlink message by the forwarding gateway based on the first IP downlink message; the second LoRaWAN downlink message is obtained by the network server based on the first IP downlink message; marking that the forwarding gateway is in a busy state within the first sending time; determining a first mapping relation between the gateway identification code of the forwarding gateway and the forwarding gateway in a busy state at the first sending time, and storing the first mapping relation;
alternatively, the first and second electrodes may be,
an updating module, configured to update the status information at least including that the forwarding gateway is in a busy status; receiving second sending time of sending a third LoRaWAN downlink message by the forwarding gateway; the third LoRaWAN downlink message is obtained by the forwarding gateway based on the received second IP downlink message; the second IP downlink packet is a packet that the network server actively sends to the forwarding gateway; marking that the forwarding gateway is in a busy state within the second sending time; determining a second mapping relation between the gateway identification code of the forwarding gateway and the forwarding gateway in a busy state at the second sending time; and storing the second mapping relation.
In some embodiments, the first obtaining module comprises: a classification processing unit and a second obtaining unit, wherein,
the classification processing unit is used for performing classification processing on each IP uplink message received within a set time period to obtain a classification processing result;
the second obtaining unit obtains the at least one IP uplink packet belonging to the communication terminal based on the classification processing result.
In the foregoing scheme, the classification processing unit is specifically configured to: performing fourth analysis on each IP uplink message in each IP uplink message to obtain a fourth analysis result; obtaining second LoRaWAN uplink data corresponding to each IP uplink message based on the fourth analysis result; classifying each IP uplink message according to a second set condition to obtain a classification processing result; the second set condition is that the IP uplink messages with the same second LoRaWAN uplink data are classified into one class;
correspondingly, the second obtaining unit is specifically configured to: based on the classification processing result, obtaining an IP uplink message of which the equipment identifier belongs to the communication terminal; and taking each IP uplink message of which the equipment identifier belongs to the communication terminal as at least one IP uplink message belonging to the communication terminal.
In some embodiments, the apparatus 80 further comprises: a receiving module, a distribution module, a third determination module, a storage module, an identification module, a generation module and a sending module, wherein,
the receiving module is used for receiving at least two interference communication terminals;
the allocation module is used for allocating corresponding first downlink frequency points to second downlink windows of each of the at least two interference communication terminals according to a set algorithm;
the third determining module is configured to determine a correspondence between the device identifier of each of the at least two interfering communication terminals and the corresponding first downlink frequency point;
the storage module is used for storing the corresponding relation;
the identification module is used for identifying that a certain interference communication terminal successfully accesses the network, and acquiring a second downlink frequency point corresponding to a second downlink window of the certain interference communication terminal based on the corresponding relation and the equipment identifier of the certain interference communication terminal;
the generating module is used for generating a protocol instruction based on the corresponding second downlink frequency point;
the sending module is configured to send the protocol instruction to the certain interfering communication terminal; the protocol instruction is used for instructing the certain interfering communication terminal to configure the frequency point of a second downlink window into the corresponding second downlink frequency point.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the foregoing method embodiments, and the foregoing storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
An embodiment of the present invention further provides a scheduling apparatus, where the apparatus includes: a processor and a memory for storing a computer program capable of running on the processor, wherein the processor is configured to execute the steps of the above-described method embodiments stored in the memory when running the computer program.
Fig. 9 is a schematic diagram of a hardware structure of a scheduling apparatus according to an embodiment of the present invention, where the scheduling apparatus 90 includes: at least one processor 901, a memory 902, and optionally, the scheduling apparatus 90 may further include at least one communication interface 903, and the various components in the scheduling apparatus 90 are coupled together through a bus system 904, it being understood that the bus system 904 is used for realizing the connection communication between the components. The bus system 904 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various buses are labeled as bus system 904 in figure 9.
It will be appreciated that the memory 902 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 902 described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
Memory 902 in embodiments of the present invention is used to store various types of data to support the operation of scheduler 90. Examples of such data include: any computer program for operating on the scheduling device 90, such as a process in which a network server calculates and determines at least one IP uplink packet belonging to the same communication terminal, may be embodied in the memory 902.
The method disclosed in the above embodiments of the present invention may be applied to the processor 901, or implemented by the processor 901. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium having a memory and a processor reading the information in the memory and combining the hardware to perform the steps of the method.
In an exemplary embodiment, the scheduling Device 90 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the above-described methods.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (19)

1. A method of scheduling, the method comprising:
obtaining at least one Internet Protocol (IP) uplink message; the at least one IP uplink message belongs to the same communication terminal;
based on the at least one IP uplink message, obtaining a first long-distance wireless wide area network LoRaWAN downlink message sent to the communication terminal, a forwarding gateway for forwarding the first LoRaWAN downlink message and a receiving time when the forwarding gateway receives the LoRaWAN uplink message;
acquiring first time and second time when the forwarding gateway can send the first LoRaWAN downlink message based on the first LoRaWAN downlink message and the receiving time;
determining state information of the forwarding gateway based on the gateway identification code of the forwarding gateway;
and determining a downlink window for the communication terminal to receive the first LoRaWAN downlink message based on the state information, the first time and the second time.
2. The method according to claim 1, wherein the determining, based on the state information, the first time, and the second time, a downlink window in which the communication terminal receives the first LoRaWAN downlink packet includes:
judging whether the first state of the forwarding gateway meets a set state at the first time or not based on the state information;
and when the first state of the forwarding gateway meets the set state, taking a first downlink window of the communication terminal as a downlink window for receiving the first LoRaWAN downlink message.
3. The method of claim 2, further comprising:
when the first state of the forwarding gateway is judged not to meet the set state, judging whether the second state of the forwarding gateway meets the set state at the second time;
and when the second state of the forwarding gateway meets the set state, taking a second downlink window of the communication terminal as a downlink window for receiving the first LoRaWAN downlink message.
4. The method according to claim 1, wherein the obtaining, based on the at least one IP uplink packet, a first long-distance radio wide area network LoRaWAN downlink packet sent to the communication terminal, a forwarding gateway forwarding the first LoRaWAN downlink packet, and a receiving time at which the forwarding gateway receives the LoRaWAN uplink packet comprises:
determining a target IP uplink message based on the at least one IP uplink message;
and acquiring a first LoRaWAN downlink message sent to the communication terminal, a forwarding gateway for forwarding the first LoRaWAN downlink message and the receiving time of the LoRaWAN uplink message received by the forwarding gateway based on the target IP uplink message.
5. The method of claim 4, wherein the determining a target IP upstream packet based on the at least one IP upstream packet comprises:
processing the at least one IP uplink message according to a set rule to obtain a processing result;
and determining a target IP uplink message based on the processing result.
6. The method according to claim 5, wherein the processing the at least one IP uplink packet according to the set rule to obtain a processing result comprises:
performing first analysis on each IP uplink message in the at least one IP uplink message to obtain a first analysis result;
obtaining the signal intensity corresponding to each IP uplink message based on the first analysis result;
performing first sequencing on each signal intensity according to a first set condition to obtain a first sequencing result;
correspondingly, the determining the target IP uplink packet based on the processing result includes:
determining a target IP uplink message based on the first sequencing result;
alternatively, the first and second electrodes may be,
the processing the at least one IP uplink packet according to the set rule to obtain a processing result includes:
acquiring the arrival time of each IP uplink message in the at least one IP uplink message;
performing second sequencing on each IP uplink message according to the sequence of the arrival time of each IP uplink message to obtain a second sequencing result;
correspondingly, the determining the target IP uplink packet based on the processing result includes:
and determining a target IP uplink message based on the second sequencing result.
7. The method according to claim 4, wherein obtaining the first LoRaWAN downlink packet sent to the communication terminal based on the target IP uplink packet comprises:
performing second analysis on the target IP uplink message to obtain a second analysis result;
obtaining first LoRaWAN uplink data based on the second analysis result;
and acquiring a first LoRaWAN downlink message sent to the communication terminal based on the first LoRaWAN uplink data.
8. The method of claim 7, wherein the obtaining a first LoRaWAN downlink packet sent to the communication terminal based on the first LoRaWAN uplink data includes:
performing third analysis on the first LoRaWAN uplink data to obtain a third analysis result;
obtaining uplink data based on the third analysis result;
determining response data corresponding to the first LoRaWAN upstream data based on the upstream data;
packaging the response data according to a LoRaWAN protocol to obtain a packaged message;
and acquiring a first LoRaWAN downlink message corresponding to the communication terminal based on the encapsulation message.
9. The method of claim 7, wherein determining a forwarding gateway for forwarding the first LoRaWAN downlink packet based on the target IP uplink packet comprises:
acquiring a gateway identification code contained in the target IP uplink message based on the second analysis result;
and taking the gateway corresponding to the gateway identification code as a forwarding gateway for forwarding the first LoRaWAN downlink message.
10. The method of claim 7, wherein determining a receiving time at which the forwarding gateway receives the LoRaWAN upstream packet based on the target IP upstream packet comprises:
obtaining the time contained in the time field of the target IP uplink message based on the second analysis result;
and taking the time as the receiving time of the LoRaWAN uplink message received by the forwarding gateway.
11. The method according to claim 1, wherein the obtaining a first time and a second time at which the forwarding gateway can send the first LoRaWAN downlink packet based on the first LoRaWAN downlink packet and the receiving time includes:
determining the transmission time of the first LoRaWAN downlink message based on the first LoRaWAN downlink message;
determining a first downlink window opening time and a second downlink window opening time of the communication terminal based on the receiving time;
and acquiring first time and second time when the forwarding gateway can send the first LoRaWAN downlink message based on the transmission time of the first LoRaWAN downlink message, the first downlink window opening time and the second downlink window opening time.
12. The method of claim 1, wherein determining the status information of the forwarding gateway based on the gateway identification code of the forwarding gateway comprises:
taking the gateway identification code of the forwarding gateway as a query key value;
based on the query key value and the mapping relation, obtaining the stored state information of the forwarding gateway; the mapping relation is the corresponding relation between the gateway identification code and the state information.
13. The method of claim 12, wherein the status information comprises at least that the forwarding gateway is in a busy state; updating the state information of the forwarding gateway, including:
recording a first IP downlink message sent to the forwarding gateway;
acquiring first sending time for sending a second LoRaWAN downlink message by the forwarding gateway based on the first IP downlink message; the second LoRaWAN downlink message is obtained by the network server based on the first IP downlink message;
marking that the forwarding gateway is in a busy state within the first sending time;
determining a first mapping relation between the gateway identification code of the forwarding gateway and the forwarding gateway in a busy state at the first sending time, and storing the first mapping relation;
alternatively, the first and second electrodes may be,
updating the state information of the forwarding gateway, including:
receiving second sending time of sending a third LoRaWAN downlink message by the forwarding gateway; the third LoRaWAN downlink message is obtained by the forwarding gateway based on the received second IP downlink message; the second IP downlink packet is a packet that the network server actively sends to the forwarding gateway;
marking that the forwarding gateway is in a busy state within the second sending time;
determining a second mapping relation between the gateway identification code of the forwarding gateway and the forwarding gateway in a busy state at the second sending time; and storing the second mapping relation.
14. The method of claim 1, wherein obtaining at least one IP upstream packet comprises:
classifying each IP uplink message received in a set time period to obtain a classification processing result;
and obtaining the at least one IP uplink message belonging to the communication terminal based on the classification processing result.
15. The method according to claim 14, wherein the classifying each IP uplink packet received within the set time period to obtain a classification result includes:
performing fourth analysis on each IP uplink message in each IP uplink message to obtain a fourth analysis result;
obtaining second LoRaWAN uplink data corresponding to each IP uplink message based on the fourth analysis result;
classifying each IP uplink message according to a second set condition to obtain a classification processing result; the second set condition is that the IP uplink messages with the same second LoRaWAN uplink data are classified into one class;
correspondingly, the obtaining the at least one IP uplink packet belonging to the communication terminal based on the classification processing result includes:
based on the classification processing result, obtaining an IP uplink message of which the equipment identifier belongs to the communication terminal;
and taking each IP uplink message of which the equipment identifier belongs to the communication terminal as at least one IP uplink message belonging to the communication terminal.
16. The method of claim 1, further comprising:
receiving at least two interfering communication terminals;
allocating corresponding first downlink frequency points to a second downlink window of each interference communication terminal in the at least two interference communication terminals according to a set algorithm;
determining a corresponding relation between the equipment identification of each interference communication terminal in the at least two interference communication terminals and the corresponding first downlink frequency point, and storing the corresponding relation;
recognizing that a certain interference communication terminal successfully accesses the network, and acquiring a second downlink frequency point corresponding to a second downlink window of the certain interference communication terminal based on the corresponding relation and the equipment identifier of the certain interference communication terminal; generating a protocol instruction based on the corresponding second downlink frequency point; sending the protocol instruction to the certain interference communication terminal; the protocol instruction is used for instructing the certain interfering communication terminal to configure the frequency point of a second downlink window into the corresponding second downlink frequency point.
17. A scheduling apparatus, the apparatus comprising: a first obtaining module, a second obtaining module, a third obtaining module, a first determining module, and a second determining module, wherein,
the first obtaining module is used for obtaining at least one Internet Protocol (IP) uplink message; the at least one IP uplink message belongs to the same communication terminal;
the second obtaining module is configured to obtain, based on the at least one IP uplink packet, a first long-distance radio wide area network LoRaWAN downlink packet sent to the communication terminal, a forwarding gateway that forwards the first LoRaWAN downlink packet, and a receiving time at which the forwarding gateway receives the LoRaWAN uplink packet;
the third obtaining module is configured to obtain, based on the first LoRaWAN downlink packet and the receiving time, a first time and a second time at which the forwarding gateway can send the first LoRaWAN downlink packet;
the first determining module is used for determining the state information of the forwarding gateway based on the gateway identification code of the forwarding gateway;
and the second determining module is configured to determine, based on the state information, the first time and the second time, a downlink window in which the communication terminal receives the first LoRaWAN downlink packet.
18. A computer storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the method of any one of claims 1 to 16.
19. A scheduling apparatus, comprising: a processor and a memory for storing a computer program operable on the processor, wherein the processor is operable to perform the steps of the method of any of claims 1 to 16 when the computer program is run.
CN201911215698.8A 2019-12-02 2019-12-02 Scheduling method, device and computer storage medium Active CN110708763B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911215698.8A CN110708763B (en) 2019-12-02 2019-12-02 Scheduling method, device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911215698.8A CN110708763B (en) 2019-12-02 2019-12-02 Scheduling method, device and computer storage medium

Publications (2)

Publication Number Publication Date
CN110708763A true CN110708763A (en) 2020-01-17
CN110708763B CN110708763B (en) 2020-04-17

Family

ID=69207995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911215698.8A Active CN110708763B (en) 2019-12-02 2019-12-02 Scheduling method, device and computer storage medium

Country Status (1)

Country Link
CN (1) CN110708763B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800882A (en) * 2020-06-18 2020-10-20 武汉慧联无限科技有限公司 Downlink data sending method, device, server and storage medium
CN111835629A (en) * 2020-06-17 2020-10-27 浙江慧居智能家居有限公司 Network data interaction method and system, and gateway
WO2022160246A1 (en) * 2021-01-29 2022-08-04 北京小米移动软件有限公司 Data packet transmission method, data packet transmission apparatus, and storage medium
WO2022236621A1 (en) * 2021-05-10 2022-11-17 北京小米移动软件有限公司 Data packet sending method and apparatus, and storage medium
CN116390156A (en) * 2023-06-02 2023-07-04 新华三技术有限公司 LoRa communication method, device, equipment and readable storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796920A (en) * 2014-01-16 2015-07-22 电信科学技术研究院 Data transmission method, base station and terminal equipment
CN105704680A (en) * 2014-11-26 2016-06-22 成都鼎桥通信技术有限公司 Method for resolving conflict between downlink group resources and measuring GAPs
CN107750054A (en) * 2017-10-11 2018-03-02 杭州若联科技有限公司 Network collision-proof method and device
CN107801172A (en) * 2017-09-18 2018-03-13 暨南大学 LoRa gateways with adaptive channel function and the network system based on LoRa gateways
CN108055059A (en) * 2017-12-14 2018-05-18 天津中科智城网络科技有限公司 A kind of optimization method of LoRa wireless communications order
CN108521656A (en) * 2018-03-23 2018-09-11 深圳市信锐网科技术有限公司 A kind of Lora communication means and system
CN109195195A (en) * 2018-08-13 2019-01-11 锐捷网络股份有限公司 LoRa network channel cut-in method, terminal, gateway, server and system
CN109525374A (en) * 2017-09-20 2019-03-26 华为技术有限公司 Method, wireless access point, user equipment and the transmission device of data transmission
CN109526064A (en) * 2018-12-26 2019-03-26 山东有人信息技术有限公司 A kind of bypassing method of LoRaWAN channel confliction
CN110278617A (en) * 2019-06-21 2019-09-24 浙江理工大学 A kind of LoRaWAN channel confliction bypassing method based on time division multiple acess
CN110446227A (en) * 2019-10-08 2019-11-12 武汉慧联无限科技有限公司 Control method and device, the equipment, medium on user equipment downlink window unlatching opportunity
US20190349737A1 (en) * 2018-05-09 2019-11-14 Kiwi Technology Inc. Wireless communication system, communication method and portable transceiver device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796920A (en) * 2014-01-16 2015-07-22 电信科学技术研究院 Data transmission method, base station and terminal equipment
CN105704680A (en) * 2014-11-26 2016-06-22 成都鼎桥通信技术有限公司 Method for resolving conflict between downlink group resources and measuring GAPs
CN107801172A (en) * 2017-09-18 2018-03-13 暨南大学 LoRa gateways with adaptive channel function and the network system based on LoRa gateways
CN109525374A (en) * 2017-09-20 2019-03-26 华为技术有限公司 Method, wireless access point, user equipment and the transmission device of data transmission
CN107750054A (en) * 2017-10-11 2018-03-02 杭州若联科技有限公司 Network collision-proof method and device
CN108055059A (en) * 2017-12-14 2018-05-18 天津中科智城网络科技有限公司 A kind of optimization method of LoRa wireless communications order
CN108521656A (en) * 2018-03-23 2018-09-11 深圳市信锐网科技术有限公司 A kind of Lora communication means and system
US20190349737A1 (en) * 2018-05-09 2019-11-14 Kiwi Technology Inc. Wireless communication system, communication method and portable transceiver device
CN109195195A (en) * 2018-08-13 2019-01-11 锐捷网络股份有限公司 LoRa network channel cut-in method, terminal, gateway, server and system
CN109526064A (en) * 2018-12-26 2019-03-26 山东有人信息技术有限公司 A kind of bypassing method of LoRaWAN channel confliction
CN110278617A (en) * 2019-06-21 2019-09-24 浙江理工大学 A kind of LoRaWAN channel confliction bypassing method based on time division multiple acess
CN110446227A (en) * 2019-10-08 2019-11-12 武汉慧联无限科技有限公司 Control method and device, the equipment, medium on user equipment downlink window unlatching opportunity

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835629A (en) * 2020-06-17 2020-10-27 浙江慧居智能家居有限公司 Network data interaction method and system, and gateway
CN111800882A (en) * 2020-06-18 2020-10-20 武汉慧联无限科技有限公司 Downlink data sending method, device, server and storage medium
CN111800882B (en) * 2020-06-18 2023-12-05 武汉慧联无限科技有限公司 Method, device, server and storage medium for transmitting downlink data
WO2022160246A1 (en) * 2021-01-29 2022-08-04 北京小米移动软件有限公司 Data packet transmission method, data packet transmission apparatus, and storage medium
WO2022236621A1 (en) * 2021-05-10 2022-11-17 北京小米移动软件有限公司 Data packet sending method and apparatus, and storage medium
CN116390156A (en) * 2023-06-02 2023-07-04 新华三技术有限公司 LoRa communication method, device, equipment and readable storage medium
CN116390156B (en) * 2023-06-02 2023-08-25 新华三技术有限公司 LoRa communication method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN110708763B (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN110708763B (en) Scheduling method, device and computer storage medium
US11134543B2 (en) Interworking LPWAN end nodes in mobile operator network
CN107769834B (en) LoRaWAN Internet of things signal relay method
US11943100B2 (en) Apparatus and method for supporting TSC
US7058431B2 (en) End-to-end delay control method for both suppressing end-to-end delay time to a standard value or less and optimizing power-save operations
WO2020164613A1 (en) Relay communication method and apparatus
CN109996306A (en) Communication means and communication equipment
US20130222150A1 (en) Electrical gateway and communication method of electrical gateway
CN110691375B (en) Selection method, selection device and computer storage medium
US20220353948A1 (en) Method and device for sidelink communication
CN109906631B (en) Adaptive transmission method and device
CN107079524B (en) Data forwarding method and controller
CN111371827A (en) Data transmission method, device and computer readable storage medium
CN114009144B (en) Packet delay budget determination for TSN traffic forwarding
CN114885360A (en) Method for determining reliability of time delay, access network device and storage medium
US20200305026A1 (en) Data Transmission Method And Apparatus
CN113784392A (en) Communication method, device and system
CN110677212A (en) Time synchronization method, device and system and computer storage medium
CN112615662B (en) Data transmission method of MAC layer of low-earth-orbit satellite
WO2020147806A1 (en) Resource cycle configuration method and device, link processing and establishing method and device
CN110839259B (en) Data transmission method between service terminal and service main station
CN111447026B (en) Method and apparatus for processing data
CN115529637A (en) Communication method, communication device and communication system
Thubert et al. Reliable and available wireless technologies, I‐D draft‐thubert‐raw‐technologies‐03
WO2024073874A1 (en) Packet aggregation for enhanced ue to ntn voice operations

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A scheduling method, device and computer storage medium

Effective date of registration: 20220125

Granted publication date: 20200417

Pledgee: Bank of Communications Ltd. Wuhan East Lake New Technology Development Zone sub branch

Pledgor: WUHAN EASYLINKIN TECHNOLOGY CO.,LTD

Registration number: Y2022420000034

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230201

Granted publication date: 20200417

Pledgee: Bank of Communications Ltd. Wuhan East Lake New Technology Development Zone sub branch

Pledgor: WUHAN EASYLINKIN TECHNOLOGY CO.,LTD

Registration number: Y2022420000034

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A scheduling method, device and computer storage medium

Effective date of registration: 20230206

Granted publication date: 20200417

Pledgee: Bank of Communications Ltd. Wuhan East Lake New Technology Development Zone sub branch

Pledgor: WUHAN EASYLINKIN TECHNOLOGY CO.,LTD

Registration number: Y2023420000024