WO2018196504A1 - 物联网数据传输方法、物联网终端及计算机可读存储介质 - Google Patents

物联网数据传输方法、物联网终端及计算机可读存储介质 Download PDF

Info

Publication number
WO2018196504A1
WO2018196504A1 PCT/CN2018/079525 CN2018079525W WO2018196504A1 WO 2018196504 A1 WO2018196504 A1 WO 2018196504A1 CN 2018079525 W CN2018079525 W CN 2018079525W WO 2018196504 A1 WO2018196504 A1 WO 2018196504A1
Authority
WO
WIPO (PCT)
Prior art keywords
internet
data
average
transmission
batch
Prior art date
Application number
PCT/CN2018/079525
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 中兴通讯股份有限公司
Publication of WO2018196504A1 publication Critical patent/WO2018196504A1/zh

Links

Images

Classifications

    • 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/0284Traffic management, e.g. flow control or congestion control detecting congestion or overload during communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/11Identifying congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • 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/0289Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of Internet of Things technologies, and in particular, to an Internet of Things data transmission method, an Internet of Things terminal, and a computer readable storage medium.
  • IoT technology has entered a stage of rapid development.
  • the rate of allocation to each device is very low.
  • the NB-IoT (Narrow band Internet of Things) design allows devices to operate with low signal strength.
  • the networking rate will be sacrificed. Therefore, each time data interaction (eg, base station access, bandwidth allocation, and transmission and confirmation of user data) needs to be repeated multiple times when the signal strength is low.
  • congestion caused by repeated data transmission by each terminal will have a great impact on user services.
  • 3GPP introduced PSM (Power Saving Mode) function for NB-IoT in Rel-12.
  • PSM Power Saving Mode
  • the terminal negotiates the timing of the PSM timer with the MME (Mobility Management Entity) in the process of attaching or tracking the area update (TAU).
  • MME Mobility Management Entity
  • the timing of the PSM timer is usually fixed after setting.
  • IoT terminals for example, IoT terminals of the meter reading service
  • these terminals may perform data interaction with the network at the same time period, resulting in network congestion.
  • the invention provides an Internet of Things data transmission method, an Internet of Things terminal and a computer readable storage medium, aiming at solving the network congestion problem and improving the transmission efficiency of the Internet of Things terminal.
  • the present invention provides an Internet of Things data transmission method, including: after a power saving mode timer expires, acquiring transmission information of a data packet in a data transmission window; and determining, according to the acquired transmission information, the network in the data. Whether congestion occurs in the transmission window; and when the network is congested within the data transmission window, the timing duration of the power saving mode timer is adjusted.
  • the present invention also provides an Internet of Things terminal comprising: a memory configured to store an Internet of Things data transmission program; and a processor configured to execute the Internet of Things data transmission program to implement the following steps: After the power saving mode timer expires, acquiring transmission information of the data packet in the data transmission window; determining, according to the obtained transmission information, whether the network is congested in the data transmission window; and when the network is congested in the data transmission window And adjusting the timing duration of the power saving mode timer.
  • the present invention further provides a computer readable storage medium having an Internet of Things data transmission program stored thereon, the IoT data transmission program being executed by a processor to implement the following steps: After the power saving mode timer expires, acquiring transmission information of the data packet in the data transmission window; determining, according to the obtained transmission information, whether the network is congested in the data transmission window; and when the network is congested in the data transmission window And adjusting the timing duration of the power saving mode timer.
  • FIG. 1 is a schematic structural diagram of an Internet of Things terminal according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of an Internet of Things data transmission method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of steps of acquiring data packet transmission information of an Internet of Things data transmission method according to an embodiment of the present invention
  • FIG. 4 is a flow chart showing the steps of a control packet transmitting operation of the Internet of Things data transmission method according to an embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of an Internet of Things terminal according to an embodiment of the present invention.
  • the Internet of Things terminal can include a processor 1001 (eg, a CPU), a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
  • Communication bus 1002 is configured to enable connection communication between these components.
  • the user interface 1003 can include a display and an input unit such as a keyboard.
  • the user interface 1003 may also include a standard wired interface and a wireless interface, and the like.
  • network interface 1004 may include a standard wired interface and a wireless interface (such as a Wi-Fi interface).
  • the memory 1005 may be a high speed RAM memory or a non-volatile memory such as a magnetic disk memory.
  • the memory 1005 may be independent of the storage device of the processor 1001 described above.
  • FIG. 1 is schematic and that the components of the Internet of Things terminal can be added, reduced or combined as desired.
  • a memory 1005 as a computer storage medium can store an operating system, a network communication module, a user interface module, and an Internet of Things data transmission program.
  • the network interface 1004 is mainly configured to connect to a background server for data communication with a background server;
  • the user interface 1003 is mainly configured to connect to a client (user end) for data communication with the client.
  • the processor 1001 can be configured to call the Internet of Things data transmission program stored in the memory 1005 and perform the following operations:
  • the timing of the power save mode timer is adjusted.
  • the processor 1001 may be configured to invoke an Internet of Things data transmission program stored in the memory 1005, and also perform the following operations:
  • each batch of data packets includes a preset number of consecutively transmitted data packets.
  • the processor 1001 may be configured to invoke an Internet of Things data transmission program stored in the memory 1005, and also perform the following operations:
  • the average transmission rate of the previous batch of packets relative to the selected batch packet is taken as the second average transmission rate
  • the preset flag value whose initial value is zero is incremented by one, and when the first average transmission rate is less than the second average transmission rate, the preset flag value is decremented by one;
  • the preset flag value is less than zero, wherein when the preset flag value is less than zero, it is determined that the network is congested within the data transmission window.
  • the processor 1001 may be configured to invoke an Internet of Things data transmission program stored in the memory 1005, and also perform the following operations:
  • the average transmission rate of any batch of data packets is determined to be less than the average transmission rate of the previous batch of data packets, wherein if present, it is determined that the network is congested within the data transmission window.
  • the processor 1001 may be configured to invoke an Internet of Things data transfer program stored in the memory 1005, and also perform the following operations:
  • the processor 1001 may be configured to invoke an Internet of Things data transmission program stored in the memory 1005, and also perform the following operations:
  • the transmission power of the data packet is adjusted according to the received power adjustment command.
  • the processor 1001 may be configured to invoke an Internet of Things data transmission program stored in the memory 1005, and also perform the following operations:
  • an attach request is sent to the network side to establish a transmission channel with the network side;
  • the processor 1001 may be configured to invoke an Internet of Things data transmission program stored in the memory 1005, and also perform the following operations:
  • the power save mode timer is reset and timing is started.
  • the present invention also provides an Internet of Things data transmission method applied to an Internet of Things terminal.
  • the method for transmitting an Internet of Things data includes:
  • Step S10 after the power saving mode timer expires, acquiring transmission information of the data packet in the data transmission window;
  • Step S20 determining, according to the obtained transmission information, whether the network is congested in the data transmission window;
  • Step S30 adjusting the timing duration of the power save mode timer when the network is congested in the data transmission window.
  • the power saving mode of the Internet of Things terminal can be regarded as the deep sleep state of the Internet of Things terminal.
  • the IoT terminal In the power-saving mode, the IoT terminal is still registered on the network, but the signaling is unreachable, so that the IoT terminal stays in a deep sleep state for a longer period of time to save power.
  • the Internet of Things data transmission method can be implemented by the Internet of Things terminal shown in FIG. 1.
  • the processor 1001 detects whether the power saving mode timer (not shown in FIG. 1) times out. Specifically, the processor 1001 detects whether a timer interrupt generated by the power save mode timer after the timeout is received, where the processor 1001 detects the timer interrupt generated after the power save mode timer expires. Make sure the power save mode timer expires. For example, if the power-saving mode timer has a timing of 5 minutes, when the power-saving mode timer reaches 5 minutes, the timer interrupt is triggered and detected by the processor 1001.
  • the IoT terminal After the power save mode timer expires, the IoT terminal starts to send data to the network side.
  • the processor 1001 may acquire transmission information of the data packet in the data transmission window.
  • the timing at which the IoT terminal enters and exits the power saving mode can be dynamically set to implement scheduled scheduling of the Internet of Things terminal. Specifically, after the power-saving mode timer of the Internet of Things terminal expires, the data packet transmission information in the data transmission window after the power-saving mode expires is acquired, and it is determined whether the network occurs in the data transmission window according to the acquired transmission information. congestion. If congestion occurs, the timing of the power-saving mode timer is adjusted to avoid network congestion and improve the transmission efficiency of the Internet of Things terminal.
  • step S10 includes:
  • each batch of data packets includes a preset number of consecutively transmitted data packets.
  • the processor 1001 can calculate the average transmission rate of the data packet.
  • the data packets transmitted within the data transmission window may be divided into a plurality of batches, wherein each batch of data packets includes a preset number of consecutive transmission data packets. Calculate the average send rate for each batch of packets.
  • FIG. 3 is a flow chart of the steps of the processor 1001 acquiring data packet transmission information. As shown in FIG. 3, the steps of acquiring data packet transmission information include:
  • the processor 1001 records the length L(i) of the data packet to be transmitted, and records the time at which the data packet starts to be transmitted;
  • the processor 1001 records the time when the data packet is successfully transmitted, and subtracts the time when the data packet starts transmitting, and calculates the time when the data packet is sent from the start to the transmission. Time-consuming T(i);
  • Ni Li ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇
  • step S20 includes:
  • the average transmission rate of the previous batch of packets relative to the selected batch packet is taken as the second average transmission rate
  • the preset flag value whose initial value is zero is incremented by one, and when the first average transmission rate is less than the second average transmission rate, the preset flag value is decremented by one;
  • the preset flag value is less than zero, wherein when the preset flag value is less than zero, it is determined that the network is congested within the data transmission window.
  • the processor 1001 may determine whether the network is congested within the data transmission window. In one example, processor 1001 selects an average transmission rate for a batch of packets. In another example, the processor 1001 can sequentially select the average transmission rate of each batch of data packets in the order of each batch of data packets.
  • the processor 1001 After selecting the average transmission rate for a batch of packets, the processor 1001 compares the selected first average transmission rate with the second average transmission rate of the previous batch of packets. When the first average transmission rate is greater than the second average transmission rate, the processor 1001 increments the preset flag value whose initial value is zero; and when the first average transmission rate is less than the second average transmission rate, the preset flag value is set. minus one. For example, assuming that the preset flag value is currently 0, the first average transmission rate selected by the processor 1001 is 55 kbps, and the second average transmission rate of the previous batch is 60 kbps. Obviously, 55kbs ⁇ 60kbs, the default flag value is reduced to "-1".
  • the first average transmission rate selected by the processor 1001 is 55 kbps
  • the second average transmission rate of the previous batch is 50 kbps.
  • 55kbs>50kbs the default flag value is increased to "1".
  • the processor 1001 continues to select the average transmission rate of a batch of packets until the average transmission rate of each batch of packets is selected.
  • the processor 1001 determines the current value of the preset flag value. Specifically, the processor 1001 determines whether the preset flag value is less than zero. When the preset flag value is less than zero, it indicates that the average transmission rate of the plurality of batch data packets is decreased in the data transmission window, and it may be determined that the network is congested in the data transmission window.
  • the processor 1001 adjusts the timing duration of the power saving mode. Adjustments include increasing or decreasing the timing of the power save mode timer to avoid network congestion.
  • processor 1001 can adjust the timing duration of the power save mode timer. For example, the processor 1001 first increases the timing duration of the power save mode timer, and when the power save mode timer needs to be adjusted, that is, when the network again experiences congestion in the data transmission window class, the power save mode timer is reduced. Timing time.
  • the step value for increasing the timing duration may be the same as or different from the step value for decreasing the timing duration.
  • the processor 1001 may further increase the timing duration of the power save mode timer, and reset the timer of the power save mode timer to the initial duration after increasing the timing duration of the power save mode timer to a preset duration.
  • the initial duration of the power-saving mode timer is 5 minutes
  • the preset duration is 10 minutes
  • the duration adjustment step is 30 seconds
  • the processor 1001 adjusts the timing duration of the power save mode timer to 5 minutes and 30 seconds; when the power save mode timer has a timing of 10 minutes and the network again experiences congestion in the data transmission window, the processor 1001 will save the power mode.
  • the timer's timing is reset from 5 minutes to 5 minutes.
  • the processor 1001 can also continuously increase the timing duration of the power save mode timer. For example, if the initial duration of the power-saving mode timer is 5 minutes and the step size of the duration adjustment is 30 seconds, the processor will save the power-saving mode timer each time the network is congested in the data transmission window. The timing is increased by 30 seconds.
  • the processor 1001 may further increase the timing duration of the power save mode timer, and after increasing the timing duration of the power save mode timer to a preset duration, continuously reduce the timing duration of the power save mode timer until the decrease As small as the initial duration of the power save mode timer, increase its timing duration again. Repeat the above process.
  • the processor 1001 adjusts the timing duration of the power save mode timer to 5 minutes and 30 seconds; when the timing duration of the power save mode timer is adjusted to 10 minutes and the network again experiences congestion in the data transmission window, the processor 1001 will The timing of the electrical mode timer is adjusted from 10 minutes to 9 minutes and 30 seconds until the timing is reduced to 5 minutes and then increased again.
  • step S20 includes:
  • the average transmission rate of any batch of data packets is determined to be less than the average transmission rate of the previous batch of data packets, wherein if present, it is determined that the network is congested within the data transmission window.
  • the processor 1001 specifically acquires the cumulative number of retransmissions of the data packet when acquiring the transmission information of the data packet;
  • the processor 1001 determines whether the network is congested in the data transmission window, it can be determined whether the number of accumulated retransmissions of the data packet is greater than or equal to the preset number of times.
  • the specific value can be set by a person skilled in the art according to actual needs, and the present invention does not Make specific restrictions). If the accumulated number of retransmissions of the data packet is greater than or equal to the preset number of times, it is determined that the network is congested in the data transmission window, and the timing duration of the power saving mode timer needs to be adjusted.
  • the processor 1001 specifically acquires a transmission failure rate of the data packet when acquiring the transmission information of the data packet;
  • the processor 1001 determines whether the network packet transmission failure rate is greater than or equal to the preset failure rate when the network is congested in the data transmission window.
  • the specific value may be set by a person skilled in the art according to actual needs. No specific restrictions). If the packet transmission failure rate is greater than or equal to the preset failure rate, it is determined that the network is congested in the data transmission window, and the timing duration of the power saving mode timer needs to be adjusted.
  • the processor 1001 may divide the data packet sent in the data transmission window into multiple batches, where each batch data packet includes a preset number. Continuously sent packets. Calculate the average elapsed time for each batch of packets. In an exemplary embodiment, the step of calculating the average time consuming of each batch of data packets includes:
  • the processor 1001 records the length L(i) of the data packet to be transmitted, and records the time at which the data packet starts to be transmitted;
  • the processor 1001 records the time when the data packet is successfully transmitted, and subtracts the time when the data packet starts transmitting, and calculates the time when the data packet is sent from the start to the transmission. Time-consuming T(i);
  • the processor 1001 can determine whether the network is congested within the data transmission window. In one example, processor 1001 selects the average time consuming time for a unit length packet of a batch of packets to be transmitted. In another example, the processor 1001 can sequentially select the average elapsed time of each batch of data packets by referring to the order of each batch of data packets.
  • the processor 1001 After selecting the average time of a batch of packets, the processor 1001 compares the selected first average time to the second average time of the previous batch. When the first average time consumption is greater than the second average time consumption, the processor 1001 decrements the preset flag value whose initial value is zero by one; and when the first average time consumption is less than the second average time consumption, the preset flag value is incremented by one. . For example, assuming that the preset flag value is currently 0, the first average time taken by the processor 1001 is 55 s/Mb, and the second average time of the previous batch is s/Mb. Obviously, 55s/Mb ⁇ 60s/Mb, the default flag value is reduced to "-1".
  • the preset flag value is currently 0
  • the first average time taken by the processor 1001 is 55 s/Mb
  • the second average time of the previous batch is 50 s/Mb.
  • 55s/Mb>50s/Mb the preset flag value is increased to "1".
  • the processor 1001 continues to select the average time of a batch of packets until the average time of each batch of packets is selected.
  • the processor 1001 determines the current value of the preset flag value. Specifically, the processor 1001 determines whether the preset flag value is less than zero. When the preset flag value is less than zero, it indicates that the average time consumption of a plurality of batch data packets is increasing in the data transmission window, and it is determined that the network is congested in the data transmission window.
  • the method for transmitting the Internet of Things data proposed by the present invention realizes scheduled scheduling of the Internet of Things terminal by dynamically setting the timing at which the IoT terminal enters and exits the power saving mode, specifically after the power saving mode timer of the Internet of Things terminal expires, Acquiring the transmission information of the data packet in the data transmission window after the power saving mode expires, and determining whether the network is congested in the data transmission window according to the acquisition result, and if so, adjusting the timing duration of the power saving mode timer, In order to avoid network congestion, the purpose of improving the transmission efficiency of the Internet of Things terminals is achieved.
  • the method when the first average transmission rate is greater than the second average transmission rate, the method further performs the method of decrementing the initial flag value of zero by one. The following steps:
  • the transmission power is higher and the transmission efficiency is higher under the condition that other conditions are consistent. Therefore, according to the embodiment of the present invention, the transmission power of the Internet of Things terminal can be improved when the average transmission rate reflects the decrease in transmission efficiency, thereby increasing the transmission efficiency.
  • the processor 1001 compares the selected first average transmission rate with the second average transmission rate of the previous batch of data packets. If the first average transmission rate is less than the second average transmission rate, the transmission efficiency is decreasing. At this time, it is necessary to increase the transmission power of the data packet to increase the transmission efficiency.
  • the processor 1001 while decrementing the preset flag value by one, the processor 1001 increases the transmit power of the data packet according to the preset step value.
  • the present invention does not specifically limit the value of the preset step value, and can be set by a person skilled in the art according to actual needs.
  • the method for transmitting the Internet of Things data further includes:
  • the transmission power of the data packet is adjusted according to the received power adjustment command.
  • the network side in order to prevent the transmission power of the Internet of Things terminal from increasing without limitation, the network side cooperates to adjust the transmission power of the Internet of Things terminal.
  • the network side obtains a failure rate of the IoT terminal to send the data packet, and compares the obtained failure rate with the preset failure rate. When the obtained failure rate is greater than the preset failure rate, the network side generates a power adjustment instruction indicating that the Internet of Things terminal increases the transmission power; and when the acquired failure rate is less than the preset failure rate, the network side generates the indication that the Internet of Things terminal is decreased. Power adjustment command for transmit power.
  • the network side After generating the power adjustment command, the network side sends the generated power adjustment command to the Internet of Things terminal.
  • the IoT terminal increases or decreases the transmission power by the processor 1001 according to the indication of the power adjustment instruction.
  • processor 1001 compares the selected first average time consumption with the second average time consumption of the previous batch of data packets after selecting the average time spent acquiring the batch data packets. If the first average time consumption is greater than the second average time consumption, the transmission efficiency is reduced. At this time, it is necessary to increase the transmission power of the data packet to increase the transmission efficiency.
  • the processor 1001 while decrementing the preset flag value by one, the processor 1001 increases the transmit power of the data packet according to the preset step value.
  • the present invention does not specifically limit the value of the preset step value, and can be set by a person skilled in the art according to actual needs.
  • the method further includes:
  • an attach request is sent to the network side to establish a transmission channel with the network side;
  • the power save mode timer is reset and timing is started.
  • the steps of controlling the data packet sending operation include:
  • the processor 1001 determines, according to the obtained transmission information, whether the network is congested in the data transmission window, wherein if the congestion occurs, adjusting the timing duration of the power saving mode timer;
  • the network side receives the attachment request of the terminal, and compares the number of IoT terminals that have accessed the network at this time and the upper limit of the number of IoT terminals that the network is allowed to access;
  • the network side confirms that the current network capacity can meet the requirements, and responds to the attachment request of the IoT terminal to establish an Internet of Things.
  • the terminal establishes a transmission channel and returns an attachment response indicating that packet transmission is started;
  • the network side confirms that the current network is in a congested state, and rejects the attachment request of the IoT terminal, that is, Is to refuse to establish a transmission channel with the Internet of Things terminal;
  • the processor 1001 detects whether the network side returns an attach response, and when receiving the attach response returned after the network side establishes the transmission channel, starts the data packet sending operation by using an application that needs to send the data packet; If the value of the preset time period is not specifically limited by the present invention (the present invention may be set according to actual needs), the attachment response returned by the network side is not received, and the processor 1001 determines the current network. Congestion, in order to avoid network congestion, reset the power save mode timer, start timing until the next power save mode timer expires;
  • the present invention also provides a computer readable storage medium.
  • an IoT data transfer program is stored on the computer readable storage medium, and the IoT data transfer program is executed by the processor 1001 to:
  • the timing of the power save mode timer is adjusted.
  • each batch of data packets includes a preset number of consecutively transmitted data packets.
  • the average transmission rate of the previous batch of packets relative to the selected batch packet is taken as the second average transmission rate
  • the preset flag value whose initial value is zero is incremented by one, and when the first average transmission rate is less than the second average transmission rate, the preset flag value is decremented by one;
  • the preset flag value is less than zero, wherein when the preset flag value is less than zero, it is determined that the network is congested within the data transmission window.
  • the average transmission rate for determining whether any of the batch data packets is present is less than the average transmission rate of the previous batch of data packets, wherein if present, it is determined that the network is congested within the data transmission window.
  • the transmission power of the data packet is adjusted according to the received power adjustment command.
  • an attach request is sent to the network side to establish a transmission channel with the network side;
  • the power save mode timer is reset and timing is started.
  • the timing at which the IoT terminal enters and exits the power saving mode can be dynamically set, and the scheduled scheduling of the Internet of Things terminal is realized. Specifically, after the power-saving mode timer of the Internet of Things terminal expires, the data packet transmission information in the data transmission window after the power-saving mode expires is acquired, and it is determined whether the network occurs in the data transmission window according to the acquired transmission information. congestion. If congestion occurs, the timing of the power-saving mode timer is adjusted to avoid network congestion and improve the transmission efficiency of the Internet of Things terminal.
  • portions of the technical solution of the present invention that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a terminal which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

