CN111356200B - Method, device, equipment and storage medium for selecting downlink base station - Google Patents

Method, device, equipment and storage medium for selecting downlink base station Download PDF

Info

Publication number
CN111356200B
CN111356200B CN201811564852.8A CN201811564852A CN111356200B CN 111356200 B CN111356200 B CN 111356200B CN 201811564852 A CN201811564852 A CN 201811564852A CN 111356200 B CN111356200 B CN 111356200B
Authority
CN
China
Prior art keywords
base station
node
downlink
uplink message
candidate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811564852.8A
Other languages
Chinese (zh)
Other versions
CN111356200A (en
Inventor
陈东杰
王�华
谢玖实
李国银
揭鸿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811564852.8A priority Critical patent/CN111356200B/en
Priority to TW108131042A priority patent/TW202025829A/en
Priority to PCT/CN2019/124229 priority patent/WO2020125485A1/en
Publication of CN111356200A publication Critical patent/CN111356200A/en
Application granted granted Critical
Publication of CN111356200B publication Critical patent/CN111356200B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The invention provides a downlink base station selection method, a device, equipment and a storage medium. Responding to the received uplink message sent by the node through the base station, and judging whether the uplink message is received for the first time; processing the uplink message to determine whether the downlink message needs to be sent to the node or not under the condition that the uplink message is received for the first time; under the condition that a downlink message needs to be sent to a node, judging whether the base station belongs to a candidate base station set of the node, wherein the signal index of the candidate base station in the candidate base station set for the node is larger than a preset threshold value; and determining the base station as a downlink base station to send a downlink message to the node by the base station under the condition that the base station is judged to belong to the candidate base station set of the node. Therefore, based on the candidate base station set, a basis can be provided for the selection of the downlink base station, so that the base station with better performance can be selected as the downlink base station of the node under the condition of low delay, and the success rate of the downlink data packet is improved.

Description

Method, device, equipment and storage medium for selecting downlink base station
Technical Field
The present invention relates to the field of data communications, and in particular, to a method, an apparatus, a device, and a storage medium for selecting a downlink base station.
Background
The lorewan has three modes of operation: classA, classB and ClassC. The three working modes have different downlink mechanisms, and the different modes have different requirements on the downlink base station selection scheme. The downlink receiving window of the node working in the class b mode is periodically opened, and the downlink receiving window of the node working in the class c mode is always opened, so that under ClassB, classC, the requirement on the downlink base station selection scheme is to select the base station with the best performance, and no requirement is required on delay.
Nodes working in the class A mode only briefly start the rx1 receiving window after the rx delay after sending the uplink data packet, and start the rx2 receiving window after 1s if no downlink data is received during the period of opening the rx1 window. If the NS has a downlink command, a good downlink base station must be selected within the short delay time, and if the processing delay of the NS is relatively large, the NS misses the opening time of the two windows, which results in downlink failure.
Therefore, for a node operating in the class a mode, when selecting a downlink base station for it, it is necessary to reduce the delay as much as possible while considering the performance of the downlink base station.
Disclosure of Invention
An object of the present invention is to provide a downlink base station selection scheme suitable for the class a mode, which can simultaneously give consideration to both base station performance and delay when selecting a downlink base station for a node operating in the class a mode.
According to a first aspect of the present invention, there is provided a downlink base station selection method, including: responding to the received uplink message sent by the node through the base station, and judging whether the uplink message is received for the first time; processing the uplink message to determine whether the downlink message needs to be sent to the node or not under the condition that the uplink message is received for the first time; judging whether the base station belongs to a candidate base station set of the node under the condition that a downlink message is required to be sent to the node, wherein the signal index of the candidate base station in the candidate base station set for the node is larger than a preset threshold value; and determining the base station as a downlink base station to send a downlink message to the node by the base station under the condition that the base station is judged to belong to the candidate base station set of the node.
Optionally, the method further comprises: and under the condition that the uplink message is not received for the first time, adding the base station information of the base station for sending the uplink message into a base station queue.
Optionally, the method further comprises: judging whether the base station in the base station queue belongs to the candidate base station set of the node or not under the condition that the base station does not belong to the candidate base station set of the node; in the case that the base station in the base station queue is determined to belong to the candidate base station set of the node, the base station is determined to be the downlink base station.
Optionally, the method further comprises: under the condition that the base station does not belong to the candidate base station set of the node, judging whether the base station corresponding to the subsequently received uplink message belongs to the candidate base station set of the node or not; and under the condition that the base station corresponding to the subsequently received uplink message belongs to the candidate base station set of the node, determining the base station as the downlink base station.
Optionally, the method further comprises: and under the condition that the base stations corresponding to the subsequently received uplink messages do not belong to the candidate base station set of the node, selecting the base station with the best signal quality from at least part of the base stations corresponding to the received uplink messages as the downlink base station.
Optionally, the method further comprises: the step of setting lock service for the uplink message and judging whether the uplink message is received for the first time comprises the following steps: requesting to acquire a lock corresponding to the uplink message, judging that the uplink message is received for the first time under the condition of successfully acquiring the lock, and judging that the uplink message is not received for the first time under the condition of failure in acquiring the lock.
Optionally, the method further comprises: under the condition that the base station belongs to the candidate base station set of the node, further judging whether the base station meets the downlink base station requirement indicated by the uplink message or not; and determining the base station as the downlink base station under the condition that the base station meets the downlink base station requirement indicated by the uplink message.
According to a second aspect of the present invention, there is also provided a downlink base station selection method, including: in response to receiving an uplink message sent by a node through a base station, determining a signal quality index of the base station for the node according to signal quality data of one or more uplink messages sent by the node through the base station, and adding the base station to a candidate base station set of the node under the condition that the signal quality index is greater than a preset threshold; judging whether an uplink message is received for the first time, processing the uplink message to determine whether a downlink message needs to be sent to a node or not when the uplink message is judged to be received for the first time, judging whether a base station belongs to a candidate base station set of the node or not when the downlink message needs to be sent to the node, and taking the base station as a downlink base station when the base station belongs to the candidate base station set of the node so that the base station can send the downlink message to the node.
According to a third aspect of the present invention, there is also provided a downlink base station selection method, including: responding to the received uplink message sent by the node through the base station, judging whether the base station belongs to a candidate base station set of the node, wherein the signal index of the candidate base station in the candidate base station set for the node is larger than a preset threshold; judging whether the uplink message is processed or not under the condition that the base station belongs to the candidate base station set of the node; processing the uplink message under the condition that the uplink message is not processed, so as to determine whether the downlink message needs to be sent to the node; and under the condition that the downlink message needs to be sent to the node, determining the base station as the downlink base station, so that the base station sends the downlink message to the node.
Optionally, the method further comprises: judging whether the uplink message is processed or not under the condition that the base station is judged not to belong to the candidate base station set of the node; under the condition that the uplink message is not processed, adding the received uplink message or a base station corresponding to the uplink message to a candidate set; after a preset time interval, judging whether the uplink message is processed or not; under the condition that the uplink message is not processed, selecting a base station with the best signal quality from the candidate set; processing the uplink message corresponding to the selected base station to determine whether the downlink message needs to be sent to the node; and under the condition that a downlink message needs to be sent to the node, determining the selected base station as the downlink base station.
Optionally, the method further comprises: the lock service is set for the uplink message, and the step of processing the uplink message comprises the following steps: acquiring a lock corresponding to the uplink message, and processing the uplink message under the condition of successfully acquiring the lock, wherein the step of judging whether the uplink message is processed comprises the following steps: requesting to acquire a lock corresponding to the uplink message, and judging that the uplink message is processed under the condition that the lock acquisition fails.
According to a fourth aspect of the present invention, there is also provided a downlink base station selection method, including: in response to receiving an uplink message sent by a node through a base station, determining a signal quality index of the base station for the node according to signal quality data of one or more uplink messages sent by the node through the base station, and adding the base station to a candidate base station set of the node under the condition that the signal quality index is greater than a preset threshold; judging whether the base station belongs to a candidate base station set of the node, wherein the signal index of the base station in the candidate base station set aiming at the node is larger than a preset threshold value, judging whether an uplink message is processed under the condition that the base station belongs to the candidate base station set of the node, processing the uplink message under the condition that the uplink message is not processed, determining whether a downlink message needs to be sent to the node, and determining the base station as a downlink base station under the condition that the downlink message needs to be sent to the node so as to send the downlink message to the node by the base station.
According to a fifth aspect of the present invention, there is also provided a downlink base station selection method, including: responding to the received uplink messages sent by the node through the base station, and determining the signal quality index of the base station for the node according to the signal quality data of one or more uplink messages sent by the node through the base station; in case the signal quality indicator is greater than a predetermined threshold, the base station is added to the candidate set of base stations of the node.
Optionally, the signal quality data includes signal strength and/or signal to noise ratio when the uplink message is received by the base station.
Optionally, the step of determining the signal quality indicator of the base station for the node comprises: and processing the signal quality data of one or more uplink messages sent by the node through the base station by utilizing a moving average algorithm or a weighted average algorithm so as to obtain the signal quality index of the base station for the node.
Optionally, the method further comprises: and deleting the base station from the candidate base station set in the case that the signal quality index is smaller than the preset threshold value.
According to a sixth aspect of the present invention, there is also provided a downlink base station selection apparatus, including: the first judging module is used for responding to the uplink message sent by the receiving node through the base station and judging whether the uplink message is received for the first time; the processing module is used for processing the uplink message under the condition that the uplink message is judged to be received for the first time, so as to determine whether the downlink message needs to be sent to the node or not; the second judging module is used for judging whether the base station belongs to a candidate base station set of the node or not under the condition that a downlink message needs to be sent to the node, wherein the signal index of the candidate base station in the candidate base station set for the node is larger than a preset threshold value; and the determining module is used for determining the base station as a downlink base station under the condition that the base station is judged to belong to the candidate base station set of the node so as to send the downlink message to the node by the base station.
According to a seventh aspect of the present invention, there is also provided a downlink base station selection apparatus, including: the system comprises a first processing module and a second processing module, wherein the first processing module and the second processing module are executed in parallel in response to receiving an uplink message sent by a node through a base station, the first processing module determines a signal quality index of the base station for the node according to signal quality data of one or more uplink messages sent by the node through the base station, and the base station is added to a candidate base station set of the node under the condition that the signal quality index is greater than a preset threshold; the second processing module judges whether the uplink message is received for the first time, processes the uplink message to determine whether the downlink message needs to be sent to the node or not when the uplink message is judged to be received for the first time, judges whether the base station belongs to a candidate base station set of the node or not when the downlink message needs to be sent to the node, and takes the base station as a downlink base station when the base station belongs to the candidate base station set of the node so as to send the downlink message to the node by the base station when the base station is judged to belong to the candidate base station set of the node.
According to an eighth aspect of the present invention, there is also provided a downlink base station selection apparatus, including: the first judging module is used for responding to the received uplink message sent by the node through the base station and judging whether the base station belongs to a candidate base station set of the node, wherein the signal index of the candidate base station in the candidate base station set for the node is larger than a preset threshold value; the second judging module is used for judging whether the uplink message is processed or not under the condition that the base station is judged to belong to the candidate base station set of the node; the processing module is used for processing the uplink message under the condition that the uplink message is not processed, so as to determine whether the downlink message needs to be sent to the node; and the determining module is used for determining the base station as the downlink base station under the condition that the downlink message needs to be sent to the node so that the base station can send the downlink message to the node.
According to a ninth aspect of the present invention, there is also provided a downlink base station selection apparatus, including: the system comprises a first processing module and a second processing module, wherein the first processing module and the second processing module are executed in parallel in response to receiving an uplink message sent by a node through a base station, the first processing module determines a signal quality index of the base station for the node according to signal quality data of one or more uplink messages sent by the node through the base station, and the base station is added to a candidate base station set of the node under the condition that the signal quality index is greater than a preset threshold; the second processing module judges whether the base station belongs to a candidate base station set of the node, wherein the signal index of the base station in the candidate base station set aiming at the node is larger than a preset threshold value, judges whether an uplink message is processed under the condition that the base station belongs to the candidate base station set of the node, processes the uplink message under the condition that the uplink message is not processed, so as to determine whether a downlink message needs to be sent to the node, and determines the base station as a downlink base station under the condition that the downlink message needs to be sent to the node, so that the downlink message is sent to the node by the base station.
According to a tenth aspect of the present invention, there is also provided a downlink base station selection apparatus, including: the signal quality index determining module is used for responding to the received uplink messages sent by the node through the base station and determining the signal quality index of the base station for the node according to the signal quality data of one or more uplink messages sent by the node through the base station; and the candidate base station set adding module is used for adding the base station to the candidate base station set of the node under the condition that the signal quality index is larger than a preset threshold value.
According to an eleventh aspect of the present invention, there is also provided a computing device comprising: a processor; and a memory having executable code stored thereon which, when executed by the processor, causes the processor to perform the method as described in any of the first to fifth aspects of the invention.
According to a twelfth aspect of the present invention there is also provided a non-transitory machine-readable storage medium having stored thereon executable code which when executed by a processor of an electronic device causes the processor to perform a method as set out in any of the first to fifth aspects of the present invention.
The invention can provide basis for selecting the downlink base station by determining the candidate base station set of the node, thereby selecting the base station with better performance as the downlink base station of the node under the condition of low delay and improving the success rate of the downlink data packet.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be apparent from the following more particular descriptions of exemplary embodiments of the disclosure as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts throughout exemplary embodiments of the disclosure.
Fig. 1 shows a schematic flow chart of a method of acquiring a candidate set of base stations of a node according to an exemplary embodiment of the invention.
Fig. 2 shows a schematic flow chart of a downlink base station selection method according to an embodiment of the invention.
Fig. 3 shows a schematic flow chart of a downlink base station selection method according to another embodiment of the present invention.
Fig. 4 is a schematic block diagram showing the structure of a downlink base station selection apparatus according to an embodiment of the present invention.
Fig. 5 is a schematic block diagram showing the structure of a downlink base station selection apparatus according to another embodiment of the present invention.
Fig. 6 is a schematic block diagram showing the structure of a downlink base station selection apparatus according to another embodiment of the present invention.
Fig. 7 is a schematic block diagram showing the structure of a downlink base station selection apparatus according to another embodiment of the present invention.
Fig. 8 is a schematic structural diagram of a computing device that may be used to implement the above-described downlink base station selection method according to an embodiment of the present invention.
Detailed Description
Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[ PREPARATION ] A method for producing a polypeptide
LoRa: a low-power consumption long-distance wireless transmission scheme based on spread spectrum technology.
LoRaWAN: the LoRa alliance is pushing a low power wide area network (Low Power Wide Area Network, LPWAN) standard based on the open source MAC layer protocol. This technique may provide a low power, scalable long-range wireless network for battery-powered wireless devices.
NS: the Network Server is a core part-core Network in the solution of the Internet of things.
And (3) a base station: i.e. the gateway, transmits the wireless network signal of the node to the NS device through the backhaul network.
Rxpk: and uploading the uplink message, namely uploading the data message to the NS by the base station.
Txpk: downlink message, i.e. data message of NS downlink to base station.
tmst: a counter internal to the base station.
Rssi, signal strength when node data packet is received by base station.
Snr: signal to noise ratio when node data packets are received by the base station.
EUI: the device unique identification code is a globally unique ID like IEEE EUI64, and corresponds to the MAC address of the device.
gwEui: a unique identification code of the base station.
[ scheme overview ]
The invention provides a downlink base station selection scheme suitable for a ClassA mode, and when a downlink base station is selected for a node (namely a terminal) working in the ClassA mode, the performance and delay of the base station can be simultaneously considered, so that the performance of the selected downlink base station is better, and the delay of the whole process is lower.
The base station selection scheme of the present invention mainly comprises two parts. The first part is the determination (or update) of a candidate base station set for a node, which is used to provide basis for the selection of a downlink base station. The second part is aimed at the processing of the uplink message and the selection of the downlink base station. The first part and the second part can be executed concurrently without mutual influence, and can be processed by two system processes in practice respectively. The implementation principle of the two parts is described below.
The first part is mainly to respond to the received uplink message sent by a node through a certain base station, and calculate the signal index of the base station for the node according to the signal quality data (such as Rssi and/or Snr) of one or more uplink messages sent by the node through the base station, for example, the signal index can be obtained by a sliding average algorithm or a weighted average algorithm. The signal indicator may then be compared to a predetermined threshold, and if the signal indicator is greater than the predetermined threshold, the signal reception at the base station may be considered good, suitable as a downlink base station, which may be added to the candidate set of base stations for the node. If the signal indicator is smaller than the predetermined threshold, the signal receiving condition of the base station may be considered unstable and unsuitable as a downlink base station, and if the base station exists in the candidate base station set, the base station may be deleted from the candidate base station set. Thus, in response to receiving an uplink message uploaded by a node through one or more base stations, the candidate base station set of the node may be updated, and the candidate base stations in the updated candidate base station set may be considered as downlink base stations adapted to send downlink messages to the node. Therefore, the obtained candidate base station set can provide basis for the selection of the downlink base station.
The second part is mainly aimed at the processing of the uplink message and the selection of the downlink base station. In the invention, for a plurality of repeated uplink messages uploaded by a received node through a plurality of base stations, the uplink message received for the first time can be processed, and then a downlink base station is selected under the condition that a downlink message needs to be sent. In addition, the downlink base station may be selected first, and then the uplink message corresponding to the selected downlink base station may be processed. That is, the base station corresponding to the uplink packet may or may not be consistent with the downlink base station.
For example, after receiving an uplink message sent by a node through a base station for the first time, it may first determine whether the base station belongs to a candidate base station set of the node, and if so, process the uplink message, and use the base station as a downlink base station. If the base station is determined to be not in the candidate base station set, the uplink message uploaded by the base station is processed, and the base station is used as a downlink base station.
For another example, after the uplink message sent by the node through the base station is received for the first time, the uplink message can be directly processed, then whether the base station belongs to the candidate base station set of the node is judged, if yes, the base station can be directly used as the downlink base station of the node, if not, whether the base station through which the node sends the uplink message subsequently belongs to the candidate base station set is continuously judged, if yes, the base station belongs to the candidate base station set is used as the downlink base station, otherwise, the base station with better signal quality is selected from the base stations through which the same uplink message is sent by the node as the downlink base station.
In summary, by determining the candidate base station set of the node, a basis can be provided for selecting the downlink base station, so that a base station with better performance can be selected as the downlink base station of the node (i.e., the terminal) under the condition of low delay, and the success rate of the downlink data packet (i.e., the downlink message) is improved.
The aspects of the invention are further described below.
[ candidate base station set ]
Fig. 1 shows a schematic flow chart of a method of acquiring a candidate set of base stations of a node according to an exemplary embodiment of the invention. Wherein the method shown in fig. 1 may be performed by a Network Server (NS).
Referring to fig. 1, in step S110, in response to receiving an uplink packet sent by a node through a base station, a signal quality indicator of the base station for the node is determined according to signal quality data of one or more uplink packets sent by the node through the base station.
According to the signal quality data of one or more uplink messages sent by the node through the base station, the signal quality index of the base station for the node can be calculated in various modes. For example, the signal quality indicator of the base station for the node may be obtained by calculating an average value of the signal quality data of the one or more uplink messages. For another example, the signal quality data of one or more uplink messages sent by the node through the base station may also be processed by a weighted average algorithm or a moving average algorithm, so as to obtain a signal quality index of the base station for the node. In addition, the signal quality index of the base station for the node can also be calculated by other various statistical manners, which is not described herein.
The following is only an exemplary description of the procedure for obtaining the signal quality indicator by a weighted average algorithm or a moving average algorithm.
Example 1: weighted average algorithm.
Different weights can be respectively given to the signal quality data of a plurality of uplink messages sent by the node through the base station. As an example, the size of the weight is proportional to the time when the corresponding uplink message is sent by the receiving base station, that is, the closer the time when the uplink message of the base station is received to the current time, the larger the weight, otherwise, the smaller the weight. The signal quality indicator of the base station for the node can then be obtained by means of weighted summation and averaging.
Example 2, the running average algorithm.
The calculation formula is as follows: s (t) =a+y (t) + (1-a) ×s (t-1). Where S (t) represents the current signal quality indicator of the base station. y (t) represents signal quality data of an uplink message currently transmitted by the base station. S (t-1) represents a historical signal quality indicator of the base station, i.e. a signal quality indicator of a previously determined base station, such as may be the signal quality indicator of the last determined base station. a is a sliding factor, which is proportional to the time interval between two uplink messages sent by the latest received node through the base station.
Alternatively, the value range of a may be between 0, 1. When the time interval of the two uplink messages sent by the latest received node through the base station is smaller, a is closer to 0, and when the time interval of the two uplink messages sent by the latest received node through the base station is larger, a is closer to 1. For example, a may be determined by the following formula:
Figure BDA0001914264450000101
Wherein alpha is a scaling factor, t is the time when the current receiving node receives the uplink message sent by the base station, t_last is the time when the last receiving node receives rxpk of the base station, the formula means that a is closer to 0 when the time interval between the two uplink messages sent by the node through the base station is smaller, and a is closer to 1 when the time interval between the two uplink messages sent by the node through the base station is larger.
Therefore, for the node with the shorter reporting period, the channel quality between the base station and the node does not change drastically in the period, the signal quality index is greatly influenced by the historical value (the historical signal quality index), and the curve change of the signal quality index is relatively gentle. For the node with a longer reporting period, it can be considered that the channel quality between the base station and the node may have a larger change in this period, so that the signal quality index is greatly affected by the current value (the signal quality data of the uplink message currently sent by the base station).
In the present invention, the signal quality data may include signal strength (Rssi) and/or signal-to-noise ratio (Snr) when the uplink message is received by the base station. Thus, the signal quality indicator may also include a signal strength indicator and/or a signal to noise ratio indicator, which may be denoted as Rssi 'and Snr', respectively. The signal strength indicator may be determined according to the signal strength of one or more uplink messages sent by the node through the base station, and the signal to noise ratio indicator may be determined according to the signal to noise ratio of one or more uplink messages sent by the node through the base station. For the calculation process of the signal strength index and/or the signal to noise ratio index, reference may be made to the above related description, and the details are not repeated here.
In step S120, the base station is added to the candidate set of base stations of the node in case the signal quality indicator is larger than a predetermined threshold.
The signal quality index can represent the signal quality condition of the base station aiming at the node under the current condition. When the signal quality index is large, it is considered that the link quality between the base station and the node is good, and the base station is suitable as a downlink base station of the node. When the signal quality index is smaller than the predetermined threshold, it is considered that the link quality between the base station and the node is poor, and the base station is not suitable as a downlink base station of the node.
As an example, the base station may be added to the set of candidate base stations for the node as candidate base stations for the node in case the signal quality indicator is greater than a predetermined threshold. In the case where the signal quality indicator is less than the predetermined threshold, the base station is deleted from the candidate base station set of the node (in the case where the base station is present in the candidate base station set). The predetermined threshold may be set according to an actual situation, which is not described herein.
In case the signal quality indicator comprises a signal strength indicator and a signal to noise ratio indicator, a first predetermined threshold and a second predetermined threshold may be set for the signal strength indicator and the signal to noise ratio indicator, respectively. The base station may be added to the set of candidate base stations for the node as candidate base stations for the node if the signal strength indicator is greater than a first predetermined threshold and the signal to noise ratio indicator is greater than a second predetermined threshold. Otherwise, the base station is deleted from the candidate base station set of the node.
As an example, a candidate base station in the candidate base station set may be set to an expiration time, and the base station is automatically removed from the candidate set beyond a certain time, and the candidate base station set is updated whenever a node has a new uplink message, and in general, the update only takes effect on the next selection of the downlink base station in the class a mode of the node.
[ selection of downlink base station ]
Fig. 2 shows a schematic flow chart of a downlink base station selection method according to an exemplary embodiment of the present invention. Wherein the method shown in fig. 2 may be performed by a Network Server (NS).
As shown in fig. 2, in response to receiving an uplink packet sent by a node through a base station, the flow shown in step S111 to step S114 may be performed, or the flow shown in step S210 to step S295 may be performed. Alternatively, the processes shown in steps S111 to S114 and the processes shown in steps S210 to S295 may be performed in parallel in response to receiving an uplink packet sent by the node through the base station.
Steps S111 to S114 mainly analyze whether the base station belongs to a candidate base station of the node, so as to update the candidate base station set of the node. Details concerning steps S111 to S114 may be found in the description above in connection with fig. 1, and are only exemplarily described here with respect to the flow shown in fig. 2.
Referring to fig. 2, first, in step S111, in response to receiving an uplink packet sent by a base station, a signal quality indicator of the base station for a node is determined. The specific implementation process of determining the signal quality indicator may be referred to above in connection with step S110 in fig. 1, and will not be described herein.
In step S112, it is determined whether the signal quality indicator is greater than a predetermined threshold.
In case the signal quality indicator is greater than a predetermined threshold, step S113 may be performed, adding the base station to the candidate set of base stations for the node.
In case the signal quality indicator is smaller than the predetermined threshold, step S114 may be performed to delete the base station from the candidate set of base stations of the node in case the base station is present in the candidate set of base stations. Thereby, a real-time update of the candidate set of base stations of the node can be achieved.
The steps S210 to S295 are mainly used for processing the uplink message, and selecting a suitable downlink base station when the downlink message needs to be sent. The following exemplifies the specific implementation procedure of step S210 to step S295.
Referring to fig. 2, in response to receiving an uplink message sent by a node through a base station, step S210 is performed to determine whether the uplink message is received for the first time. Here, whether the uplink message is received for the first time may be determined by acquiring a lock (e.g., a distributed lock). Specifically, lock service can be set for the uplink message, and the lock can be acquired only when the uplink message is received for the first time, and can not be acquired when the subsequent node receives repeated uplink messages sent by other base stations. Thus, in response to receiving an uplink message sent by a node through a base station, the node can request to acquire a lock corresponding to the uplink message, and under the condition that the lock is successfully acquired, the uplink message is judged to be received for the first time, and under the condition that the lock acquisition fails, the uplink message is judged not to be received for the first time.
In the case that it is determined that the uplink packet is received for the first time, step S220 may be executed to process the uplink packet. The process of processing the uplink message may be the existing logic of processing the uplink message by the NS. The primary thing here is to analyze the upstream message to determine whether the downstream message needs to be sent to the node. Optionally, in the process of executing step S220, it may also be analyzed whether other special requirements exist in the uplink packet uploaded by the node, for example, whether an instruction with special requirements for the downlink base station exists in the uplink packet may be analyzed, for example, whether the uplink packet contains a deviceTimeReq command, which requires gps time for the base station.
In step S230, it is determined whether a downlink message needs to be sent. Here, the judgment may be made based on the processing result of step S220.
Under the condition that the downlink message is not required to be sent, the downlink base station is not required to be selected for the node. In the case that a downlink message needs to be sent (for example, there is a downlink instruction, or an ack is needed for the uplink message), in step S240, it is determined whether the base station belongs to a candidate base station set of the node. Wherein the candidate set of base stations may be determined by performing scheme 1 in parallel. If the base station belongs to the candidate base station set of the node, the base station is determined as a downlink base station (step S250), and a downlink message is transmitted to the base station (step S260).
Under the condition that the base station does not belong to the candidate base station set of the node, whether the base station corresponding to the same uplink message (repeated uplink message of the same uplink message as the uplink message received for the first time) received subsequently belongs to the candidate base station set of the node can be judged. And under the condition that the base station corresponding to the subsequently received uplink message belongs to the candidate base station set of the node, determining the base station as the downlink base station.
Under the condition that the base stations corresponding to the subsequently received uplink messages are judged not to belong to the candidate base station set of the node, the base station with the best signal quality (signal receiving intensity and/or signal to noise ratio) can be selected from at least part of the base stations corresponding to all the same uplink messages currently received as the downlink base station. For example, a base station with the best signal receiving strength and/or signal-to-noise ratio may be selected from all base stations through which the node transmits the uplink message as the downlink base station.
As an example, in the case that it is determined that the uplink packet is not received for the first time, step S270 may be executed to add the base station information of the base station that sent the uplink packet to the base station queue, for example, the base station information may be added to the base station queue corresponding to the uplink packet that the node sends this time. The base station information may include gwEUI, tmst, rssi, snr and other information. Thus, the base station queue may include base station information of all base stations through which the same uplink message is currently received. Step S280 may then be performed to determine whether a base station in the base station queue belongs to a candidate set of base stations. Here, the judgment may be made one by one in the order of addition of the base stations in the base station queue. If there is a base station belonging to the candidate base station set in the base station queue, the base station may be determined as a downlink base station (step S250), and a downlink message may be transmitted to the base station (step S260). If there is no base station belonging to the candidate base station set in the base station queue, in step S290, a base station with the best signal quality (signal receiving strength and/or signal to noise ratio) is selected from the base station queue as a downlink base station. In step S295, a downlink message is sent to the selected base station.
Alternatively, in the case that none of the base stations in the base station queue belong to the candidate base station set, step S280 may be repeatedly performed with a delay for a period of time. In practice, the delay queue can be used to realize asynchronous delay, so that the current thread is not blocked, the throughput rate of the system is improved, and meanwhile, in order to ensure that the base stations in the candidate set station set are found out in time after arriving, the sleep time can be shortened, and multiple attempts are made for the step S280.
Optionally, if an instruction with a special requirement for the downlink base station exists in the uplink message, when the downlink base station is selected, whether the base station meets the requirement of the downlink base station indicated by the uplink message can be further considered. For example, in the case where it is determined that the base station belongs to the candidate base station set of the node, it may be further determined whether the base station satisfies the downlink base station requirement indicated by the uplink message, and in the case where it is determined that the base station satisfies the downlink base station requirement indicated by the uplink message, the base station is determined to be the downlink base station. For another example, when the base station with the best quality is selected from the base stations through which the node transmits the uplink message, the base station may be selected from the base stations meeting the requirement of the downlink base station indicated by the uplink message.
Fig. 3 shows a schematic flow chart of a downlink base station selection method according to another exemplary embodiment of the present invention. Wherein the method shown in fig. 3 may be performed by a Network Server (NS).
As shown in fig. 3, in response to receiving an uplink packet sent by a node through a base station, the flow shown in step S111 to step S114 may be performed, or the flow shown in step S310 to step S329 may be performed. Alternatively, the processes shown in steps S111 to S114 and the processes shown in steps S310 to S329 may be performed in parallel in response to receiving an uplink packet sent by the node through the base station. For the steps S111 to S114, reference may be made to the description above in connection with fig. 2, and the description thereof will not be repeated here.
In this embodiment, steps S310 to S329 mainly include selecting a downlink base station, and then processing an uplink message corresponding to the selected downlink base station. The following mainly exemplifies the specific implementation procedures of step S310 to step S329 in the present embodiment.
Referring to fig. 3, in response to receiving an uplink message sent by a node through a base station, step S310 is performed to determine whether the base station belongs to a candidate base station set of the node. Wherein the signal index of the candidate base station for the node in the candidate base station set is greater than a predetermined threshold, and the candidate base station set may be determined by parallel execution of scheme 1.
If it is determined that the base station belongs to the candidate base station set, step S311 is executed to determine whether or not the uplink message is processed. The invention refers to processing uplink messages, which refers to selecting one uplink message from a plurality of repeated uplink messages sent by a node through one or more base stations for processing, wherein the repeated uplink messages can be regarded as messages with the same content. If the uplink message has been processed, the processing logic according to this embodiment indicates that the downlink base station has been selected. If the uplink message is not processed, indicating that the downlink base station has not yet determined, step S312 may be executed to process the uplink message. The primary thing here is to analyze the upstream message to determine whether the downstream message needs to be sent to the node.
In this embodiment, the operation of determining whether the uplink packet is processed may be determined by whether a lock (e.g., a distributed lock) can be acquired. For example, a lock service may be set for the same uplink packet sent by the node, when the uplink packet is processed, the lock corresponding to the uplink packet may be requested to be acquired, and when the lock is successfully acquired, the uplink packet may be processed. If the lock cannot be acquired or is present, it indicates that the upstream message has been processed.
In step S313, it is determined whether a downlink message needs to be sent. Here, the judgment may be made based on the processing result of step S312. Under the condition that the downlink message is not required to be sent, the downlink base station is not required to be selected for the node. If the downlink message needs to be sent, in step S314, the base station is determined to be a downlink base station. In step S315, a downlink message is sent to the base station.
In the case that the base station does not belong to the node candidate base station set as a result of step S310, step S321 may be executed to determine whether the uplink message is processed. If the uplink message has been processed, the processing logic according to this embodiment indicates that the downlink base station has been selected.
If the uplink message is not processed, indicating that the downlink base station has not been determined, step S322 may be executed to add the uplink message received this time or the base station corresponding to the uplink message to the candidate set.
In step S323, the delay processing. In the delay processing, processing according to processing logic of scheme 2 may continue in response to receiving repeated uplink messages sent by the node through one or more other base stations. Therefore, after delay processing, the candidate set comprises a plurality of repeated uplink messages or a plurality of base stations through which the node transmits the same uplink message. In step S323, asynchronous delay can be realized by a delay queue, so that the current thread is not blocked, and the throughput rate of the system is improved. And the time interval of the delay processing can be set according to actual conditions, and is not suitable to be excessively large.
After the delay processing is completed (or after a predetermined time interval), step S324 may be performed to determine whether the uplink packet is processed. If the uplink message is processed, it indicates that the downlink base station has already been determined.
If the uplink message is not processed, it indicates that the base stations through which the current received node transmits the uplink message do not belong to the candidate base station set, so step S325 may be performed to select the base station with the best signal quality (signal receiving strength and/or signal-to-noise ratio) from the candidate set, and then step S326 is performed to process the uplink message corresponding to the selected base station. The process of processing the uplink message may be the existing logic of processing the uplink message by the NS. The primary thing here is to analyze the upstream message to determine whether the downstream message needs to be sent to the node.
In step S327, it is determined whether a downlink message needs to be sent. Here, the judgment may be made based on the processing result of step S326. Under the condition that the downlink message is not required to be sent, the downlink base station is not required to be selected for the node. In the case that the downlink message needs to be transmitted, in step S328, the base station is determined as a downlink base station. In step S329, a downlink message is sent to the base station.
In summary, the downlink base station selection scheme of the present invention makes a good balance between delay and performance, and ensures that the performance of the downlink base station in the a mode is within an predictable range by analyzing the candidate set base station. Meanwhile, the base station which is reached by the signal first has relatively good performance, so that the invention can realize that no extra delay is generated due to waiting in most scenes, and even in a few scenes which need to delay waiting for the arrival of other base station signals, relatively less delay can be obtained without waiting for all base station signals to arrive. The invention can select the downlink base station after the uplink signal processing is completed, and can conveniently process if special instructions exist in the node uplink message to have special requirements on the route base station.
The downlink base station selection scheme of the invention has at least the following beneficial effects.
1. The uplink message received by the NS includes the internal time (tmst) of the uplink message received by the base station, and different base stations tmst are different, so if the downlink base station is to be selected in advance, time synchronization is needed, and clocks of all the base stations are kept consistent, which is very complex and delay tends to be high. Therefore, the downlink base station in the class a mode must be selected from the uplink base stations in real time. The invention can provide basis for the real-time selection of the downlink base station through the candidate base station set. The base station with better performance can be selected as the downlink base station of the terminal under the condition of low delay without time synchronization, and the success rate of the downlink data packet is improved.
2. Decoupling of the duplication removal and the routing of the ClassA mode is achieved, and no extra waiting delay is caused in the NS for processing the uplink message.
3. The concept of the candidate base station set is provided, the candidate base station set provides data support for the decision of the downlink route base station, meanwhile, the analysis and the processing of the candidate base station set are independent processes, and the influence on the uplink and downlink core flow of the node is avoided.
4. The signal quality of the base stations is analyzed in real time by using a moving average algorithm or a weighted average algorithm, so that the real-time performance and high robustness of the candidate base station set can be ensured.
5. The invention can realize alternative A up-B down mode, namely, the source base station of the processed uplink message is an A base station, but the downlink base station (the base station for sending the downlink message) is a B base station. The downlink message arrives from the B base station, so that the internal time tmst of the B base station can be obtained, and complex time synchronization work is avoided.
6. The mode of A up and B down realized by the invention can also lead to good expansibility, and can be conveniently expanded later if the route base station aiming at the ClassA mode has new limitation requirements.
[ Downlink base station selection device ]
Fig. 4 to 7 are schematic block diagrams showing the structure of a downlink base station selection apparatus according to various embodiments of the present invention. The functional modules of the downlink base station selection device may be implemented by hardware, software, or a combination of hardware and software that implements the principles of the present invention. Those skilled in the art will appreciate that the functional modules depicted in fig. 4-7 may be combined or divided into sub-modules to implement the principles of the invention described above. Accordingly, the description herein may support any possible combination, or division, or even further definition of the functional modules described herein.
The functional modules that the downlink base station selecting apparatus may have and the operations that each functional module may perform are briefly described, and the detailed portions related thereto may be referred to the above description, which is not repeated herein.
Referring to fig. 4, the downlink base station selection apparatus 400 includes a first judgment module 410, a processing module 420, a second judgment module 430, and a determination module 440.
The first determining module 410 is configured to determine whether an uplink packet is received for the first time in response to receiving the uplink packet sent by the node through the base station. The processing module 420 is configured to process the uplink message to determine whether to send the downlink message to the node if it is determined that the uplink message is received for the first time. The second determining module 430 is configured to determine whether the base station belongs to a candidate base station set of the node if the downlink message needs to be sent to the node, where a signal index of a candidate base station in the candidate base station set for the node is greater than a predetermined threshold. The determining module 440 is configured to determine the base station as a downlink base station in case that it is determined that the base station belongs to the candidate base station set of the node, so that the base station sends the downlink message to the node.
As an example of the present invention, the second determining module 430 may determine whether the base station corresponding to the subsequently received uplink packet belongs to the candidate base station set of the node in the case of determining that the base station does not belong to the candidate base station set of the node. In the case that it is determined that the base station corresponding to the subsequently received uplink packet belongs to the candidate base station set of the node, the determining module 440 may determine the base station as a downlink base station.
Optionally, the downlink base station selecting apparatus 400 may further include a selecting module. Under the condition that the base stations corresponding to the subsequently received uplink messages are judged not to belong to the candidate base station set of the node, the selection module can select the base station with the best signal quality from at least part of the base stations corresponding to the received uplink messages as the downlink base station.
As another example of the present invention, the downlink base station selection apparatus 400 may further include an adding module for adding base station information of a base station transmitting the uplink message to the base station queue in case that the first judging module 410 judges that the uplink message is not received for the first time. In the case where the second determining module 430 determines that the base station does not belong to the candidate base station set of the node, it may further determine whether the base station in the base station queue belongs to the candidate base station set of the node, and in the case where it is determined that the base station in the base station queue belongs to the candidate base station set of the node, it may be determined that the base station is a downlink base station.
As another example of the present invention, the second determining module 430 may further determine whether the base station meets the downlink base station requirement indicated by the uplink message in the case of determining that the base station belongs to the candidate base station set of the node. The determination module 440 determines the base station as a downlink base station if it is determined that the base station meets the downlink base station requirement indicated by the uplink message.
Referring to fig. 5, in the present embodiment, the downlink base station selection apparatus 500 includes a first determination module 510, a second determination module 520, a processing module 530, and a determination module 540.
The first determining module 510 is configured to determine, in response to receiving an uplink packet sent by a node through a base station, whether the base station belongs to a candidate base station set of the node, where a signal index of a candidate base station in the candidate base station set for the node is greater than a predetermined threshold. The second determining module 520 is configured to determine whether the uplink message is processed if it is determined that the base station belongs to the candidate base station set of the node. The processing module 530 is configured to process the uplink message to determine whether to send the downlink message to the node if it is determined that the uplink message is not processed. The determining module 540 is configured to determine the base station as a downlink base station in case that a downlink message needs to be sent to the node, so that the base station sends the downlink message to the node.
As an example of the present invention, the downlink base station selecting apparatus 500 may further include a third determining module, an adding module, and a selecting module.
In the case where the first determining module 510 determines that the base station does not belong to the candidate base station set of the node, the third determining module may determine whether the uplink message is processed. The adding module adds the uplink message received at this time or the base station corresponding to the uplink message to the candidate set under the condition that the third judging module judges that the uplink message is not processed; after a preset time interval, the third judging module judges whether the uplink message is processed again; the adding module may select a base station with the best signal quality from the candidate set if it is determined that the uplink packet is still not processed. The processing module 530 may process the uplink message corresponding to the selected base station to determine whether a downlink message needs to be sent to the node. In the case that a downlink message needs to be sent to a node, the determining module 540 may determine the selected base station as a downlink base station.
Referring to fig. 6, in the present embodiment, the downlink base station selection apparatus 600 includes a signal quality index determination module 610 and a candidate base station set addition module 620.
The signal quality indicator determining module 610 is configured to determine, in response to receiving an uplink packet sent by a node through a base station, a signal quality indicator of the base station for the node according to signal quality data of one or more uplink packets sent by the node through the base station. The signal quality data may include signal strength and/or signal-to-noise ratio of the uplink message as received by the base station.
The signal quality indicator determining module 610 may process signal quality data of one or more uplink messages sent by the node through the base station by using a moving average algorithm or a weighted average algorithm, so as to obtain a signal quality indicator of the base station for the node. For specific determination procedures, reference may be made to the above related description, and no further description is given here.
The candidate base station set adding module 620 is configured to add a base station to a candidate base station set of a node if the signal quality indicator is greater than a predetermined threshold.
Optionally, the downlink base station selecting apparatus 600 may further include a deletion module. The deletion module may be configured to delete the base station from the candidate set of base stations if the signal quality indicator is less than a predetermined threshold.
Referring to fig. 7, in the present embodiment, the downlink base station selection apparatus 700 may include a first processing module 710 and a second processing module 720. In response to receiving an uplink packet sent by the node through the base station, the first processing module 710 and the second processing module 720 may be executed in parallel.
The first processing module 710 may include a functional module included in the downlink base station selection apparatus in fig. 6, and perform a function that can be performed by the downlink base station selection apparatus in fig. 6. Briefly, the first processing module 710 may determine a signal quality indicator of the base station for the node according to signal quality data of one or more uplink messages sent by the node through the base station, and add the base station to a candidate base station set of the node if the signal quality indicator is greater than a predetermined threshold. For the operations that the first processing module 710 may also perform, refer to the description of fig. 6, which is not repeated here.
The second processing module 720 may include a functional module included in the downlink base station selection apparatus in fig. 4, and perform a function that can be performed by the downlink base station selection apparatus in fig. 4. The second processing module 720 may include a functional module included in the downlink base station selection apparatus in fig. 5, and may perform a function that can be performed by the downlink base station selection apparatus in fig. 5.
For example, the second processing module 720 may be configured to determine whether an uplink packet is received for the first time, process the uplink packet to determine whether a downlink packet needs to be sent to a node if the uplink packet is received for the first time, determine whether a base station belongs to a candidate base station set of the node if the downlink packet needs to be sent to the node, and use the base station as a downlink base station if the base station belongs to the candidate base station set of the node if the base station is determined to be sent to the node by the base station. For the operations that the second processing module 720 may also perform, refer to the description of fig. 4, which is not repeated here.
For another example, the second processing module 720 may also be configured to determine whether the base station belongs to a candidate base station set of the node, where a signal index of the base station in the candidate base station set for the node is greater than a predetermined threshold, determine whether an uplink packet is processed if the base station belongs to the candidate base station set of the node, process the uplink packet to determine whether a downlink packet needs to be sent to the node if the uplink packet is not processed, and determine the base station as a downlink base station if the downlink packet needs to be sent to the node, so that the downlink packet is sent to the node by the base station. For the operations that the second processing module 720 may also perform, refer to the description of fig. 5, which is not repeated here.
[ computing device ]
Fig. 8 is a schematic structural diagram of a computing device that may be used to implement the above-described downlink base station selection method according to an embodiment of the present invention.
Referring to fig. 8, a computing device 800 includes a memory 810 and a processor 820.
Processor 820 may be a multi-core processor or may include multiple processors. In some embodiments, processor 820 may comprise a general-purpose main processor and one or more special coprocessors such as, for example, a Graphics Processor (GPU), a Digital Signal Processor (DSP), etc. In some embodiments, processor 820 may be implemented using custom circuitry, for example, an application specific integrated circuit (ASIC, application Specific Integrated Circuit) or a field programmable gate array (FPGA, field Programmable Gate Arrays).
Memory 810 may include various types of storage units, such as system memory, read Only Memory (ROM), and persistent storage. Where the ROM may store static data or instructions that are required by the processor 820 or other modules of the computer. The persistent storage may be a readable and writable storage. The persistent storage may be a non-volatile memory device that does not lose stored instructions and data even after the computer is powered down. In some embodiments, the persistent storage device employs a mass storage device (e.g., magnetic or optical disk, flash memory) as the persistent storage device. In other embodiments, the persistent storage may be a removable storage device (e.g., diskette, optical drive). The system memory may be a read-write memory device or a volatile read-write memory device, such as dynamic random access memory. The system memory may store instructions and data that are required by some or all of the processors at runtime. Furthermore, memory 810 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), magnetic disks, and/or optical disks may also be employed. In some implementations, memory 810 may include a readable and/or writable removable storage device such as a Compact Disc (CD), a read-only digital versatile disc (e.g., DVD-ROM, dual layer DVD-ROM), a read-only blu-ray disc, an super-density optical disc, a flash memory card (e.g., SD card, min SD card, micro-SD card, etc.), a magnetic floppy disk, and the like. The computer readable storage medium does not contain a carrier wave or an instantaneous electronic signal transmitted by wireless or wired transmission.
The memory 810 has stored thereon executable code that, when processed by the processor 820, causes the processor 820 to perform the downlink base station selection method described above.
The downlink base station selection method, apparatus and computing device according to the present disclosure have been described in detail above with reference to the accompanying drawings.
Furthermore, the method according to the present disclosure may also be implemented as a computer program or computer program product comprising computer program code instructions for performing the above steps defined in the above method of the present disclosure.
Alternatively, the present disclosure may also be embodied as a non-transitory machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) having stored thereon executable code (or a computer program, or computer instruction code) that, when executed by a processor of an electronic device (or computing device, server, etc.), causes the processor to perform the steps of the above-described method according to the present invention.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems and methods according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing description of the embodiments of the present disclosure has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the improvement of technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (22)

