WO2016058117A1 - 控制广播数据包的发送频度的方法、装置和终端 - Google Patents

控制广播数据包的发送频度的方法、装置和终端 Download PDF

Info

Publication number
WO2016058117A1
WO2016058117A1 PCT/CN2014/088453 CN2014088453W WO2016058117A1 WO 2016058117 A1 WO2016058117 A1 WO 2016058117A1 CN 2014088453 W CN2014088453 W CN 2014088453W WO 2016058117 A1 WO2016058117 A1 WO 2016058117A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
transmission frequency
transmission
terminal
frequency
Prior art date
Application number
PCT/CN2014/088453
Other languages
English (en)
French (fr)
Inventor
张晓平
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to KR1020177011788A priority Critical patent/KR101958898B1/ko
Priority to EP14903881.2A priority patent/EP3190822B1/en
Priority to US15/519,062 priority patent/US10123296B2/en
Priority to PCT/CN2014/088453 priority patent/WO2016058117A1/zh
Priority to CN201480079289.9A priority patent/CN106416358B/zh
Priority to JP2017518108A priority patent/JP6415009B2/ja
Publication of WO2016058117A1 publication Critical patent/WO2016058117A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/30Resource management for broadcast services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling

Definitions

  • the present invention relates to the field of wireless positioning technologies, and in particular, to a method, an apparatus, and a terminal for controlling a transmission frequency of a broadcast data packet.
  • Wireless positioning technology has been widely used in outdoor positioning, indoor positioning, location services (English: Location Based Services; referred to as: LBS) and other fields.
  • a common network architecture generally includes a located terminal, a network device and a server for implementing the positioning function.
  • the terminal and the network device communicate through a wireless network, and the network device and the network device and the network device and the server communicate with each other through a wired network or a wireless network.
  • the terminal continuously sends the broadcast data packet according to the set transmission frequency; after receiving the broadcast data packet sent by the terminal, the network device extracts relevant parameters (such as the device identifier of the terminal) from the broadcast data packet, and measures the calculation for the calculation.
  • the physical quantity of the terminal location for example, Received Signal Strength Indicator (RSSI), Angle of Arrival (AOA), etc.; afterwards, the network device sends the above information to the server; The position coordinates of the terminal are calculated based on these parameters.
  • RSSI Received Signal Strength Indicator
  • AOA Angle of Arrival
  • the transmission frequency of the terminal transmitting the broadcast data packet is preset, and lacks flexibility.
  • the embodiment of the present invention provides a method, an apparatus, and a terminal for controlling the transmission frequency of the broadcast data packet.
  • the technical solution is as follows:
  • a method for controlling a transmission frequency of a broadcast data packet for a terminal configured to receive a broadcast data packet in a broadcast receiving segment to transmit a broadcast data packet in a broadcast transmission segment, the method comprising :
  • a channel environment parameter of an area where the terminal is located where the channel environment parameter includes a data packet time density and/or a data packet transmission success rate
  • the first transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment after the at least one broadcast receiving segment.
  • the channel environment parameter includes only the data packet time density
  • Determining, according to the channel environment parameter, the first sending frequency including:
  • a transmission frequency higher than the second transmission frequency is used as the first transmission frequency
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment, and the first density threshold is ⁇ the second density threshold.
  • the channel environment parameter includes only the data packet sending success rate
  • Determining, according to the channel environment parameter, the first sending frequency including:
  • a transmission frequency higher than the second transmission frequency is used as the first transmission frequency
  • a lower transmission frequency than the second transmission frequency is used as the first transmission frequency
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment, and the first success rate threshold ⁇ the second success rate Threshold.
  • the channel environment parameter includes the data packet time density and the data packet sending success rate
  • Determining, according to the channel environment parameter, the first sending frequency including:
  • a higher transmission frequency than the second transmission frequency is used as the first transmission frequency
  • the packet time density is greater than the second density threshold and/or the packet transmission success rate is small
  • the second success rate threshold is used, a transmission frequency lower than the second transmission frequency is used as the first transmission frequency
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment, where the first density threshold ⁇ the second density threshold, The first success rate threshold ⁇ the second success rate threshold.
  • the determining, by using the channel environment parameter, the first sending frequency includes:
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment.
  • the channel environment parameter includes only the data packet time density
  • Determining, according to the channel environment parameter, the second sending frequency, and the sending frequency of each other terminal, the first sending frequency including:
  • a transmission frequency higher than the second transmission frequency is used as the First transmission frequency
  • the channel environment parameter includes only the data packet sending success rate
  • Determining, according to the channel environment parameter, the second sending frequency, and the sending frequency of each other terminal, the first sending frequency including:
  • a transmission frequency higher than the second transmission frequency is used as the transmission frequency.
  • the first transmission frequency or,
  • a transmission frequency lower than the second transmission frequency is used as the transmission frequency.
  • the channel environment parameter includes the data packet time density and the data packet sending success rate
  • Determining, according to the channel environment parameter, the second sending frequency, and the sending frequency of each other terminal, the first sending frequency including:
  • the second transmission frequency is a transmission frequency with a high transmission frequency as the first transmission frequency
  • the second transmission frequency is not lower than the transmission frequency of any one of the other terminals, Using a lower transmission frequency than the second transmission frequency as the first transmission frequency;
  • the channel environment parameter includes the data packet time density
  • Determining, according to the broadcast data packet sent by the other terminal, a channel environment parameter of an area where the terminal is located including:
  • N r represents the number of data packet receptions of the terminal in the at least one broadcast receiving segment
  • T r represents the sum of the reception durations of the at least one broadcast receiving segment
  • the channel environment parameter includes the data packet sending success rate
  • Determining, according to the broadcast data packet sent by the other terminal, a channel environment parameter of an area where the terminal is located including:
  • N r represents the number of data packet receptions of the terminal in the at least one broadcast receiving segment
  • P represents that the terminal receives broadcast data packets from P other terminals in the at least one broadcast receiving segment
  • P ⁇ 1 and P is an integer
  • j ⁇ [1, P] and j is an integer
  • N t represents the sum of the number of theoretical transmissions of packets of the P other terminals in the at least one broadcast receiving segment.
  • the method further includes:
  • the broadcast data packet is sent according to the first sending frequency and the sending duration.
  • the method further includes:
  • the receiving duration of each broadcast receiving segment is set to be greater than a reciprocal of a preset minimum sending frequency, and the receiving duration of the broadcast receiving segment of the terminal is equal to the receiving duration of the broadcast receiving segment of the other terminal.
  • an apparatus for controlling a transmission frequency of a broadcast data packet the terminal being configured to receive a broadcast data packet in a broadcast receiving section to transmit a broadcast data packet in a broadcast transmission section, the apparatus comprising :
  • a data packet receiving module configured to receive, in at least one broadcast receiving segment, a broadcast data packet sent by another terminal;
  • a parameter determining module configured to determine, according to the broadcast data packet sent by the other terminal, a channel environment parameter of an area where the terminal is located, where the channel environment parameter includes a data packet time density and/or a data packet transmission success rate;
  • a frequency determining module configured to determine, according to the channel environment parameter, a first sending frequency, where the first sending frequency is that the terminal sends a broadcast data packet in a broadcast sending segment after the at least one broadcast receiving segment Send frequency.
  • the channel environment parameter includes only the data packet time density
  • the frequency determining module includes: a first up-regulating unit and a first down-regulating unit;
  • the first uplinking unit is configured to: when the data packet time density is less than the first density threshold, use a transmission frequency higher than the second transmission frequency as the first transmission frequency;
  • the first down-modulating unit is configured to: when the data packet time density is greater than the second density threshold, use a lower transmission frequency than the second transmission frequency as the first transmission frequency;
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment, and the first density threshold is ⁇ the second density threshold.
  • the channel environment parameter includes only the data packet sending success rate
  • the frequency determining module includes: a second up-regulating unit and a second down-regulating unit;
  • the second uplinking unit is configured to: when the data packet transmission success rate is greater than the first success rate threshold, use a transmission frequency higher than the second transmission frequency as the first transmission frequency;
  • the second down-modulation unit is configured to: when the data packet transmission success rate is less than the second success rate threshold, use a lower transmission frequency than the second transmission frequency as the first transmission frequency;
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment, and the first success rate threshold ⁇ the second success rate Threshold.
  • the channel environment parameter includes the data packet time density and the data packet sending success rate
  • the frequency determining module includes: a third up-regulating unit and a third down-regulating unit;
  • the third uplinking unit is configured to: when the data packet time density is less than the first density threshold and the data packet transmission success rate is greater than the first success rate threshold, use a higher transmission frequency than the second transmission frequency The first transmission frequency;
  • the third down-modulating unit is configured to use a lower transmission frequency than the second transmission frequency when the data packet time density is greater than the second density threshold and/or the data packet transmission success rate is less than the second success rate threshold Degree as the first transmission frequency;
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment, where the first density threshold ⁇ the second density threshold, The first success rate threshold ⁇ the second success rate threshold.
  • the frequency determining module includes: a frequency acquiring unit and a frequency determining unit;
  • the frequency obtaining unit is configured to determine, according to a frequency parameter carried in a broadcast data packet sent by each other terminal, a sending frequency of sending a broadcast data packet by each other terminal;
  • the frequency determining unit is configured to determine the first sending frequency according to the channel environment parameter, the second sending frequency, and the sending frequency of each other terminal;
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment.
  • the channel environment parameter includes only the data packet time density
  • the frequency determining unit includes: a first uppering subunit and a first lowering subunit;
  • the first uplinking subunit is configured to use the second sending when the data packet time density is less than a third density threshold and the second sending frequency is not higher than a sending frequency of any other terminal. a frequency of high transmission frequency as the first transmission frequency;
  • the first down-conversion sub-unit is configured to adopt a second transmission ratio when the data packet time density is greater than a fourth density threshold and the second transmission frequency is not lower than a transmission frequency of any other terminal a frequency with a low frequency as the first transmission frequency;
  • the channel environment parameter includes only the data packet sending success rate
  • the frequency determining unit includes: a second uppering subunit and a second lowering subunit;
  • the second upper adjustment subunit is configured to use, when the data packet transmission success rate is greater than a third success rate threshold, and the second transmission frequency is not higher than a transmission frequency of any other terminal, a transmission frequency with a high transmission frequency as the first transmission frequency;
  • the second down-conversion sub-unit is configured to use, when the data packet transmission success rate is less than a fourth success rate threshold, and the second transmission frequency is not lower than a transmission frequency of any other terminal, a transmission frequency with a low transmission frequency as the first transmission frequency;
  • the channel environment parameter includes the data packet time density and the data packet sending success rate
  • the frequency determining unit includes: a third uppering subunit and a third lowering subunit;
  • the third upper adjustment subunit is configured to: when the data packet time density is less than a third density threshold, and the data packet transmission success rate is greater than a third success rate threshold, and the second transmission frequency is not higher than any one When the transmission frequency of the other terminal is used, a transmission frequency higher than the second transmission frequency is used as the first transmission frequency;
  • the third lowering subunit is configured to: when the data packet time density is greater than a fourth density threshold, and/or the data packet transmission success rate is less than a fourth success rate threshold, and the second sending frequency is not lower than When the transmission frequency of any other terminal is used, a transmission frequency lower than the second transmission frequency is used as the first transmission frequency;
  • the channel environment parameter includes the data packet time density
  • the parameter determination module includes: a density calculation unit;
  • the density calculation unit is configured to calculate the data packet time density ⁇ according to the following formula:
  • N r represents the number of data packet receptions of the terminal in the at least one broadcast receiving segment
  • T r represents the sum of the reception durations of the at least one broadcast receiving segment
  • the channel environment parameter includes the data packet sending success rate
  • the parameter determining module includes: a number determining unit and a success calculating unit;
  • the number determining unit is configured to determine, according to the broadcast data packet sent by each other terminal, the number of theoretical data transmission times of each other terminal in the at least one broadcast receiving segment;
  • the success rate calculation unit is configured to calculate the data packet transmission success rate S according to the following formula:
  • N r represents the number of data packet receptions of the terminal in the at least one broadcast receiving segment
  • P represents that the terminal receives broadcast data packets from P other terminals in the at least one broadcast receiving segment
  • P ⁇ 1 and P is an integer
  • j ⁇ [1, P] and j is an integer
  • N t represents the sum of the number of theoretical transmissions of packets of the P other terminals in the at least one broadcast receiving segment.
  • a duration determining module configured to randomly determine a sending duration of the broadcast sending segment after the at least one broadcast receiving segment
  • a data packet sending module configured to send a broadcast data packet according to the first sending frequency and the sending duration after the at least one broadcast receiving segment ends.
  • the device further includes:
  • a duration configuration module configured to configure a receiving duration of each broadcast receiving segment to be greater than a reciprocal of a preset minimum transmission frequency, and a receiving duration of the broadcast receiving segment of the terminal and a receiving duration of the broadcast receiving segment of the other terminal equal.
  • a terminal configured to receive a broadcast data packet in a broadcast receiving section, and to send a broadcast data packet in a broadcast transmitting section, the terminal comprising: a bus, and a processor communicating through the bus, a memory, a transceiver, wherein the memory is for storing one or more instructions, the instructions being configured to be executed by the processor;
  • the transceiver is configured to receive broadcast data packets sent by other terminals in at least one broadcast receiving segment;
  • the processor is configured to determine, according to the broadcast data packet sent by the other terminal, a channel environment parameter of an area where the terminal is located, where the channel environment parameter includes a data packet time density and/or a data packet transmission success rate;
  • the processor is further configured to determine, according to the channel environment parameter, a first sending frequency, where the first sending frequency is that the terminal sends a broadcast data packet in a broadcast sending segment after the at least one broadcast receiving segment The frequency of transmission.
  • the channel environment parameter includes only the data packet time density
  • Determining, according to the channel environment parameter, the first sending frequency including:
  • a transmission frequency higher than the second transmission frequency is used as the first transmission frequency
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment, and the first density threshold is ⁇ the second density threshold.
  • the channel environment parameter includes only the packet sending success rate
  • Determining, according to the channel environment parameter, the first sending frequency including:
  • the frequency is higher than the second transmission frequency Transmission frequency as the first transmission frequency
  • a lower transmission frequency than the second transmission frequency is used as the first transmission frequency
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment, and the first success rate threshold ⁇ the second success rate Threshold.
  • the channel environment parameter includes the data packet time density and the data packet sending success rate
  • Determining, according to the channel environment parameter, the first sending frequency including:
  • a higher transmission frequency than the second transmission frequency is used as the first transmission frequency
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment, where the first density threshold ⁇ the second density threshold, The first success rate threshold ⁇ the second success rate threshold.
  • the determining, by using the channel environment parameter, the first sending frequency includes:
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment.
  • the channel environment parameter includes only the data packet time density
  • Determining, according to the channel environment parameter, the second sending frequency, and the sending frequency of each other terminal, the first sending frequency including:
  • the packet time density is less than a third density threshold and the second transmission frequency is not higher than
  • a transmission frequency higher than the second transmission frequency is used as the first transmission frequency
  • the channel environment parameter includes only the data packet sending success rate
  • Determining, according to the channel environment parameter, the second sending frequency, and the sending frequency of each other terminal, the first sending frequency including:
  • a transmission frequency higher than the second transmission frequency is used as the transmission frequency.
  • the first transmission frequency or,
  • a transmission frequency lower than the second transmission frequency is used as the transmission frequency.
  • the channel environment parameter includes the data packet time density and the data packet sending success rate
  • Determining, according to the channel environment parameter, the second sending frequency, and the sending frequency of each other terminal, the first sending frequency including:
  • the second transmission frequency is a transmission frequency with a high transmission frequency as the first transmission frequency
  • the second transmission frequency is not lower than the transmission frequency of any one of the other terminals, Using a lower transmission frequency than the second transmission frequency as the first transmission frequency;
  • the channel environment parameter includes the data packet time density
  • Determining, according to the broadcast data packet sent by the other terminal, a channel environment parameter of an area where the terminal is located including:
  • N r represents the number of data packet receptions of the terminal in the at least one broadcast receiving segment
  • T r represents the sum of the reception durations of the at least one broadcast receiving segment
  • the channel environment parameter includes the data packet sending success rate
  • Determining, according to the broadcast data packet sent by the other terminal, a channel environment parameter of an area where the terminal is located including:
  • N r represents the number of data packet receptions of the terminal in the at least one broadcast receiving segment
  • P represents that the terminal receives broadcast data packets from P other terminals in the at least one broadcast receiving segment
  • P ⁇ 1 and P is an integer
  • j ⁇ [1, P] and j is an integer
  • N t represents the sum of the number of theoretical transmissions of packets of the P other terminals in the at least one broadcast receiving segment.
  • the processor is further configured to randomly determine a sending duration of the broadcast sending segment after the at least one broadcast receiving segment;
  • the transceiver is further configured to send a broadcast data packet according to the first sending frequency and the sending duration after the at least one broadcast receiving segment ends.
  • the processor is further configured to configure a receiving duration of each broadcast receiving segment to be greater than a reciprocal of a preset minimum sending frequency, and a receiving duration of the broadcast receiving segment of the terminal is different from a broadcast receiving segment of the other terminal The receiving time is equal.
  • the terminal receives the broadcast data packet in the broadcast receiving segment to send the broadcast data packet in the broadcast sending segment, and the terminal receives the broadcast data packet sent by the other terminal in the at least one broadcast receiving segment, and determines the broadcast data packet sent by the other terminal according to the broadcast data packet sent by the other terminal.
  • the channel environment parameter includes a data packet time density and/or a data packet transmission success rate, and then determining, according to the channel environment parameter, the broadcast sending segment of the terminal after the at least one broadcast receiving segment
  • the transmission frequency of the broadcast data packet is transmitted; the problem of lack of flexibility in the transmission frequency of the broadcast data packet transmitted by the terminal in the prior art is solved; the transmission frequency is adaptively adjusted according to the channel environment parameter, and the transmission broadcast is improved.
  • the flexibility of the packet is transmitted.
  • FIG. 1 is a schematic structural view of an implementation environment according to various embodiments of the present invention.
  • FIG. 2 is a flowchart of a method for controlling a transmission frequency of a broadcast data packet according to an embodiment of the present invention
  • 3A is a flowchart of a method for controlling a frequency of sending broadcast data packets according to another embodiment of the present invention.
  • 3B is a schematic diagram of a broadcast receiving segment and a broadcast transmitting segment according to an embodiment of the present invention
  • FIG. 3C is a schematic diagram of three possible situations involved in the calculation of the duration of the overlap period
  • FIG. 4 is a flowchart of a method for controlling a transmission frequency of a broadcast data packet according to still another embodiment of the present invention.
  • FIG. 5 is a structural block diagram of an apparatus for controlling a transmission frequency of a broadcast data packet according to an embodiment of the present invention
  • 6A is a structural block diagram of an apparatus for controlling a transmission frequency of a broadcast data packet according to another embodiment of the present invention.
  • 6B is a structural block diagram of a parameter determining module according to an embodiment of the present invention.
  • 6C is a structural block diagram of another parameter determining module according to an embodiment of the present invention.
  • 6D is a structural block diagram of a frequency determining module according to an embodiment of the present invention.
  • 6E is a structural block diagram of another frequency determining module according to an embodiment of the present invention.
  • 6F is a structural block diagram of still another frequency determining module according to an embodiment of the present invention.
  • FIG. 7A is a structural block diagram of an apparatus for controlling a transmission frequency of a broadcast data packet according to still another embodiment of the present invention.
  • FIG. 7B is a structural block diagram of a frequency determining unit according to an embodiment of the present invention.
  • FIG. 7C is a structural block diagram of another frequency determining unit according to an embodiment of the present invention.
  • FIG. 7D is a structural block diagram of still another frequency determining unit according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram of a terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of an implementation environment involved in various embodiments of the present invention.
  • the implementation environment includes at least one terminal 120 , at least one network device 140 , and a server 160 . among them:
  • the terminal 120 may be various types of terminals that support the wireless broadcast positioning function.
  • the terminal 120 can be a mobile terminal such as a mobile phone, a tablet computer, an e-book reader, a personal digital assistant (English: Personal Digital Assistant; PDA), a laptop portable computer, or a smart wristband or a smart watch.
  • a wearable device such as a smart helmet can also be an object or a user-installable, portable tag (English: Tag), a badge, etc., or other independent or integrated wireless positioning device.
  • the terminal 120 may include a micro control unit (English: Micro Control Unit; MCU for short), and a radio frequency module connected to the micro control unit (English: Radio Frequency Wireless Module; referred to as: RF Wireless) Module).
  • the micro control unit is configured to control the radio frequency module to send and receive broadcast data packets.
  • the terminal 120 may further include a timer (English: Timer) implemented by hardware, software, or a combination of both. The timer is integrated in the micro control unit to record and control the duration of the radio frequency module to send and receive broadcast data packets.
  • Terminal 120 communicates with at least one network device 140 over a wireless network.
  • the wireless network technology can be low-power Bluetooth (English: Bluetooth Low Energy; referred to as: BLE), wireless fidelity (English: Wireless Fidelity; referred to as: Wi-Fi), ZigBee, radio frequency identification (English: Radio Frequency Identification, Abbreviation: RFID), Ultra Wide Band (English: Ultra Wide Band; referred to as: UWB) and other technologies.
  • the terminal 120 transmits a broadcast data packet for implementing positioning to the at least one network device 140 through the wireless network; correspondingly, the network device 140 receives the broadcast data packet transmitted by the terminal 120 through the wireless network.
  • Network device 140 may be a variety of base station devices capable of receiving broadcast data packets transmitted by terminal 120.
  • the network device 140 can be a locator (English: Locator), and the locator can be installed on a wall, a roof, a bracket, and the like.
  • the network device 140 is configured to extract a device address or a device ID (Identity) corresponding to the terminal 120 from the received broadcast data packet, and is also used to measure a received signal strength indication, an angle of arrival, and the like for calculating the position coordinates of the terminal 120. Physical quantity.
  • the network device 140 communicates with the server 160 via a wired network or a wireless network, and transmits the device address or device ID of the terminal 120 and the above physical quantity to the server 160.
  • Server 160 can be a server, or a cluster of servers consisting of several servers, or a cloud computing service center.
  • the server 160 is configured to receive a device address or a device ID of the terminal 120 transmitted by the network device 140, and a physical quantity for calculating the position coordinates of the terminal 120, such as a received signal strength indication, an angle of arrival, and the like, and calculate the position coordinates of the terminal 120 according to the above information.
  • Transmission frequency refers to the theoretical value of the number of times a broadcast packet is sent per unit time. In various embodiments of the invention, "transmission frequency" refers to a theoretical value rather than an actual value. The theoretical value of the transmission frequency, The terminal application layer program controls the reference value or guide value of the broadcast packet sent by the underlying module.
  • the theoretical value of the transmission frequency is greater than or equal to the actual value.
  • the terminal application layer program controls the underlying module to transmit 5 broadcast packets per second.
  • the terminal module may actually send the broadcast packet successfully less than 5 times per second.
  • the theoretical value is 5 times/second, and the actual value may be only 4 times/second.
  • the number of times the packet theory is transmitted is a theoretical value corresponding to the frequency of transmission, and refers to a theoretical value of the number of times a broadcast packet is transmitted in a certain period of time, rather than an actual value.
  • the “total number of data packet transmissions” is also a theoretical value corresponding to the transmission frequency, and refers to the theoretical value of the total number of times the broadcast packet is transmitted in the broadcast transmission segment, instead of the actual value.
  • Packet time density refers to the total number of broadcast data packets actually transmitted by all other terminals in the area where the terminal is located.
  • the packet time density is mainly used to measure the base station load strength of each network device in the area where the terminal is located.
  • the base station load strength refers to the load strength of the network device used to implement wireless positioning of the terminal.
  • the corresponding base station load strength is positively correlated with the number of times it receives broadcast packets per unit time. The more times the network device receives broadcast data packets in a unit time, the greater the load strength of the base station, and the greater the power consumption of the network device per unit time. Conversely, the number of times the network device receives broadcast data packets per unit time. The less, the smaller the base station load strength, the smaller the power consumption of the network device per unit time.
  • Packet sending success rate (English: packet sending success rate): refers to the average success rate of all other terminals in the area where the terminal is located to send broadcast data packets.
  • the packet transmission success rate is mainly used to measure the channel contention strength of the area in which the terminal is located.
  • the channel contention strength refers to the contention strength of the communication channel in each network where the terminal and the network device are located.
  • the channel contention strength is positively correlated with the number of times that each terminal sends out broadcast packets in a unit time. The more times that each terminal sends out broadcast data packets in a unit time, the stronger the channel contention strength is, and the worse the network environment is. The fewer times that each terminal sends out broadcast data packets in a unit time, the channel contention strength is indicated. The weaker, the better the network environment.
  • the area where the terminal is located refers to the area formed by other terminals that have the ability to communicate with the terminal to realize the transmission and reception of broadcast data packets. Under normal circumstances, the area where the terminal is located is a circular area centered on the terminal.
  • FIG. 2 is a flowchart of a method for controlling a transmission frequency of a broadcast data packet according to an embodiment of the present invention.
  • This embodiment is exemplified by applying the method to a terminal in the implementation environment shown in FIG. 1.
  • the terminal is configured to receive a broadcast data packet in a broadcast receiving section and send a broadcast data packet in a broadcast transmission section.
  • the method can include the following steps:
  • Step 202 Receive broadcast data packets sent by other terminals in at least one broadcast receiving segment.
  • Step 204 Determine, according to the broadcast data packet sent by the other terminal, a channel environment parameter of a region where the terminal is located, where the channel environment parameter includes a data packet time density and/or a data packet transmission success rate.
  • Step 206 Determine a first sending frequency according to the channel environment parameter, where the first sending frequency is a sending frequency of the broadcast data packet sent by the terminal in a broadcast sending segment after the at least one broadcast receiving segment.
  • the method for controlling the transmission frequency of a broadcast data packet provides that the broadcast terminal transmits the broadcast data packet in the broadcast transmission segment by receiving the broadcast data packet in the broadcast receiving segment, and receives the broadcast data packet in the at least one broadcast receiving segment.
  • the broadcast data packet sent by the terminal determines a channel environment parameter of the area where the terminal is located according to the broadcast data packet sent by the terminal, where the channel environment parameter includes a data packet time density and/or a data packet transmission success rate, and further according to the channel environment parameter.
  • the transmission frequency is adaptively adjusted according to channel environment parameters, which improves the flexibility of transmitting broadcast data packets.
  • FIG. 3A is a flowchart of a method for controlling a transmission frequency of a broadcast data packet according to another embodiment of the present invention.
  • This embodiment is exemplified by applying the method to a terminal in the implementation environment shown in FIG. 1.
  • the terminal is configured to receive a broadcast data packet in a broadcast receiving section and send a broadcast data packet in a broadcast transmission section.
  • the method can include the following steps:
  • Step 301 Receive broadcast data packets sent by other terminals in at least one broadcast receiving segment.
  • the configuration terminal receives the broadcast data packet in the broadcast receiving segment and transmits the broadcast data packet in the broadcast transmission segment. Specifically, in the broadcast sending segment, the terminal sends a broadcast data packet outward; and in the broadcast receiving segment, the terminal receives the broadcast data packet sent by other terminals in the surrounding area.
  • FIG. 3B which is exemplarily shown a schematic diagram of a broadcast receiving section and a broadcast transmitting section, the broadcast receiving section and the broadcast transmitting section alternate with each other.
  • the manner in which the terminal switches between the two working modes of the broadcast receiving segment and the broadcast transmitting segment is different.
  • the wireless network technology used by the terminal is BLE technology
  • the terminal's universal access specification (English: Generic Access Profile; GAP) layer is configured as the broadcast mode
  • the terminal works in the broadcast transmission segment
  • the terminal's GAP layer is used Configured in Observer mode
  • the terminal works in the broadcast receiving segment.
  • the wireless network technology adopted by the terminal is the Zigbee technology
  • the terminal can send broadcast data packets to other terminals in the same network or receive broadcast data packets sent by other terminals in the same network at any time.
  • the transmission duration T b of each broadcast transmitting segment is randomly determined, and the receiving duration T r of each broadcast receiving segment is configured to be preset.
  • the fixed value, and the receiving duration of the broadcast receiving segment of different terminals is also the same.
  • the transmission duration T b T c + T ⁇
  • T c is a constant
  • T ⁇ may be a random number between intervals [0, T ⁇ m ]
  • T ⁇ m is a preset maximum random number.
  • the receiving duration T r is configured to be greater than f min is the preset minimum transmission frequency.
  • the maximum value of the reception duration T r may be limited, or the maximum value of the ratio between the reception durations T r and T c may be limited.
  • Step 302 Determine a channel environment parameter of an area where the terminal is located according to the broadcast data packet sent by the other terminal.
  • the channel environment parameter is related to the number of broadcast data packets sent out by the other terminals in the area in which the terminal is located.
  • Channel environment parameters include packet time density and/or packet transmission success rate.
  • the data packet time density is the total number of broadcast data packets actually sent by all other terminals in the area in which the terminal is located, and is mainly used to measure the base station load strength of each network device in the area where the terminal is located.
  • the success rate of data packet transmission is the average success rate of transmitting broadcast data packets by all other terminals in the area where the terminal is located. It is mainly used to measure the channel contention strength of the area where the terminal is located.
  • the terminal calculates the packet time density ⁇ according to the following formula:
  • N r represents the number of times the terminal receives the data packet in at least one broadcast receiving segment.
  • T r represents the sum of the reception durations of at least one broadcast receiving segment.
  • Q denotes the number of at least one broadcast receiving section, Q ⁇ 1 and Q is an integer, k ⁇ [1, Q] and k is an integer, and Tr (k) represents the receiving duration of the kth broadcast receiving section.
  • N r is the number of times the terminal actually receives the broadcast data packet in the Q broadcast receiving segments, that is, the number of times the other terminals in the surrounding area actually transmit the broadcast data packet in the Q broadcast receiving segments.
  • the packet time density may also be calculated according to the sum of the total number of broadcast data packets actually received by the terminal in the at least one broadcast receiving segment and the receiving duration of the at least one broadcast receiving segment.
  • This embodiment is exemplified only by sending a broadcast data packet corresponding to one broadcast data packet, which is not specifically limited.
  • the process for the terminal to calculate the data packet transmission success rate may include the following first and second steps:
  • the number of theoretical transmissions of data packets of each other terminal in at least one broadcast receiving segment is determined according to the broadcast data packet transmitted by each other terminal.
  • the broadcast data packet may carry related parameters, so that the terminal in the broadcast receiving segment receives the broadcast data packet and then carries the broadcast data packet according to the broadcast data packet.
  • the relevant parameters calculate the number of theoretical transmissions of the data packets in the broadcast receiving segment of the terminal of the other terminal in the broadcast transmission segment.
  • the number of theoretical transmissions of the data packet of the jth other terminal in at least one broadcast receiving segment of the terminal can be calculated by the following steps 1 to 4:
  • the terminal receives, in the kth broadcast receiving segment of the at least one broadcast receiving segment, a broadcast data packet sent by the jth other terminal in the area, and the terminal broadcasts the broadcast data according to the jth other terminal.
  • the frequency parameter carried in the packet determines the transmission frequency f jk of the jth other terminal in the kth broadcast receiving segment.
  • the frequency parameter may be a transmission frequency or a frequency level.
  • the frequency parameter is a transmission frequency
  • the transmission frequency is directly used as the transmission frequency of the jth other terminal in the kth broadcast receiving segment.
  • the terminal can directly encapsulate the transmission frequency in the broadcast transmission segment in the broadcast data packet, so that the terminal in the broadcast receiving segment can directly read and obtain the broadcast data packet.
  • the terminal receives the broadcast data packet sent by the jth other terminal, and the broadcast data packet carries the transmission frequency f jk , and the terminal directly reads the transmission frequency f from the broadcast data packet. Jk .
  • the frequency parameter is a frequency level
  • a frequency level is read from a broadcast data packet sent by the jth other terminal, and the jth other terminal is determined to be at the kth according to the frequency level.
  • the broadcast frequency within the broadcast receiving segment.
  • the transmission frequency may also be divided into different frequency levels in advance, and different frequency levels correspond to different transmission frequencies.
  • the terminal may be encapsulated in the broadcast data packet in the broadcast transmission segment, and the terminal in the broadcast receiving segment receives the broadcast data packet. , read the frequency level from it and calculate the transmission frequency according to a preset algorithm.
  • the terminal receives the broadcast data packet sent by the jth other terminal, and the broadcast data packet carries the frequency level, and the terminal reads the frequency level from the broadcast data packet, according to the frequency.
  • the level calculates the transmission frequency f jk .
  • the terminal may calculate the transmission frequency f jk according to the frequency level m by using the first predetermined algorithm.
  • the first predetermined algorithm is a is a proportional coefficient and a>0
  • M represents the total frequency level number
  • M ⁇ 2 and M is an integer
  • fmax represents a predetermined maximum transmission frequency.
  • f max is a preset maximum transmission frequency, and this value can be set as an empirical value according to actual conditions.
  • the terminal may be calculated according to a second predetermined algorithm and frequency class m by the transmission frequency f jk.
  • the second predetermined algorithm is M represents the total frequency level number, M ⁇ 2 and M is an integer, f max represents a predetermined maximum transmission frequency, and f min represents a predetermined minimum transmission frequency.
  • f max is a preset maximum transmission frequency, and the value may be set according to an actual situation
  • f min is a preset minimum transmission frequency, and the value may also be set according to an actual situation.
  • the duration parameter carried in the broadcast data packet is used as an example for the total number of theoretical transmissions of the data packet in the broadcast transmission segment corresponding to the other terminal and the transmission sequence number corresponding to the broadcast data packet.
  • the terminal When the other terminal in the broadcast transmission segment sends the broadcast data packet to the outside, the terminal sends the total number N of data packets in the broadcast segment of the current broadcast segment and the transmission sequence number n corresponding to the broadcast data packet to be sent to the to-be-sent.
  • N In the broadcast packet, 1 ⁇ n ⁇ N and n and N are integers.
  • the other terminal in the broadcast sending segment may also send its own device identifier when sending the broadcast data packet outward. Encapsulated in the broadcast packet to be sent. The device identifier is used to identify different terminals, usually represented by the device address or device ID.
  • the terminal may create an information table, which is used to record the device identifier carried in the broadcast data packet sent by each other terminal, the total number of times the data packet is theoretically transmitted, Send sequence number and frequency level (or transmission frequency).
  • the information table can be as shown in Table-3 below:
  • Serial number Equipment Identity Total number of packets sent by theory Send serial number Frequency level 1 00 00 0A 01 20 4 4 2 00 00 0A 02 twenty two 17 4 3 00 00 0A 03 20 11 4 ... ... ... ... ... ...
  • the duration parameter carried in the broadcast data packet is the total number of theoretical transmissions of the data packet in the broadcast transmission segment corresponding to the other terminal, and the transmission sequence number corresponding to the broadcast data packet. n.
  • the terminal calculates the overlap period duration ⁇ t jk of the broadcast transmission segment corresponding to the other terminal by the kth broadcast receiving segment by using the following manner:
  • the terminal side of the broadcast transmission segment corresponding to the terminal side is calculated.
  • f j represents the transmission frequency corresponding to the jth other terminal; Indicates the time interval between two adjacent outgoing broadcast data packets; t r represents the local time when the terminal receives the broadcast data packet, that is, the terminal side reception time.
  • the terminal side start reception time t sr and the terminal side end reception time t er are overlapped.
  • the time period is ⁇ t jk .
  • the magnitude relationship between the above four parameters t sj , t ej , t sr and t er may include the following three cases:
  • the terminal may combine the above four parameters t sj , t ej , t sr and t er
  • the size relationship whether the terminal receives the broadcast data packet transmitted by the jth other terminal at the start and end time of the kth broadcast receiving segment, and whether the jth other terminal transmits the broadcast at the start and end time of the corresponding broadcast transmission segment. The three elements of the packet are calculated.
  • N t(jk) of the jth other terminal in the kth broadcast receiving segment has the following possibilities:
  • N t(jk) [ ⁇ t jk ⁇ f jk ];
  • N t(jk) [ ⁇ t jk ⁇ f jk ]+1;
  • N t(jk) [ ⁇ t jk ⁇ f jk ]+1;
  • N t(jk) [ ⁇ t jk ⁇ f jk ]+1;
  • ⁇ t jk represents an overlapping period duration of a broadcast transmission segment corresponding to the jth broadcast receiving segment and the jth other terminal
  • f jk indicates that the jth other terminal is received at the kth broadcast The frequency of transmission within the segment.
  • the above calculation process only calculates the theoretical number of transmissions N t(jk) of the data packet of the jth other terminal in the kth broadcast receiving segment, and preconfigures the start and end time of the jth other terminal in the corresponding broadcast sending segment.
  • the calculation method when sending broadcast packets is sent out is illustrated.
  • the terminal may combine the above four parameters t sj , t ej , t sr and t er .
  • the size relationship whether the terminal receives the broadcast data packet sent by the jth other terminal at the start and end time of the kth broadcast receiving segment, and whether the jth other terminal transmits the broadcast data at the start and end time of the corresponding broadcast transmission segment.
  • the three elements of the packet calculate the number of theoretical packet transmissions of the jth other terminal in the kth broadcast receiving segment.
  • the terminal After calculating the number of theoretical transmission times N t(jk) of the data packet of the jth other terminal in the kth broadcast receiving segment, the terminal calculates data of the jth other terminal in the at least one broadcast receiving segment according to the following formula: Packet theory transmission times N t(j) :
  • Q represents the number of the at least one broadcast receiving segment
  • Q ⁇ 1 and Q is an integer
  • k ⁇ [1,Q] and k is an integer
  • the data packet transmission success rate is calculated according to the theoretical number of data packets transmitted by each other terminal in at least one broadcast receiving segment and the number of data packets received by the terminal in at least one broadcast receiving segment.
  • the terminal calculates the packet transmission success rate S according to the following formula:
  • N r represents the number of times the terminal receives the data packet in the at least one broadcast receiving segment
  • P represents that the terminal receives the broadcast data packet from the P other terminals in the at least one broadcast receiving segment, P ⁇ 1 and P is an integer, j ⁇ [1,P] and j is an integer
  • N t represents the sum of the number of theoretical transmissions of packets of P other terminals in at least one broadcast receiving segment.
  • the data packet transmission success rate refers to the average success rate of sending broadcast data packets by each other terminal in the area where the terminal is located, that is, the broadcast data packet interaction between the terminal and the terminal.
  • the "average success rate" is for all other terminals in the area where the terminal is located and capable of performing broadcast packet interaction with the terminal, not for one of the other terminals.
  • the terminal receives the broadcast data packet from the same other terminal multiple times in one broadcast receiving segment, the terminal only needs to calculate, according to one of the broadcast data packets, that the other terminal broadcasts and receives at the terminal.
  • the number of packets transmitted in the segment is theoretically transmitted and the frequency of transmission, and each other terminal can be distinguished by the device identifier carried in the broadcast packet.
  • Step 303 Determine a first sending frequency according to the channel environment parameter, where the first sending frequency is a sending frequency of the broadcast data packet sent by the terminal in a broadcast sending segment after the at least one broadcast receiving segment.
  • the terminal determines the channel environment parameter of the area according to the broadcast data packet received in the at least one broadcast receiving segment, and then determines the transmission frequency in the subsequent broadcast sending segment according to the channel environment parameter.
  • the transmission frequency of transmitting broadcast data packets in multiple broadcast transmission segments may also be greater than 1, that is, Q>1, and the terminal is based on the two or more broadcast reception segments.
  • the channel environment parameter determined in the medium determines the transmission frequency of transmitting the broadcast data packet in the one or more broadcast transmission segments after the two or more broadcast receiving segments.
  • the broadcast receiving segment and the broadcast transmitting segment are alternately arranged one by one, the serial number corresponding to the broadcast receiving segment is 1, 3, 5, 7..., and the serial number corresponding to the broadcast transmitting segment is 2, 4, 6, 8... .
  • the terminal may adjust the transmission frequency in the broadcast transmission segment 2 according to the channel environment parameter determined in the broadcast receiving segment 1; adjust the transmission frequency in the broadcast transmission segment 4 according to the channel environment parameter determined in the broadcast receiving segment 3. Degree; and so on.
  • the terminal may adjust the transmission frequency in the broadcast transmission segment 4 or 6 or other subsequent broadcast transmission segments according to the channel environment parameters determined in the broadcast receiving segments 1 and 3, and the like.
  • the terminal adjusts the transmission frequency in the next broadcast transmitting segment of the broadcast receiving segment according to the channel environment parameter determined in one broadcast receiving segment, the frequency adjustment sensitivity Higher, the adjustment effect is more obvious.
  • this step includes the following three possible implementation modes:
  • the channel environment parameter includes only the packet time density, and at this time: (1), when the data packet time density is less than the first density threshold, the transmission frequency higher than the second transmission frequency is adopted. The degree is used as the first transmission frequency; (2) when the packet time density is greater than the second density threshold, the transmission frequency lower than the second transmission frequency is used as the first transmission frequency.
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in the broadcast transmission segment before the at least one broadcast receiving segment, and the first density threshold is ⁇ the second density threshold.
  • the terminal can increase/decrease the transmission frequency according to a preset frequency adjustment range.
  • the terminal may also determine the first transmission frequency according to the correspondence between the preset packet time density and the transmission frequency, and query the correspondence according to the packet time density.
  • the terminal can also up/down a frequency level according to a preset frequency level.
  • the terminal may further set different adjustment policies according to actual requirements, which is not specifically limited in this embodiment.
  • the channel environment parameter only includes the data packet transmission success rate.
  • the frequency is higher than the second transmission frequency.
  • the transmission frequency is used as the first transmission frequency;
  • the transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in the broadcast transmission segment before the at least one broadcast receiving segment, and the first success rate threshold is ⁇ the second success rate threshold.
  • the terminal can increase/decrease the transmission frequency according to a preset frequency adjustment range.
  • the terminal may also determine the first transmission frequency according to the corresponding relationship between the pre-set data packet transmission success rate and the transmission frequency, and query the correspondence according to the data packet transmission success rate.
  • the terminal can also up/down a frequency level according to a preset frequency level.
  • the terminal may further set different adjustment policies according to actual requirements, which is not specifically limited in this embodiment.
  • the channel environment parameter includes a data packet time density and a data packet transmission success rate.
  • the transmission frequency higher than the second transmission frequency is used as the first transmission frequency
  • the transmission frequency lower than the second transmission frequency is used as the first transmission frequency
  • the second transmission frequency is that the terminal sends the broadcast data packet in the broadcast transmission segment before the at least one broadcast reception segment. Transmission frequency, first density threshold ⁇ second density threshold, first success threshold ⁇ second Success rate threshold.
  • the data packet time density ⁇ is smaller than the first density threshold and the data packet transmission success rate S is greater than the first success rate threshold, it indicates that the base station load strength of the area in which the terminal is located is low and the channel contention strength is also low, and the terminal appropriately uplinks and transmits Frequency.
  • the packet time density ⁇ is greater than the second density threshold and/or the packet transmission success rate S is less than the second success rate threshold, indicating that the base station load strength of the area in which the terminal is located is higher and/or the channel contention strength is also higher. The terminal appropriately lowers the transmission frequency.
  • the terminal may use the same transmission frequency as the transmission frequency in the previous broadcast transmission segment as the transmission frequency in the next broadcast transmission segment.
  • the cases other than the above two cases (1) and (2) include: ⁇ 1 ⁇ 2 and S>S 1 , ⁇ 1 ⁇ 2 and S 1 >S>S 2 , ⁇ ⁇ ⁇ 1 and S 1 > S > S 2 .
  • the terminal can increase/decrease the transmission frequency according to a preset frequency adjustment range.
  • the terminal may also determine the first transmission frequency according to the preset data packet time density, the correspondence between the data packet transmission success rate and the transmission frequency, and the query according to the data packet time density and the data packet transmission success rate. .
  • the terminal can also up/down a frequency level according to a preset frequency level.
  • the terminal may further set different adjustment policies according to actual requirements, which is not specifically limited in this embodiment.
  • the case where the packet time density is equal to the first density threshold and/or the second density threshold, and the packet transmission success rate and the first success are not considered.
  • the case where the rate threshold and/or the second success rate threshold are equal, that is, the critical point case is not considered.
  • a person skilled in the art can determine an adjustment strategy of the transmission frequency according to actual needs, which is easily considered by those skilled in the art on the basis of the embodiment, and this embodiment does not Repeat them.
  • the terminal After determining the first sending frequency, the terminal switches to enter the broadcast sending segment after the end of the at least one broadcast receiving segment, and sends the broadcast data packet to the determined first sending frequency.
  • the sending duration of the broadcast sending segment can be determined by the following step 304:
  • Step 304 Randomly determine the transmission duration of the broadcast transmission segment after the at least one broadcast receiving segment.
  • step 304 may be performed before step 301 to step 303, or may be performed after step 301 to step 303, and may also be performed simultaneously with step 301 to step 303.
  • This embodiment is only taken as an example after step 301 to step 303 in step 304, which is not specifically limited.
  • Step 305 After the at least one broadcast receiving segment ends, the broadcast data packet is sent according to the first sending frequency and the sending duration.
  • the terminal determines, according to the first sending frequency, the number of times the broadcast data packet is sent per unit time in the broadcast sending segment, that is, how often the broadcast data packet is sent; the terminal determines the duration of sending the broadcast data packet according to the sending duration. .
  • the timer of the terminal records and controls the duration of receiving and receiving broadcast data packets by the radio frequency module.
  • the duration of the broadcast receiving segment reaches a preset receiving duration T r
  • the timer sends an indication to the micro control unit of the terminal, and the micro control unit receives After the indication, the control radio frequency module sends out the broadcast data packet.
  • the transmission duration T b T c + T ⁇
  • the transmission frequency is the first transmission frequency determined according to the above step 303.
  • this step may include the following sub-steps:
  • the total number of theoretical transmissions of the packets in the broadcast transmission segment after the at least one broadcast receiving segment after the at least one broadcast receiving segment is calculated according to the first transmission frequency and the transmission duration is N, N ⁇ 1 and N is an integer.
  • different algorithms may be selected depending on whether the terminal transmits a broadcast packet at the start and end time of the broadcast transmission segment.
  • a broadcast data packet including a device identifier, a total number of data packet theory transmissions, a transmission sequence number corresponding to the broadcast data packet, and a frequency parameter is generated.
  • the frequency parameter may be a transmission frequency or a frequency level corresponding to the transmission frequency.
  • the transmission sequence number is usually counted from 1 and the terminal increments the transmission sequence number by one after each transmission of the broadcast data packet.
  • the terminal After the terminal generates a broadcast data packet carrying the above parameters, the terminal sends the broadcast data packet.
  • the network devices in the surrounding area and other terminals in the broadcast receiving section receive broadcast data packets.
  • the network device is configured to perform a positioning by interacting with the server according to the received broadcast data packet.
  • the other terminals in the broadcast receiving segment are configured to determine channel environment parameters of the area according to the received broadcast data packet, thereby completing adaptive adjustment of the transmission frequency.
  • the timer of the terminal records and controls the duration of receiving and receiving the broadcast data packet by the radio frequency module.
  • the timer sends an indication to the micro control unit of the terminal, and the micro control unit receives the After the indication, the control radio frequency module stops sending the broadcast data packet outward and enters the next broadcast receiving segment.
  • the receiving duration is still T r , and the above steps 301 to 305 are repeatedly performed.
  • the method for controlling the transmission frequency of a broadcast data packet provides that the terminal receives the broadcast data packet in the broadcast receiving segment and transmits the broadcast data packet in the broadcast transmission segment, and the terminal receives the broadcast data packet in the at least one broadcast receiving segment.
  • the broadcast data packet sent by the other terminal determines the channel environment parameter of the area where the terminal is located according to the broadcast data packet sent by the other terminal, and the channel environment parameter includes the data packet time density and/or the data packet transmission success rate, and further according to the channel environment.
  • the parameter determines the transmission frequency of the broadcast data packet sent by the terminal in the broadcast transmission segment after the at least one broadcast receiving segment; and solves the problem that the transmission frequency of the broadcast data packet sent by the terminal in the prior art lacks flexibility;
  • the transmission frequency is adaptively adjusted according to the channel environment parameters, and the flexibility of transmitting the broadcast data packet is improved.
  • the method for controlling the transmission frequency of the broadcast data packet further indicates the channel environment parameter by the data packet time density and/or the data packet transmission success rate.
  • the two are related and there are certain differences.
  • Both the packet time density and the packet transmission success rate reflect the number of broadcast packets transmitted by each other terminal in the area in which the terminal is located in a unit time.
  • the packet time density is mainly used to measure the base station load strength
  • the packet transmission success rate is mainly used to measure the channel contention strength.
  • the terminal adaptively adjusts the transmission frequency in the subsequent broadcast transmission segment by using any one or all of the above two parameters measured in the broadcast receiving segment, thereby effectively controlling the base station load strength and channel contention strength of the surrounding environment, and ensuring The reliability and success rate of positioning, while balancing the energy consumption between various network devices, prolongs the network life.
  • the embodiment also provides two ways of dividing the frequency level. By setting different frequency levels, the response speed of the transmission frequency adjustment can be accelerated. Among them, the linear division method can make the variation range of the transmission frequency relatively stable; the geometric division method can make the variation frequency of the transmission frequency more obvious. In practical applications, different division methods can be selected according to actual conditions.
  • the transmission frequency in the broadcast transmission segment can be preset according to actual conditions. For example, it is set to a predetermined maximum transmission frequency f max .
  • FIG. 4 is a flowchart of a method for controlling a frequency of transmission of a broadcast data packet according to another embodiment of the present invention.
  • This embodiment is still exemplified by the method applied to the terminal in the implementation environment shown in FIG. 1, the terminal being configured to receive the broadcast data packet in the broadcast receiving segment and send the broadcast data packet in the broadcast transmitting segment.
  • the method can include the following steps:
  • Step 401 Receive broadcast data packets sent by other terminals in at least one broadcast receiving segment.
  • the configuration terminal receives the broadcast data packet in the broadcast receiving segment and transmits the broadcast data packet in the broadcast transmission segment.
  • the reception duration T r of each broadcast receiving segment is a preset fixed value, and the reception duration of the broadcast receiving segments of different terminals is also the same.
  • Reception time f min is the preset minimum transmission frequency.
  • Step 402 Determine a channel environment parameter of an area where the terminal is located according to the broadcast data packet sent by the other terminal.
  • the channel environment parameter is related to the number of broadcast data packets sent out by the other terminals in the area in which the terminal is located.
  • Channel environment parameters include packet time density and/or packet transmission success rate.
  • the data packet time density is the total number of broadcast data packets actually sent by all other terminals in the area in which the terminal is located, and is mainly used to measure the base station load strength of each network device in the area where the terminal is located.
  • the success rate of data packet transmission is the average success rate of transmitting broadcast data packets by all other terminals in the area where the terminal is located. It is mainly used to measure the channel contention strength of the area where the terminal is located.
  • the process for the terminal to calculate the data packet transmission success rate may include the following first and second steps:
  • the data packet transmission success rate is calculated according to the theoretical number of data packets transmitted by each other terminal in at least one broadcast receiving segment and the number of data packets received by the terminal in at least one broadcast receiving segment.
  • the duration parameter is the total number of theoretical packet transmissions in the broadcast transmission segment corresponding to other terminals and the The sending sequence number corresponding to the broadcast packet.
  • the duration parameter is used as an example of the other terminal-side start transmission time of the other terminal, the other terminal-side end transmission time, and the other terminal-side transmission time of the broadcast data packet. Description.
  • the other terminals in the broadcast transmission segment send the broadcast data packet
  • the other corresponding broadcast transmission segments start the transmission time t sj ' with respect to the other terminal side time, and the other terminal side ends the transmission time t ej ′
  • the other terminal side transmission time t bj ' of the broadcast data packet to be transmitted with respect to other terminal side time is encapsulated in the broadcast data packet to be transmitted. That is, the above t sj ', t ej ' and t bj ' are all other terminals in the broadcast transmission segment determined according to their respective local time.
  • the other terminal in the broadcast sending segment may also send its own device identifier when sending the broadcast data packet outward. Encapsulated in the broadcast packet to be sent.
  • the device identifier is used to identify different terminals, usually represented by the device address or device ID.
  • the terminal may create an information table, which is used to record the device identifier carried in the broadcast data packet sent by each other terminal, and the other terminal side start sending time.
  • t sj ' the other terminal side ends the transmission time t ej ', the other terminal side transmission time t bj ' corresponding to the current broadcast packet, and the frequency level (or transmission frequency).
  • the information table can be as shown in Table-4 below:
  • the duration parameter carried in the broadcast data packet is a start transmission time t sj ' of the other terminal side corresponding to the broadcast transmission segment corresponding to the other terminal side
  • the other terminal side ends the transmission time t ej ' and the other terminal side of the broadcast packet transmits the time t bj '.
  • the terminal calculates the overlap period duration ⁇ t jk of the broadcast transmission segment corresponding to the other terminal by the kth broadcast receiving segment by using the following manner:
  • the j-th other terminal is calculated according to the other terminal-side initial transmission time t sj ', the other terminal-side transmission time t bj ', and the terminal-side reception time t r with respect to the terminal-side time when the terminal receives the broadcast data packet.
  • t sj t r - (t bj '-t sj ').
  • the broadcast corresponding to the jth other terminal is calculated according to the other terminal side end transmission time t ej ', the other terminal side transmission time t bj ', and the terminal side reception time t r with respect to the terminal side time when the terminal receives the broadcast data packet.
  • the transmission side ends the transmission time t ej with respect to the terminal side of the terminal side time:
  • the overlap period duration is calculated according to the terminal side start transmission time t sj , the terminal side end transmission time t ej , the current broadcast reception segment with respect to the terminal side time terminal side start reception time t sr , and the terminal side end reception time t er . ⁇ t jk .
  • the magnitude relationship between the above four parameters t sj , t ej , t sr and t er may include the following three cases:
  • the terminal when adjusting the transmission frequency, the terminal combines the second transmission frequency and the channel environment parameter of the terminal in the broadcast transmission segment before the at least one broadcast receiving segment.
  • the first transmission frequency in the subsequent broadcast transmission segment is determined. details as follows:
  • Step 403 Determine, according to the frequency parameter carried in the broadcast data packet sent by each other terminal, the frequency of transmission of the broadcast data packet sent by each other terminal.
  • step 302 The process of determining the transmission frequency of other terminals has been performed in step 302 in the embodiment shown in FIG. 3A. The detailed description and description will not be repeated in this embodiment.
  • Step 404 Determine a first transmission frequency according to a channel environment parameter, a second transmission frequency, and a transmission frequency of each other terminal.
  • the second transmission frequency is a transmission frequency of the terminal transmitting the broadcast data packet in the broadcast transmission segment before the at least one broadcast reception segment. According to the type and quantity of parameters included in the channel environment parameters, this step includes the following three possible implementation modes:
  • the channel environment parameter includes only the data packet time density, where: (1), when the data packet time density is less than the third density threshold, and the second transmission frequency is not higher than any other terminal.
  • the transmission frequency is higher than the second transmission frequency as the first transmission frequency; (2) when the packet time density is greater than the fourth density threshold and the second transmission frequency is not lower than any one
  • the transmission frequency lower than the second transmission frequency is used as the first transmission frequency.
  • the third density threshold is ⁇ the fourth density threshold.
  • the third density threshold and the fourth density threshold are both preset empirical values.
  • the transmission frequency of some terminals is prevented from being too high and the transmission frequency of some terminals is too low.
  • the terminal also needs to compare the transmission frequency in the previous broadcast transmission segment with the transmission frequency of other terminals. When the frequency of transmission of the terminal in the previous broadcast transmission segment is not higher than the transmission frequency of any other terminal, the terminal raises the transmission frequency. Otherwise, the transmission frequency is maintained unchanged, and the transmission frequency is increased by other terminals with lower transmission frequency, so as to ensure that the transmission frequency of each terminal in the surrounding area is in a relatively balanced state.
  • the terminal needs to compare the transmission frequency in the previous broadcast transmission segment with the transmission frequency of other terminals.
  • the terminal lowers the transmission frequency. Otherwise, the transmission frequency is maintained unchanged, and the transmission frequency is lowered by other terminals with higher transmission frequency, so as to ensure that the transmission frequency of each terminal in the surrounding area is in a relatively balanced state.
  • the third density threshold may be equal to the fourth density threshold, that is, only one density threshold is set; or the third density threshold may be smaller than the fourth density threshold, that is, two density thresholds are set.
  • the terminal may use the same transmission frequency as the second transmission frequency as the first transmission frequency.
  • the terminal can increase/decrease the transmission frequency according to a preset frequency adjustment range.
  • the terminal may also determine the first transmission frequency according to the correspondence between the preset packet time density and the transmission frequency, and query the correspondence according to the packet time density.
  • the terminal can also up/down a frequency level according to a preset frequency level.
  • the terminal may further set different adjustment policies according to actual requirements, which is not specifically limited in this embodiment.
  • the channel environment parameter includes only the data packet transmission success rate.
  • the transmission frequency higher than the second transmission frequency is used as the first transmission frequency
  • the transmission frequency lower than the second transmission frequency is used as the first transmission frequency.
  • the third success rate threshold is ⁇ the fourth success rate threshold.
  • the third success rate threshold and the fourth success rate threshold are both preset empirical values.
  • the terminal in order to ensure that the transmission frequency of each terminal in the surrounding area is in a relatively balanced state, the transmission frequency of some terminals is prevented from being too high and the transmission frequency of some terminals is too low.
  • the terminal Before the terminal raises the transmission frequency, the terminal also needs to compare the transmission frequency in the previous broadcast transmission segment with the transmission frequency of other terminals. When the frequency of transmission of the terminal in the previous broadcast transmission segment is not higher than the transmission frequency of any other terminal, the terminal raises the transmission frequency. Similarly, when the frequency of transmission of the terminal in the previous broadcast transmission segment is not lower than the transmission frequency of any other terminal, the terminal lowers the transmission frequency.
  • the third success rate threshold may be equal to the fourth success rate threshold, that is, only one success rate threshold is set; or the third success rate threshold may be greater than the fourth success rate threshold, that is, two successful settings are set. Rate threshold.
  • the terminal may adopt the same frequency as the second transmission frequency except for setting (1) and (2) above, regardless of setting a success rate threshold or setting two success rate thresholds.
  • the transmission frequency is taken as the first transmission frequency.
  • the terminal can increase/decrease the transmission frequency according to a preset frequency adjustment range.
  • the terminal may also send a correspondence between the success rate and the transmission frequency according to the preset data packet, and send the data according to the data packet.
  • the delivery success query queries the correspondence to determine the first transmission frequency.
  • the terminal can also up/down a frequency level according to a preset frequency level.
  • the terminal may further set different adjustment policies according to actual requirements, which is not specifically limited in this embodiment.
  • the channel environment parameter includes a data packet time density and a data packet transmission success rate.
  • the transmission frequency higher than the second transmission frequency is used as the first transmission frequency
  • the transmission frequency is taken as the first transmission frequency.
  • the data packet time density ⁇ is smaller than the third density threshold and the data packet transmission success rate S is greater than the third success rate threshold, it indicates that the base station load strength of the area in which the terminal is located is low and the channel contention strength is also low, and the terminal is appropriately uplinked and sent. Frequency.
  • the packet time density ⁇ is greater than the fourth density threshold and/or the packet transmission success rate S is less than the fourth success rate threshold, it indicates that the base station load strength of the area in which the terminal is located is higher and/or the channel contention strength is also higher. The terminal appropriately lowers the transmission frequency.
  • the terminal in order to ensure that the transmission frequency of each terminal in the surrounding area is in a relatively balanced state, the transmission frequency of some terminals is prevented from being too high and the transmission frequency of some terminals is too low.
  • the terminal Before the terminal raises the transmission frequency, the terminal also needs to compare the transmission frequency in the previous broadcast transmission segment with the transmission frequency of other terminals. When the frequency of transmission of the terminal in the previous broadcast transmission segment is not higher than the transmission frequency of any other terminal, the terminal raises the transmission frequency. Similarly, when the frequency of transmission of the terminal in the previous broadcast transmission segment is not lower than the transmission frequency of any other terminal, the terminal lowers the transmission frequency.
  • the density threshold can be set to one or two, and the success threshold can also be set to one or two.
  • the terminal may adopt the same transmission frequency as the second transmission frequency as the first in addition to the above cases (1) and (2). A transmission frequency.
  • the terminal can increase/decrease the transmission frequency according to a preset frequency adjustment range.
  • the terminal may also determine the first transmission frequency according to the preset data packet time density, the correspondence between the data packet transmission success rate and the transmission frequency, and the query according to the data packet time density and the data packet transmission success rate. .
  • the terminal can also up/down a frequency level according to a preset frequency level.
  • the different adjustment policies may be preset in advance according to the actual requirements, which is not specifically limited in this embodiment.
  • the case where the packet time density is equal to the third density threshold and/or the fourth density threshold is not considered, and the packet transmission success rate and the third success are not successful.
  • the case where the rate threshold and/or the fourth success rate threshold are equal that is, the critical point case is not considered.
  • a person skilled in the art can determine an adjustment strategy of the transmission frequency according to actual needs, which is easily considered by those skilled in the art on the basis of the embodiment, and this embodiment does not Repeat them.
  • the terminal After determining the first sending frequency, the terminal switches to enter the broadcast sending segment after the end of the at least one broadcast receiving segment, and sends the broadcast data packet to the determined first sending frequency.
  • Step 405 randomly determining the transmission duration of the broadcast transmission segment after the at least one broadcast receiving segment.
  • Step 406 After the at least one broadcast receiving segment ends, the broadcast data packet is sent according to the first sending frequency and the sending duration.
  • steps 405 to 406 are the same as or similar to the steps 304 to 305 in the embodiment shown in FIG. 3A, and are not described in this embodiment.
  • step 406 can include the following sub-steps:
  • the terminal side start transmission time and the terminal side end transmission time of the broadcast transmission segment with respect to the terminal side time are determined according to the transmission duration.
  • a broadcast packet including a device identifier, a terminal side start transmission time, a terminal side end transmission time, a terminal side transmission time of the broadcast data packet, and a frequency parameter is generated.
  • the terminal After the terminal generates a broadcast data packet carrying the above parameters, the terminal sends the broadcast data packet.
  • the network devices in the surrounding area and other terminals in the broadcast receiving section receive broadcast data packets.
  • the network device is configured to perform a positioning by interacting with the server according to the received broadcast data packet.
  • the other terminal in the broadcast receiving segment is configured to determine the channel environment parameter of the area according to the received broadcast data packet. And the adaptive adjustment of the transmission frequency is completed.
  • the timer of the terminal records and controls the duration of receiving and receiving the broadcast data packet by the radio frequency module.
  • the timer sends an indication to the micro control unit of the terminal, and the micro control unit receives the After the indication, the control radio frequency module stops sending the broadcast data packet outward and enters the next broadcast receiving segment.
  • the receiving duration is still T r , and the above steps 401 to 406 are repeatedly performed.
  • the method for controlling the transmission frequency of a broadcast data packet provides that the broadcast terminal transmits the broadcast data packet in the broadcast transmission segment by receiving the broadcast data packet in the broadcast receiving segment, and receives the broadcast data packet in the at least one broadcast receiving segment.
  • the broadcast data packet sent by the terminal determines a channel environment parameter of the area where the terminal is located according to the broadcast data packet sent by the terminal, where the channel environment parameter includes a data packet time density and/or a data packet transmission success rate, and further according to the channel environment parameter.
  • the transmission frequency is adaptively adjusted according to channel environment parameters, which improves the flexibility of transmitting broadcast data packets.
  • the terminal is also in the previous broadcast transmission segment before adjusting the transmission frequency of the terminal.
  • the transmission frequency is compared with the transmission frequency of other terminals.
  • the terminal increases the transmission frequency; or
  • the frequency of transmission of the terminal in the previous broadcast transmission segment is not lower than the transmission frequency of any other terminal, the terminal lowers the transmission frequency. It ensures that the transmission frequency of each terminal in the surrounding area is in a relatively balanced state, which is beneficial to the energy efficiency balance of each terminal, and is advantageous for balancing the positioning effect on each terminal.
  • each broadcast data packet carries a device identifier, a total number of theoretical data transmission times, and broadcast data.
  • the transmission sequence number and the frequency parameter corresponding to the packet in the embodiment shown in FIG. 4, each broadcast data packet carries the device identifier, the initial transmission time of the current broadcast transmission segment, the end transmission time of the current broadcast transmission segment, and the broadcast.
  • the transmission time and frequency parameters of the data packet may be adopted to implement calculation of channel environment parameters in the surrounding environment, and then adaptively adjust the transmission frequency according to channel environment parameters.
  • FIG. 5 is a structural block diagram of an apparatus for controlling a transmission frequency of a broadcast data packet according to an embodiment of the present invention.
  • the apparatus may be implemented in the implementation environment shown in FIG. 1 by software, hardware, or a combination of the two. Part or all of the medium terminal, the terminal being configured to receive the broadcast data packet in the broadcast receiving section to transmit the broadcast data packet in the broadcast transmitting section.
  • the apparatus may include a data packet receiving module 510, a parameter determining module 520, and a frequency determining module 530.
  • the data packet receiving module 510 is configured to receive broadcast data packets sent by other terminals in the at least one broadcast receiving segment.
  • the parameter determining module 520 is configured to determine, according to the broadcast data packet sent by the other terminal, a channel environment parameter of an area where the terminal is located, where the channel environment parameter includes a data packet time density and/or a data packet transmission success rate.
  • the frequency determining module 530 is configured to determine, according to the channel environment parameter, a first sending frequency, where the first sending frequency is that the terminal sends a broadcast data packet in a broadcast sending segment after the at least one broadcast receiving segment The frequency of transmission.
  • the apparatus for controlling the transmission frequency of the broadcast data packet provides that the terminal receives the broadcast data packet in the broadcast receiving segment and transmits the broadcast data packet in the broadcast transmission segment, and the terminal receives the broadcast data packet in the at least one broadcast receiving segment.
  • the broadcast data packet sent by the other terminal determines the channel environment parameter of the area where the terminal is located according to the broadcast data packet sent by the other terminal, and the channel environment parameter includes the data packet time density and/or the data packet transmission success rate, and further according to the channel environment.
  • the parameter determines the transmission frequency of the broadcast data packet sent by the terminal in the broadcast transmission segment after the at least one broadcast receiving segment; and solves the problem that the transmission frequency of the broadcast data packet sent by the terminal in the prior art lacks flexibility;
  • the transmission frequency is adaptively adjusted according to the channel environment parameters, and the flexibility of transmitting the broadcast data packet is improved.
  • FIG. 6A is a structural block diagram of an apparatus for controlling a transmission frequency of a broadcast data packet according to another embodiment of the present invention.
  • the apparatus may be implemented by using software, hardware, or a combination of the two.
  • the terminal is configured to receive the broadcast data packet in the broadcast receiving section to transmit the broadcast data packet in the broadcast transmitting section.
  • the apparatus may include a data packet receiving module 510, a parameter determining module 520, and a frequency determining module 530.
  • the data packet receiving module 510 is configured to receive broadcast data packets sent by other terminals in the at least one broadcast receiving segment.
  • the parameter determining module 520 is configured to determine, according to the broadcast data packet sent by the other terminal, a channel environment parameter of an area where the terminal is located, where the channel environment parameter includes a data packet time density and/or a data packet transmission success rate.
  • the channel environment parameter includes the data packet time density
  • the parameter determining module 520 includes: a density calculating unit 520a.
  • the density calculation unit 520a is configured to calculate the data packet time density ⁇ according to the following formula:
  • N r represents the number of data packet receptions of the terminal in the at least one broadcast receiving segment
  • T r represents the sum of the reception durations of the at least one broadcast receiving segment
  • the channel environment parameter includes the data packet transmission success rate
  • the parameter determination module 520 includes: a number determining unit 520b and a success rate calculating unit 520c.
  • the number determining unit 520b is configured to determine, according to the broadcast data packet sent by each other terminal, the number of theoretical data transmission times of each other terminal in the at least one broadcast receiving segment.
  • the success rate calculation unit 520c is configured to calculate the data packet transmission success rate S according to the following formula:
  • N r represents the number of data packet receptions of the terminal in the at least one broadcast receiving segment
  • P represents that the terminal receives broadcast data packets from P other terminals in the at least one broadcast receiving segment
  • P ⁇ 1 and P is an integer
  • j ⁇ [1, P] and j is an integer
  • N t represents the sum of the number of theoretical transmissions of packets of the P other terminals in the at least one broadcast receiving segment.
  • the parameter determining module 520 may include only the density calculating unit 520a, or only the number determining unit 520b and the success calculating unit 520c, and may also include the density calculating unit 520a.
  • the type and number of functional modules included in the parameter determination module 520 depends on the type and number of parameters included in the channel environment parameters.
  • the frequency determining module 530 is configured to determine, according to the channel environment parameter, a first sending frequency, where the first sending frequency is that the terminal sends a broadcast data packet in a broadcast sending segment after the at least one broadcast receiving segment The frequency of transmission.
  • the frequency determining module 530 is different according to the type and number of parameters included in the channel environment parameter.
  • the functional modules included are also different. details as follows:
  • the channel environment parameter includes only the data packet time density.
  • the frequency determining module 530 includes: a first uplinking unit 530a and a first downlinking unit 530b.
  • the first uplinking unit 530a is configured to use, when the time density of the data packet is less than the first density threshold, a transmission frequency that is higher than the second transmission frequency as the first transmission frequency.
  • the first down-conversion unit 530b is configured to use, when the data packet time density is greater than the second density threshold, a transmission frequency lower than the second transmission frequency as the first transmission frequency.
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment, and the first density threshold is ⁇ the second density threshold.
  • the channel environment parameter includes only the data packet transmission success rate.
  • the frequency determination module 530 includes: a second uplinking unit 530c and a second downlinking unit 530d.
  • the second uplinking unit 530c is configured to use, when the data packet transmission success rate is greater than the first success rate threshold, a transmission frequency that is higher than the second transmission frequency as the first transmission frequency.
  • the second down-conversion unit 530d is configured to use, when the data packet transmission success rate is less than the second success rate threshold, a transmission frequency lower than the second transmission frequency as the first transmission frequency.
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment, and the first success rate threshold ⁇ the second success rate Threshold.
  • the channel environment parameter includes the data packet time density and the data packet transmission success rate
  • the frequency determining module 530 includes: a third uplinking unit 530e and a third Downgrade unit 530f.
  • the third uplinking unit 530e is configured to use a transmission frequency higher than the second transmission frequency when the data packet time density is less than the first density threshold and the data packet transmission success rate is greater than the first success rate threshold. As the first transmission frequency.
  • the third lowering unit 530f is configured to use a lower transmission rate than the second transmission frequency when the data packet time density is greater than the second density threshold and/or the data packet transmission success rate is less than the second success rate threshold.
  • the frequency is taken as the first transmission frequency.
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment, where the first density threshold ⁇ the second density threshold, The first success rate threshold ⁇ the second success rate threshold.
  • the apparatus provided in this embodiment further includes: a duration determining module 540 and a data packet sending module 550.
  • the duration determining module 540 is configured to randomly determine a sending duration of the broadcast sending segment after the at least one broadcast receiving segment.
  • the data packet sending module 550 is configured to send a broadcast data packet according to the first sending frequency and the sending duration after the at least one broadcast receiving segment ends.
  • the apparatus provided in this embodiment further includes: a duration configuration module 560.
  • the duration configuration module 560 is configured to configure a reception duration of each broadcast receiving segment to be greater than a reciprocal of a preset minimum transmission frequency, and receive the broadcast receiving segment of the terminal and receive the broadcast receiving segment of the other terminal. The duration is equal.
  • the function module shown in FIG. 6A can be separately implemented as a device for controlling the transmission frequency of a broadcast data packet provided by an embodiment of the present invention; or, FIG. 6A, FIG. 6B and FIG.
  • the function module shown in FIG. 6D can be implemented as a device for controlling the transmission frequency of the broadcast data packet provided by the embodiment of the present invention; or the functional modules shown in FIG. 6A, FIG. 6C and FIG. 6E can be combined and implemented to provide the embodiment of the present invention.
  • the device for controlling the transmission frequency of the broadcast data packet; or the functional modules shown in FIG. 6A, FIG. 6B, FIG. 6C and FIG. 6F can be combined to implement the device for controlling the transmission frequency of the broadcast data packet provided by the embodiment of the present invention.
  • a combination of different functional modules may be selected according to actual requirements, which is not specifically limited in this embodiment.
  • the apparatus for controlling the transmission frequency of the broadcast data packet provides that the terminal receives the broadcast data packet in the broadcast receiving segment and transmits the broadcast data packet in the broadcast transmission segment, and the terminal receives the broadcast data packet in the at least one broadcast receiving segment.
  • the broadcast data packet sent by the other terminal determines the channel environment parameter of the area where the terminal is located according to the broadcast data packet sent by the other terminal, and the channel environment parameter includes the data packet time density and/or the data packet transmission success rate, and further according to the channel environment.
  • the parameter determines the transmission frequency of the broadcast data packet sent by the terminal in the broadcast transmission segment after the at least one broadcast receiving segment; and solves the problem that the transmission frequency of the broadcast data packet sent by the terminal in the prior art lacks flexibility;
  • the transmission frequency is adaptively adjusted according to the channel environment parameters, and the flexibility of transmitting the broadcast data packet is improved.
  • the apparatus for controlling the transmission frequency of the broadcast data packet provided by this embodiment further indicates the channel environment parameter by the data packet time density and/or the data packet transmission success rate.
  • the two are related and there are certain differences.
  • Both the packet time density and the packet transmission success rate reflect the number of broadcast packets transmitted by each other terminal in the area in which the terminal is located in a unit time.
  • the packet time density is mainly used to measure the base station load strength
  • the packet transmission success rate is mainly used to measure the channel. Contention strength.
  • the terminal adaptively adjusts the transmission frequency in the subsequent broadcast transmission segment by using any one or all of the above two parameters measured in the broadcast receiving segment, thereby effectively controlling the base station load strength and channel contention strength of the surrounding environment, and ensuring The reliability and success rate of positioning, while balancing the energy consumption between various network devices, prolongs the network life.
  • FIG. 7A is a structural block diagram of an apparatus for controlling a transmission frequency of a broadcast data packet according to still another embodiment of the present invention.
  • the apparatus may be implemented by using software, hardware, or a combination of the two.
  • the terminal is configured to receive the broadcast data packet in the broadcast receiving section to transmit the broadcast data packet in the broadcast transmitting section.
  • the apparatus may include a data packet receiving module 510, a parameter determining module 520, and a frequency determining module 530.
  • the data packet receiving module 510 is configured to receive broadcast data packets sent by other terminals in the at least one broadcast receiving segment.
  • the parameter determining module 520 is configured to determine, according to the broadcast data packet sent by the other terminal, a channel environment parameter of an area where the terminal is located, where the channel environment parameter includes a data packet time density and/or a data packet transmission success rate.
  • the frequency determining module 530 is configured to determine, according to the channel environment parameter, a first sending frequency, where the first sending frequency is that the terminal sends a broadcast data packet in a broadcast sending segment after the at least one broadcast receiving segment The frequency of transmission.
  • the function module included in the parameter determination module 520 has been described and illustrated in detail in the embodiment shown in FIG. 6A, and details are not described herein again.
  • the frequency determining module 530 specifically includes: a frequency acquiring unit 531 and a frequency determining unit 532.
  • the frequency obtaining unit 531 is configured to determine, according to the frequency parameter carried in the broadcast data packet sent by each other terminal, the sending frequency of the broadcast data packet sent by each other terminal.
  • the frequency determining unit 532 is configured to determine the first sending frequency according to the channel environment parameter, the second sending frequency, and the sending frequency of each other terminal.
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment.
  • the functional modules included in the frequency determining unit 532 are also different depending on the type and number of parameters included in the channel environment parameters. details as follows:
  • the frequency determining unit 532 includes: a first uppering subunit 532a and a first lowering subunit 532b.
  • the first upper adjustment sub-unit 532a is configured to adopt a second ratio when the data packet time density is less than a third density threshold and the second transmission frequency is not higher than a transmission frequency of any other terminal.
  • the transmission frequency with a high transmission frequency is taken as the first transmission frequency.
  • the first down-conversion sub-unit 532b is configured to adopt a second ratio when the data packet time density is greater than a fourth density threshold and the second transmission frequency is not lower than a transmission frequency of any other terminal.
  • the transmission frequency with a low transmission frequency is taken as the first transmission frequency.
  • the channel environment parameter includes only the data packet transmission success rate
  • the frequency determining unit 532 includes: a second upper adjustment sub-unit 532c and a second lower adjustment sub-unit 532d.
  • the second upper adjustment sub-unit 532c is configured to use, when the data packet transmission success rate is greater than a third success rate threshold, and the second transmission frequency is not higher than a transmission frequency of any other terminal,
  • the transmission frequency with the second transmission frequency is the first transmission frequency.
  • the second down-conversion sub-unit 532d is configured to use when the data packet transmission success rate is less than a fourth success-through threshold and the second transmission frequency is not lower than a transmission frequency of any other terminal.
  • the second transmission frequency is low as the first transmission frequency.
  • the channel environment parameter includes the data packet time density and the data packet transmission success rate
  • the frequency determining unit 532 includes: a third upper adjustment sub-unit 532e and a The sub-unit 532f is lowered.
  • the third upper adjustment sub-unit 532e is configured to: when the data packet time density is less than a third density threshold, and the data packet transmission success rate is greater than a third success rate threshold, and the second transmission frequency is not higher than any When the transmission frequency of one other terminal is used, a transmission frequency higher than the second transmission frequency is used as the first transmission frequency.
  • the third down-conversion sub-unit 532f is configured to: when the data packet time density is greater than a fourth density threshold, and/or the data packet transmission success rate is less than a fourth success rate threshold, and the second transmission frequency is not low When the transmission frequency of any other terminal is used, a transmission frequency lower than the second transmission frequency is used as the first transmission frequency.
  • the third density threshold ⁇ the fourth density threshold, the third success threshold ⁇ The fourth success rate threshold is described.
  • the apparatus provided in this embodiment further includes: a duration determining module 540 and a data packet sending module 550.
  • the duration determining module 540 is configured to randomly determine a sending duration of the broadcast sending segment after the at least one broadcast receiving segment.
  • the data packet sending module 550 is configured to send a broadcast data packet according to the first sending frequency and the sending duration after the at least one broadcast receiving segment ends.
  • the apparatus provided in this embodiment further includes: a duration configuration module 560.
  • the duration configuration module 560 is configured to configure a reception duration of each broadcast receiving segment to be greater than a reciprocal of a preset minimum transmission frequency, and receive the broadcast receiving segment of the terminal and receive the broadcast receiving segment of the other terminal. The duration is equal.
  • the function module shown in FIG. 7A can be separately implemented as a device for controlling the transmission frequency of a broadcast data packet provided by an embodiment of the present invention; or, FIG. 7A, FIG. 6B and FIG.
  • the function module shown in FIG. 7B can be implemented as a device for controlling the transmission frequency of the broadcast data packet provided by the embodiment of the present invention; or the functional modules shown in FIG. 7A, FIG. 6C and FIG. 7C can be combined and implemented to provide the embodiment of the present invention.
  • the device for controlling the transmission frequency of the broadcast data packet; or the function module shown in FIG. 7A, FIG. 6B, FIG. 6C, and FIG. 7D can be combined to implement the device for controlling the transmission frequency of the broadcast data packet provided by the embodiment of the present invention.
  • a combination of different functional modules may be selected according to actual requirements, which is not specifically limited in this embodiment.
  • the apparatus for controlling the transmission frequency of the broadcast data packet provides that the terminal receives the broadcast data packet in the broadcast receiving segment and transmits the broadcast data packet in the broadcast transmission segment, and the terminal receives the broadcast data packet in the at least one broadcast receiving segment.
  • the broadcast data packet sent by the other terminal determines the channel environment parameter of the area where the terminal is located according to the broadcast data packet sent by the other terminal, and the channel environment parameter includes the data packet time density and/or the data packet transmission success rate, and further according to the channel environment.
  • the parameter determines the transmission frequency of the broadcast data packet sent by the terminal in the broadcast transmission segment after the at least one broadcast receiving segment; and solves the problem that the transmission frequency of the broadcast data packet sent by the terminal in the prior art lacks flexibility;
  • the transmission frequency is adaptively adjusted according to the channel environment parameters, and the flexibility of transmitting the broadcast data packet is improved.
  • the apparatus for controlling the transmission frequency of the broadcast data packet provided by the embodiment before adjusting the transmission frequency of the terminal, the terminal is also in the previous broadcast transmission segment.
  • the transmission frequency is compared with the transmission frequency of other terminals.
  • the terminal raises the transmission frequency.
  • the terminal lowers the transmission frequency when the frequency of transmission of the terminal in the previous broadcast transmission segment is not lower than the transmission frequency of any other terminal. It ensures that the transmission frequency of each terminal in the surrounding area is in a relatively balanced state, which is beneficial to the energy efficiency balance of each terminal, and is advantageous for balancing the positioning effect on each terminal.
  • the apparatus for controlling the transmission frequency of the broadcast data packet provided by the foregoing embodiment when configured to transmit and receive the broadcast data packet, only the division of each functional module described above is used as an example. In actual applications, the device may be configured as needed. The above function assignment is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • the apparatus for controlling the transmission frequency of the broadcast data packet provided by the foregoing embodiment is the same as the method embodiment of the method for controlling the transmission frequency of the broadcast data packet provided by the following embodiments, and the specific implementation process is described in the method implementation. For example, I won't go into details here.
  • FIG. 8 is a structural block diagram of a terminal according to an embodiment of the present invention.
  • the terminal 800 is configured to receive a broadcast data packet in a broadcast receiving section to transmit a broadcast data packet in a broadcast transmission section.
  • the terminal 800 includes a bus 810, and a processor 820, a memory 830, and a transceiver 840 that communicate via a bus 810.
  • the memory 830 is used to store one or more instructions that are configured to be executed by the processor 820. among them:
  • the transceiver 840 is configured to receive broadcast data packets sent by other terminals in at least one broadcast receiving segment.
  • the processor 820 is configured to determine, according to the broadcast data packet sent by the other terminal, a channel environment parameter of an area where the terminal is located, where the channel environment parameter includes a data packet time density and/or a data packet transmission success rate.
  • the processor 820 is further configured to determine, according to the channel environment parameter, a first sending frequency, where the first sending frequency is that the terminal sends broadcast data in a broadcast sending segment after the at least one broadcast receiving segment The frequency of transmission of the packet.
  • the terminal provided by the embodiment provides a broadcast data packet in a broadcast transmission segment by receiving a broadcast data packet in a broadcast receiving segment, and the terminal receives a broadcast data packet sent by another terminal in at least one broadcast receiving segment, according to the terminal.
  • the broadcast data packet sent by the other terminal determines a channel environment parameter of the area where the terminal is located, where the channel environment parameter includes a data packet time density and/or a data packet transmission success rate, and then determining, according to the channel environment parameter, the terminal at the foregoing at least one Wide after the broadcast receiving segment
  • the transmission frequency of the broadcast data packet is transmitted in the broadcast transmission segment; the problem of lack of flexibility in the transmission frequency of the broadcast data packet transmitted by the terminal in the prior art is solved; the transmission frequency is adaptively adjusted according to the channel environment parameter, and the transmission frequency is improved.
  • the channel environment parameter includes only the data packet time density
  • Determining, according to the channel environment parameter, the first sending frequency including:
  • a transmission frequency higher than the second transmission frequency is used as the first transmission frequency
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment, and the first density threshold is ⁇ the second density threshold.
  • the channel environment parameter includes only the data packet transmission success rate
  • Determining, according to the channel environment parameter, the first sending frequency including:
  • a transmission frequency higher than the second transmission frequency is used as the first transmission frequency
  • a lower transmission frequency than the second transmission frequency is used as the first transmission frequency
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment, and the first success rate threshold ⁇ the second success rate Threshold.
  • the channel environment parameter includes the data packet time density and the data packet transmission success rate
  • Determining, according to the channel environment parameter, the first sending frequency including:
  • a higher transmission frequency than the second transmission frequency is used as the first transmission frequency
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment, where the first density threshold ⁇ the second density threshold, The first success rate threshold ⁇ the second success rate threshold.
  • the determining the first sending frequency according to the channel environment parameter includes:
  • the second transmission frequency is a transmission frequency of the broadcast data packet sent by the terminal in a broadcast transmission segment before the at least one broadcast receiving segment.
  • the channel environment parameter includes only the data packet time density
  • Determining, according to the channel environment parameter, the second sending frequency, and the sending frequency of each other terminal, the first sending frequency including:
  • a transmission frequency higher than the second transmission frequency is used as the First transmission frequency
  • the channel environment parameter includes only the data packet transmission success rate
  • Determining, according to the channel environment parameter, the second sending frequency, and the sending frequency of each other terminal, the first sending frequency including:
  • a transmission frequency higher than the second transmission frequency is used as the transmission frequency.
  • the first transmission frequency or,
  • the channel environment parameter includes the data packet time density and the data packet transmission success rate
  • Determining, according to the channel environment parameter, the second sending frequency, and the sending frequency of each other terminal, the first sending frequency including:
  • the second transmission frequency is a transmission frequency with a high transmission frequency as the first transmission frequency
  • the second transmission frequency is not lower than the transmission frequency of any one of the other terminals, Using a lower transmission frequency than the second transmission frequency as the first transmission frequency;
  • the channel environment parameter includes the data packet time density
  • Determining, according to the broadcast data packet sent by the other terminal, a channel environment parameter of an area where the terminal is located including:
  • N r represents the number of data packet receptions of the terminal in the at least one broadcast receiving segment
  • T r represents the sum of the reception durations of the at least one broadcast receiving segment
  • the channel environment parameter includes the data packet transmission success rate
  • Determining, according to the broadcast data packet sent by the other terminal, a channel environment parameter of an area where the terminal is located including:
  • N r represents the number of data packet receptions of the terminal in the at least one broadcast receiving segment
  • P represents that the terminal receives broadcast data packets from P other terminals in the at least one broadcast receiving segment
  • P ⁇ 1 and P is an integer
  • j ⁇ [1, P] and j is an integer
  • N t represents the sum of the number of theoretical transmissions of packets of the P other terminals in the at least one broadcast receiving segment.
  • the processor 820 is further configured to randomly determine a sending duration of the broadcast sending segment after the at least one broadcast receiving segment;
  • the transceiver 840 is further configured to send a broadcast data packet according to the first sending frequency and the sending duration after the at least one broadcast receiving segment ends.
  • the processor 820 is further configured to configure a reciprocal of each broadcast receiving segment to be greater than a preset minimum transmission frequency, and a receiving duration of the broadcast receiving segment of the terminal and a broadcast receiving segment of the other terminal The receiving time is equal.
  • the terminal provided in this embodiment further indicates the channel environment parameter by using a data packet time density and/or a data packet transmission success rate.
  • the two are related and there are certain differences.
  • Both the packet time density and the packet transmission success rate reflect the number of broadcast packets transmitted by each other terminal in the area in which the terminal is located in a unit time.
  • the packet time density is mainly used to measure the base station load strength
  • the packet transmission success rate is mainly used to measure the channel contention strength.
  • the terminal adaptively adjusts the transmission frequency in the subsequent broadcast transmission segment by using any one or all of the above two parameters measured in the broadcast receiving segment, thereby effectively controlling the base station load strength and channel contention strength of the surrounding environment, and ensuring The reliability and success rate of positioning, while balancing the energy consumption between various network devices, prolongs the network life.
  • the terminal before adjusting the transmission frequency of the terminal, compares the transmission frequency in the previous broadcast transmission segment with the transmission frequency of other terminals, when the terminal compares The terminal raises the transmission frequency when the transmission frequency in the previous broadcast transmission segment is not higher than the transmission frequency of any other terminal; or, when the terminal transmits the frequency in the previous broadcast transmission segment is not lower than the random When the transmission frequency of one other terminal is used, the terminal lowers the transmission frequency. It ensures that the transmission frequency of each terminal in the surrounding area is in a relatively balanced state, which is beneficial to the energy efficiency balance of each terminal, and is advantageous for balancing the positioning effect on each terminal.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

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