本发明公开了一种物联网数据传输方法、物联网终端及计算机可读存储介质。该物联网数据传输方法包括:在节电模式定时器超时后,获取数据传输窗口内数据包的传输信息;根据获取的传输信息判断网络在所述数据传输窗口内是否发生拥塞;以及当网络在所述数据传输窗口内发生拥塞时,调整所述节电模式定时器的定时时长。

Description

物联网数据传输方法、物联网终端及计算机可读存储介质 技术领域
本发明涉及物联网技术领域,尤其涉及一种物联网数据传输方法、物联网终端及计算机可读存储介质。
背景技术
随着网络连接、云服务、大数据分析和低成本传感器等核心技术的突破,物联网技术已经步入迅速发展阶段。
物与物的通信并不一定追求高速率。在一些情况下,很多设备因所处环境的特殊性和数量巨大,对通信功耗的需求较低。因此,低带宽、低功耗且覆盖范围广的网络是最有效的解决方案之一。
实际上,由于很多设备占用一个信道,所以分配到每个设备的速率就很低。此外,NB-IoT(Narrow band Internet of Things,基于蜂窝的窄带物联网)的设计允许设备在信号强度很低的情况下工作。但是,在这种情况下,会牺牲联网速率。因此,当信号强度很低的时候,每次数据交互(例如,基站的访问,带宽的分配以及用户数据的传输和确认)均需要重复多次。对于可连接终端达到5万个以上的物联网络来说,每个终端重复发送数据造成的拥塞将会对用户业务造成极大影响。
为了满足NB-IoT接入终端对于低功耗和长待机的要求,3GPP在Rel-12中为NB-IoT引入了PSM(Power Saving Mode,节能模式)功能。当终端处于PSM状态时,不监听寻呼,并且停止所有接入层的活动。当终端离开PSM状态时可以传输数据。
在一些情况下,终端在附着(Attaching)或者TAU(Tracking Area Update,跟踪区更新)的过程中,与MME(Mobility Management Entity,移动性管理实体)协商PSM定时器的定时时长。
然而,PSM定时器的定时时长在设定之后通常是固定的。在大量物联网终端(例如,抄表业务的物联网终端)接入同一个网络的同一个业务的情况下,这些终端可能会在同一时间段与网络进行数据交互 业务,导致网络拥塞。
发明内容
本发明提供了一种物联网数据传输方法、物联网终端及计算机可读存储介质,旨在解决网络拥塞问题,提高物联网终端的传输效率。
在一个实施例中,本发明提供一种物联网数据传输方法,包括:在节电模式定时器超时后,获取数据传输窗口内数据包的传输信息;根据获取的传输信息判断网络在所述数据传输窗口内是否发生拥塞;以及当网络在所述数据传输窗口内发生拥塞时,调整所述节电模式定时器的定时时长。
在一个实施例中,本发明还提供一种物联网终端包括:存储器,被构造成存储有物联网数据传输程序;以及处理器,配置为执行所述物联网数据传输程序以实现以下步骤:在节电模式定时器超时后,获取数据传输窗口内数据包的传输信息;根据获取的传输信息判断网络在所述数据传输窗口内是否发生拥塞;以及当网络在所述数据传输窗口内发生拥塞时,调整所述节电模式定时器的定时时长。
在一个实施例中,本发明还提供一种计算机可读存储介质,该计算机可读存储介质上存储有物联网数据传输程序,所述物联网数据传输程序被处理器执行时实现以下步骤:在节电模式定时器超时后,获取数据传输窗口内数据包的传输信息;根据获取的传输信息判断网络在所述数据传输窗口内是否发生拥塞;以及当网络在所述数据传输窗口内发生拥塞时,调整所述节电模式定时器的定时时长。
附图说明
图1为根据本发明实施例的物联网终端的结构示意图;
图2为根据本发明实施例的物联网数据传输方法的流程图;
图3为根据本发明实施例的物联网数据传输方法的获取数据包传输信息的步骤的流程图;以及
图4为根据本发明实施例的物联网数据传输方法的控制数据包发送操作的步骤的流程图。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
图1是根据本发明实施例的物联网终端的结构示意图。
如图1所示,该物联网终端可以包括:处理器1001(例如,CPU)、网络接口1004、用户接口1003、存储器1005以及通信总线1002。通信总线1002被构造成实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)和输入单元比如键盘(Keyboard)。在一个示例性实施例中,用户接口1003还可以包括标准的有线接口和无线接口等。在一个示例性实施例中,网络接口1004可以包括标准的有线接口和无线接口(如Wi-Fi接口)。存储器1005可以是高速RAM存储器,也可以是非易失性存储器(non-volatile memory),例如磁盘存储器。在一个示例性实施例中,存储器1005可以独立于上述处理器1001的存储装置。
本领域技术人员可以理解,图1中示出的物联网终端是示意性的,并且该物联网终端的部件可以根据需要增加、减少或者组合。
如图1所示,在本发明物联网终端的一个实施例中,作为一种计算机存储介质的存储器1005可以储存操作系统、网络通信模块、用户接口模块以及物联网数据传输程序。
在图1所示的物联网终端中,网络接口1004主要被构造成连接后台服务器,与后台服务器进行数据通信;用户接口1003主要被构造成连接客户端(用户端),与客户端进行数据通信;而处理器1001可以被构造成调用存储器1005中存储的物联网数据传输程序,并执行以下操作:
在节电模式定时器超时后,获取数据传输窗口内数据包的传输信息;
根据获取的传输信息判断网络在所述数据传输窗口内是否发生拥塞;以及
当网络在所述数据传输窗口内发生拥塞时,调整节电模式定时器 的定时时长。
在一个示例性实施例中,处理器1001可以被构造成调用存储器1005中存储的物联网数据传输程序,并且还执行以下操作:
获取所述数据传输窗口内,各批次数据包的平均发送速率,其中,每一批次数据包包括预设个数的连续发送的数据包。
在一个示例性实施例中,处理器1001可以被构造成调用存储器1005中存储的物联网数据传输程序,并且还执行以下操作:
选中一批次数据包的平均发送速率并且将选中批次数据包的平均发送速率作为第一平均发送速率;
将相对于选中批次数据包的上一批次数据包的平均发送速率作为第二平均发送速率;
将第一平均发送速率与第二平均发送速率进行比较;
在第一平均发送速率大于第二平均发送速率时,将初始值为零的预设标志值加一,在第一平均发送速率小于第二平均发送速率时,将预设标志值减一;
继续选中一批次数据包的平均发送速率,直至各批次数据包的平均发送速率均被选中;以及
在各批次数据包的平均发送速率均被选中之后,判断预设标志值是否小于零,其中,在预设标志值小于零时,确定网络在所述数据传输窗口内发生拥塞。
在一个示例性实施例中,处理器1001可以被构造成调用存储器1005中存储的物联网数据传输程序,并且还执行以下操作:
判断是否存在任一批次数据包的平均发送速率小于上一批次数据包的平均发送速率,其中,如果存在,则确定网络在所述数据传输窗口内发生拥塞。
在一个示例性实施例中,处理器1001可以被构造成调用存储器 1005中存储的物联网数据传输程序,并且还执行以下操作:
按照预设步长值增大数据包的发送功率。
在一个示例性实施例中,处理器1001可以被构造成调用存储器1005中存储的物联网数据传输程序,并且还执行以下操作:
在接收到网络侧发送的功率调整指令时,根据接收的功率调整指令调整数据包的发送功率。
在一个示例性实施例中,处理器1001可以被构造成调用存储器1005中存储的物联网数据传输程序,并且还执行以下操作:
在经过调整的节电模式定时器超时后,向网络侧发送附着请求,以建立与网络侧之间的传输通道;以及
在接收到网络侧建立传输通道之后所返回的附着响应时,开始进行数据包的发送操作。
在一个示例性实施例中,处理器1001可以被构造成调用存储器1005中存储的物联网数据传输程序,并且还执行以下操作:
在预设时间段内未接收到网络侧返回的附着响应时,重置节电模式定时器,并且开始计时。
在一个示例性实施例中,本发明还提供一种应用于物联网终端的物联网数据传输方法。参照图2,在本发明的一个实施例中,所述物联网数据传输方法包括:
步骤S10,在节电模式定时器超时后,获取数据传输窗口内数据包的传输信息;
步骤S20,根据获取的传输信息判断网络在所述数据传输窗口内是否发生拥塞;以及
步骤S30,当网络在所述数据传输窗口内发生拥塞时,调整节电模式定时器的定时时长。
需要说明的是,物联网终端的节电模式可以视为物联网终端的深 度睡眠状态。在节电模式下,物联网终端仍旧注册在网络上,但是信令不可达,从而使物联网终端更长时间驻留在深度睡眠状态以达到省电的目的。
在本实施例中,物联网数据传输方法可以由图1所示的物联网终端实现。在实施所述物联网数据传输方法时,处理器1001对节电模式定时器(图1未示出)是否超时进行侦测。具体地说,处理器1001侦测是否接收到节电模式定时器在超时后产生的定时器中断,其中,处理器1001在侦测到节电模式定时器在超时后产生的定时器中断时,确定节电模式定时器超时。例如,节电模式定时器的定时时长为5分钟,则在节电模式计时到达5分钟时,将触发定时器中断,并被处理器1001侦测到。
在节电模式定时器超时后,物联网终端开始向网络侧发送数据。在物联网终端向网络侧发送数据的数据传输窗口内,处理器1001可以获取数据传输窗口内数据包的传输信息。
根据本发明实施例,可以动态设置物联网终端进入和退出节电模式的时机,实现对物联网终端的有计划的调度。具体地说,在物联网终端的节电模式定时器超时后,获取节电模式超时后的数据传输窗口内的数据包传输信息,根据获取的传输信息判断网络在所述数据传输窗口内是否发生拥塞。若发生拥塞,则对节电模式定时器的定时时长进行调整,以避开网络拥塞,达到提高物联网终端传输效率的目的。
在本实施例中,步骤S10包括:
获取所述数据传输窗口内,各批次数据包的平均发送速率,其中,每一批次数据包包括预设个数的连续发送的数据包。
具体地说,处理器1001在获取数据包的传输信息时,可计算数据包的平均发送速率。在实际中,所述数据传输窗口内发送的数据包可以被划分为多个批次,其中每一批次数据包包括预设个数的连续发送数据包。计算各批次数据包的平均发送速率。
图3为处理器1001获取数据包传输信息的步骤的流程图。如图3所示,获取数据包传输信息的步骤包括:
(1)在节电模式定时器超时之后,在应用程序需要发送数据包至网络侧时,物联网终端进入激活状态;
(2)处理器1001记录待发送的数据包的长度L(i),并记录该数据包开始发送的时刻;
(3)在该数据包发送成功后,处理器1001记录数据包发送成功的时刻,并将发送成功的时刻减去该数据包开始发送的时刻,计算得到该数据包从开始发送到发送成功的耗时T(i);
(4)计算该数据包的发送速率Ni=L(i)/T(i);(Ni体现了数据包发送效率,相对更大的Ni值反映更高的发送效率。因此,在其他条件都一样的情况下,Ni的变化趋势反映了网络的拥塞状况)
(5)累计记录m个(一批次数据包包括的数据包个数,即预设个数,具体可由本领域技术人员根据实际需要进行设置,本发明不做具体限制)数据包的发送速率,并且计算m个Ni的平均值N(avg)=(N1+…+Ni)/m,也即是说,计算一批次数据包的平均发送速率;(例如,假设m为3,N1=50kbs,N2=55kbs,N3=60kbs,则计算得到该批次3个数据包的平均发送速率N(avg)=(50+55+60)/3=55(kbs),即1秒钟可发送55kb大小的数据)以及
(6)重复以上步骤(2)到(5),直至获取所述数据传输窗口内各批次数据包的平均发送速率。
在本实施例中,步骤S20包括:
选中一批次数据包的平均发送速率并且将选中批次数据包的平均发送速率作为第一平均发送速率;
将相对于选中批次数据包的上一批次数据包的平均发送速率作为第二平均发送速率;
将第一平均发送速率与第二平均发送速率进行比较;
在第一平均发送速率大于第二平均发送速率时,将初始值为零的预设标志值加一,在第一平均发送速率小于第二平均发送速率时,将预设标志值减一;
继续选中一批次数据包的平均发送速率,直至各批次数据包的平均发送速率均被选中;以及
在各批次数据包的平均发送速率均被选中之后,判断预设标志值是否小于零,其中,在预设标志值小于零时,确定网络在所述数据传输窗口内发生拥塞。
具体地说,在获取所述数据传输窗口内各批次数据包的平均发送速率之后,处理器1001可以判断网络在所述数据传输窗口内是否发生拥塞。在一个实例中,处理器1001选中一批次数据包的平均发送速率。在另一实例中,处理器1001可以参照各批次数据包的顺序,依次选中各批次数据包的平均发送速率。
在选中一批次数据包的平均发送速率之后,处理器1001将选中的第一平均发送速率与上一批次数据包的第二平均发送速率进行比较。在第一平均发送速率大于第二平均发送速率时,处理器1001将初始值为零的预设标志值加一;而在第一平均发送速率小于第二平均发送速率时,将预设标志值减一。例如,假设预设标志值当前为0,处理器1001选中的第一平均发送速率为55kbps,上一批次的第二平均发送速率为60kbps。显然,55kbs<60kbs,将预设标志值减一变为“-1”。例如,假设预设标志值当前为0,处理器1001选中的第一平均发送速率为55kbps,上一批次的第二平均发送速率为50kbps。显然,55kbs>50kbs,将预设标志值加一变为“1”。
在完成比较之后,处理器1001继续选中一批次数据包的平均发送速率,直至各批次数据包的平均发送速率均被选中。
在各批次数据包的平均发送速率均被选中之后,处理器1001对预设标志值的当前值进行判断。具体地说,处理器1001判断预设标志值是否小于零。在预设标志值小于零时,表示网络在所述数据传输窗口内,较多批次数据包的平均发送速率呈降低趋势,可确定网络在所述数据传输窗口内发生拥塞。
在确定网络在所述数据传输窗口内发生拥塞时,处理器1001对节电模式的定时时长进行调整。调整包括增大或减少节电模式定时器的定时时长,以避开网络拥塞。
在一个实例中,处理器1001可以交叉的对节电模式定时器的定时时长进行调整。例如,处理器1001先增大节电模式定时器的定时时长, 而当需要节电模式定时器进行调整,也即是网络再次在数据传输窗口类发生拥塞时,减小节电模式定时器的定时时长。增大定时时长的步长值与减小定时时长的步长值可以相同,也可以不同。
处理器1001还可以持续增大节电模式定时器的定时时长,并在将节电模式定时器的定时时长增大至预设时长之后,将节电模式定时器的定时器重设为初始时长。重复上述过程。例如,假设节电模式定时器的定时时长的初始时长为5分钟,预设时长为10分钟,时长调整的步长值为30秒,则当网络第一次在数据传输窗口内发生拥塞时,处理器1001将节电模式定时器的定时时长调整为5分钟30秒;当节电模式定时器的定时时长为10分钟且网络再次在数据传输窗口内发生拥塞时,处理器1001将节电模式定时器的定时时长由10分钟重设为5分钟。
处理器1001还可以持续增大节电模式定时器的定时时长。例如,假设节电模式定时器的定时时长的初始时长为5分钟,时长调整的步长值为30秒,则每次当网络在数据传输窗口内发生拥塞时,处理器将节电模式定时器的定时时长增大30秒。
处理器1001还可以持续增大节电模式定时器的定时时长,并在将节电模式定时器的定时时长增大至预设时长之后,持续减小节电模式定时器的定时时长,直至减小至节电模式定时器的初始时长之后,再次增大其定时时长。重复上述过程。例如,假设节电模式定时器的定时时长的初始时长为5分钟,预设时长为10分钟,时长调整的步长值为30秒,则当网络第一次在数据传输窗口内发生拥塞时,处理器1001将节电模式定时器的定时时长调整为5分钟30秒;当节电模式定时器的定时时长被调整为10分钟且网络再次在数据传输窗口内发生拥塞时,处理器1001将节电模式定时器的定时时长由10分钟调整为9分钟30秒,直至将定时时长减小至5分钟之后,再次增大。
在一个示例性实施例中,步骤S20包括:
判断是否存在任一批次数据包的平均发送速率小于上一批次数据包的平均发送速率,其中,如果存在,则确定网络在所述数据传输窗口内发生拥塞。
在一个示例性实施例中,处理器1001在获取数据包的传输信息时具体获取数据包的累计重发送次数;
处理器1001在判断网络是否在数据传输窗口内发生拥塞时,可以判断数据包的累计重发次数是否大于或等于预设次数(具体取值可由本领域技术人员根据实际需要进行设置,本发明不做具体限制)。若数据包的累计重发次数大于或等于预设次数,则确定网络在所述数据传输窗口内发生拥塞,需要对节电模式定时器的定时时长进行调整。
在一个示例性实施例中,处理器1001在获取数据包的传输信息时具体获取数据包的发送失败率;
处理器1001在判断网络是否在数据传输窗口内发生拥塞时,可以判断获取的数据包发送失败率是否大于或等于预设失败率(具体取值可由本领域技术人员根据实际需要进行设置,本发明不做具体限制)。若数据包发送失败率大于或等于预设失败率,则确定网络在所述数据传输窗口内发生拥塞,需要对节电模式定时器的定时时长进行调整。
在一个示例性实施例中,处理器1001在获取数据包的传输信息时,可将所述数据传输窗口内发送的数据包划分为多个批次,其中各批次数据包包括预设个数的连续发送的数据包。计算各批次数据包的平均耗时。在一个示例性实施例中,计算各批次数据包的平均耗时的步骤包括:
(1)在节电模式定时器超时之后,在应用程序需要发送数据包至网络侧时,物联网终端进入激活状态;
(2)处理器1001记录待发送的数据包的长度L(i),并记录该数据包开始发送的时刻;
(3)在该数据包发送成功后,处理器1001记录数据包发送成功的时刻,并将发送成功的时刻减去该数据包开始发送的时刻,计算得到该数据包从开始发送到发送成功的耗时T(i);
(4)计算单位长度的数据包的发送耗时Mi=T(i)/L(i);(Mi体现了单位长度数据包的发送效率,相对更大的Mi值反映更低的发送效率。因此,在其他条件都一样的情况下,Mi的变化趋势反映了网络的拥塞状况)
(5)累计记录m个(一批次数据包包括的数据包个数,即预设个数,具体可由本领域技术人员根据实际需要进行设置,本发明不做具体限制)数据包的发送速率,并且计算m个Mi的平均值M(avg)=(M1+…+Mi)/m,也即是说,计算一批次数据包的单位长度数据包发送耗时的平均耗时;(例如,假设m为3,M1=50s/Mb,M2=55s/Mb,M3=60s/Mb,则计算得到该批次3个数据包的单位长度数据包发送耗时的平均耗时M(avg)=(50+55+60)/3=55(s/Mb),即发送1Mb大小的数据包需要耗时55秒)
(6)重复以上步骤(2)到(5),直至获取所述数据传输窗口内各批次数据包的平均耗时。
在获取所述数据传输窗口内各批次数据包的平均耗时之后,处理器1001可以判断网络在所述数据传输窗口内是否发生拥塞。在一个实例中,处理器1001选中一批次数据包的单位长度数据包发送耗时的平均耗时。在另一实例中,处理器1001可以参照各批次数据包的顺序,依次选中各批次数据包的平均耗时。
在选中一批次数据包的平均耗时之后,处理器1001将选中的第一平均耗时与上一批次数据包的第二平均耗时进行比较。在第一平均耗时大于第二平均耗时时,处理器1001将初始值为零的预设标志值减一;而在第一平均耗时小于第二平均耗时时,将预设标志值加一。例如,假设预设标志值当前为0,处理器1001选中的第一平均耗时为55s/Mb,上一批次的第二平均耗时为s/Mb。显然,55s/Mb<60s/Mb,将预设标志值减一变为“-1”。例如,假设预设标志值当前为0,处理器1001选中的第一平均耗时为55s/Mb,上一批次的第二平均耗时为50s/Mb。显然,55s/Mb>50s/Mb,将预设标志值加一变为“1”。
在完成比较之后,处理器1001继续选中一批次数据包的平均耗时,直至各批次数据包的平均耗时均被选中。
在各批次数据包的平均耗时均被选中之后,处理器1001对预设标志值的当前值进行判断。具体地说,处理器1001判断预设标志值是否小于零。在预设标志值小于零时,表示网络在所述数据传输窗口内,较多批次数据包的平均耗时呈增大趋势,可确定网络在所述数据传输 窗口内发生拥塞。
本发明提出的物联网数据传输方法,通过动态设置物联网终端进入和退出节电模式的时机,实现对物联网终端的有计划调度,具体在物联网终端的节电模式定时器超时后,通过对节电模式超时后的数据传输窗口内数据包的传输信息进行获取,并根据获取结果判断网络在所述数据传输窗口内是否发生拥塞,若是则对节电模式定时器的定时时长进行调整,以避开网络拥塞,达到提高物联网终端传输效率的目的。
在本发明的物联网数据传输方法的另一个实施例中,在第一平均发送速率大于第二平均发送速率时,将初始值为零的预设标志值减一的同时,所述方法还执行以下步骤:
按照预设步长值增大数据包的发送功率。
需要说明的是,在本实施例中增加了数据包发送功率的调整操作。
本领域技术人员可以理解的是,在其他条件一致的情况下,发射功率越大,传输效率越高。因此,根据本发明实施例,在平均发送速率反映出传输效率降低时可以提高物联网终端的发送功率,从而增大传输效率。
在本实施例中,处理器1001在选中获取批次数据包的平均发送速率之后,将选中的第一平均发送速率与上一批次数据包的第二平均发送速率进行比较。若第一平均发送速率小于第二平均发送速率,则说明传输效率呈降低趋势。此时,需要增大数据包的发送功率,以增大传输效率。在一个示例性实施例中,在对预设标志值减一的同时,处理器1001按照预设步长值增大数据包的发射功率,。本发明对于预设步长值的取值不做具体限制,可由本领域技术人员根据实际需要进行设置。
在本实施例中,该物联网数据传输方法还包括:
在接收到网络侧发送的功率调整指令时,根据接收的功率调整指令调整数据包的发送功率。
需要说明的是,在本实施例中,为避免物联网终端的发射功率无 限制增大,由网络侧协同进行物联网终端发送功率的调整。
在一个示例性实施例中,网络侧获取物联网终端发送数据包的失败率,并将获取的失败率与预设失败率进行比较。在获取的失败率大于预设失败率时,网络侧生成指示物联网终端增大发射功率的功率调整指令;而在获取的失败率小于预设失败率时,网络侧生成指示物联网终端减小发射功率的功率调整指令。
网络侧在生成功率调整指令之后,将生成的功率调整指令发送至物联网终端。
相应的,物联网终端在接收到网络侧发送的功率调整指令之后,由处理器1001根据功率调整指令的指示增大或减少发射功率。
在一个示例性实施例中,处理器1001在选中获取批次数据包的平均耗时之后,将选中的第一平均耗时与上一批次数据包的第二平均耗时进行比较。若第一平均耗时大于第二平均耗时,则说明传输效率呈降低趋势。此时,需要增大数据包的发送功率,以增大传输效率。在一个示例性实施例中,在对预设标志值减一的同时,处理器1001按照预设步长值增大数据包的发射功率。本发明对于预设步长值的取值不做具体限制,可由本领域技术人员根据实际需要进行设置。
在本发明的物联网数据传输方法的另一个实施例中,在步骤S30之后,所述方法还包括:
在经过调整的节电模式定时器超时后,向网络侧发送附着请求,以建立与网络侧之间的传输通道;
在接收到网络侧建立传输通道之后所返回的附着响应时,开始进行数据包的发送操作;以及
在预设时间段内未接收到网络侧返回的附着响应时,重置节电模式定时器,并且开始计时。
需要说明的是,在本实施例中增加了关于数据包发送操作的描述。
图4为处理器1001控制数据包发送操作的步骤的流程图。在一个实施例中,如图4所示,控制数据包发送操作的步骤包括:
(1)发送数据传输窗口的全部数据包;
(2)处理器1001根据获取的传输信息判断网络是否在所述数据传输窗口内发生拥塞,其中,如果拥塞,则对节电模式定时器的定时时长进行调整;
(3)在经过调整的节电模式定时器开始计时,物联网终端进入节电模式,并且在节电模式定时器超时后,物联网终端向网络侧发送附着请求,以建立与网络侧之间的传输通道;
(4)网络侧接收终端的附着请求,并且比较此时已经接入网络的物联网终端的数量和网络允许接入的物联网终端数量的上限;
(5)如果已经接入网络的物联网终端的数量小于网络允许接入的物联网终端数量的上限,那么网络侧确认目前网络容量可以满足要求,响应物联网终端的附着请求以建立与物联网终端建立传输通道,并返回指示开始进行数据包发送的附着响应;
(6)如果已经接入网络的物联网终端的数量大于或等于网络允许接入的物联网终端数量的上限,那么网络侧确认目前网络处于拥塞状态,并且拒绝物联网终端的附着请求,也即是拒绝建立与物联网终端的传输通道;
(7)处理器1001对网络侧是否返回附着响应进行侦测,并在接收到网络侧建立传输通道之后所返回的附着响应时,通过需要发送数据包的应用程序开始进行数据包的发送操作;若在预设时间段内(本发明对预设时间段的取值不做具体限制,可由本领域技术人员根据实际需要进行设置)未接收到网络侧返回的附着响应,处理器1001确定网络当前拥塞,为避免网络拥塞重置节电模式定时器,开始计时,直至下一次节电模式定时器超时;以及
(8)重复以上步骤(1)-(7)。
在一个示例性实施例中,本发明还提供一种计算机可读存储介质。在一个实施例中,计算机可读存储介质上存储有物联网数据传输程序,该物联网数据传输程序被处理器1001执行时实现如下操作:
在节电模式定时器超时后,获取数据传输窗口内数据包的传输信息;
根据获取的传输信息判断网络在所述数据传输窗口内是否发生拥塞;以及
当网络在所述数据传输窗口内发生拥塞时,调整节电模式定时器的定时时长。
在一个示例性实施例中,所述物联网数据传输程序被处理器1001执行时,还实现如下操作:
获取所述数据传输窗口内,各批次数据包的平均发送速率,其中,每一批次数据包包括预设个数的连续发送的数据包。
在一个示例性实施例中,所述物联网数据传输程序被处理器1001执行时,还实现如下操作:
选中一批次数据包的平均发送速率并且将选中批次数据包的平均发送速率作为第一平均发送速率;
将相对于选中批次数据包的上一批次数据包的平均发送速率作为第二平均发送速率;
将第一平均发送速率与第二平均发送速率进行比较;
在第一平均发送速率大于第二平均发送速率时,将初始值为零的预设标志值加一,在第一平均发送速率小于第二平均发送速率时,将预设标志值减一;
继续选中一批次数据包的平均发送速率,直至各批次数据包的平均发送速率均被选中;以及
在各批次数据包的平均发送速率均被选中之后,判断预设标志值是否小于零,其中,在预设标志值小于零时,确定网络在所述数据传输窗口内发生拥塞。
在一个示例性实施例中,所述物联网数据传输程序被处理器1001执行时,还实现如下操作:
判断是否存在任一批次数据包的平均发送速率小于上一批次数据包的平均发送速率,其中,如果存在,则确定网络在所述数据传输窗 口内发生拥塞。
在一个示例性实施例中,所述物联网数据传输程序被处理器1001执行时,还实现如下操作:
按照预设步长值增大数据包的发送功率。
在一个示例性实施例中,所述物联网数据传输程序被处理器1001执行时,还实现如下操作:
在接收到网络侧发送的功率调整指令时,根据接收的功率调整指令调整数据包的发送功率。
在一个示例性实施例中,所述物联网数据传输程序被处理器1001执行时,还实现如下操作:
在经过调整的节电模式定时器超时后,向网络侧发送附着请求,以建立与网络侧之间的传输通道;以及
在接收到网络侧建立传输通道之后所返回的附着响应时,开始进行数据包的发送操作。
在一个示例性实施例中,所述物联网数据传输程序被处理器1001执行时,还实现如下操作:
在预设时间段内未接收到网络侧返回的附着响应时,重置节电模式定时器,并且开始计时。
根据本发明提出的物联网数据传输方法、物联网终端及计算机可读存储介质,可以动态设置物联网终端进入和退出节电模式的时机,实现对物联网终端的有计划的调度。具体地说,在物联网终端的节电模式定时器超时后,获取节电模式超时后的数据传输窗口内的数据包传输信息,根据获取的传输信息判断网络在所述数据传输窗口内是否发生拥塞。若发生拥塞,则对节电模式定时器的定时时长进行调整,以避开网络拥塞,达到提高物联网终端传输效率的目的。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。