1. A downlink base station selection method, comprising:
responding to an uplink message sent by a receiving node through a base station, and judging whether the uplink message is received for the first time;
processing the uplink message to determine whether a downlink message needs to be sent to the node under the condition that the uplink message is received for the first time;
judging whether the base station belongs to a candidate base station set of the node or not under the condition that a downlink message needs to be sent to the node, wherein the signal index of the candidate base station in the candidate base station set for the node is larger than a preset threshold value;
and under the condition that the base station belongs to the candidate base station set of the node, determining the base station as a downlink base station so as to send the downlink message to the node by the base station.
2. The downlink base station selection method according to claim 1, further comprising:
and under the condition that the uplink message is not received for the first time, adding the base station information of the base station for sending the uplink message into a base station queue.
3. The downlink base station selection method according to claim 2, further comprising:
Judging whether the base station in the base station queue belongs to the candidate base station set of the node or not under the condition that the base station does not belong to the candidate base station set of the node;
and determining the base station as a downlink base station when the base station in the base station queue is judged to belong to the candidate base station set of the node.
4. The downlink base station selection method according to claim 1, further comprising:
under the condition that the base station does not belong to the candidate base station set of the node, judging whether the base station corresponding to the uplink message received subsequently belongs to the candidate base station set of the node or not;
and under the condition that the base station corresponding to the uplink message received subsequently belongs to the candidate base station set of the node, determining the base station as a downlink base station.
5. The method for downlink base station selection according to claim 4, further comprising:
and under the condition that the base stations corresponding to the uplink message received subsequently do not belong to the candidate base station set of the node, selecting the base station with the best signal quality from at least part of the base stations corresponding to the uplink message received as the downlink base station.
6. The downlink base station selection method according to claim 1, further comprising: setting lock service for the uplink message,
the step of judging whether the uplink message is received for the first time comprises the following steps: requesting to acquire the lock corresponding to the uplink message, judging that the uplink message is received for the first time under the condition of successfully acquiring the lock, and judging that the uplink message is not received for the first time under the condition of failure in acquiring the lock.
7. The downlink base station selection method according to claim 1, further comprising:
further judging whether the base station meets the downlink base station requirement indicated by the uplink message or not under the condition that the base station belongs to the candidate base station set of the node;
and under the condition that the base station meets the requirement of the downlink base station indicated by the uplink message, determining the base station as the downlink base station.
8. A downlink base station selection method, comprising: in response to receiving an uplink message sent by a node through a base station, determining a signal quality index of the base station for the node according to signal quality data of one or more uplink messages sent by the node through the base station, and adding the base station to a candidate base station set of the node under the condition that the signal quality index is greater than a preset threshold;
And judging whether the uplink message is received for the first time, processing the uplink message to determine whether the downlink message needs to be sent to the node or not under the condition that the uplink message is judged to be received for the first time, judging whether the base station belongs to a candidate base station set of the node or not under the condition that the downlink message needs to be sent to the node, and taking the base station as a downlink base station under the condition that the base station belongs to the candidate base station set of the node so as to send the downlink message to the node by the base station.
9. A downlink base station selection method, comprising:
responding to the received uplink message sent by a node through a base station, judging whether the base station belongs to a candidate base station set of the node, wherein the signal index of the candidate base station in the candidate base station set for the node is larger than a preset threshold;
judging whether the uplink message is processed or not under the condition that the base station belongs to the candidate base station set of the node;
processing the uplink message under the condition that the uplink message is not processed, so as to determine whether a downlink message needs to be sent to the node;
And under the condition that the downlink message needs to be sent to the node, determining the base station as a downlink base station, so that the base station can send the downlink message to the node.
10. The downlink base station selection method according to claim 9, further comprising:
judging whether the uplink message is processed or not under the condition that the base station does not belong to the candidate base station set of the node;
under the condition that the uplink message is not processed, adding the uplink message received at this time or a base station corresponding to the uplink message to a candidate set;
after a preset time interval, judging whether the uplink message is processed or not;
under the condition that the uplink message is not processed yet, selecting a base station with the best signal quality from the candidate set;
processing the uplink message corresponding to the selected base station to determine whether the downlink message needs to be sent to the node;
and under the condition that a downlink message needs to be sent to the node, determining the selected base station as a downlink base station.
11. The downlink base station selection method according to claim 9, further comprising: setting lock service for the uplink message,
The step of processing the uplink message comprises the following steps: acquiring the lock corresponding to the uplink message, processing the uplink message under the condition of successfully acquiring the lock,
the step of judging whether the uplink message is processed comprises the following steps: requesting to acquire the lock corresponding to the uplink message, and judging that the uplink message is processed under the condition that the lock acquisition fails.
12. A downlink base station selection method, comprising: in response to receiving an uplink message sent by a node through a base station, determining a signal quality index of the base station for the node according to signal quality data of one or more uplink messages sent by the node through the base station, and adding the base station to a candidate base station set of the node under the condition that the signal quality index is greater than a preset threshold;
judging whether the base station belongs to a candidate base station set of the node, wherein the signal quality index of the base station in the candidate base station set aiming at the node is larger than a preset threshold value, judging whether the uplink message is processed or not under the condition that the base station belongs to the candidate base station set of the node, processing the uplink message under the condition that the uplink message is not processed so as to determine whether downlink message needs to be sent to the node, and determining the base station as a downlink base station under the condition that the downlink message needs to be sent to the node so as to send the downlink message to the node by the base station.
13. A downlink base station selection method, comprising:
responding to the received uplink messages sent by a node through a base station, and determining a signal quality index of the base station for the node according to signal quality data of one or more uplink messages sent by the node through the base station;
under the condition that the signal quality index is larger than a preset threshold value, adding the base station to a candidate base station set of the node, wherein the candidate base station set is used for providing basis for selecting a downlink base station;
deleting the base station from the candidate set of base stations if the signal quality indicator is less than the predetermined threshold;
after the uplink message sent by the node through the base station is received for the first time, judging whether the base station belongs to the candidate base station set of the node, and determining the base station as a downlink base station under the condition that the base station belongs to the candidate base station set of the node so as to send the downlink message to the node by the base station.
14. The method for downlink base station selection according to claim 13, wherein,
the signal quality data comprises signal strength and/or signal to noise ratio when the uplink message is received by the base station.
15. The downlink base station selection method according to claim 13, wherein the step of determining the signal quality indicator of the base station for the node comprises:
and processing the signal quality data of one or more uplink messages sent by the node through the base station by utilizing a moving average algorithm or a weighted average algorithm so as to obtain the signal quality index of the base station for the node.
16. A downlink base station selection apparatus, comprising:
the first judging module is used for responding to the uplink message sent by the receiving node through the base station and judging whether the uplink message is received for the first time;
the processing module is used for processing the uplink message under the condition that the uplink message is judged to be received for the first time, so as to determine whether the downlink message needs to be sent to the node;
a second judging module, configured to judge whether the base station belongs to a candidate base station set of the node when a downlink packet needs to be sent to the node, where a signal index of a candidate base station in the candidate base station set for the node is greater than a predetermined threshold;
and the determining module is used for determining the base station as a downlink base station under the condition that the base station belongs to the candidate base station set of the node so as to send the downlink message to the node by the base station.
17. A downlink base station selection apparatus, comprising: the first processing module and the second processing module are executed in parallel in response to receiving an uplink message sent by the node through the base station, wherein,
the first processing module determines a signal quality index of the base station for the node according to signal quality data of one or more uplink messages sent by the node through the base station, and adds the base station to a candidate base station set of the node under the condition that the signal quality index is greater than a preset threshold;
the second processing module judges whether the uplink message is received for the first time, processes the uplink message to determine whether downlink message needs to be sent to the node or not when the uplink message is judged to be received for the first time, judges whether the base station belongs to a candidate base station set of the node when the downlink message needs to be sent to the node, and takes the base station as a downlink base station when the base station belongs to the candidate base station set of the node so as to send the downlink message to the node by the base station.
18. A downlink base station selection apparatus, comprising:
the first judging module is used for responding to the received uplink message sent by the node through the base station and judging whether the base station belongs to a candidate base station set of the node, wherein the signal index of the candidate base station in the candidate base station set for the node is larger than a preset threshold value;
the second judging module is used for judging whether the uplink message is processed or not under the condition that the base station belongs to the candidate base station set of the node;
the processing module is used for processing the uplink message under the condition that the uplink message is not processed, so as to determine whether the downlink message needs to be sent to the node;
and the determining module is used for determining the base station as a downlink base station under the condition that the downlink message needs to be sent to the node so that the base station can send the downlink message to the node.
19. A downlink base station selection apparatus, comprising: the first processing module and the second processing module are executed in parallel in response to receiving an uplink message sent by the node through the base station, wherein,
The first processing module determines a signal quality index of the base station for the node according to signal quality data of one or more uplink messages sent by the node through the base station, and adds the base station to a candidate base station set of the node under the condition that the signal quality index is greater than a preset threshold;
the second processing module judges whether the base station belongs to a candidate base station set of the node, wherein a signal quality index of the base station in the candidate base station set for the node is larger than a preset threshold value, judges whether the uplink message is processed under the condition that the base station belongs to the candidate base station set of the node, processes the uplink message under the condition that the uplink message is not processed, so as to determine whether downlink messages need to be sent to the node, and determines the base station as a downlink base station under the condition that the downlink messages need to be sent to the node, so that the downlink messages are sent to the node by the base station.
20. A downlink base station selection apparatus, comprising:
the signal quality index determining module is used for responding to the received uplink messages sent by the node through the base station and determining the signal quality index of the base station for the node according to the signal quality data of one or more uplink messages sent by the node through the base station;
A candidate base station set adding module, configured to add the base station to a candidate base station set of the node, where the candidate base station set is used to provide a basis for selecting a downlink base station, where the signal quality indicator is greater than a predetermined threshold;
a deletion module, configured to delete the base station from the candidate base station set if the signal quality indicator is less than the predetermined threshold;
and the downlink base station selection module is used for judging whether the base station belongs to the candidate base station set of the node after the uplink message sent by the node through the base station is received for the first time, and determining the base station as a downlink base station to send the downlink message to the node under the condition that the base station is judged to belong to the candidate base station set of the node.
21. A computing device, comprising:
a processor; and
a memory having executable code stored thereon, which when executed by the processor causes the processor to perform the method of any of claims 1 to 15.
22. A non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to perform the method of any of claims 1 to 15.
CN201811564852.8A 2018-12-20 2018-12-20 Method, device, equipment and storage medium for selecting downlink base station Active CN111356200B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201811564852.8A CN111356200B (en) 2018-12-20 2018-12-20 Method, device, equipment and storage medium for selecting downlink base station
TW108131042A TW202025829A (en) 2018-12-20 2019-08-29 Downlink base station selection method, apparatus, device and storage medium
PCT/CN2019/124229 WO2020125485A1 (en) 2018-12-20 2019-12-10 Downlink base station selection method, apparatus, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811564852.8A CN111356200B (en) 2018-12-20 2018-12-20 Method, device, equipment and storage medium for selecting downlink base station