Abstract

本发明实施例提供了一种控制广播数据包的发送频度的方法、装置和终端,涉及无线定位技术领域,所述方法包括:在至少一个广播接收段内接收其它终端发送的广播数据包;根据其它终端发送的广播数据包确定终端所处区域的信道环境参数,该信道环境参数包括数据包时间密度和/或数据包发送成功率;根据信道环境参数确定所述终端在上述至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度;解决了背景技术中存在的终端发送广播数据包的发送频度缺乏灵活性的问题;实现了根据信道环境参数自适应地调整发送频度,提高了发送广播数据包的灵活性。

Description

控制广播数据包的发送频度的方法、装置和终端 技术领域
本发明涉及无线定位技术领域,特别涉及一种控制广播数据包的发送频度的方法、装置和终端。
背景技术
无线定位技术已经广泛应用于室外定位、室内定位、位置服务(英文:Location Based Services;简称:LBS)等领域。
在以网络为中心的无线定位技术中,常见的一种网络架构通常包括被定位的终端、用于实现定位功能的网络设备和服务器。其中,终端和网络设备之间通过无线网络进行通信,网络设备与网络设备之间以及网络设备与服务器之间通过有线网络或无线网络进行通信。终端根据设定的发送频度持续向外发送广播数据包;网络设备接收到终端发送的广播数据包后,从该广播数据包中提取相关参数(例如终端的设备标识),并测量用于计算终端位置的物理量,例如接收信号强度指示(英文:Received Signal Strength Indicator;简称:RSSI)、到达角(英文:Angle of Arrival;简称:AOA)等;之后,网络设备将上述信息发送给服务器;服务器根据这些参数计算出终端的位置坐标。
在实现本发明的过程中,发明人发现上述技术至少存在以下问题:终端发送广播数据包的发送频度是预先设定的,缺乏灵活性。
发明内容
为了解决上述技术中存在的终端发送广播数据包的发送频度缺乏灵活性的问题,本发明实施例提供了一种控制广播数据包的发送频度的方法、装置和终端。所述技术方案如下:
第一方面,提供了一种控制广播数据包的发送频度的方法,用于终端,所述终端被配置为在广播接收段接收广播数据包在广播发送段发送广播数据包,所述方法包括:
在至少一个广播接收段内接收其它终端发送的广播数据包;
根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,所述信道环境参数包括数据包时间密度和/或数据包发送成功率;
根据所述信道环境参数确定第一发送频度,所述第一发送频度是所述终端在所述至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度。
在第一方面的第一种可能的实施方式中,所述信道环境参数只包括所述数据包时间密度;
所述根据所述信道环境参数确定第一发送频度,包括:
当所述数据包时间密度小于第一密度阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;或,
当所述数据包时间密度大于第二密度阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一密度阈值≤所述第二密度阈值。
结合第一方面,在第一方面的第二种可能的实施方式中,所述信道环境参数只包括所述数据包发送成功率;
所述根据所述信道环境参数确定第一发送频度,包括:
当所述数据包发送成功率大于第一成功率阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;或,
当所述数据包发送成功率小于第二成功率阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一成功率阈值≥所述第二成功率阈值。
结合第一方面,在第一方面的第三种可能的实施方式中,所述信道环境参数包括所述数据包时间密度和所述数据包发送成功率,
所述根据所述信道环境参数确定第一发送频度,包括:
当所述数据包时间密度小于第一密度阈值且所述数据包发送成功率大于第一成功率阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;或,
当所述数据包时间密度大于第二密度阈值和/或所述数据包发送成功率小 于第二成功率阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一密度阈值≤所述第二密度阈值,所述第一成功率阈值≥所述第二成功率阈值。
结合第一方面,在第一方面的第四种可能的实施方式中,所述根据所述信道环境参数确定第一发送频度,包括:
根据每个其它终端发送的广播数据包中携带的频度参数确定每个其它终端发送广播数据包的发送频度;
根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度;
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度。
结合第一方面的第四种可能的实施方式,在第一方面的第五种可能的实施方式中,所述信道环境参数只包括所述数据包时间密度;
所述根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度,包括:
当所述数据包时间密度小于第三密度阈值且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;或,
当所述数据包时间密度大于第四密度阈值且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第三密度阈值≤所述第四密度阈值。
结合第一方面的第四种可能的实施方式,在第一方面的第六种可能的实施方式中,所述信道环境参数只包括所述数据包发送成功率;
所述根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度,包括:
当所述数据包发送成功率大于第三成功率阈值且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;或,
当所述数据包发送成功率小于第四成功率阈值且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第三成功率阈值≥所述第四成功率阈值。
结合第一方面的第四种可能的实施方式,在第一方面的第七种可能的实施方式中,所述信道环境参数包括所述数据包时间密度和所述数据包发送成功率;
所述根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度,包括:
当所述数据包时间密度小于第三密度阈值和所述数据包发送成功率大于第三成功率阈值、且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;或,
当所述数据包时间密度大于第四密度阈值和/或所述数据包发送成功率小于第四成功率阈值、且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第三密度阈值≤所述第四密度阈值,所述第三成功率阈值≥所述第四成功率阈值。
结合第一方面、第一方面的第一种可能的实施方式、第一方面的第三种可能的实施方式、第一方面的第四种可能的实施方式、第一方面的第五种可能的实施方式或者第一方面的第七种可能的实施方式,在第一方面的第八种可能的实施方式中,所述信道环境参数包括所述数据包时间密度;
所述根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,包括:
按照如下公式计算所述数据包时间密度ρ:
Figure PCTCN2014088453-appb-000001
其中,Nr表示所述终端在所述至少一个广播接收段内的数据包接收次数,Tr表示所述至少一个广播接收段的接收时长之和。
结合第一方面、第一方面的第二种可能的实施方式、第一方面的第三种可能的实施方式、第一方面的第四种可能的实施方式、第一方面的第六种可能的实施方式或者第一方面的第七种可能的实施方式,在第一方面的第九种可能的 实施方式中,所述信道环境参数包括所述数据包发送成功率;
所述根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,包括:
根据每个其它终端发送的广播数据包确定每个其它终端在所述至少一个广播接收段内的数据包理论发送次数;
按照如下公式计算所述数据包发送成功率S:
Figure PCTCN2014088453-appb-000002
其中,Nr表示所述终端在所述至少一个广播接收段内的数据包接收次数;P表示所述终端在所述至少一个广播接收段内接收到来自P个其它终端的广播数据包,P≥1且P为整数,j∈[1,P]且j为整数;Nt表示所述P个其它终端在所述至少一个广播接收段内的数据包理论发送次数之和。
结合第一方面、第一方面的第一种可能的实施方式、第一方面的第二种可能的实施方式、第一方面的第三种可能的实施方式、第一方面的第四种可能的实施方式、第一方面的第五种可能的实施方式、第一方面的第六种可能的实施方式、第一方面的第七种可能的实施方式、第一方面的第八种可能的实施方式或者第一方面的第九种可能的实施方式,在第一方面的第十种可能的实施方式中,所述方法还包括:
随机确定所述至少一个广播接收段之后的广播发送段的发送时长;
在所述至少一个广播接收段结束后,按照所述第一发送频度和所述发送时长发送广播数据包。
结合第一方面、第一方面的第一种可能的实施方式、第一方面的第二种可能的实施方式、第一方面的第三种可能的实施方式、第一方面的第四种可能的实施方式、第一方面的第五种可能的实施方式、第一方面的第六种可能的实施方式、第一方面的第七种可能的实施方式、第一方面的第八种可能的实施方式、第一方面的第九种可能的实施方式或者第一方面的第十种可能的实施方式,在第一方面的第十一种可能的实施方式中,所述方法还包括:
配置每个广播接收段的接收时长大于预先设定的最小发送频度的倒数,且所述终端的广播接收段的接收时长与所述其它终端的广播接收段的接收时长相等。
第二方面,提供了一种控制广播数据包的发送频度的装置,用于终端,所述终端被配置为在广播接收段接收广播数据包在广播发送段发送广播数据包,所述装置包括:
数据包接收模块,用于在至少一个广播接收段内接收其它终端发送的广播数据包;
参数确定模块,用于根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,所述信道环境参数包括数据包时间密度和/或数据包发送成功率;
频度确定模块,用于根据所述信道环境参数确定第一发送频度,所述第一发送频度是所述终端在所述至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度。
在第二方面的第一种可能的实施方式中,所述信道环境参数只包括所述数据包时间密度;
所述频度确定模块,包括:第一上调单元和第一下调单元;
所述第一上调单元,用于当所述数据包时间密度小于第一密度阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;
所述第一下调单元,用于当所述数据包时间密度大于第二密度阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一密度阈值≤所述第二密度阈值。
结合第二方面,在第二方面的第二种可能的实施方式中,所述信道环境参数只包括所述数据包发送成功率;
所述频度确定模块,包括:第二上调单元和第二下调单元;
所述第二上调单元,用于当所述数据包发送成功率大于第一成功率阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;
所述第二下调单元,用于当所述数据包发送成功率小于第二成功率阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一成功率阈值≥所述第二成功率阈值。
结合第二方面,在第二方面的第三种可能的实施方式中,所述信道环境参数包括所述数据包时间密度和所述数据包发送成功率,
所述频度确定模块,包括:第三上调单元和第三下调单元;
所述第三上调单元,用于当所述数据包时间密度小于第一密度阈值且所述数据包发送成功率大于第一成功率阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;
所述第三下调单元,用于当所述数据包时间密度大于第二密度阈值和/或所述数据包发送成功率小于第二成功率阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一密度阈值≤所述第二密度阈值,所述第一成功率阈值≥所述第二成功率阈值。
结合第二方面,在第二方面的第四种可能的实施方式中,所述频度确定模块,包括:频度获取单元和频度确定单元;
所述频度获取单元,用于根据每个其它终端发送的广播数据包中携带的频度参数确定每个其它终端发送广播数据包的发送频度;
所述频度确定单元,用于根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度;
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度。
结合第二方面的第四种可能的实施方式,在第二方面的第五种可能的实施方式中,所述信道环境参数只包括所述数据包时间密度;
所述频度确定单元,包括:第一上调子单元和第一下调子单元;
所述第一上调子单元,用于当所述数据包时间密度小于第三密度阈值且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;
所述第一下调子单元,用于当所述数据包时间密度大于第四密度阈值且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第三密度阈值≤所述第四密度阈值。
结合第二方面的第四种可能的实施方式,在第二方面的第六种可能的实施 方式中,所述信道环境参数只包括所述数据包发送成功率;
所述频度确定单元,包括:第二上调子单元和第二下调子单元;
所述第二上调子单元,用于当所述数据包发送成功率大于第三成功率阈值且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;
所述第二下调子单元,用于当所述数据包发送成功率小于第四成功率阈值且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第三成功率阈值≥所述第四成功率阈值。
结合第二方面的第四种可能的实施方式,在第二方面的第七种可能的实施方式中,所述信道环境参数包括所述数据包时间密度和所述数据包发送成功率;
所述频度确定单元,包括:第三上调子单元和第三下调子单元;
所述第三上调子单元,用于当所述数据包时间密度小于第三密度阈值和所述数据包发送成功率大于第三成功率阈值、且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;
所述第三下调子单元,用于当所述数据包时间密度大于第四密度阈值和/或所述数据包发送成功率小于第四成功率阈值、且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第三密度阈值≤所述第四密度阈值,所述第三成功率阈值≥所述第四成功率阈值。
结合第二方面、第二方面的第一种可能的实施方式、第二方面的第三种可能的实施方式、第二方面的第四种可能的实施方式、第二方面的第五种可能的实施方式或者第二方面的第七种可能的实施方式,在第二方面的第八种可能的实施方式中,所述信道环境参数包括所述数据包时间密度;
所述参数确定模块,包括:密度计算单元;
所述密度计算单元,用于按照如下公式计算所述数据包时间密度ρ:
Figure PCTCN2014088453-appb-000003
其中,Nr表示所述终端在所述至少一个广播接收段内的数据包接收次数,Tr表示所述至少一个广播接收段的接收时长之和。
结合第二方面、第二方面的第二种可能的实施方式、第二方面的第三种可能的实施方式、第二方面的第四种可能的实施方式、第二方面的第六种可能的实施方式或者第二方面的第七种可能的实施方式,在第二方面的第九种可能的实施方式中,所述信道环境参数包括所述数据包发送成功率;
所述参数确定模块,包括:次数确定单元和成功率计算单元;
所述次数确定单元,用于根据每个其它终端发送的广播数据包确定每个其它终端在所述至少一个广播接收段内的数据包理论发送次数;
所述成功率计算单元,用于按照如下公式计算所述数据包发送成功率S:
Figure PCTCN2014088453-appb-000004
其中,Nr表示所述终端在所述至少一个广播接收段内的数据包接收次数;P表示所述终端在所述至少一个广播接收段内接收到来自P个其它终端的广播数据包,P≥1且P为整数,j∈[1,P]且j为整数;Nt表示所述P个其它终端在所述至少一个广播接收段内的数据包理论发送次数之和。。
结合第二方面、第二方面的第一种可能的实施方式、第二方面的第二种可能的实施方式、第二方面的第三种可能的实施方式、第二方面的第四种可能的实施方式、第二方面的第五种可能的实施方式、第二方面的第六种可能的实施方式、第二方面的第七种可能的实施方式、第二方面的第八种可能的实施方式或者第二方面的第九种可能的实施方式,在第二方面的第十种可能的实施方式中,所述装置还包括:
时长确定模块,用于随机确定所述至少一个广播接收段之后的广播发送段的发送时长;
数据包发送模块,用于在所述至少一个广播接收段结束后,按照所述第一发送频度和所述发送时长发送广播数据包。
结合第二方面、第二方面的第一种可能的实施方式、第二方面的第二种可能的实施方式、第二方面的第三种可能的实施方式、第二方面的第四种可能的实施方式、第二方面的第五种可能的实施方式、第二方面的第六种可能的实施方式、第二方面的第七种可能的实施方式、第二方面的第八种可能的实施方式、第二方面的第九种可能的实施方式或者第二方面的第十种可能的实施方式,在 第二方面的第十一种可能的实施方式中,所述装置还包括:
时长配置模块,用于配置每个广播接收段的接收时长大于预先设定的最小发送频度的倒数,且所述终端的广播接收段的接收时长与所述其它终端的广播接收段的接收时长相等。
第三方面,提供了一种终端,所述终端被配置为在广播接收段接收广播数据包在广播发送段发送广播数据包,所述终端包括:总线,以及通过所述总线通信的处理器、存储器、收发器,其中,所述存储器用于存储一个或者一个以上的指令,所述指令被配置成由所述处理器执行;
所述收发器,用于在至少一个广播接收段内接收其它终端发送的广播数据包;
所述处理器,用于根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,所述信道环境参数包括数据包时间密度和/或数据包发送成功率;
所述处理器,还用于根据所述信道环境参数确定第一发送频度,所述第一发送频度是所述终端在所述至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度。
在第三方面的第一种可能的实施方式中,所述信道环境参数只包括所述数据包时间密度;
所述根据所述信道环境参数确定第一发送频度,包括:
当所述数据包时间密度小于第一密度阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;或,
当所述数据包时间密度大于第二密度阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一密度阈值≤所述第二密度阈值。
结合第三方面,在第三方面的第二种可能的实施方式中,所述信道环境参数只包括所述数据包发送成功率;
所述根据所述信道环境参数确定第一发送频度,包括:
当所述数据包发送成功率大于第一成功率阈值时,采用比第二发送频度高 的发送频度作为所述第一发送频度;或,
当所述数据包发送成功率小于第二成功率阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一成功率阈值≥所述第二成功率阈值。
结合第三方面,在第三方面的第三种可能的实施方式中,所述信道环境参数包括所述数据包时间密度和所述数据包发送成功率,
所述根据所述信道环境参数确定第一发送频度,包括:
当所述数据包时间密度小于第一密度阈值且所述数据包发送成功率大于第一成功率阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;或,
当所述数据包时间密度大于第二密度阈值和/或所述数据包发送成功率小于第二成功率阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一密度阈值≤所述第二密度阈值,所述第一成功率阈值≥所述第二成功率阈值。
结合第三方面,在第三方面的第四种可能的实施方式中,所述根据所述信道环境参数确定第一发送频度,包括:
根据每个其它终端发送的广播数据包中携带的频度参数确定每个其它终端发送广播数据包的发送频度;
根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度;
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度。
结合第三方面的第四种可能的实施方式,在第三方面的第五种可能的实施方式中,所述信道环境参数只包括所述数据包时间密度;
所述根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度,包括:
当所述数据包时间密度小于第三密度阈值且所述第二发送频度不高于任 意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;或,
当所述数据包时间密度大于第四密度阈值且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第三密度阈值≤所述第四密度阈值。
结合第三方面的第四种可能的实施方式,在第三方面的第六种可能的实施方式中,所述信道环境参数只包括所述数据包发送成功率;
所述根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度,包括:
当所述数据包发送成功率大于第三成功率阈值且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;或,
当所述数据包发送成功率小于第四成功率阈值且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第三成功率阈值≥所述第四成功率阈值。
结合第三方面的第四种可能的实施方式,在第三方面的第七种可能的实施方式中,所述信道环境参数包括所述数据包时间密度和所述数据包发送成功率;
所述根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度,包括:
当所述数据包时间密度小于第三密度阈值和所述数据包发送成功率大于第三成功率阈值、且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;或,
当所述数据包时间密度大于第四密度阈值和/或所述数据包发送成功率小于第四成功率阈值、且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第三密度阈值≤所述第四密度阈值,所述第三成功率阈值≥所述第四成功率阈值。
结合第三方面、第三方面的第一种可能的实施方式、第三方面的第三种可 能的实施方式、第三方面的第四种可能的实施方式、第三方面的第五种可能的实施方式或者第三方面的第七种可能的实施方式,在第三方面的第八种可能的实施方式中,所述信道环境参数包括所述数据包时间密度;
所述根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,包括:
按照如下公式计算所述数据包时间密度ρ:
Figure PCTCN2014088453-appb-000005
其中,Nr表示所述终端在所述至少一个广播接收段内的数据包接收次数,Tr表示所述至少一个广播接收段的接收时长之和。
结合第三方面、第三方面的第二种可能的实施方式、第三方面的第三种可能的实施方式、第三方面的第四种可能的实施方式、第三方面的第六种可能的实施方式或者第三方面的第七种可能的实施方式,在第三方面的第九种可能的实施方式中,所述信道环境参数包括所述数据包发送成功率;
所述根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,包括:
根据每个其它终端发送的广播数据包确定每个其它终端在所述至少一个广播接收段内的数据包理论发送次数;
按照如下公式计算所述数据包发送成功率S:
Figure PCTCN2014088453-appb-000006
其中,Nr表示所述终端在所述至少一个广播接收段内的数据包接收次数;P表示所述终端在所述至少一个广播接收段内接收到来自P个其它终端的广播数据包,P≥1且P为整数,j∈[1,P]且j为整数;Nt表示所述P个其它终端在所述至少一个广播接收段内的数据包理论发送次数之和。
结合第三方面、第三方面的第一种可能的实施方式、第三方面的第二种可能的实施方式、第三方面的第三种可能的实施方式、第三方面的第四种可能的实施方式、第三方面的第五种可能的实施方式、第三方面的第六种可能的实施方式、第三方面的第七种可能的实施方式、第三方面的第八种可能的实施方式或者第三方面的第九种可能的实施方式,在第三方面的第十种可能的实施方式中,
所述处理器,还用于随机确定所述至少一个广播接收段之后的广播发送段的发送时长;
所述收发器,还用于在所述至少一个广播接收段结束后,按照所述第一发送频度和所述发送时长发送广播数据包。
结合第三方面、第三方面的第一种可能的实施方式、第三方面的第二种可能的实施方式、第三方面的第三种可能的实施方式、第三方面的第四种可能的实施方式、第三方面的第五种可能的实施方式、第三方面的第六种可能的实施方式、第三方面的第七种可能的实施方式、第三方面的第八种可能的实施方式、第三方面的第九种可能的实施方式或者第三方面的第十种可能的实施方式,在第三方面的第十一种可能的实施方式中,
所述处理器,还用于配置每个广播接收段的接收时长大于预先设定的最小发送频度的倒数,且所述终端的广播接收段的接收时长与所述其它终端的广播接收段的接收时长相等。
本发明实施例通过配置终端在广播接收段接收广播数据包在广播发送段发送广播数据包,终端在至少一个广播接收段内接收其它终端发送的广播数据包,根据其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,该信道环境参数包括数据包时间密度和/或数据包发送成功率,进而根据信道环境参数确定所述终端在上述至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度;解决了背景技术中存在的终端发送广播数据包的发送频度缺乏灵活性的问题;实现了根据信道环境参数自适应地调整发送频度,提高了发送广播数据包的灵活性。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明各个实施例所涉及的一种实施环境的结构示意图;
图2是本发明一个实施例提供的控制广播数据包的发送频度的方法的方法流程图;
图3A是本发明另一实施例提供的控制广播数据包的发送频度的方法的方法流程图;
图3B是本发明实施例所涉及的广播接收段和广播发送段的示意图;
图3C是重叠时段时长计算时所涉及的三种可能情况的示意图;
图4是本发明再一实施例提供的控制广播数据包的发送频度的方法的方法流程图;
图5是本发明一个实施例提供的控制广播数据包的发送频度的装置的结构方框图;
图6A是本发明另一实施例提供的控制广播数据包的发送频度的装置的结构方框图;
图6B是本发明实施例所涉及的一种参数确定模块的结构方框图;
图6C是本发明实施例所涉及的另一种参数确定模块的结构方框图;
图6D是本发明实施例所涉及的一种频度确定模块的结构方框图;
图6E是本发明实施例所涉及的另一种频度确定模块的结构方框图;
图6F是本发明实施例所涉及的再一种频度确定模块的结构方框图;
图7A是本发明再一实施例提供的控制广播数据包的发送频度的装置的结构方框图;
图7B是本发明实施例所涉及的一种频度确定单元的结构方框图;
图7C是本发明实施例所涉及的另一种频度确定单元的结构方框图;
图7D是本发明实施例所涉及的再一种频度确定单元的结构方框图;
图8是本发明一个实施例提供的终端的结构方框图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。
请参考图1,其示出了本发明各个实施例所涉及的一种实施环境的结构示意图,该实施环境包括:至少一个终端120、至少一个网络设备140和服务器160。其中:
终端120可以是支持无线广播定位功能的各类终端。终端120可以是手机、平板电脑、电子书阅读器、个人数字助理(英文:Personal Digital Assistant;简称:PDA)、膝上型便携计算机等移动终端,也可以是智能手环、智能手表、 智能头盔等可穿戴设备,还可以是物体或用户可安装、携带的标签(英文:Tag)、徽章等,或者其它独立或可集成的无线定位设备。
在一种可能的实现方式中,终端120可以包括微控制单元(英文:Micro Control Unit;简称:MCU),以及与微控制单元相连的无线射频模块(英文:Radio Frequency Wireless Module;简称:RF Wireless Module)。其中,微控制单元用于控制无线射频模块收发广播数据包。可选的,终端120还可以包括由硬件、软件或者两者结合实现的定时器(英文:Timer)。定时器集成于微控制单元中,用于记录和管控无线射频模块收发广播数据包的时长。
终端120通过无线网络与至少一个网络设备140进行通信。其中,无线网络技术可以是低功耗蓝牙(英文:Bluetooth Low Energy;简称:BLE)、无线保真(英文:Wireless Fidelity;简称:Wi-Fi)、ZigBee、射频识别(英文:Radio Frequency Identification,简称:RFID)、超宽带(英文:Ultra Wide Band;简称:UWB)等技术。
终端120通过无线网络向至少一个网络设备140发送用于实现定位的广播数据包;对应地,网络设备140通过无线网络接收终端120发送的广播数据包。
网络设备140可以是能够接收终端120发送的广播数据包的各类基站设备。比如,网络设备140可以是定位器(英文:Locator),定位器可以安装于墙壁、屋顶、支架等基础设施上。网络设备140用于从接收到的广播数据包中提取终端120对应的设备地址或设备ID(Identity;身份),还用于测量接收信号强度指示、到达角等用于计算终端120的位置坐标的物理量。
网络设备140通过有线网络或者无线网络与服务器160进行通信,将终端120的设备地址或设备ID、以及上述物理量发送给服务器160。
服务器160可以是一台服务器,或者由若干台服务器组成的服务器集群,或者是一个云计算服务中心。服务器160用于接收网络设备140发送的终端120的设备地址或设备ID、以及接收信号强度指示、到达角等用于计算终端120的位置坐标的物理量,并根据上述信息计算终端120的位置坐标。
在对本发明实施例进行介绍和说明之前,这里首先对本发明各个实施例所涉及的一些名词和概念进行说明和解释。在本发明各个实施例中:
1、发送频度:是指单位时间内发送广播数据包的次数的理论值。在本发明各个实施例中,“发送频度”均是指理论值而非实际值。发送频度的理论值, 是指终端应用层程序控制底层模块向外发送广播数据包的参照值或指导值。
在实际情况下,发送频度的理论值大于或等于实际值。具体来讲,假设发送频度的理论值为5次/秒,则终端应用层程序控制底层模块每秒发送5次广播数据包。然而,如果终端因占用信道失败无法向外发包或因其它干扰影响而发包失败,终端底层模块实际每秒成功发送广播数据包的次数可能不足5次。比如,理论值为5次/秒,实际值可能只有4次/秒。
类似的,“数据包理论发送次数”是对应于发送频度的理论值而言的,是指某一时段内发送广播数据包的次数的理论值,而非实际值。“数据包理论发送总次数”也是对应于发送频度的理论值而言的,是指广播发送段内发送广播数据包的总次数的理论值,而非实际值。
2、数据包时间密度(英文:packet time density):是指终端所处区域中所有其它终端在单位时间内实际发送的广播数据包的总数。
数据包时间密度主要用于衡量终端所处区域中各网络设备的基站负载强度。其中,基站负载强度是指用以实现对终端进行无线定位的网络设备的负载强度。对于一个网络设备来说,其所对应的基站负载强度与其在单位时间内接收广播数据包的次数呈正相关关系。网络设备在单位时间内接收广播数据包的次数越多,表明基站负载强度越大,网络设备在单位时间内的功耗也就越大;反之,网络设备在单位时间内接收广播数据包的次数越少,表明基站负载强度越小,网络设备在单位时间内的功耗也就越小。
3、数据包发送成功率(英文:packet sending success rate):是指终端所处区域中所有其它终端发送广播数据包的平均成功率。
数据包发送成功率主要用于衡量终端所处区域的信道争用强度(英文:channel contention strength)。其中,信道争用强度是指各个终端和网络设备所处的网络中,通信信道的争用强度。信道争用强度与各个终端在单位时间内向外发送广播数据包的次数呈正相关关系。各个终端在单位时间内向外发送广播数据包的次数越多,表明信道争用强度越强,网络环境越差;各个终端在单位时间内向外发送广播数据包的次数越少,表明信道争用强度越弱,网络环境越好。
4、终端所处区域:是指有能力与终端进行通信,以实现广播数据包的收发交互的其它终端所形成的区域。在通常情况下,终端所处区域是一个以终端为中心的圆形区域。
请参考图2,其示出了本发明一个实施例提供的控制广播数据包的发送频度的方法的方法流程图。本实施例以该方法应用于图1所示实施环境的终端中进行举例说明,该终端被配置为在广播接收段接收广播数据包在广播发送段发送广播数据包。该方法可以包括如下几个步骤:
步骤202,在至少一个广播接收段内接收其它终端发送的广播数据包。
步骤204,根据其它终端发送的广播数据包确定终端所处区域的信道环境参数,该信道环境参数包括数据包时间密度和/或数据包发送成功率。
步骤206,根据信道环境参数确定第一发送频度,第一发送频度是终端在至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度。
综上所述,本实施例提供的控制广播数据包的发送频度的方法,通过配置终端在广播接收段接收广播数据包在广播发送段发送广播数据包,在至少一个广播接收段内接收其它终端发送的广播数据包,根据其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,该信道环境参数包括数据包时间密度和/或数据包发送成功率,进而根据信道环境参数确定所述终端在上述至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度;解决了背景技术中存在的终端发送广播数据包的发送频度缺乏灵活性的问题;实现了根据信道环境参数自适应地调整发送频度,提高了发送广播数据包的灵活性。
请参考图3A,其示出了本发明另一实施例提供的控制广播数据包的发送频度的方法的方法流程图。本实施例以该方法应用于图1所示实施环境的终端中进行举例说明,该终端被配置为在广播接收段接收广播数据包在广播发送段发送广播数据包。该方法可以包括如下几个步骤:
步骤301,在至少一个广播接收段内接收其它终端发送的广播数据包。
对于任一终端,配置终端在广播接收段接收广播数据包在广播发送段发送广播数据包。具体的,在广播发送段,终端向外发送广播数据包;而在广播接收段,终端接收周围区域内其它终端发送的广播数据包。如图3B所示,其示例性地示出了一种广播接收段和广播发送段的示意图,广播接收段和广播发送段相互交替。
当终端采用不同的无线网络技术实现广播数据包的收发时,终端在广播接收段和广播发送段这两个工作形态之间进行切换的方式有所不同。比如,当终 端采用的无线网络技术为BLE技术时,若将终端的通用接入规范(英文:Generic Access Profile;简称:GAP)层配置为Broadcast模式,则终端工作在广播发送段;若将终端的GAP层配置为Observer模式,则终端工作在广播接收段。再比如,当终端采用的无线网络技术为Zigbee技术时,终端可随时向处于同一网络内的其它终端发送广播数据包或者接收处于同一网络内的其它终端发送的广播数据包。
为了使得不同终端进行异步工作,避免不同终端的广播接收段和广播发送段发生吻合,各个广播发送段的发送时长Tb随机确定,而各个广播接收段的接收时长Tr被配置为预先设定的固定值,且不同终端的广播接收段的接收时长也相同。其中,发送时长Tb=Tc+Tσ,Tc为常数,Tσ可以是区间[0,Tσm]之间的随机数,Tσm为预先设定的最大随机数。
另外,在一个局部的定位区域中,当某一终端工作在广播接收段时,为了保证在该广播接收段内,该定位区域内的各个其它终端能够至少一次地向外发送广播数据包,在使得不同终端进行异步工作的基础上,还需配置接收时长Tr大于
Figure PCTCN2014088453-appb-000007
fmin为预先设定的最小发送频度。然而,为了避免广播接收段的接收时长Tr过长而影响到对该终端的定位,还可以限制接收时长Tr的最大值,或者限制接收时长Tr与Tc之间比值的最大值。
步骤302,根据其它终端发送的广播数据包确定终端所处区域的信道环境参数。
信道环境参数与终端所处区域内所有其它终端在单位时间内向外发送的广播数据包的数量有关。信道环境参数包括数据包时间密度和/或数据包发送成功率。其中,数据包时间密度为终端所处区域中所有其它终端在单位时间内实际发送的广播数据包的总数,其主要用于衡量终端所处区域中各网络设备的基站负载强度。数据包发送成功率为终端所处区域中所有其它终端发送广播数据包的平均成功率,其主要用于衡量终端所处区域的信道争用强度。
在一种可能的实现方式中,终端按照如下公式计算数据包时间密度ρ:
Figure PCTCN2014088453-appb-000008
其中,Nr表示终端在至少一个广播接收段内的数据包接收次数。Tr表示至少一个广播接收段的接收时长之和。
Figure PCTCN2014088453-appb-000009
Q表示上述至少一个广播接收段的数量,Q≥1且Q为整数,k∈[1,Q]且k为整数,Tr(k)表示第k个广播接收段的接收时长。
由上式可以看出,Nr为终端在Q个广播接收段内实际接收广播数据包的次数,也即周围区域内其它终端在上述Q个广播接收段内实际发送广播数据包的次数。数据包时间密度ρ越大,表明终端所处区域的基站负载强度越大;反之,数据包时间密度ρ越小,表明终端所处区域的基站负载强度越小。
当然,在其它可能的计算方式中,还可根据终端在至少一个广播接收段内实际接收到的广播数据包的总数和上述至少一个广播接收段的接收时长之和计算数据包时间密度。本实施例仅以发送一次广播数据包对应于一个广播数据包进行举例说明,对此不作具体限定。
终端计算数据包发送成功率的过程可包括如下第一和第二两个步骤:
第一,根据每个其它终端发送的广播数据包确定每个其它终端在至少一个广播接收段内的数据包理论发送次数。
处于广播发送段的其它终端在向外发送广播数据包时,广播数据包中可携带有相关参数,以便处于广播接收段的终端在接收到该广播数据包之后,根据该广播数据包中携带的相关参数计算出该处于广播发送段的其它终端在终端的广播接收段内的数据包理论发送次数。
以终端所处区域中的第j个其它终端为例,该第j个其它终端在终端的至少一个广播接收段内的数据包理论发送次数可通过如下步骤1至4计算:
1、终端在上述至少一个广播接收段中的第k个广播接收段内,接收到所处区域中的第j个其它终端发送的广播数据包,终端根据该第j个其它终端发送的广播数据包中携带的频度参数确定该第j个其它终端在上述第k个广播接收段内的发送频度fjk
其中,频度参数可以是发送频度,也可以是频度等级。
在第一种可能的实施方式中:频度参数为发送频度,直接将发送频度作为第j个其它终端在第k个广播接收段内的发送频度。
处于广播发送段的其它终端在向外发送广播数据包时,可以直接将自身在该广播发送段内的发送频度封装于广播数据包中,以便处于广播接收段的终端直接读取获得。在第k个广播接收段中,终端接收到第j个其它终端发送的广播数据包,且该广播数据包中携带有发送频度fjk,终端直接从广播数据包中读取发送频度fjk
在第二种可能的实现方式中:频度参数为频度等级,从第j个其它终端发送的广播数据包中读取频度等级,根据频度等级确定该第j个其它终端在第k 个广播接收段内的发送频度。
具体来讲,发送频度还可预先划分为不同的频度等级,不同的频度等级对应于不同的发送频度。处于广播发送段的其它终端在向外发送广播数据包时,可以将自身在该广播发送段内的频度等级封装于广播数据包中,处于广播接收段的终端在接收到该广播数据包后,从中读取频度等级并根据预先设定的算法计算出发送频度。在第k个广播接收段中,终端接收到第j个其它终端发送的广播数据包,且该广播数据包中携带有频度等级,终端从广播数据包中读取频度等级,根据频度等级计算发送频度fjk
可选的,在将发送频度划分为不同的频度等级时,可采用几何划分和线性划分两种方式。
当采用几何划分时,以计算第j个其它终端在第k个广播接收段内的发送频度fjk为例,终端可通过第一预定算法并根据频度等级m计算发送频度fjk。其中,第一预定算法为
Figure PCTCN2014088453-appb-000010
a为比例系数且a>0,M表示总的频度等级数量,M≥2且M为整数,fmax表示预定最大发送频度。
假设预先设定总的频度等级数量M=4、比例系数a=2且fmax=4p/s(次/秒),则各个频度等级与发送频度之间的对应关系如下表-1所示:
频度等级 发送频度(p/s)
1 0.5
2 1
3 2
4 4
表-1
当然,当需要增大发送频度的变化幅度时,可以增大比例系数a的取值;反之,当需要减小发送频度的变化幅度时,可以减小比例系数a的取值。另外,fmax为预先设定的最大发送频度,该值可根据实际情况设定一个经验值。
当采用线性划分时,以计算第j个其它终端在第k个广播接收段内的发送频度fjk为例,终端可通过第二预定算法并根据频度等级m计算发送频度fjk。其中,第二预定算法为
Figure PCTCN2014088453-appb-000011
M表示总的频度等级数量,M≥2且M为整数,fmax表示预定最大发送频度,fmin表示预定最小发送频度。
假设预先设定总的频度等级数量M=4、fmin=1p/s且fmax=4p/s,则各个频度等级与发送频度之间的对应关系如下表-2所示:
频度等级 发送频度(p/s)
1 1
2 2
3 3
4 4
表-2
其中,fmax为预先设定的最大发送频度,该值可根据实际情况设定一个经验值;fmin为预先设定的最小发送频度,该值也可根据实际情况设定一个经验值。
2、根据第j个其它终端发送的广播数据包中携带的时长参数确定第k个广播接收段与该第j个其它终端对应的广播发送段的重叠时段时长Δtjk
在本实施例中,以广播数据包中携带的时长参数为其它终端对应的广播发送段内的数据包理论发送总次数和该广播数据包对应的发送序号进行举例说明。
处于广播发送段的其它终端在向外发送广播数据包时,将自身当前对应的广播发送段内的数据包理论发送总次数N和待发送的广播数据包对应的发送序号n封装于待发送的广播数据包中,1≤n≤N且n、N为整数。另外,为了使得处于广播接收段的终端在接收到广播数据包后能够区分发送该广播数据包的终端,处于广播发送段的其它终端在向外发送广播数据包时,还可将自身的设备标识封装于待发送的广播数据包中。设备标识用于标识不同的终端,通常以设备地址或者设备ID表示。
对应地,终端接收到各个其它终端发送的广播数据包后,可以创建一张信息表,该信息表用于记录各个其它终端发送的广播数据包中携带的设备标识、数据包理论发送总次数、发送序号以及频度等级(或者发送频度)。比如,该信息表可以如下表-3所示:
序号 设备标识 数据包理论发送总次数 发送序号 频度等级
1 00 00 0A 01 20 4 4
2 00 00 0A 02 22 17 4
3 00 00 0A 03 20 11 4
表-3
具体来讲,对于其它终端发送的任意一个广播数据包,该广播数据包中携带的时长参数为其它终端对应的广播发送段内的数据包理论发送总次数N和该广播数据包对应的发送序号n。此时,终端计算第k个广播接收段与该其它终端对应的广播发送段的重叠时段时长Δtjk可以通过如下方式:
首先,根据数据包理论发送总次数N、发送序号n和终端接收到广播数据包时相对于终端侧时间的终端侧接收时刻tr计算其它终端对应的广播发送段相对于终端侧时间的终端侧起始发送时刻tsj和相对于终端侧时间的终端侧结束发送时刻tej
Figure PCTCN2014088453-appb-000012
其中,fj表示第j个其它终端对应的发送频度;
Figure PCTCN2014088453-appb-000013
表示相邻两次向外发送广播数据包之间的时间间隔;tr表示终端在接收到广播数据包时的本地时间,也即终端侧接收时刻。
然后,根据终端侧起始发送时刻tsj、终端侧结束发送时刻tej、第k个广播接收段相对于终端侧时间的终端侧起始接收时刻tsr和终端侧结束接收时刻ter计算重叠时段时长Δtjk
请结合参考图3C,在计算重叠时段时长Δtjk时,上述tsj、tej、tsr和ter这4个参数之间的大小关系可以包括如下三种情况:
在第一种情况下,当tsj<tsr<ter<tej时,重叠时段时长Δtjk=ter-tsr
在第二种情况下,当tsr<tsj<ter<tej时,重叠时段时长Δtjk=ter-tsj
在第三种情况下,当tsj<tsr<tej<ter时,重叠时段时长Δtjk=tej-tsr
3、根据第j个其它终端在第k个广播接收段内的发送频度fjk和对应的重叠时段时长Δtjk,计算该第j个其它终端在第k个广播接收段内的数据包理论发送次数Nt(jk)
终端在计算该第j个其它终端在第k个广播接收段内的数据包理论发送次数Nt(jk)时,可以结合上述tsj、tej、tsr和ter这4个参数之间的大小关系、终端在第k个广播接收段的起止时刻是否接收到该第j个其它终端发送的广播数据包、以及该第j个其它终端在其对应的广播发送段的起止时刻是否发送广播数据包这三个要素进行计算。
结合参考图3C,在一种示例性的计算方式中,对于第j个其它终端,若预 先配置该第j个其它终端在其对应的广播发送段的起止时刻均向外发送广播数据包,则该第j个其它终端在第k个广播接收段内的数据包理论发送次数Nt(jk)存在如下几种可能:
(1)若tsj<tsr<ter<tej且终端在第k个广播接收段的起始时刻和结束时刻均未接收到该第j个其它终端发送的广播数据包,则该第j个其它终端在第k个广播接收段内的数据包理论发送次数Nt(jk)为:
Nt(jk)=[Δtjk×fjk];
(2)若tsj<tsr<ter<tej且终端在第k个广播接收段的起始时刻和/或结束时刻接收到该第j个其它终端发送的广播数据包,则该第j个其它终端在第k个广播接收段内的数据包理论发送次数Nt(jk)为:
Nt(jk)=[Δtjk×fjk]+1;
(3)若tsr<tsj<ter<tej,则不论终端在第k个广播接收段的结束时刻是否接收到该第j个其它终端发送的广播数据包,该第j个其它终端在第k个广播接收段内的数据包理论发送次数Nt(jk)为:
Nt(jk)=[Δtjk×fjk]+1;
(4)若tsj<tsr<tej<ter,则不论终端在第k个广播接收段的起始时刻是否接收到该第j个其它终端发送的广播数据包,该第j个其它终端在第k个广播接收段内的数据包理论发送次数Nt(jk)为:
Nt(jk)=[Δtjk×fjk]+1;
其中,“[]”为取整符号;Δtjk表示第k个广播接收段与第j个其它终端对应的广播发送段的重叠时段时长;fjk表示第j个其它终端在第k个广播接收段内的发送频度。
上述计算过程仅以计算第j个其它终端在第k个广播接收段内的数据包理论发送次数Nt(jk),且预先配置该第j个其它终端在其对应的广播发送段的起止时刻均向外发送广播数据包时的计算方式进行举例说明。在实际应用中,终端在计算第j个其它终端在第k个广播接收段内的数据包理论发送次数时,终端可以结合上述tsj、tej、tsr和ter这4个参数之间的大小关系、终端在第k个广播接收段的起止时刻是否接收到该第j个其它终端发送的广播数据包以及该第j个其它终端在其对应的广播发送段的起止时刻是否发送广播数据包这三个要素计算该第j个其它终端在第k个广播接收段内的数据包理论发送次数。
4、根据该第j个其它终端在每个广播接收段内的数据包理论发送次数,计 算该第j个其它终端在上述至少一个广播接收段内的数据包理论发送次数Nt(j)
终端在计算得到第j个其它终端在第k个广播接收段内的数据包理论发送次数Nt(jk)后,按照如下公式计算该第j个其它终端在上述至少一个广播接收段内的数据包理论发送次数Nt(j)
Figure PCTCN2014088453-appb-000014
其中,Q表示上述至少一个广播接收段的数量,Q≥1且Q为整数,k∈[1,Q]且k为整数。
第二,根据每个其它终端在至少一个广播接收段内的数据包理论发送次数和终端在至少一个广播接收段内的数据包接收次数计算数据包发送成功率。
终端按照如下公式计算数据包发送成功率S:
Figure PCTCN2014088453-appb-000015
其中,Nr表示终端在至少一个广播接收段内的数据包接收次数;P表示终端在至少一个广播接收段内接收到来自P个其它终端的广播数据包,P≥1且P为整数,j∈[1,P]且j为整数;Nt表示P个其它终端在至少一个广播接收段内的数据包理论发送次数之和。
由上式可以看出,数据包发送成功率是指终端所处区域中各个其它终端发送广播数据包的平均成功率,也即指终端所处区域中、与终端之间能够进行广播数据包交互的所有其它终端发送广播数据包的平均成功率。该“平均成功率”是针对终端所处区域中、与终端之间能够进行广播数据包交互的所有其它终端而言的,并非针对某一个其它终端而言。
需要说明的一点是:如果终端在一个广播接收段内多次接收到来自同一个其它终端的广播数据包,终端仅需根据其中一个广播数据包即可计算出该其它终端在所述终端广播接收段内的数据包理论发送次数和发送频度,且可通过广播数据包中携带的设备标识对各个其它终端进行区分。
步骤303,根据信道环境参数确定第一发送频度,第一发送频度是终端在至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度。
结合参考图3B,终端根据在至少一个广播接收段内接收到的广播数据包确定出所处区域的信道环境参数后,进而根据信道环境参数确定出后续的广播发送段内的发送频度。
具体来讲:(1)、至少一个广播接收段的数量可以为1,也即Q=1,终端根据在该一个广播接收段中确定的信道环境参数,确定该一个广播接收段之后的一个或多个广播发送段内发送广播数据包的发送频度;(2)、至少一个广播接收段的数量也可以大于1,也即Q>1,终端根据在该两个或大于两个广播接收段中确定的信道环境参数,确定该两个或大于两个广播接收段之后的一个或多个广播发送段内发送广播数据包的发送频度。
在一个具体的例子中,假设广播接收段和广播发送段逐个间隔交替,广播接收段对应的序号为1、3、5、7…,广播发送段对应的序号为2、4、6、8…。终端可根据在广播接收段1中确定出的信道环境参数,调整广播发送段2内的发送频度;根据在广播接收段3中确定出的信道环境参数,调整广播发送段4内的发送频度;依次类推。或者,终端也可根据在广播接收段1和3中确定出的信道环境参数,调整广播发送段4或6或后续其它广播发送段内的发送频度,等等。当广播接收段和广播发送段逐个间隔交替,且终端根据在一个广播接收段中确定出的信道环境参数,调整该广播接收段的下一个广播发送段内的发送频度时,频度调整灵敏度较高,调整效果更为明显。
另外,根据信道环境参数所包含的参数类型和数量的不同,本步骤包括如下三种可能的实现方式:
在第一种可能的实现方式中,信道环境参数只包括数据包时间密度,此时:(1)、当数据包时间密度小于第一密度阈值时,采用比第二发送频度高的发送频度作为第一发送频度;(2)、当数据包时间密度大于第二密度阈值时,采用比第二发送频度低的发送频度作为第一发送频度。其中,第二发送频度是终端在至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,第一密度阈值≤第二密度阈值。
数据包时间密度ρ越小,表明终端所处区域的基站负载强度越低,可以适当上调发送频度;反之,数据包时间密度ρ越大,表明终端所处区域的基站负载强度越高,可以适当下调发送频度。
可选的,第一密度阈值ρ1可以小于第二密度阈值ρ2,也可以等于第二密度阈值ρ2。若ρ1=ρ2,也即仅设定一个密度阈值,根据上述(1)和(2)两种情况上调/下调发送频度。若ρ1<ρ2,也即设定两个密度阈值,根据上述(1)和(2)两种情况上调/下调发送频度,而当ρ1<ρ<ρ2时,终端可采用与第二发送频度相同的发送频度作为第一发送频度。
另外,终端可根据预先设定的频度调整幅度上调/下调发送频度。终端也可根据预先设定的数据包时间密度与发送频度之间的对应关系,根据数据包时间密度查询该对应关系确定出第一发送频度。终端还可根据预先设定的频度等级,上调/下调一个频度等级。当然,终端还可根据实际需求预先设定不同的调整策略,对此本实施例不作具体限定。
在第二种可能的实现方式中,信道环境参数只包括数据包发送成功率,此时:(1)、当数据包发送成功率大于第一成功率阈值时,采用比第二发送频度高的发送频度作为第一发送频度;(2)、当数据包发送成功率小于第二成功率阈值时,采用比第二发送频度低的发送频度作为第一发送频度;其中,第二发送频度是终端在至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,第一成功率阈值≥第二成功率阈值。
数据包发送成功率S越大,表明终端所处区域的信道争用强度越低,可以适当上调发送频度;反之,数据包发送成功率S越小,表明终端所处区域的信道争用强度越高,可以适当下调发送频度。
可选的,第一成功率阈值S1可以大于第二成功率阈值S2,也可以等于第二成功率阈值S2。若S1=S2,也即仅设定一个成功率阈值,根据上述(1)和(2)两种情况上调/下调发送频度。若S1>S2,也即设定两个成功率阈值,根据上述(1)和(2)两种情况上调/下调发送频度,而当S1>S>S2时,终端可采用与第二发送频度相同的发送频度作为第一发送频度。
另外,终端可根据预先设定的频度调整幅度上调/下调发送频度。终端也可根据预先设定的数据包发送成功率与发送频度之间的对应关系,根据数据包发送成功率查询该对应关系确定出第一发送频度。终端还可根据预先设定的频度等级,上调/下调一个频度等级。当然,终端还可根据实际需求预先设定不同的调整策略,对此本实施例不作具体限定。
在第三种可能的实现方式中,信道环境参数包括数据包时间密度和数据包发送成功率,此时:(1)、当数据包时间密度小于第一密度阈值且数据包发送成功率大于第一成功率阈值时,采用比第二发送频度高的发送频度作为第一发送频度;(2)、当数据包时间密度大于第二密度阈值和/或数据包发送成功率小于第二成功率阈值时,采用比第二发送频度低的发送频度作为第一发送频度;其中,第二发送频度是终端在至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,第一密度阈值≤第二密度阈值,第一成功率阈值≥第二 成功率阈值。
当数据包时间密度ρ小于第一密度阈值和数据包发送成功率S大于第一成功率阈值时,表明终端所处区域的基站负载强度较低且信道争用强度也较低,终端适当上调发送频度。当数据包时间密度ρ大于第二密度阈值和/或数据包发送成功率S小于第二成功率阈值时,表明终端所处区域的基站负载强度较高和/或信道争用强度也较高,终端适当下调发送频度。
可选的,第一密度阈值ρ1可以小于第二密度阈值ρ2,也可以等于第二密度阈值ρ2;第一成功率阈值S1可以大于第二成功率阈值S2,也可以等于第二成功率阈值S2。若ρ1=ρ2且S1=S2,也即仅设定一个密度阈值和一个成功率阈值,根据上述(1)和(2)两种情况上调/下调发送频度。若ρ1<ρ2且S1>S2,也即设定两个密度阈值和两个成功率阈值,根据上述(1)和(2)两种情况上调/下调发送频度,而除上述(1)和(2)两种情况之外的其它情况,终端可采用与上一个广播发送段内的发送频度相同的发送频度作为下一个广播发送段内的发送频度。其中,除上述(1)和(2)两种情况之外的其它情况包括:ρ1<ρ<ρ2且S>S1、ρ1<ρ<ρ2且S1>S>S2、ρ<ρ1且S1>S>S2
另外,终端可根据预先设定的频度调整幅度上调/下调发送频度。终端也可根据预先设定的数据包时间密度、数据包发送成功率与发送频度之间的对应关系,根据数据包时间密度和数据包发送成功率查询该对应关系确定出第一发送频度。终端还可根据预先设定的频度等级,上调/下调一个频度等级。当然,终端还可根据实际需求预先设定不同的调整策略,对此本实施例不作具体限定。
需要说明的一点是:在本实施例中,仅以上述三种可能的实现方式对发送频度的调整进行举例说明,在实际应用中,还可为终端配置其它可能的频度调整策略,对此本实施例不作具体限定。
还需要说明的一点是:在上述三种可能的实现方式中,均未考虑数据包时间密度与第一密度阈值和/或第二密度阈值相等的情况,以及数据包发送成功率与第一成功率阈值和/或第二成功率阈值相等的情况,也即未考虑临界点情况。在实际应用中,对于临界点情况,本领域技术人员可根据实际需求确定发送频度的调整策略,这是本领域技术人员在本实施例的基础上易于思及的,本实施例对此不进行赘述。
终端在确定出第一发送频度后,在上述至少一个广播接收段结束后,切换进入广播发送段,并以确定出的第一发送频度向外发送广播数据包。另外,广 播发送段的发送时长可通过如下步骤304进行确定:
步骤304,随机确定至少一个广播接收段之后的广播发送段的发送时长。
在上述步骤301中已经介绍,每个广播发送段的发送时长Tb是随机确定的,发送时长Tb=Tc+Tσ,Tc为常数,Tσ可以是区间[0,Tσm]之间的随机数,Tσm为预先设定的最大随机数。
需要说明的一点是:上述步骤304可以在步骤301至步骤303之前进行,也可以在步骤301至步骤303之后进行,还可以与步骤301至步骤303同时进行。本实施例仅以步骤304在步骤301至步骤303之后进行为例,对此不作具体限定。
步骤305,在至少一个广播接收段结束后,按照第一发送频度和发送时长发送广播数据包。
其中,终端根据第一发送频度确定在广播发送段内,单位时间发送广播数据包的次数,也即每隔多长时间发送一个广播数据包;终端根据发送时长确定发送广播数据包的持续时间。
终端的定时器记录和管控着无线射频模块收发广播数据包的时长,在广播接收段的时长达到预先设定的接收时长Tr时,定时器向终端的微控制单元发出指示,微控制单元接收到指示后,控制无线射频模块向外发送广播数据包。在广播发送段内,发送时长Tb=Tc+Tσ,发送频度为根据上述步骤303确定出的第一发送频度。
另外,终端在发送广播数据包时,除了需要将用于实现定位的相关信息封装于广播数据包中之外,还需将下述参数封装于广播数据包中。具体来讲,本步骤可以包括如下几个子步骤:
第一,根据第一发送频度和发送时长计算至少一个广播接收段之后的广播发送段内的数据包理论发送总次数N,N≥1且N为整数。
假设第一发送频度为fb且发送时长为Tb,则该广播发送段内的数据包理论发送总次数N=fb×Tb+1。
当然,在其它可能的实现方式中,该广播发送段内的数据包理论发送总次数N可以为N=fb×Tb,或者N=fb×Tb-1。在实际应用中,可根据终端是否在广播发送段的起止时刻发送广播数据包而选定不同的算法。
第二,生成包含有设备标识、数据包理论发送总次数、广播数据包对应的发送序号以及频度参数的广播数据包。
其中,频度参数可以是发送频度,也可以是发送频度对应的频度等级。另外,发送序号通常从1开始计数,终端每向外发送一次广播数据包后,将发送序号加1。
第三,发送广播数据包。
终端生成携带有上述参数的广播数据包后,向外发送广播数据包。对应地,周围区域内的网络设备以及处于广播接收段的其它终端接收广播数据包。网络设备用于根据接收到的广播数据包同服务器交互完成一次定位。处于广播接收段的其它终端用于根据接收到的广播数据包确定所处区域的信道环境参数,进而完成发送频度的自适应调整。
进一步地,终端的定时器记录和管控着无线射频模块收发广播数据包的时长,当广播发送段的时长达到发送时长Tb时,定时器向终端的微控制单元发出指示,微控制单元接收到指示后,控制无线射频模块停止向外发送广播数据包,并进入下一个广播接收段。在下一个广播接收段内,接收时长仍然为Tr,并重复执行上述步骤301至步骤305。
综上所述,本实施例提供的控制广播数据包的发送频度的方法,通过配置终端在广播接收段接收广播数据包在广播发送段发送广播数据包,终端在至少一个广播接收段内接收其它终端发送的广播数据包,根据其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,该信道环境参数包括数据包时间密度和/或数据包发送成功率,进而根据信道环境参数确定所述终端在上述至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度;解决了背景技术中存在的终端发送广播数据包的发送频度缺乏灵活性的问题;实现了根据信道环境参数自适应地调整发送频度,提高了发送广播数据包的灵活性。
另外,本实施例提供的控制广播数据包的发送频度的方法,还通过数据包时间密度和/或数据包发送成功率表示信道环境参数。两者既有关联,又存在一定区别。数据包时间密度和数据包发送成功率都在一定程度上反映了终端所处区域内的各个其它终端在单位时间内发送的广播数据包的数量。其中,数据包时间密度主要用于衡量基站负载强度,而数据包发送成功率主要用于衡量信道争用强度。终端借助于在广播接收段内测定出的上述任意一个或全部两个参数,自适应地调整后续广播发送段内的发送频度,有效控制了周围环境的基站负载强度和信道争用强度,保证了定位的可靠性和成功率,同时平衡了各个网络设备之间的能耗,延长了网络寿命。
另外,本实施例还提供了两种划分频度等级的方式,通过设定不同的频度等级,可以加快发送频度调整的响应速度。其中,采用线性划分方式,可以使得发送频度的变化幅度较为平稳;采用几何划分方式,可以使得发送频度的变化幅度较为明显。在实际应用中,可根据实际情况选择不同的划分方式。
还需要说明的一点是:若终端的初始工作状态为广播发送段,则该广播发送段内的发送频度可以根据实际情况预先设定。比如,设定为预定最大发送频度fmax
请参考图4,其示出了本发明另一实施例提供的控制广播数据包的发送频度的方法的方法流程图。本实施例仍然以该方法应用于图1所示实施环境的终端中进行举例说明,该终端被配置为在广播接收段接收广播数据包在广播发送段发送广播数据包。该方法可以包括如下几个步骤:
步骤401,在至少一个广播接收段内接收其它终端发送的广播数据包。
对于任一终端,配置终端在广播接收段接收广播数据包在广播发送段发送广播数据包。其中,各个广播发送段的发送时长Tb随机确定,发送时长Tb=Tc+Tσ,Tc为常数,Tσ可以是区间[0,Tσm]之间的随机数,Tσm为预先设定的最大随机数。各个广播接收段的接收时长Tr为预先设定的固定值,且不同终端的广播接收段的接收时长也相同。接收时长
Figure PCTCN2014088453-appb-000016
fmin为预先设定的最小发送频度。
步骤402,根据其它终端发送的广播数据包确定终端所处区域的信道环境参数。
信道环境参数与终端所处区域内所有其它终端在单位时间内向外发送的广播数据包的数量有关。信道环境参数包括数据包时间密度和/或数据包发送成功率。其中,数据包时间密度为终端所处区域中所有其它终端在单位时间内实际发送的广播数据包的总数,其主要用于衡量终端所处区域中各网络设备的基站负载强度。数据包发送成功率为终端所处区域中所有其它终端发送广播数据包的平均成功率,其主要用于衡量终端所处区域的信道争用强度。
计算数据包时间密度ρ的过程在图3A所示实施例中已经详细介绍和说明,具体参见图3A所示实施例,本实施例对此不再赘述。
终端计算数据包发送成功率的过程可包括如下第一和第二两个步骤:
第一,根据每个其它终端发送的广播数据包确定每个其它终端在至少一个广播接收段内的数据包理论发送次数;
第二,根据每个其它终端在至少一个广播接收段内的数据包理论发送次数和终端在至少一个广播接收段内的数据包接收次数计算数据包发送成功率。
与图3A所示实施例不同的是:在图3A所示实施例中,终端在计算重叠时段时长Δtjk时,时长参数为其它终端对应的广播发送段内的数据包理论发送总次数和该广播数据包对应的发送序号。在本实施例中,以时长参数为其它终端对应的广播发送段相对于其它终端侧时间的其它终端侧起始发送时刻、其它终端侧结束发送时刻和广播数据包的其它终端侧发送时刻进行举例说明。
处于广播发送段的其它终端在向外发送广播数据包时,将当前对应的广播发送段相对于其它终端侧时间的其它终端侧起始发送时刻tsj′、其它终端侧结束发送时刻tej′和待发送的广播数据包相对于其它终端侧时间的其它终端侧发送时刻tbj′封装于待发送的广播数据包中。也即,上述tsj′、tej′以及tbj′均是处于广播发送段的其它终端根据自身对应的本地时间确定的。
另外,为了使得处于广播接收段的终端在接收到广播数据包后能够区分发送该广播数据包的终端,处于广播发送段的其它终端在向外发送广播数据包时,还可将自身的设备标识封装于待发送的广播数据包中。设备标识用于标识不同的终端,通常以设备地址或者设备ID表示。
对应地,终端接收到各个其它终端发送的广播数据包后,可以创建一张信息表,该信息表用于记录各个其它终端发送的广播数据包中携带的设备标识、其它终端侧起始发送时刻tsj′、其它终端侧结束发送时刻tej′、当前广播数据包对应的其它终端侧发送时刻tbj′以及频度等级(或者发送频度)。比如,该信息表可以如下表-4所示:
Figure PCTCN2014088453-appb-000017
表-4
具体来讲,对于其它终端发送的任意一个广播数据包,该广播数据包中携带的时长参数为其它终端对应的广播发送段相对于其它终端侧时间的其它终端侧起始发送时刻tsj′、其它终端侧结束发送时刻tej′和广播数据包的其它终端侧 发送时刻tbj′。此时,终端计算第k个广播接收段与该其它终端对应的广播发送段的重叠时段时长Δtjk可以通过如下方式:
首先,根据其它终端侧起始发送时刻tsj′、其它终端侧发送时刻tbj′和终端接收到广播数据包时相对于终端侧时间的终端侧接收时刻tr计算第j个其它终端对应的广播发送段相对于终端侧时间的终端侧起始发送时刻tsj
tsj=tr-(tbj′-tsj′)。
以上述序号为1的广播数据包为例,假设终端在接收到该广播数据包时的终端侧接收时刻tr为00:70,该终端侧接收时刻tr是终端根据自身的本地时间确定的,则发送该广播数据包的第j个其它终端对应的广播发送段相对于终端侧时间的终端侧起始发送时刻tsj=tr-(tbj′-tsj′)=00:70-(00:24-00:20)=00:66。
然后,根据其它终端侧结束发送时刻tej′、其它终端侧发送时刻tbj′和终端接收到广播数据包时相对于终端侧时间的终端侧接收时刻tr计算第j个其它终端对应的广播发送段相对于终端侧时间的终端侧结束发送时刻tej
tej=tr+(tej′-tbj′)。
仍然以上述序号为1的广播数据包为例,发送该广播数据包的第j个其它终端对应的广播发送段相对于终端侧时间的终端侧结束发送时刻tsj=tr-(tbj′-tsj′)=00:70+(00:50-00:24)=00:90。
最后,根据终端侧起始发送时刻tsj、终端侧结束发送时刻tej、当前广播接收段相对于终端侧时间的终端侧起始接收时刻tsr和终端侧结束接收时刻ter计算重叠时段时长Δtjk
结合参考图3C,在计算重叠时段时长Δtjk时,上述tsj、tej、tsr和ter这4个参数之间的大小关系可以包括如下三种情况:
在第一种情况下,当tsj<tsr<ter<tej时,重叠时段时长Δtjk=ter-tsr
在第二种情况下,当tsr<tsj<ter<tej时,重叠时段时长Δtjk=ter-tsj
在第三种情况下,当tsj<tsr<tej<ter时,重叠时段时长Δtjk=tej-tsr
与图3A所示实施例不同的是:在本实施例中,终端在调整发送频度时,结合终端在上述至少一个广播接收段之前的广播发送段内的第二发送频度和信道环境参数确定出后续广播发送段内的第一发送频度。具体如下:
步骤403,根据每个其它终端发送的广播数据包中携带的频度参数确定每个其它终端发送广播数据包的发送频度。
其它终端的发送频度的确定过程在图3A所示实施例中的步骤302中已经 详细介绍和说明,本实施例对此不再赘述。
步骤404,根据信道环境参数、第二发送频度以及每个其它终端的发送频度确定第一发送频度。
其中,第二发送频度是终端在至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度。据信道环境参数所包含的参数的类型和数量的不同,本步骤包括如下三种可能的实现方式:
在第一种可能的实现方式中,信道环境参数只包括数据包时间密度,此时:(1)、当数据包时间密度小于第三密度阈值且第二发送频度不高于任意一个其它终端的发送频度时,采用比第二发送频度高的发送频度作为第一发送频度;(2)、当数据包时间密度大于第四密度阈值且第二发送频度不低于任意一个其它终端的发送频度时,采用比第二发送频度低的发送频度作为第一发送频度。其中,第三密度阈值≤第四密度阈值。
其中,第三密度阈值和第四密度阈值均为预先设定的经验值。数据包时间密度ρ越小,表明终端所处区域的基站负载强度越低,可以适当上调发送频度;反之,数据包时间密度ρ越大,表明终端所处区域的基站负载强度越高,可以适当下调发送频度。
与此同时,为了保证周围区域内的各个终端的发送频度处于一个相对均衡的状态,避免某些终端的发送频度过高而某些终端的发送频度过低。终端在上调发送频度之前,还需对自身在之前的广播发送段内的发送频度与其它终端的发送频度进行比对。当终端在之前的广播发送段内的发送频度不高于任意一个其它终端的发送频度时,终端才上调发送频度。否则,维持之前的发送频度不变,由其它发送频度更低的终端上调发送频度,以此保证周围区域内的各个终端的发送频度处于一个相对均衡的状态。
类似的,终端在下调发送频度之前,还需对自身在之前的广播发送段内的发送频度与其它终端的发送频度进行比对。当终端在之前的广播发送段内的发送频度不低于任意一个其它终端的发送频度时,终端才下调发送频度。否则,维持之前的发送频度不变,由其它发送频度更高的终端下调发送频度,以此保证周围区域内的各个终端的发送频度处于一个相对均衡的状态。
可选的,第三密度阈值可以等于第四密度阈值,也即仅设定一个密度阈值;或者,第三密度阈值也可以小于第四密度阈值,也即设定两个密度阈值。在一个可能的实施例中,不论设定一个密度阈值或设定两个密度阈值,除上述(1) 和(2)两种情况之外,终端可采用与第二发送频度相同的发送频度作为第一发送频度。
另外,终端可根据预先设定的频度调整幅度上调/下调发送频度。终端也可根据预先设定的数据包时间密度与发送频度之间的对应关系,根据数据包时间密度查询该对应关系确定出第一发送频度。终端还可根据预先设定的频度等级,上调/下调一个频度等级。当然,终端还可根据实际需求预先设定不同的调整策略,对此本实施例不作具体限定。
在第二种可能的实现方式中,信道环境参数只包括数据包发送成功率,此时:(1)、当数据包发送成功率大于第三成功率阈值且第二发送频度不高于任意一个其它终端的发送频度时,采用比第二发送频度高的发送频度作为第一发送频度;(2)、当数据包发送成功率小于第四成功率阈值且第二发送频度不低于任意一个其它终端的发送频度时,采用比第二发送频度低的发送频度作为第一发送频度。其中,第三成功率阈值≥第四成功率阈值。
其中,第三成功率阈值和第四成功率阈值均为预先设定的经验值。数据包发送成功率S越大,表明终端所处区域的信道争用强度越低,可以适当上调发送频度;反之,数据包发送成功率S越小,表明终端所处区域的信道争用强度越高,可以适当下调发送频度。
与此同时,为了保证周围区域内的各个终端的发送频度处于一个相对均衡的状态,避免某些终端的发送频度过高而某些终端的发送频度过低。终端在上调发送频度之前,还需对自身在之前的广播发送段内的发送频度与其它终端的发送频度进行比对。当终端在之前的广播发送段内的发送频度不高于任意一个其它终端的发送频度时,终端才上调发送频度。类似的,当终端在之前的广播发送段内的发送频度不低于任意一个其它终端的发送频度时,终端才下调发送频度。
可选的,第三成功率阈值可以等于第四成功率阈值,也即仅设定一个成功率阈值;或者,第三成功率阈值也可以大于第四成功率阈值,也即设定两个成功率阈值。在一个可能的实施例中,不论设定一个成功率阈值或设定两个成功率阈值,除上述(1)和(2)两种情况之外,终端可采用与第二发送频度相同的发送频度作为第一发送频度。
另外,终端可根据预先设定的频度调整幅度上调/下调发送频度。终端也可根据预先设定的数据包发送成功率与发送频度之间的对应关系,根据数据包发 送成功率查询该对应关系确定出第一发送频度。终端还可根据预先设定的频度等级,上调/下调一个频度等级。当然,终端还可根据实际需求预先设定不同的调整策略,对此本实施例不作具体限定。
在第三种可能的实现方式中,信道环境参数包括数据包时间密度和数据包发送成功率,此时:(1)、当数据包时间密度小于第三密度阈值和数据包发送成功率大于第三成功率阈值、且第二发送频度不高于任意一个其它终端的发送频度时,采用比第二发送频度高的发送频度作为第一发送频度;(2)、当数据包时间密度大于第四密度阈值和/或数据包发送成功率小于第四成功率阈值、且第二发送频度不低于任意一个其它终端的发送频度时,采用比第二发送频度低的发送频度作为第一发送频度。其中,第三密度阈值≤第四密度阈值,第三成功率阈值≥第四成功率阈值。
当数据包时间密度ρ小于第三密度阈值和数据包发送成功率S大于第三成功率阈值时,表明终端所处区域的基站负载强度较低且信道争用强度也较低,终端适当上调发送频度。当数据包时间密度ρ大于第四密度阈值和/或数据包发送成功率S小于第四成功率阈值时,表明终端所处区域的基站负载强度较高和/或信道争用强度也较高,终端适当下调发送频度。
与此同时,为了保证周围区域内的各个终端的发送频度处于一个相对均衡的状态,避免某些终端的发送频度过高而某些终端的发送频度过低。终端在上调发送频度之前,还需对自身在之前的广播发送段内的发送频度与其它终端的发送频度进行比对。当终端在之前的广播发送段内的发送频度不高于任意一个其它终端的发送频度时,终端才上调发送频度。类似的,当终端在之前的广播发送段内的发送频度不低于任意一个其它终端的发送频度时,终端才下调发送频度。
与上述第一和第二种可能的实现方式类似,密度阈值可以设定为一个或两个,成功率阈值也可以设定为一个或两个。在一个可能的实施例中,不论密度阈值和成功率阈值的数量如何,除上述(1)和(2)两种情况之外,终端可采用与第二发送频度相同的发送频度作为第一发送频度。
另外,终端可根据预先设定的频度调整幅度上调/下调发送频度。终端也可根据预先设定的数据包时间密度、数据包发送成功率与发送频度之间的对应关系,根据数据包时间密度和数据包发送成功率查询该对应关系确定出第一发送频度。终端还可根据预先设定的频度等级,上调/下调一个频度等级。当然,终 端还可根据实际需求预先设定不同的调整策略,对此本实施例不作具体限定。
需要说明的一点是:在本实施例中,仅以上述三种可能的实现方式对发送频度的调整进行举例说明,在实际应用中,还可为终端配置其它可能的频度调整策略,对此本实施例不作具体限定。
还需要说明的一点是:在上述三种可能的实现方式中,均未考虑数据包时间密度与第三密度阈值和/或第四密度阈值相等的情况,以及数据包发送成功率与第三成功率阈值和/或第四成功率阈值相等的情况,也即未考虑临界点情况。在实际应用中,对于临界点情况,本领域技术人员可根据实际需求确定发送频度的调整策略,这是本领域技术人员在本实施例的基础上易于思及的,本实施例对此不进行赘述。
终端在确定出第一发送频度后,在上述至少一个广播接收段结束后,切换进入广播发送段,并以确定出的第一发送频度向外发送广播数据包。
步骤405,随机确定至少一个广播接收段之后的广播发送段的发送时长。
步骤406,在至少一个广播接收段结束后,按照第一发送频度和发送时长发送广播数据包。
上述步骤405至步骤406与图3A所示实施例中步骤304至步骤305相同或者类似,本实施例对此不再赘述。
与图3A所示实施例不同的是:终端在生成广播数据包时,除了需要将用于实现定位的相关信息封装于广播数据包中之外,还需将下述参数封装于广播数据包中。具体来讲,步骤406可以包括如下几个子步骤:
第一,根据发送时长确定广播发送段相对于终端侧时间的终端侧起始发送时刻和终端侧结束发送时刻。
假设发送时长为Tb,则终端侧结束发送时刻tej′=tsj′+Tb,其中,tsj′表示终端侧起始发送时刻。
第二,生成包含有设备标识、终端侧起始发送时刻、终端侧结束发送时刻、广播数据包的终端侧发送时刻以及频度参数的广播数据包。
第三,发送广播数据包。
终端生成携带有上述参数的广播数据包后,向外发送广播数据包。对应地,周围区域内的网络设备以及处于广播接收段的其它终端接收广播数据包。网络设备用于根据接收到的广播数据包同服务器交互完成一次定位。处于广播接收段的其它终端用于根据接收到的广播数据包确定所处区域的信道环境参数,进 而完成发送频度的自适应调整。
进一步地,终端的定时器记录和管控着无线射频模块收发广播数据包的时长,当广播发送段的时长达到发送时长Tb时,定时器向终端的微控制单元发出指示,微控制单元接收到指示后,控制无线射频模块停止向外发送广播数据包,并进入下一个广播接收段。在下一个广播接收段内,接收时长仍然为Tr,并重复执行上述步骤401至步骤406。
综上所述,本实施例提供的控制广播数据包的发送频度的方法,通过配置终端在广播接收段接收广播数据包在广播发送段发送广播数据包,在至少一个广播接收段内接收其它终端发送的广播数据包,根据其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,该信道环境参数包括数据包时间密度和/或数据包发送成功率,进而根据信道环境参数确定所述终端在上述至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度;解决了背景技术中存在的终端发送广播数据包的发送频度缺乏灵活性的问题;实现了根据信道环境参数自适应地调整发送频度,提高了发送广播数据包的灵活性。
另外,与图3A所示实施例相比,本实施例提供的控制广播数据包的发送频度的方法,终端在调整所述终端的发送频度之前,还对自身在之前的广播发送段内的发送频度与其它终端的发送频度进行比对,当终端在之前的广播发送段内的发送频度不高于任意一个其它终端的发送频度时,终端才上调发送频度;或者,当终端在之前的广播发送段内的发送频度不低于任意一个其它终端的发送频度时,终端才下调发送频度。保证了周围区域内的各个终端的发送频度处于一个相对均衡的状态,有利于各个终端的能效均衡,同时有利于均衡对各个终端的定位效果。
另外,上述图3A和图4所示实施例提供了两种不同的技术方案,在图3A所示实施例中,每个广播数据包中携带有设备标识、数据包理论发送总次数、广播数据包对应的发送序号以及频度参数;在图4所示实施例中,每个广播数据包中携带有设备标识、当前广播发送段的起始发送时刻、当前广播发送段的结束发送时刻、广播数据包的发送时刻以及频度参数。在实际应用中,可以采用上述任意一种技术方案以实现对周围环境内的信道环境参数的计算,进而根据信道环境参数自适应地调整发送频度。
下面是本发明的装置实施例,各个装置实施例与上面的方法实施例互相对 应。对于本发明装置实施例中未披露的细节,请参照本发明方法实施例。
请参考图5,其示出了本发明一个实施例提供的控制广播数据包的发送频度的装置的结构方框图,该装置可以通过软件、硬件或者两者的结合实现成为图1所示实施环境中终端的部分或者全部,该终端被配置为在广播接收段接收广播数据包在广播发送段发送广播数据包。该装置可以包括:数据包接收模块510、参数确定模块520和频度确定模块530。
数据包接收模块510,用于在至少一个广播接收段内接收其它终端发送的广播数据包。
参数确定模块520,用于根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,所述信道环境参数包括数据包时间密度和/或数据包发送成功率。
频度确定模块530,用于根据所述信道环境参数确定第一发送频度,所述第一发送频度是所述终端在所述至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度。
综上所述,本实施例提供的控制广播数据包的发送频度的装置,通过配置终端在广播接收段接收广播数据包在广播发送段发送广播数据包,终端在至少一个广播接收段内接收其它终端发送的广播数据包,根据其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,该信道环境参数包括数据包时间密度和/或数据包发送成功率,进而根据信道环境参数确定所述终端在上述至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度;解决了背景技术中存在的终端发送广播数据包的发送频度缺乏灵活性的问题;实现了根据信道环境参数自适应地调整发送频度,提高了发送广播数据包的灵活性。
请参考图6A,其示出了本发明另一实施例提供的控制广播数据包的发送频度的装置的结构方框图,该装置可以通过软件、硬件或者两者的结合实现成为图1所示实施环境中终端的部分或者全部,该终端被配置为在广播接收段接收广播数据包在广播发送段发送广播数据包。该装置可以包括:数据包接收模块510、参数确定模块520和频度确定模块530。
数据包接收模块510,用于在至少一个广播接收段内接收其它终端发送的广播数据包。
参数确定模块520,用于根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,所述信道环境参数包括数据包时间密度和/或数据包发送成功率。
请结合参考图6B,此时,所述信道环境参数包括所述数据包时间密度,所述参数确定模块520,包括:密度计算单元520a。
所述密度计算单元520a,用于按照如下公式计算所述数据包时间密度ρ:
Figure PCTCN2014088453-appb-000018
其中,Nr表示所述终端在所述至少一个广播接收段内的数据包接收次数,Tr表示所述至少一个广播接收段的接收时长之和。
请结合参考图6C,此时,所述信道环境参数包括所述数据包发送成功率,所述参数确定模块520,包括:次数确定单元520b和成功率计算单元520c。
所述次数确定单元520b,用于根据每个其它终端发送的广播数据包确定每个其它终端在所述至少一个广播接收段内的数据包理论发送次数。
所述成功率计算单元520c,用于按照如下公式计算所述数据包发送成功率S:
Figure PCTCN2014088453-appb-000019
其中,Nr表示所述终端在所述至少一个广播接收段内的数据包接收次数;P表示所述终端在所述至少一个广播接收段内接收到来自P个其它终端的广播数据包,P≥1且P为整数,j∈[1,P]且j为整数;Nt表示所述P个其它终端在所述至少一个广播接收段内的数据包理论发送次数之和。
需要说明的一点是:在不同的实施方式中,参数确定模块520可以只包括密度计算单元520a,也可以只包括次数确定单元520b和成功率计算单元520c,还可以同时包括密度计算单元520a、次数确定单元520b和成功率计算单元520c。参数确定模块520所包含的功能模块的类型和数量,依据信道环境参数所包含的参数的类型和数量而定。
频度确定模块530,用于根据所述信道环境参数确定第一发送频度,所述第一发送频度是所述终端在所述至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度。
根据信道环境参数所包含的参数的类型和数量的不同,频度确定模块530 所包含的功能模块也有所不同。具体如下:
1、请结合参考图6D,此时,所述信道环境参数只包括所述数据包时间密度,所述频度确定模块530,包括:第一上调单元530a和第一下调单元530b。
所述第一上调单元530a,用于当所述数据包时间密度小于第一密度阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度。
所述第一下调单元530b,用于当所述数据包时间密度大于第二密度阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度。
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一密度阈值≤所述第二密度阈值。
2、请结合参考图6E,此时,所述信道环境参数只包括所述数据包发送成功率,所述频度确定模块530,包括:第二上调单元530c和第二下调单元530d。
所述第二上调单元530c,用于当所述数据包发送成功率大于第一成功率阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度。
所述第二下调单元530d,用于当所述数据包发送成功率小于第二成功率阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度。
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一成功率阈值≥所述第二成功率阈值。
3、请结合参考图6F,此时,所述信道环境参数包括所述数据包时间密度和所述数据包发送成功率,所述频度确定模块530,包括:第三上调单元530e和第三下调单元530f。
所述第三上调单元530e,用于当所述数据包时间密度小于第一密度阈值且所述数据包发送成功率大于第一成功率阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度。
所述第三下调单元530f,用于当所述数据包时间密度大于第二密度阈值和/或所述数据包发送成功率小于第二成功率阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度。
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一密度阈值≤所述第二密度阈值,所述第一成功率阈值≥所述第二成功率阈值。
可选的,本实施例提供的装置还包括:时长确定模块540和数据包发送模块550。
时长确定模块540,用于随机确定所述至少一个广播接收段之后的广播发送段的发送时长。
数据包发送模块550,用于在所述至少一个广播接收段结束后,按照所述第一发送频度和所述发送时长发送广播数据包。
可选的,本实施例提供的装置还包括:时长配置模块560。
时长配置模块560,用于配置每个广播接收段的接收时长大于预先设定的最小发送频度的倒数,且所述终端的广播接收段的接收时长与所述其它终端的广播接收段的接收时长相等。
需要说明的一点是:在一些不同的实施方式中,图6A所示功能模块可单独实现成为本发明实施例提供的控制广播数据包的发送频度的装置;或者,图6A、图6B和图6D所示功能模块可结合实现成为本发明实施例提供的控制广播数据包的发送频度的装置;或者,图6A、图6C和图6E所示功能模块可结合实现成为本发明实施例提供的控制广播数据包的发送频度的装置;或者,图6A、图6B、图6C和图6F所示功能模块可结合实现成为本发明实施例提供的控制广播数据包的发送频度的装置。在实际应用中,可根据实际需求选取不同功能模块的组合,对此本实施例不做具体限定。
综上所述,本实施例提供的控制广播数据包的发送频度的装置,通过配置终端在广播接收段接收广播数据包在广播发送段发送广播数据包,终端在至少一个广播接收段内接收其它终端发送的广播数据包,根据其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,该信道环境参数包括数据包时间密度和/或数据包发送成功率,进而根据信道环境参数确定所述终端在上述至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度;解决了背景技术中存在的终端发送广播数据包的发送频度缺乏灵活性的问题;实现了根据信道环境参数自适应地调整发送频度,提高了发送广播数据包的灵活性。
另外,本实施例提供的控制广播数据包的发送频度的装置,还通过数据包时间密度和/或数据包发送成功率表示信道环境参数。两者既有关联,又存在一定区别。数据包时间密度和数据包发送成功率都在一定程度上反映了终端所处区域内的各个其它终端在单位时间内发送的广播数据包的数量。其中,数据包时间密度主要用于衡量基站负载强度,而数据包发送成功率主要用于衡量信道 争用强度。终端借助于在广播接收段内测定出的上述任意一个或全部两个参数,自适应地调整后续广播发送段内的发送频度,有效控制了周围环境的基站负载强度和信道争用强度,保证了定位的可靠性和成功率,同时平衡了各个网络设备之间的能耗,延长了网络寿命。
请参考图7A,其示出了本发明再一实施例提供的控制广播数据包的发送频度的装置的结构方框图,该装置可以通过软件、硬件或者两者的结合实现成为图1所示实施环境中终端的部分或者全部,该终端被配置为在广播接收段接收广播数据包在广播发送段发送广播数据包。该装置可以包括:数据包接收模块510、参数确定模块520和频度确定模块530。
数据包接收模块510,用于在至少一个广播接收段内接收其它终端发送的广播数据包。
参数确定模块520,用于根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,所述信道环境参数包括数据包时间密度和/或数据包发送成功率。
频度确定模块530,用于根据所述信道环境参数确定第一发送频度,所述第一发送频度是所述终端在所述至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度。
其中,参数确定模块520所包含的功能模块在图6A所示实施例中已经详细介绍和说明,本实施例对此不再赘述。
与图6A所示实施例不同的是:在本实施例中,所述频度确定模块530,具体包括:频度获取单元531和频度确定单元532。
所述频度获取单元531,用于根据每个其它终端发送的广播数据包中携带的频度参数确定每个其它终端发送广播数据包的发送频度。
所述频度确定单元532,用于根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度。
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度。
根据信道环境参数所包含的参数的类型和数量的不同,频度确定单元532所包含的功能模块也有所不同。具体如下:
1、请结合参考图7B,此时,所述信道环境参数只包括所述数据包时间密 度,所述频度确定单元532,包括:第一上调子单元532a和第一下调子单元532b。
所述第一上调子单元532a,用于当所述数据包时间密度小于第三密度阈值且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度。
所述第一下调子单元532b,用于当所述数据包时间密度大于第四密度阈值且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度。
其中,所述第三密度阈值≤所述第四密度阈值。
2、请结合参考图7C,此时,所述信道环境参数只包括所述数据包发送成功率,所述频度确定单元532,包括:第二上调子单元532c和第二下调子单元532d。
所述第二上调子单元532c,用于当所述数据包发送成功率大于第三成功率阈值且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度。
所述第二下调子单元532d,用于当所述数据包发送成功率小于第四成功率阈值且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度。
其中,所述第三成功率阈值≥所述第四成功率阈值。
3、请结合参考图7D,此时,所述信道环境参数包括所述数据包时间密度和所述数据包发送成功率,所述频度确定单元532,包括:第三上调子单元532e和第三下调子单元532f。
所述第三上调子单元532e,用于当所述数据包时间密度小于第三密度阈值和所述数据包发送成功率大于第三成功率阈值、且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度。
所述第三下调子单元532f,用于当所述数据包时间密度大于第四密度阈值和/或所述数据包发送成功率小于第四成功率阈值、且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度。
其中,所述第三密度阈值≤所述第四密度阈值,所述第三成功率阈值≥所 述第四成功率阈值。
可选的,本实施例提供的装置还包括:时长确定模块540和数据包发送模块550。
时长确定模块540,用于随机确定所述至少一个广播接收段之后的广播发送段的发送时长。
数据包发送模块550,用于在所述至少一个广播接收段结束后,按照所述第一发送频度和所述发送时长发送广播数据包。
可选的,本实施例提供的装置还包括:时长配置模块560。
时长配置模块560,用于配置每个广播接收段的接收时长大于预先设定的最小发送频度的倒数,且所述终端的广播接收段的接收时长与所述其它终端的广播接收段的接收时长相等。
需要说明的一点是:在一些不同的实施方式中,图7A所示功能模块可单独实现成为本发明实施例提供的控制广播数据包的发送频度的装置;或者,图7A、图6B和图7B所示功能模块可结合实现成为本发明实施例提供的控制广播数据包的发送频度的装置;或者,图7A、图6C和图7C所示功能模块可结合实现成为本发明实施例提供的控制广播数据包的发送频度的装置;或者,图7A、图6B、图6C和图7D所示功能模块可结合实现成为本发明实施例提供的控制广播数据包的发送频度的装置。在实际应用中,可根据实际需求选取不同功能模块的组合,对此本实施例不做具体限定。
综上所述,本实施例提供的控制广播数据包的发送频度的装置,通过配置终端在广播接收段接收广播数据包在广播发送段发送广播数据包,终端在至少一个广播接收段内接收其它终端发送的广播数据包,根据其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,该信道环境参数包括数据包时间密度和/或数据包发送成功率,进而根据信道环境参数确定所述终端在上述至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度;解决了背景技术中存在的终端发送广播数据包的发送频度缺乏灵活性的问题;实现了根据信道环境参数自适应地调整发送频度,提高了发送广播数据包的灵活性。
另外,与图6A所示实施例相比,本实施例提供的控制广播数据包的发送频度的装置,终端在调整所述终端的发送频度之前,还对自身在之前的广播发送段内的发送频度与其它终端的发送频度进行比对,当终端在之前的广播发送段内的发送频度不高于任意一个其它终端的发送频度时,终端才上调发送频 度;或者,当终端在之前的广播发送段内的发送频度不低于任意一个其它终端的发送频度时,终端才下调发送频度。保证了周围区域内的各个终端的发送频度处于一个相对均衡的状态,有利于各个终端的能效均衡,同时有利于均衡对各个终端的定位效果。
需要说明的是:上述实施例提供的控制广播数据包的发送频度的装置在发送和接收广播数据包时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的控制广播数据包的发送频度的装置与下述实施例提供的控制广播数据包的发送频度的方法的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
请参考图8,其示出了本发明一个实施例提供的终端的结构方框图。该终端800被配置为在广播接收段接收广播数据包在广播发送段发送广播数据包。该终端800包括:总线810,以及通过总线810通信的处理器820、存储器830、收发器840。其中,存储器830用于存储一个或者一个以上的指令,该指令被配置成由处理器820执行。其中:
所述收发器840,用于在至少一个广播接收段内接收其它终端发送的广播数据包。
所述处理器820,用于根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,所述信道环境参数包括数据包时间密度和/或数据包发送成功率。
所述处理器820,还用于根据所述信道环境参数确定第一发送频度,所述第一发送频度是所述终端在所述至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度。
综上所述,本实施例提供的终端,通过配置终端在广播接收段接收广播数据包在广播发送段发送广播数据包,终端在至少一个广播接收段内接收其它终端发送的广播数据包,根据其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,该信道环境参数包括数据包时间密度和/或数据包发送成功率,进而根据信道环境参数确定所述终端在上述至少一个广播接收段之后的广 播发送段内发送广播数据包的发送频度;解决了背景技术中存在的终端发送广播数据包的发送频度缺乏灵活性的问题;实现了根据信道环境参数自适应地调整发送频度,提高了发送广播数据包的灵活性。
在基于图8所示实施例提供的可选实施例中,所述信道环境参数只包括所述数据包时间密度;
所述根据所述信道环境参数确定第一发送频度,包括:
当所述数据包时间密度小于第一密度阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;或,
当所述数据包时间密度大于第二密度阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一密度阈值≤所述第二密度阈值。
在基于图8所示实施例提供的可选实施例中,所述信道环境参数只包括所述数据包发送成功率;
所述根据所述信道环境参数确定第一发送频度,包括:
当所述数据包发送成功率大于第一成功率阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;或,
当所述数据包发送成功率小于第二成功率阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一成功率阈值≥所述第二成功率阈值。
在基于图8所示实施例提供的可选实施例中,所述信道环境参数包括所述数据包时间密度和所述数据包发送成功率,
所述根据所述信道环境参数确定第一发送频度,包括:
当所述数据包时间密度小于第一密度阈值且所述数据包发送成功率大于第一成功率阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;或,
当所述数据包时间密度大于第二密度阈值和/或所述数据包发送成功率小于第二成功率阈值时,采用比第二发送频度低的发送频度作为所述第一发送频 度;
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一密度阈值≤所述第二密度阈值,所述第一成功率阈值≥所述第二成功率阈值。
在基于图8所示实施例提供的可选实施例中,所述根据所述信道环境参数确定第一发送频度,包括:
根据每个其它终端发送的广播数据包中携带的频度参数确定每个其它终端发送广播数据包的发送频度;
根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度;
其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度。
在基于图8所示实施例提供的可选实施例中,所述信道环境参数只包括所述数据包时间密度;
所述根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度,包括:
当所述数据包时间密度小于第三密度阈值且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;或,
当所述数据包时间密度大于第四密度阈值且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第三密度阈值≤所述第四密度阈值。
在基于图8所示实施例提供的可选实施例中,所述信道环境参数只包括所述数据包发送成功率;
所述根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度,包括:
当所述数据包发送成功率大于第三成功率阈值且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;或,
当所述数据包发送成功率小于第四成功率阈值且所述第二发送频度不低 于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第三成功率阈值≥所述第四成功率阈值。
在基于图8所示实施例提供的可选实施例中,所述信道环境参数包括所述数据包时间密度和所述数据包发送成功率;
所述根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度,包括:
当所述数据包时间密度小于第三密度阈值和所述数据包发送成功率大于第三成功率阈值、且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;或,
当所述数据包时间密度大于第四密度阈值和/或所述数据包发送成功率小于第四成功率阈值、且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
其中,所述第三密度阈值≤所述第四密度阈值,所述第三成功率阈值≥所述第四成功率阈值。
在基于图8所示实施例提供的可选实施例中,所述信道环境参数包括所述数据包时间密度;
所述根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,包括:
按照如下公式计算所述数据包时间密度ρ:
Figure PCTCN2014088453-appb-000020
其中,Nr表示所述终端在所述至少一个广播接收段内的数据包接收次数,Tr表示所述至少一个广播接收段的接收时长之和。
在基于图8所示实施例提供的可选实施例中,所述信道环境参数包括所述数据包发送成功率;
所述根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,包括:
根据每个其它终端发送的广播数据包确定每个其它终端在所述至少一个广播接收段内的数据包理论发送次数;
按照如下公式计算所述数据包发送成功率S:
Figure PCTCN2014088453-appb-000021
其中,Nr表示所述终端在所述至少一个广播接收段内的数据包接收次数;P表示所述终端在所述至少一个广播接收段内接收到来自P个其它终端的广播数据包,P≥1且P为整数,j∈[1,P]且j为整数;Nt表示所述P个其它终端在所述至少一个广播接收段内的数据包理论发送次数之和。
在基于图8所示实施例提供的可选实施例中,
所述处理器820,还用于随机确定所述至少一个广播接收段之后的广播发送段的发送时长;
所述收发器840,还用于在所述至少一个广播接收段结束后,按照所述第一发送频度和所述发送时长发送广播数据包。
在基于图8所示实施例提供的可选实施例中,
所述处理器820,还用于配置每个广播接收段的接收时长大于预先设定的最小发送频度的倒数,且所述终端的广播接收段的接收时长与所述其它终端的广播接收段的接收时长相等。
可选的,本实施例提供的终端,还通过数据包时间密度和/或数据包发送成功率表示信道环境参数。两者既有关联,又存在一定区别。数据包时间密度和数据包发送成功率都在一定程度上反映了终端所处区域内的各个其它终端在单位时间内发送的广播数据包的数量。其中,数据包时间密度主要用于衡量基站负载强度,而数据包发送成功率主要用于衡量信道争用强度。终端借助于在广播接收段内测定出的上述任意一个或全部两个参数,自适应地调整后续广播发送段内的发送频度,有效控制了周围环境的基站负载强度和信道争用强度,保证了定位的可靠性和成功率,同时平衡了各个网络设备之间的能耗,延长了网络寿命。
可选的,本实施例提供的终端,终端在调整所述终端的发送频度之前,还对自身在之前的广播发送段内的发送频度与其它终端的发送频度进行比对,当终端在之前的广播发送段内的发送频度不高于任意一个其它终端的发送频度时,终端才上调发送频度;或者,当终端在之前的广播发送段内的发送频度不低于任意一个其它终端的发送频度时,终端才下调发送频度。保证了周围区域内的各个终端的发送频度处于一个相对均衡的状态,有利于各个终端的能效均衡,同时有利于均衡对各个终端的定位效果。
应当理解的是,在本文中使用的,除非上下文清楚地支持例外情况,单数形式“一个”(“a”、“an”、“the”)旨在也包括复数形式。还应当理解的是,在本文中使用的“和/或”是指包括一个或者一个以上相关联地列出的项目的任意和所有可能组合。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (36)

  1. 一种控制广播数据包的发送频度的方法,用于终端,所述终端被配置为在广播接收段接收广播数据包在广播发送段发送广播数据包,其特征在于,所述方法包括:
    在至少一个广播接收段内接收其它终端发送的广播数据包;
    根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,所述信道环境参数包括数据包时间密度和/或数据包发送成功率;
    根据所述信道环境参数确定第一发送频度,所述第一发送频度是所述终端在所述至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度。
  2. 根据权利要求1所述的方法,其特征在于,所述信道环境参数只包括所述数据包时间密度;
    所述根据所述信道环境参数确定第一发送频度,包括:
    当所述数据包时间密度小于第一密度阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;或,
    当所述数据包时间密度大于第二密度阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
    其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一密度阈值≤所述第二密度阈值。
  3. 根据权利要求1所述的方法,其特征在于,所述信道环境参数只包括所述数据包发送成功率;
    所述根据所述信道环境参数确定第一发送频度,包括:
    当所述数据包发送成功率大于第一成功率阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;或,
    当所述数据包发送成功率小于第二成功率阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
    其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一成功率阈值≥所述第二成功 率阈值。
  4. 根据权利要求1所述的方法,其特征在于,所述信道环境参数包括所述数据包时间密度和所述数据包发送成功率,
    所述根据所述信道环境参数确定第一发送频度,包括:
    当所述数据包时间密度小于第一密度阈值且所述数据包发送成功率大于第一成功率阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;或,
    当所述数据包时间密度大于第二密度阈值和/或所述数据包发送成功率小于第二成功率阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
    其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一密度阈值≤所述第二密度阈值,所述第一成功率阈值≥所述第二成功率阈值。
  5. 根据权利要求1所述的方法,其特征在于,所述根据所述信道环境参数确定第一发送频度,包括:
    根据每个其它终端发送的广播数据包中携带的频度参数确定每个其它终端发送广播数据包的发送频度;
    根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度;
    其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度。
  6. 根据权利要求5所述的方法,其特征在于,所述信道环境参数只包括所述数据包时间密度;
    所述根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度,包括:
    当所述数据包时间密度小于第三密度阈值且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;或,
    当所述数据包时间密度大于第四密度阈值且所述第二发送频度不低于任意 一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
    其中,所述第三密度阈值≤所述第四密度阈值。
  7. 根据权利要求5所述的方法,其特征在于,所述信道环境参数只包括所述数据包发送成功率;
    所述根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度,包括:
    当所述数据包发送成功率大于第三成功率阈值且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;或,
    当所述数据包发送成功率小于第四成功率阈值且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
    其中,所述第三成功率阈值≥所述第四成功率阈值。
  8. 根据权利要求5所述的方法,其特征在于,所述信道环境参数包括所述数据包时间密度和所述数据包发送成功率;
    所述根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度,包括:
    当所述数据包时间密度小于第三密度阈值和所述数据包发送成功率大于第三成功率阈值、且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;或,
    当所述数据包时间密度大于第四密度阈值和/或所述数据包发送成功率小于第四成功率阈值、且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
    其中,所述第三密度阈值≤所述第四密度阈值,所述第三成功率阈值≥所述第四成功率阈值。
  9. 根据权利要求1、2、4、5、6或8任一所述的方法,其特征在于,所述信道环境参数包括所述数据包时间密度;
    所述根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,包括:
    按照如下公式计算所述数据包时间密度ρ:
    Figure PCTCN2014088453-appb-100001
    其中,Nr表示所述终端在所述至少一个广播接收段内的数据包接收次数,Tr表示所述至少一个广播接收段的接收时长之和。
  10. 根据权利要求1、3、4、5、7或8任一所述的方法,其特征在于,所述信道环境参数包括所述数据包发送成功率;
    所述根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,包括:
    根据每个其它终端发送的广播数据包确定每个其它终端在所述至少一个广播接收段内的数据包理论发送次数;
    按照如下公式计算所述数据包发送成功率S:
    Figure PCTCN2014088453-appb-100002
    其中,Nr表示所述终端在所述至少一个广播接收段内的数据包接收次数;P表示所述终端在所述至少一个广播接收段内接收到来自P个其它终端的广播数据包,P≥1且P为整数,j∈[1,P]且j为整数;Nt表示所述P个其它终端在所述至少一个广播接收段内的数据包理论发送次数之和。
  11. 根据权利要求1至10任一所述的方法,其特征在于,所述方法还包括:
    随机确定所述至少一个广播接收段之后的广播发送段的发送时长;
    在所述至少一个广播接收段结束后,按照所述第一发送频度和所述发送时长发送广播数据包。
  12. 根据权利要求1至11任一所述的方法,其特征在于,所述方法还包括:
    配置每个广播接收段的接收时长大于预先设定的最小发送频度的倒数,且所述终端的广播接收段的接收时长与所述其它终端的广播接收段的接收时长相等。
  13. 一种控制广播数据包的发送频度的装置,用于终端,所述终端被配置为在广播接收段接收广播数据包在广播发送段发送广播数据包,其特征在于,所述装置包括:
    数据包接收模块,用于在至少一个广播接收段内接收其它终端发送的广播数据包;
    参数确定模块,用于根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,所述信道环境参数包括数据包时间密度和/或数据包发送成功率;
    频度确定模块,用于根据所述信道环境参数确定第一发送频度,所述第一发送频度是所述终端在所述至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度。
  14. 根据权利要求13所述的装置,其特征在于,所述信道环境参数只包括所述数据包时间密度;
    所述频度确定模块,包括:第一上调单元和第一下调单元;
    所述第一上调单元,用于当所述数据包时间密度小于第一密度阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;
    所述第一下调单元,用于当所述数据包时间密度大于第二密度阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
    其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一密度阈值≤所述第二密度阈值。
  15. 根据权利要求13所述的装置,其特征在于,所述信道环境参数只包括所述数据包发送成功率;
    所述频度确定模块,包括:第二上调单元和第二下调单元;
    所述第二上调单元,用于当所述数据包发送成功率大于第一成功率阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;
    所述第二下调单元,用于当所述数据包发送成功率小于第二成功率阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
    其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广 播发送段内发送广播数据包的发送频度,所述第一成功率阈值≥所述第二成功率阈值。
  16. 根据权利要求13所述的装置,其特征在于,所述信道环境参数包括所述数据包时间密度和所述数据包发送成功率,
    所述频度确定模块,包括:第三上调单元和第三下调单元;
    所述第三上调单元,用于当所述数据包时间密度小于第一密度阈值且所述数据包发送成功率大于第一成功率阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;
    所述第三下调单元,用于当所述数据包时间密度大于第二密度阈值和/或所述数据包发送成功率小于第二成功率阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
    其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一密度阈值≤所述第二密度阈值,所述第一成功率阈值≥所述第二成功率阈值。
  17. 根据权利要求13所述的装置,其特征在于,所述频度确定模块,包括:频度获取单元和频度确定单元;
    所述频度获取单元,用于根据每个其它终端发送的广播数据包中携带的频度参数确定每个其它终端发送广播数据包的发送频度;
    所述频度确定单元,用于根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度;
    其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度。
  18. 根据权利要求17所述的装置,其特征在于,所述信道环境参数只包括所述数据包时间密度;
    所述频度确定单元,包括:第一上调子单元和第一下调子单元;
    所述第一上调子单元,用于当所述数据包时间密度小于第三密度阈值且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;
    所述第一下调子单元,用于当所述数据包时间密度大于第四密度阈值且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
    其中,所述第三密度阈值≤所述第四密度阈值。
  19. 根据权利要求17所述的装置,其特征在于,所述信道环境参数只包括所述数据包发送成功率;
    所述频度确定单元,包括:第二上调子单元和第二下调子单元;
    所述第二上调子单元,用于当所述数据包发送成功率大于第三成功率阈值且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;
    所述第二下调子单元,用于当所述数据包发送成功率小于第四成功率阈值且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
    其中,所述第三成功率阈值≥所述第四成功率阈值。
  20. 根据权利要求17所述的装置,其特征在于,所述信道环境参数包括所述数据包时间密度和所述数据包发送成功率;
    所述频度确定单元,包括:第三上调子单元和第三下调子单元;
    所述第三上调子单元,用于当所述数据包时间密度小于第三密度阈值和所述数据包发送成功率大于第三成功率阈值、且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;
    所述第三下调子单元,用于当所述数据包时间密度大于第四密度阈值和/或所述数据包发送成功率小于第四成功率阈值、且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
    其中,所述第三密度阈值≤所述第四密度阈值,所述第三成功率阈值≥所述第四成功率阈值。
  21. 根据权利要求13、14、16、17、18或20任一所述的装置,其特征在 于,所述信道环境参数包括所述数据包时间密度;
    所述参数确定模块,包括:密度计算单元;
    所述密度计算单元,用于按照如下公式计算所述数据包时间密度ρ:
    Figure PCTCN2014088453-appb-100003
    其中,Nr表示所述终端在所述至少一个广播接收段内的数据包接收次数,Tr表示所述至少一个广播接收段的接收时长之和。
  22. 根据权利要求13、15、16、17、19或20任一所述的装置,其特征在于,所述信道环境参数包括所述数据包发送成功率;
    所述参数确定模块,包括:次数确定单元和成功率计算单元;
    所述次数确定单元,用于根据每个其它终端发送的广播数据包确定每个其它终端在所述至少一个广播接收段内的数据包理论发送次数;
    所述成功率计算单元,用于按照如下公式计算所述数据包发送成功率S:
    Figure PCTCN2014088453-appb-100004
    其中,Nr表示所述终端在所述至少一个广播接收段内的数据包接收次数;P表示所述终端在所述至少一个广播接收段内接收到来自P个其它终端的广播数据包,P≥1且P为整数,j∈[1,P]且j为整数;Nt表示所述P个其它终端在所述至少一个广播接收段内的数据包理论发送次数之和。
  23. 根据权利要求13至22任一所述的装置,其特征在于,所述装置还包括:
    时长确定模块,用于随机确定所述至少一个广播接收段之后的广播发送段的发送时长;
    数据包发送模块,用于在所述至少一个广播接收段结束后,按照所述第一发送频度和所述发送时长发送广播数据包。
  24. 根据权利要求13至23任一所述的装置,其特征在于,所述装置还包括:
    时长配置模块,用于配置每个广播接收段的接收时长大于预先设定的最小发送频度的倒数,且所述终端的广播接收段的接收时长与所述其它终端的广播 接收段的接收时长相等。
  25. 一种终端,所述终端被配置为在广播接收段接收广播数据包在广播发送段发送广播数据包,其特征在于,所述终端包括:总线,以及通过所述总线通信的处理器、存储器、收发器,其中,所述存储器用于存储一个或者一个以上的指令,所述指令被配置成由所述处理器执行;
    所述收发器,用于在至少一个广播接收段内接收其它终端发送的广播数据包;
    所述处理器,用于根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,所述信道环境参数包括数据包时间密度和/或数据包发送成功率;
    所述处理器,还用于根据所述信道环境参数确定第一发送频度,所述第一发送频度是所述终端在所述至少一个广播接收段之后的广播发送段内发送广播数据包的发送频度。
  26. 根据权利要求25所述的终端,其特征在于,所述信道环境参数只包括所述数据包时间密度;
    所述根据所述信道环境参数确定第一发送频度,包括:
    当所述数据包时间密度小于第一密度阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;或,
    当所述数据包时间密度大于第二密度阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
    其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一密度阈值≤所述第二密度阈值。
  27. 根据权利要求25所述的终端,其特征在于,所述信道环境参数只包括所述数据包发送成功率;
    所述根据所述信道环境参数确定第一发送频度,包括:
    当所述数据包发送成功率大于第一成功率阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;或,
    当所述数据包发送成功率小于第二成功率阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
    其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一成功率阈值≥所述第二成功率阈值。
  28. 根据权利要求25所述的终端,其特征在于,所述信道环境参数包括所述数据包时间密度和所述数据包发送成功率,
    所述根据所述信道环境参数确定第一发送频度,包括:
    当所述数据包时间密度小于第一密度阈值且所述数据包发送成功率大于第一成功率阈值时,采用比第二发送频度高的发送频度作为所述第一发送频度;或,
    当所述数据包时间密度大于第二密度阈值和/或所述数据包发送成功率小于第二成功率阈值时,采用比第二发送频度低的发送频度作为所述第一发送频度;
    其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度,所述第一密度阈值≤所述第二密度阈值,所述第一成功率阈值≥所述第二成功率阈值。
  29. 根据权利要求25所述的终端,其特征在于,所述根据所述信道环境参数确定第一发送频度,包括:
    根据每个其它终端发送的广播数据包中携带的频度参数确定每个其它终端发送广播数据包的发送频度;
    根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度;
    其中,所述第二发送频度是所述终端在所述至少一个广播接收段之前的广播发送段内发送广播数据包的发送频度。
  30. 根据权利要求29所述的终端,其特征在于,所述信道环境参数只包括所述数据包时间密度;
    所述根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度,包括:
    当所述数据包时间密度小于第三密度阈值且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;或,
    当所述数据包时间密度大于第四密度阈值且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
    其中,所述第三密度阈值≤所述第四密度阈值。
  31. 根据权利要求29所述的终端,其特征在于,所述信道环境参数只包括所述数据包发送成功率;
    所述根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度,包括:
    当所述数据包发送成功率大于第三成功率阈值且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;或,
    当所述数据包发送成功率小于第四成功率阈值且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
    其中,所述第三成功率阈值≥所述第四成功率阈值。
  32. 根据权利要求29所述的终端,其特征在于,所述信道环境参数包括所述数据包时间密度和所述数据包发送成功率;
    所述根据所述信道环境参数、第二发送频度以及每个其它终端的发送频度确定所述第一发送频度,包括:
    当所述数据包时间密度小于第三密度阈值和所述数据包发送成功率大于第三成功率阈值、且所述第二发送频度不高于任意一个其它终端的发送频度时,采用比所述第二发送频度高的发送频度作为所述第一发送频度;或,
    当所述数据包时间密度大于第四密度阈值和/或所述数据包发送成功率小于第四成功率阈值、且所述第二发送频度不低于任意一个其它终端的发送频度时,采用比所述第二发送频度低的发送频度作为所述第一发送频度;
    其中,所述第三密度阈值≤所述第四密度阈值,所述第三成功率阈值≥所 述第四成功率阈值。
  33. 根据权利要求25、26、28、29、30或32任一所述的终端,其特征在于,所述信道环境参数包括所述数据包时间密度;
    所述根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,包括:
    按照如下公式计算所述数据包时间密度ρ:
    Figure PCTCN2014088453-appb-100005
    其中,Nr表示所述终端在所述至少一个广播接收段内的数据包接收次数,Tr表示所述至少一个广播接收段的接收时长之和。
  34. 根据权利要求25、27、28、29、31或32任一所述的终端,其特征在于,所述信道环境参数包括所述数据包发送成功率;
    所述根据所述其它终端发送的广播数据包确定所述终端所处区域的信道环境参数,包括:
    根据每个其它终端发送的广播数据包确定每个其它终端在所述至少一个广播接收段内的数据包理论发送次数;
    按照如下公式计算所述数据包发送成功率S:
    Figure PCTCN2014088453-appb-100006
    其中,Nr表示所述终端在所述至少一个广播接收段内的数据包接收次数;P表示所述终端在所述至少一个广播接收段内接收到来自P个其它终端的广播数据包,P≥1且P为整数,j∈[1,P]且j为整数;Nt表示所述P个其它终端在所述至少一个广播接收段内的数据包理论发送次数之和。
  35. 根据权利要求25至34任一所述的终端,其特征在于,
    所述处理器,还用于随机确定所述至少一个广播接收段之后的广播发送段的发送时长;
    所述收发器,还用于在所述至少一个广播接收段结束后,按照所述第一发送频度和所述发送时长发送广播数据包。
  36. 根据权利要求25至35任一所述的终端,其特征在于,
    所述处理器,还用于配置每个广播接收段的接收时长大于预先设定的最小发送频度的倒数,且所述终端的广播接收段的接收时长与所述其它终端的广播接收段的接收时长相等。