Claims (10)

  1. 一种物联网数据传输方法,包括以下步骤:
    在节电模式定时器超时后,获取数据传输窗口内数据包的传输信息;
    根据获取的传输信息判断网络在所述数据传输窗口内是否发生拥塞;以及
    当网络在所述数据传输窗口内发生拥塞时,调整所述节电模式定时器的定时时长。
  2. 根据权利要求1所述的物联网数据传输方法,其中,所述获取数据传输窗口内数据包的传输信息的步骤包括:
    获取所述数据传输窗口内,各批次数据包的平均发送速率,其中,每一批次数据包包括预设个数的连续发送的数据包。
  3. 根据权利要求2所述的物联网数据传输方法,其中,所述根据获取的传输信息判断网络在所述数据传输窗口内是否发生拥塞的步骤包括:
    选中一批次数据包的平均发送速率并且将选中批次数据包的平均发送速率作为第一平均发送速率;
    将相对于选中批次数据包的上一批次数据包的平均发送速率作为第二平均发送速率;
    将第一平均发送速率与第二平均发送速率进行比较;
    在所述第一平均发送速率大于所述第二平均发送速率时,将初始值为零的预设标志值加一,在所述第一平均发送速率小于所述第二平均发送速率时,将所述预设标志值减一;
    继续选中一批次数据包的平均发送速率,直至各批次数据包的平均发送速率均被选中;以及
    在各批次数据包的平均发送速率均被选中之后,判断所述预设标志值是否小于零,其中,在所述预设标志值小于零时,确定网络在所述数据传输窗口内发生拥塞。
  4. 根据权利要求2所述的物联网数据传输方法,其中,所述根据获取的传输信息判断网络在所述数据传输窗口内是否发生拥塞的步骤包括:
    判断是否存在任一批次数据包的平均发送速率小于上一批次数据包的平均发送速率,其中,如果存在,则确定网络在所述数据传输窗口内发生拥塞。
  5. 根据权利要求3所述的物联网数据传输方法,其中,在将所述预设标志值减一时,所述方法还包括:
    按照预设步长值增大数据包的发送功率。
  6. 根据权利要求5所述的物联网数据传输方法,还包括:
    在接收到网络侧发送的功率调整指令时,根据所述功率调整指令调整数据包的发送功率。
  7. 根据权利要求1-6任一项所述的物联网数据传输方法,其中,在调整所述节电模式定时器的定时时长的步骤之后,所述方法还包括:
    在经过调整的所述节电模式定时器超时后,向网络侧发送附着请求,以建立与网络侧之间的传输通道;以及
    在接收到网络侧建立传输通道之后所返回的附着响应时,开始进行数据包的发送操作。
  8. 根据权利要求7所述的物联网数据传输方法,其中,在经过调整的所述节电模式定时器超时后向网络侧发送附着请求的步骤之后,所述方法还包括:
    在预设时间段内未接收到网络侧返回的附着响应时,重置所述节电模式定时器,并且开始计时。
  9. 一种物联网终端,包括:
    存储器,被构造成存储物联网数据传输程序;以及
    处理器,被构造成执行所述物联网数据传输程序以实现权利要求1至8中任一项所述的物联网数据传输方法的步骤。
  10. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有物联网数据传输程序,所述物联网数据传输程序被处理器执行时实现如权利要求1至8中任一项所述的物联网数据传输方法的步骤。
PCT/CN2018/079525 2017-04-27 2018-03-20 物联网数据传输方法、物联网终端及计算机可读存储介质 WO2018196504A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710286723.6 2017-04-27
CN201710286723.6A CN108810971B (zh) 2017-04-27 2017-04-27 物联网数据传输方法、物联网终端及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2018196504A1 true WO2018196504A1 (zh) 2018-11-01

Family

ID=63919410

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/079525 WO2018196504A1 (zh) 2017-04-27 2018-03-20 物联网数据传输方法、物联网终端及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN108810971B (zh)
WO (1) WO2018196504A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114039931A (zh) * 2021-10-27 2022-02-11 浙江大华技术股份有限公司 一种控制数据传输的方法、装置、设备及介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405608B (zh) * 2019-01-02 2023-05-09 中国移动通信有限公司研究院 信息处理方法及装置、网络设备及存储介质
CN110602744B (zh) * 2019-09-06 2020-08-07 南京大鱼半导体有限公司 物联网拥塞控制的方法、装置、存储介质和电子设备
CN112769707B (zh) * 2019-11-04 2022-11-04 成都鼎桥通信技术有限公司 一种在物联网中防止拥塞的方法、装置及系统
CN110995606B (zh) * 2019-12-20 2022-02-22 迈普通信技术股份有限公司 一种拥塞分析方法及装置
CN112218359B (zh) * 2020-11-18 2023-02-21 中国联合网络通信集团有限公司 一种定时器时长的设置方法和装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219117A (zh) * 2014-09-25 2014-12-17 北京邮电大学 基于业务类型的物联网接入请求汇聚方法
WO2016053846A1 (en) * 2014-09-29 2016-04-07 Convida Wireless, Llc Service capability server/epc coordination for power savings mode and paging
CN105992247A (zh) * 2015-01-30 2016-10-05 中兴通讯股份有限公司 无线数据的收发方法及装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2817941A4 (en) * 2012-02-24 2015-10-21 Nokia Technologies Oy METHOD AND DEVICE FOR A DYNAMIC SERVICE CLIENTS-CONTROLLED CONNECTIVITY LOGIC
CN103384394A (zh) * 2012-05-04 2013-11-06 中兴通讯股份有限公司 用户设备耗电、耗电配置参数处理方法及装置
CN103458505B (zh) * 2012-05-29 2018-05-11 中兴通讯股份有限公司 一种节电模式下控制信令发送的方法和系统
US9877236B2 (en) * 2014-05-08 2018-01-23 Intel IP Corporation User equipment and methods to indicate power saving mode configuration to RAN nodes
WO2016113215A1 (en) * 2015-01-13 2016-07-21 Telefonaktiebolaget Lm Ericsson (Publ) Coordination using the ue application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219117A (zh) * 2014-09-25 2014-12-17 北京邮电大学 基于业务类型的物联网接入请求汇聚方法
WO2016053846A1 (en) * 2014-09-29 2016-04-07 Convida Wireless, Llc Service capability server/epc coordination for power savings mode and paging
CN105992247A (zh) * 2015-01-30 2016-10-05 中兴通讯股份有限公司 无线数据的收发方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114039931A (zh) * 2021-10-27 2022-02-11 浙江大华技术股份有限公司 一种控制数据传输的方法、装置、设备及介质
CN114039931B (zh) * 2021-10-27 2024-04-02 浙江大华技术股份有限公司 一种控制数据传输的方法、装置、设备及介质

Also Published As

Publication number Publication date
CN108810971A (zh) 2018-11-13
CN108810971B (zh) 2023-05-16

Similar Documents

Publication Publication Date Title
WO2018196504A1 (zh) 物联网数据传输方法、物联网终端及计算机可读存储介质
US11503446B2 (en) Service capability exposure at the user equipment
US11611949B2 (en) Keeping the UE awake
JP6178468B2 (ja) 分散チャネルアクセスパラメータを使用した通信のシステムおよび方法
EP3821665B1 (en) Electronic device for supporting access to wireless media using target wake time (twt) defined in ieee 802.11 standard
JP4495721B2 (ja) 無線ネットワークにおけるサービスの質の差別化
JP6133327B2 (ja) 分散型チャネルアクセスパラメータを使用した通信
JP5955987B2 (ja) WiFiネットワークの差別化関連付けサービス提供のためのシステム及び方法
US11129012B2 (en) Apparatus and method for determining timer value for changing mode in wireless communication system
US11032723B2 (en) System and method for increasing network efficiency using dynamic repeat requests adjustment
WO2014005452A1 (zh) 一种终端节电方法及终端节电装置及网络侧节电装置
WO2020224402A1 (zh) 数据传输的方法、接入类别创建的方法、装置及存储介质
KR20220148316A (ko) 서비스 품질 모니터링 방법 및 시스템, 및 디바이스
WO2022016474A1 (zh) 接入控制方法及装置、存储介质
Francois et al. Impact of signaling storms on energy consumption and latency of LTE user equipment
US8165074B2 (en) Techniques for handling service flows in wireless communication systems
TW201116133A (en) Systems and methods for service flow retention in a wireless communication system
WO2022127386A1 (zh) 状态迁移的方法、网络设备及存储介质
US10027592B1 (en) System to facilitate data transfer in wireless networks
US20220201718A1 (en) Systems and methods for ul scheduler optimization with a self-adjustment bsrp scheme
WO2022032581A1 (zh) 上行传输的发送、接收方法及装置、通信设备及介质
WO2016090607A1 (zh) 回传终端、基站及无线网络流量控制方法
Yaakob et al. Distributed collision control with the integration of packet size for congestion control in wireless sensor networks
WO2017206031A1 (zh) 信息传输方法及装置
WO2016192201A1 (zh) 一种传输数据的方法和装置

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: 18791888

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18791888

Country of ref document: EP

Kind code of ref document: A1