Publications (2)

Publication Number Publication Date
CN111356200A CN111356200A (en) 2020-06-30
CN111356200B true CN111356200B (en) 2023-06-13

Family

ID=71101052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811564852.8A Active CN111356200B (en) 2018-12-20 2018-12-20 Method, device, equipment and storage medium for selecting downlink base station

Country Status (3)

Country Link
CN (1) CN111356200B (en)
TW (1) TW202025829A (en)
WO (1) WO2020125485A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11290209B2 (en) * 2020-07-17 2022-03-29 Audiowise Technology Inc. Wireless communication method and wireless communication device which uses the wireless communication method
CN112153710B (en) * 2020-09-23 2023-06-27 Oppo广东移动通信有限公司 Data transmission method, device, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101933371A (en) * 2008-02-01 2010-12-29 高通股份有限公司 Serving base station selection in a wireless communication network

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2203014B1 (en) * 2008-12-29 2014-09-10 Alcatel Lucent Handover method and apparatus thereof
KR102557530B1 (en) * 2016-12-08 2023-07-20 한국전자통신연구원 Server and method for controlling a wireless communication network performed by using the server
CN106851735B (en) * 2017-03-03 2020-08-04 国动物联网技术(上海)有限公司 Method for processing repeated transmission of multi-gateway data through L oRaWAN
CN106982454B (en) * 2017-05-10 2019-11-05 重庆邮电大学 A kind of user access method based on load

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101933371A (en) * 2008-02-01 2010-12-29 高通股份有限公司 Serving base station selection in a wireless communication network