PCT/CN2014/088453 2014-10-13 2014-10-13 控制广播数据包的发送频度的方法、装置和终端 WO2016058117A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
KR1020177011788A KR101958898B1 (ko) 2014-10-13 2014-10-13 브로드캐스트 패킷 송신 주파수를 제어하기 위한 방법과 장치, 및 단말기
EP14903881.2A EP3190822B1 (en) 2014-10-13 2014-10-13 Method, apparatus, and terminal for controlling transmission frequency of broadcast data packet
US15/519,062 US10123296B2 (en) 2014-10-13 2014-10-13 Method and apparatus for controlling broadcast packet sending frequency, and terminal
PCT/CN2014/088453 WO2016058117A1 (zh) 2014-10-13 2014-10-13 控制广播数据包的发送频度的方法、装置和终端
CN201480079289.9A CN106416358B (zh) 2014-10-13 2014-10-13 控制广播数据包的发送频度的方法、装置和终端
JP2017518108A JP6415009B2 (ja) 2014-10-13 2014-10-13 ブロードキャストパケットの送信頻度を制御するための方法及び装置、並びに端末

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/088453 WO2016058117A1 (zh) 2014-10-13 2014-10-13 控制广播数据包的发送频度的方法、装置和终端

Publications (1)

Publication Number Publication Date
WO2016058117A1 true WO2016058117A1 (zh) 2016-04-21

Family

ID=55745936

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/088453 WO2016058117A1 (zh) 2014-10-13 2014-10-13 控制广播数据包的发送频度的方法、装置和终端

Country Status (6)

Country Link
US (1) US10123296B2 (zh)
EP (1) EP3190822B1 (zh)
JP (1) JP6415009B2 (zh)
KR (1) KR101958898B1 (zh)
CN (1) CN106416358B (zh)
WO (1) WO2016058117A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018157269A (ja) * 2017-03-15 2018-10-04 沖電気工業株式会社 無線通信装置、無線通信プログラム、及び無線通信方法

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10536861B2 (en) * 2013-04-19 2020-01-14 Linear Technology Corporation Monitoring of channel stability and interference in wireless networks
EP3047686B1 (en) * 2013-09-18 2019-07-10 Telefonaktiebolaget LM Ericsson (publ) Carrier frequency handling in clusters
CN105808469B (zh) * 2016-03-21 2018-12-25 北京小米移动软件有限公司 数据处理方法、装置、终端及智能设备
TWI722590B (zh) * 2019-10-02 2021-03-21 瑞昱半導體股份有限公司 目標時脈調整方法及其無線裝置
CN112738731A (zh) * 2019-10-14 2021-04-30 瑞昱半导体股份有限公司 目标时钟调整方法及其无线装置
CN111025068B (zh) * 2019-12-24 2022-05-20 宁波三星医疗电气股份有限公司 电表负荷曲线数据抄读方法、装置和电子设备
KR20210120391A (ko) * 2020-03-26 2021-10-07 삼성전자주식회사 Mbs 설정의 시작 시점을 위한 방법 및 장치

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761242A (zh) * 2004-10-15 2006-04-19 株式会社Ntt都科摩 移动终端、控制装置及移动通信方法
CN1812387A (zh) * 2005-01-28 2006-08-02 北京大学 使用了前后缀信号的正交频分复用通信方法
CN1867108A (zh) * 2005-09-08 2006-11-22 华为技术有限公司 一种poc业务群组成员状态通知的方法及装置
CN102067682A (zh) * 2008-06-16 2011-05-18 日本电气株式会社 基站控制模块、无线基站、基站控制设备和基站控制方法
CN103581860A (zh) * 2012-07-23 2014-02-12 中兴通讯股份有限公司 用户设备辅助信息拒绝方法、装置和系统

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070153719A1 (en) * 2005-12-29 2007-07-05 Telefonaktiebolaget Lm Ericsson (Publ) Scheduling of broadcast message transmission to increase paging capacity
US8463270B2 (en) * 2006-05-05 2013-06-11 Motorola Mobility Llc Method and apparatus for providing adjusted handoff parameters based on receiver classification
CN100507600C (zh) 2006-12-01 2009-07-01 清华大学 一种跟踪多移动目标的室内精确定位方法
CN101483886B (zh) * 2008-01-10 2011-12-07 中兴通讯股份有限公司 多跳中继网络中的中继站广播消息传输方法
JP2009212954A (ja) * 2008-03-05 2009-09-17 Campus Create Co Ltd 無線ネットワークシステム
EP2271008A1 (en) * 2009-06-30 2011-01-05 Nxp B.V. Automatic configuration in a broadcast application apparatus
US8233389B2 (en) * 2009-08-19 2012-07-31 Mitsubishi Electric Research Laboratories, Inc. Method and protocol for congestion control in a vehicular network
KR101715755B1 (ko) * 2009-08-24 2017-03-14 삼성전자주식회사 이동통신 시스템에서 방송 제어 채널 송수신 방법 및 장치
US9331800B2 (en) * 2009-11-24 2016-05-03 Qualcomm Incorporated Virtual home channel for mobile broadcast networks
JPWO2011145345A1 (ja) 2010-05-19 2013-07-22 三洋電機株式会社 基地局装置および端末装置
US8862140B2 (en) * 2011-06-20 2014-10-14 Qualcomm Incorporated Methods and apparatus for deployment and control of small cells
CN103067432B (zh) * 2011-10-21 2016-03-02 中国移动通信集团设计院有限公司 数据的发送方法、发送端以及通讯系统
US20140133656A1 (en) 2012-02-22 2014-05-15 Qualcomm Incorporated Preserving Security by Synchronizing a Nonce or Counter Between Systems
JP6001941B2 (ja) 2012-07-11 2016-10-05 東京応化工業株式会社 積層体形成方法および積層体形成システム
US9628952B2 (en) * 2013-02-22 2017-04-18 Apple Inc. Methods for determining relative locations of multiple nodes in a wireless network
JP6272060B2 (ja) * 2014-01-31 2018-01-31 三菱電機株式会社 ノード装置
US10542521B2 (en) * 2015-07-20 2020-01-21 Qualcomm Incorporated Signaling support for multi-layer MBSFN

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761242A (zh) * 2004-10-15 2006-04-19 株式会社Ntt都科摩 移动终端、控制装置及移动通信方法
CN1812387A (zh) * 2005-01-28 2006-08-02 北京大学 使用了前后缀信号的正交频分复用通信方法
CN1867108A (zh) * 2005-09-08 2006-11-22 华为技术有限公司 一种poc业务群组成员状态通知的方法及装置
CN102067682A (zh) * 2008-06-16 2011-05-18 日本电气株式会社 基站控制模块、无线基站、基站控制设备和基站控制方法
CN103581860A (zh) * 2012-07-23 2014-02-12 中兴通讯股份有限公司 用户设备辅助信息拒绝方法、装置和系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3190822A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018157269A (ja) * 2017-03-15 2018-10-04 沖電気工業株式会社 無線通信装置、無線通信プログラム、及び無線通信方法

Also Published As

Publication number Publication date
KR101958898B1 (ko) 2019-03-15
CN106416358A (zh) 2017-02-15
KR20170063902A (ko) 2017-06-08
EP3190822A1 (en) 2017-07-12
US20170238274A1 (en) 2017-08-17
EP3190822A4 (en) 2017-10-25
US10123296B2 (en) 2018-11-06
JP2017535160A (ja) 2017-11-24
CN106416358B (zh) 2019-10-22
JP6415009B2 (ja) 2018-10-31
EP3190822B1 (en) 2019-04-10

Similar Documents

Publication Publication Date Title
WO2016058117A1 (zh) 控制广播数据包的发送频度的方法、装置和终端
US11057841B2 (en) Method and apparatus for controlling ue transmission power in wireless communication system
EP3047615B1 (en) Systems and methods for full duplex communication over a wireless network
US10516552B2 (en) Electronic device and method for setting communication protocol
EP3080925B1 (en) Method and network node for broadcasting
US20230141919A1 (en) Electronic device for performing ranging through uwb, and operation method of electronic device
KR101833097B1 (ko) 무선 접속 시스템에서 위치를 측정하기 위한 벙법 및 장치
EP3768004A1 (en) Method and apparatus for transmitting and receiving information
CN105323832A (zh) Wban的信息交互方法、装置及系统
KR20230078778A (ko) 전력 제어 방법, 장치 및 단말 기기
US11902884B2 (en) System and method for minimizing management frame overhead in wireless networks
US20190090119A1 (en) Systems, apparatus, and methods for variable advertising
US20230171758A1 (en) Power Allocation Method and Device
US20240151815A1 (en) Positioning of passive internet of things (iot) devices
US20220369388A1 (en) Method and device for random access in wireless communication system
CN109565655A (zh) 一种逻辑信道的资源确定方法及装置、计算机存储介质
TW201911910A (zh) 無線通訊方法及系統
CN114765752A (zh) 一种信息的确定方法和电子设备
CN104735612B (zh) 用于目标基站与用户设备之间进行通信的方法和装置
US20240205677A1 (en) Authentication relay procedure for passive iot
US20240204905A1 (en) Nr scheme for managing eavesdroppers of passive radios
WO2024113173A1 (zh) 定位方法及设备
WO2024016215A1 (zh) 通信方法、装置、设备、存储介质、芯片、产品及程序
EP3254505A1 (en) Traffic indication map association mechanism for low-energy devices
KR20180052001A (ko) Tcp 윈도우 크기 제어 방법 및 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14903881

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017518108

Country of ref document: JP

Kind code of ref document: A

REEP Request for entry into the european phase

Ref document number: 2014903881

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014903881

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 15519062

Country of ref document: US

ENP Entry into the national phase

Ref document number: 20177011788

Country of ref document: KR

Kind code of ref document: A