Also Published As

Publication number Publication date
CN111356200A (en) 2020-06-30
WO2020125485A1 (en) 2020-06-25
TW202025829A (en) 2020-07-01

Similar Documents

Publication Publication Date Title
WO2023087442A1 (en) Digital twin network-based low-latency and high-reliability transmission method and apparatus, device, and medium
JP5770301B2 (en) Method and apparatus for requesting and sharing network performance information
JP2016514390A (en) Predicting the quality of service of a possible future connection of a device to a wireless network
US20170245132A1 (en) Radio communication system, radio communication device, and radio relay device
CN111356200B (en) Method, device, equipment and storage medium for selecting downlink base station
US9705766B2 (en) Distributed liveness reporting in a computer network
CN112333774B (en) Edge network control system and control method
US20230041074A1 (en) Distributed machine learning using network measurements
CN110876176A (en) Communication method, device, equipment and storage medium of terminal and base station
CN106900174A (en) The data transmission method of WLAN mesh network, apparatus and system
WO2022001315A1 (en) Information transmission method and device, storage medium, and electronic device
JPWO2018150514A1 (en) Communication terminal, communication method and communication program in wireless ad hoc network
CN112383936A (en) Method and device for evaluating number of accessible users
CN114599010A (en) Positioning method and device on secondary link SL and terminal
CN110784337A (en) Cloud service quality monitoring method and related product
Liu et al. RO‐RAW: Run‐Time Restricted Access Window Optimization in IEEE 802.11 ah Network with Extended Kalman Filter
US20210204151A1 (en) Automatic labelling of data for machine learning algorithm to determine connection quality
CN111356175B (en) Data transmission method, device, equipment and storage medium
WO2020125538A1 (en) Downlink base station selection method, apparatus and device, and storage medium
KR20200132526A (en) Method for clustering-based determination of data transmission route and apparatus thereof
CN110876141B (en) Method, device, system, equipment and storage medium for processing repeated uplink message
US11627483B2 (en) Communication device, communication method, and computer program product for measuring quality of link
US11758616B1 (en) Managing mesh network connectivity using synchronized connection cost metrics
Córdova-Pintado et al. Interest-based Routing in Opportunistic Networks: Evaluating IRP against SCORP
WO2023078549A1 (en) Uplink exploration coordination

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40032396

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant