Narrowband Internet of Things terminal and firmware upgrade method thereof, base station and communication system
By sending firmware upgrade data packets along the way during the RRC connection release process of narrowband IoT terminals, the problem of power consumption during firmware upgrade is solved, efficient resource management and power savings are achieved, and suitable for static narrowband IoT application scenarios .
Patent Information
- Application Number
- CN202010757228.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-31
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2040-07-31
AI Technical Summary
Narrowband IoT terminals need to establish wireless connections during firmware upgrades, resulting in additional power consumption.
During the RRC connection process of narrowband IoT terminals, the RRC connection release message is used to send firmware upgrades to the firmware upgrade without additional wireless connections. The data packet is optimized by using the inactive timer and context suspend process to optimize resource management and realize data packets transmission.
It saves power consumption of narrowband IoT terminals, and reasonably utilizes resources to upgrade firmware during leisure time, reducing end-to-end delay, and is suitable for static narrowband IoT application scenarios.
Smart Images

Figure CN114071660B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet of Things, and in particular to a narrowband Internet of Things terminal and a firmware upgrade method thereof, a base station, and a communication system. Background Art
[0002] Narrow Band Internet of Things (NB-IoT) is built on cellular networks, such as GSM (Global System for Mobile Communications) networks, UMTS (Universal Mobile Telecommunications System) networks or Long Term Evolution (Long Term Evolution) networks, etc. It consumes about 180kHz of bandwidth and supports cellular data connections for low-power devices in wide area networks. It is also called Low-Power Wide-Area Network (LPWAN).
[0003] The narrowband Internet of Things terminal establishes a wireless connection with the base station, the base station establishes a user plane connection with the application server through S-GW (Serving GateWay) and P-GW (Public Data Network GateWay), the application server sends the large data packet of firmware upgrade to the base station through the user plane connection, and the base station sends the large data packet of firmware upgrade to the narrowband Internet of Things terminal through the wireless connection.
[0004] The inventors found that when a narrowband Internet of Things terminal upgrades its firmware, it needs to establish a wireless connection, which will consume additional power of the narrowband Internet of Things terminal. Summary of the invention
[0005] The disclosed embodiment proposes a solution for upgrading the firmware of a narrowband Internet of Things terminal through control plane signaling. In the process of releasing the Radio Resource Control (RRC) connection of the narrowband Internet of Things terminal, a small data packet for firmware upgrade is sent along with the RRC connection release message, without the need to establish an additional wireless connection, thereby saving power consumption of the narrowband Internet of Things terminal.
[0006] Some embodiments of the present disclosure provide a method for upgrading firmware of a narrowband Internet of Things terminal, including:
[0007] The base station performs inactivity detection on the narrowband Internet of Things terminal, and starts an inactivity timer to count the duration of the inactivity state of the narrowband Internet of Things terminal;
[0008] After the inactivity timer times out, the base station initiates the context suspension process of the NB-IoT terminal to the core network device;
[0009] After the core network device completes the context suspension processing of the narrowband Internet of Things terminal, the base station sends a radio resource control RRC connection release message to the narrowband Internet of Things terminal, which includes one of the data packets in the firmware upgrade data.
[0010] In some embodiments, it also includes: before the base station sends the RRC connection release message to the narrowband Internet of Things terminal, obtaining all data packets of the firmware upgrade data of the narrowband Internet of Things terminal from the mobility management entity MME.
[0011] In some embodiments, it also includes: the MME obtains firmware upgrade data of the narrowband Internet of Things terminal from the application server.
[0012] In some embodiments, it also includes: the narrowband Internet of Things terminal receives an RRC connection release message sent by the base station, obtains one of the data packets in the firmware upgrade data in the RRC connection release message, and enters an idle state.
[0013] In some embodiments, it also includes: the narrowband Internet of Things terminal starts a discontinuous reception timer, and enters a power saving mode after the discontinuous reception timer times out; the narrowband Internet of Things terminal starts a tracking area update cycle request timer, and exits the power saving mode after the tracking area update cycle request timer times out, enters an idle state when there is no data to be sent, and enters a connected state when there is data to be sent.
[0014] In some embodiments, after the inactivity timer times out, the base station initiates a context suspension process of the narrowband Internet of Things terminal to the core network device, including:
[0015] After the inactivity timer times out, the base station sends a context suspension request of the NB-IoT terminal to the MME, so that the MME triggers the serving gateway S-GW to release the bearer of the NB-IoT terminal;
[0016] The base station receives a context suspension response of the narrowband Internet of Things terminal sent by the MME after the bearer of the narrowband Internet of Things terminal is released.
[0017] In some embodiments, the size of the data packet is 50-200 bytes.
[0018] Some embodiments of the present disclosure provide a method for upgrading firmware of a narrowband Internet of Things terminal, including:
[0019] The narrowband Internet of Things terminal receives an RRC connection release message sent by the base station after the inactivity timer of the narrowband Internet of Things terminal times out;
[0020] The NB-IoT terminal obtains one of the data packets in the firmware upgrade data in the RRC connection release message and enters an idle state.
[0021] In some embodiments, it also includes:
[0022] The NB-IoT terminal starts a discontinuous reception timer and enters a power saving mode after the discontinuous reception timer times out;
[0023] The NB-IoT terminal starts the tracking area update cycle request timer, and after the tracking area update cycle request timer times out, it exits the power saving mode, enters the idle state when there is no data to send, and enters the connected state when there is data to send.
[0024] Some embodiments of the present disclosure provide a base station, including:
[0025] Memory; and
[0026] A processor coupled to the memory, wherein the processor is configured to execute the firmware upgrade method described in any one of the embodiments based on instructions stored in the memory.
[0027] Some embodiments of the present disclosure provide a narrowband Internet of Things terminal, including:
[0028] Memory; and
[0029] A processor coupled to the memory, wherein the processor is configured to execute the firmware upgrade method described in any one of the embodiments based on instructions stored in the memory.
[0030] Some embodiments of the present disclosure provide a communication system, including:
[0031] The base station described in any embodiment and the narrowband Internet of Things terminal described in any embodiment.
[0032] In some embodiments, the communication system also includes: MME, which is configured to obtain firmware upgrade data of the narrowband Internet of Things terminal from the application server, and after receiving the context suspension request of the narrowband Internet of Things terminal sent by the base station, trigger the service gateway S-GW to release the bearer of the narrowband Internet of Things terminal, and after the bearer of the narrowband Internet of Things terminal is released, send a context suspension response of the narrowband Internet of Things terminal to the base station.
[0033] Some embodiments of the present disclosure provide a non-transitory computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the firmware upgrade method described in any one of the embodiments is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The following is a brief introduction to the drawings required for use in the embodiments or related technical descriptions. The present disclosure can be more clearly understood according to the following detailed description with reference to the drawings.
[0035] Obviously, the drawings described below are only some embodiments of the present disclosure, and a person skilled in the art can obtain other drawings based on these drawings without creative work.
[0036] Figure 1 A schematic diagram showing the deployment of narrowband Internet of Things according to some embodiments of the present disclosure is shown.
[0037] Figure 2 A schematic diagram showing a flow chart of a method for upgrading the firmware of a narrowband Internet of Things terminal according to some embodiments of the present disclosure.
[0038] Figure 3 A schematic diagram showing a communication system according to some embodiments of the present disclosure.
[0039] Figure 4 A schematic diagram of a base station according to some embodiments of the present disclosure is shown.
[0040] Figure 5 A schematic diagram showing a narrowband Internet of Things terminal according to some embodiments of the present disclosure. DETAILED DESCRIPTION
[0041] The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure.
[0042] Figure 1 A schematic diagram showing the deployment of narrowband Internet of Things according to some embodiments of the present disclosure is shown.
[0043] like Figure 1As shown, the narrowband Internet of Things terminal accesses the base station wirelessly, and the base station is connected to the core network. The core network equipment includes, for example, MME (Mobility Management Entity), SCEF (Service Capability Exposure Function), S-GW (Serving GateWay), P-GW (Public Data Network GateWay), HSS (Home Subscriber Server), AS (Application Server) and other equipment. Among them, AS refers to the FOTA (Firmware Over-The-Air, firmware upgrade based on air download) server, which can be deployed in the narrowband Internet of Things management platform. MME is one of the key network elements in the core network. It is a control plane functional entity that temporarily stores user data and is responsible for managing and storing user-related information, such as user identification, mobility management status, user security parameters, etc. In the LTE network, the base station is, for example, an evolved base station (Evolved Node B, eNodeB or eNB for short). In addition, the interface between the base station and MME is S1-AP, the interface between the base station and S-GW is S1-U, the interface between MME and S-GW is S11, the interface between MME and HSS is S6a, the interface between MME and SCEF is T6a, the interface between S-GW and P-GW is S5 / 8, the interface between P-GW and AS is SGi, and the interface between HSS and SCEF is S6t.
[0044] Figure 2 A schematic diagram showing a flow chart of a method for upgrading the firmware of a narrowband Internet of Things terminal according to some embodiments of the present disclosure.
[0045] like Figure 2 As shown, the method of this embodiment includes:
[0046] In step 210, after the NB-IoT terminal completes data reception and transmission with the base station and the core network device, the base station performs inactivity detection on the NB-IoT terminal and starts an inactivity timer to count the duration of the inactivity state of the NB-IoT terminal.
[0047] In step 220, after the inactivity timer times out, the base station decides to suspend the RRC connection of the narrowband Internet of Things terminal, initiates the context suspension process of the narrowband Internet of Things terminal to the core network device, and sends a context suspension request (UE Context Suspend Request) of the narrowband Internet of Things terminal to the MME.
[0048] The base station sends a context suspension request of the NB-IoT terminal to the MME through the interface S1-AP.
[0049] In step 230, the MME triggers the S-GW to release the bearer of the NB-IoT terminal, for example, releasing the S1-U bearer.
[0050] In step 240, after the bearer of the narrowband Internet of Things terminal is released, the MME sends a context suspend response (UE Context Suspend Response) of the narrowband Internet of Things terminal to the base station.
[0051] In step 250, the base station receives the context suspension response of the narrowband Internet of Things terminal sent by the MME, indicating that the core network device completes the context suspension processing of the narrowband Internet of Things terminal, and the base station sends an RRC Connection Release message to the narrowband Internet of Things terminal, which includes one of the data packets in the firmware upgrade data.
[0052] Firmware is a program written into EPROM (Erasable Programmable Read Only Memory) or EEPROM (Electrically Erasable Programmable read only memory). According to the total amount of firmware upgrade data and the amount of data transmitted once by the RRC connection release message, for example, the MME determines how many data packets the firmware upgrade data is divided into. Assuming that the total amount of firmware upgrade data is 1000 bytes and the amount of data transmitted once by the RRC connection release message is 200 bytes, the firmware upgrade data is divided into 5 data packets, and all the firmware upgrade data can be transmitted to the narrowband Internet of Things terminal through 5 RRC connection release messages.
[0053] Before sending an RRC connection release message to the narrowband Internet of Things terminal, the base station obtains all data packets of the firmware upgrade data of the narrowband Internet of Things terminal from the MME, for example, through a transmission cable. The MME obtains the firmware upgrade data of the narrowband Internet of Things terminal from the application server, for example, through a transmission cable. The application server can transmit all firmware upgrade data to the MME at one time. For example, the MME obtains the firmware upgrade data of the narrowband Internet of Things terminal from the application server through the SCEF. Therefore, in this embodiment, the firmware upgrade is performed through control plane network elements such as the MME and SCEF, and the firmware upgrade does not need to pass through user plane network elements such as the S-GW and P-GW, nor does it need to establish a user plane connection. The data packets transmitted along the control plane signaling are smaller than the data packets transmitted through the user plane connection. The size of the data packets transmitted along the control plane signaling is, for example, 50-200 bytes.
[0054] In step 260, the narrowband Internet of Things terminal receives the RRC connection release message sent by the base station, obtains one of the data packets in the firmware upgrade data in the RRC connection release message, suspends SRB (Signaling Radio Bearer) and DRB (Data Radio Bearer), and then enters the idle state.
[0055] The narrowband Internet of Things terminal starts the discontinuous reception timer T3324, and enters the power saving mode (PSM) after the discontinuous reception timer times out. The narrowband Internet of Things terminal starts the tracking area update (TAU) cycle request timer T3412, and exits the power saving mode after the tracking area update cycle request timer times out, enters the idle state when there is no data to send, and enters the connected state when there is data to send. Among them, the timing of timer T3324 and timer T3412 can be determined by negotiation. Then, steps 210-260 are executed cyclically until all data packets of the firmware upgrade data are transmitted.
[0056] The above embodiment implements a solution for upgrading the firmware of the narrowband Internet of Things terminal through control plane signaling. In the process of releasing the RRC connection of the narrowband Internet of Things terminal, a small data packet for firmware upgrade is sent along the way through the RRC connection release message, without the need to establish an additional wireless connection, thereby saving the power consumption of the narrowband Internet of Things terminal. In addition, the firmware is upgraded during the idle time of the narrowband Internet of Things terminal, reducing the end-to-end delay and further saving power.
[0057] Narrowband IoT terminals need to enable PSM mode and TAU cycle in different application scenarios. This time is the idle time period of the narrowband IoT terminal. Reasonable use of this idle time period for firmware upgrade. Assume: the firmware upgrade data has a total of 30,000 bytes, a PSM cycle and TAU cycle are set to 1 minute, the firmware is upgraded from SP3 to SP5, and 400 bytes are upgraded per minute. In the case of good signal, it takes 1 hour and 15 minutes to upgrade the firmware from SP3 to SP5. The time required for firmware upgrade meets the requirements of most static narrowband IoT application scenarios.
[0058] Figure 3 A schematic diagram showing a communication system according to some embodiments of the present disclosure.
[0059] like Figure 3 As shown, the communication system of this embodiment includes: a base station 310 and a narrowband Internet of Things terminal 320, and may also include an MME 330.
[0060] The base station 310 is configured to perform inactivity detection on the narrowband Internet of Things terminal and start an inactivity timer to count the duration of the inactivity state of the narrowband Internet of Things terminal; after the inactivity timer times out, initiate the context suspension process of the narrowband Internet of Things terminal to the core network device; after the core network device completes the context suspension processing of the narrowband Internet of Things terminal, send a radio resource control RRC connection release message to the narrowband Internet of Things terminal, including one of the data packets in the firmware upgrade data.
[0061] The narrowband Internet of Things terminal 320 is configured to receive an RRC connection release message sent by the base station after the inactivity timer of the narrowband Internet of Things terminal expires; obtain one of the data packets in the firmware upgrade data in the RRC connection release message, and enter an idle state.
[0062] MME330 is configured to obtain the firmware upgrade data of the narrowband Internet of Things terminal from the application server, and after receiving the context suspension request of the narrowband Internet of Things terminal sent by the base station, trigger the service gateway S-GW to release the bearer of the narrowband Internet of Things terminal, and after the bearer of the narrowband Internet of Things terminal is released, send a context suspension response of the narrowband Internet of Things terminal to the base station.
[0063] Figure 4 A schematic diagram of a base station according to some embodiments of the present disclosure is shown.
[0064] like Figure 4 As shown, the base station 310 of this embodiment includes: a memory 311 and a processor 312 coupled to the memory 311 , and the processor 312 is configured to execute the firmware upgrade method in any of the aforementioned embodiments based on instructions stored in the memory 311 .
[0065] For example, the base station performs inactivity detection on the narrowband Internet of Things terminal and starts an inactivity timer to measure the duration of the inactivity state of the narrowband Internet of Things terminal; after the inactivity timer times out, the context suspension process of the narrowband Internet of Things terminal is initiated to the core network device; after the core network device completes the context suspension processing of the narrowband Internet of Things terminal, it sends a wireless resource control RRC connection release message to the narrowband Internet of Things terminal, which includes one of the data packets in the firmware upgrade data.
[0066] The base station 310 may also include a network interface 313 to provide a connection interface for various networked devices. The memory 311 , the processor 312 and the network interface 313 may be connected via a bus 314 , for example.
[0067] Figure 5 A schematic diagram showing a narrowband Internet of Things terminal according to some embodiments of the present disclosure.
[0068] like Figure 5 As shown, the narrowband Internet of Things terminal 320 of this embodiment includes: a memory 321 and a processor 322 coupled to the memory 321, and the processor 322 is configured to execute the firmware upgrade method in any of the aforementioned embodiments based on the instructions stored in the memory 321.
[0069] For example, the narrowband Internet of Things terminal receives an RRC connection release message sent by the base station after the inactivity timer of the narrowband Internet of Things terminal expires; obtains one of the data packets in the firmware upgrade data in the RRC connection release message, and enters an idle state.
[0070] The NB-IoT terminal 320 may further include a network interface 323 to provide a connection interface for various networked devices. The memory 321 and the processor 322 and the network interface 323 may be connected via a bus 324, for example.
[0071] The memories 311 and 321 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs.
[0072] The embodiments of the present disclosure provide a non-transitory computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the firmware upgrade method of any embodiment is implemented.
[0073] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more non-transient computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer program code.
[0074] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0075] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0076] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0077] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.
Claims
1. A method for upgrading the firmware of a narrowband Internet of Things terminal, characterized in that: include: The base station performs inactivity detection on the narrowband Internet of Things terminal, and starts an inactivity timer to count the duration of the inactivity state of the narrowband Internet of Things terminal; After the inactivity timer times out, the base station initiates the context suspension process of the NB-IoT terminal to the core network device; Before sending the RRC connection release message to the narrowband Internet of Things terminal, the base station obtains all data packets of the firmware upgrade data of the narrowband Internet of Things terminal from the mobility management entity MME, and the MME obtains the firmware upgrade data of the narrowband Internet of Things terminal from the application server; After the core network device completes the context suspension processing of the narrowband Internet of Things terminal, the base station sends a radio resource control RRC connection release message to the narrowband Internet of Things terminal, including one of the data packets in the firmware upgrade data. Among them, the firmware is a program written into an erasable programmable read-only memory or an electrically erasable programmable read-only memory, and the number of data packets into which the firmware upgrade data is divided is determined based on the total amount of firmware upgrade data and the amount of data transmitted once by the RRC connection release message.
2. The method according to claim 1, characterized in that Also includes: The narrowband Internet of Things terminal receives the RRC connection release message sent by the base station, obtains one of the data packets in the firmware upgrade data in the RRC connection release message, and enters an idle state.
3. The method according to claim 2, characterized in that Also includes: The NB-IoT terminal starts a discontinuous reception timer and enters a power saving mode after the discontinuous reception timer times out. The NB-IoT terminal starts the tracking area update cycle request timer, and after the tracking area update cycle request timer times out, it exits the power saving mode, enters the idle state when there is no data to send, and enters the connected state when there is data to send.
4. The method according to claim 1, characterized in that: After the inactivity timer times out, the base station initiates the context suspension process of the narrowband IoT terminal to the core network device, including: After the inactivity timer times out, the base station sends a context suspension request of the NB-IoT terminal to the MME, so that the MME triggers the serving gateway S-GW to release the bearer of the NB-IoT terminal; The base station receives a context suspension response of the narrowband Internet of Things terminal sent by the MME after the bearer of the narrowband Internet of Things terminal is released.
5. The method according to claim 1, characterized in that The size of the data packet is 50-200 bytes.
6. A method for upgrading the firmware of a narrowband Internet of Things terminal, characterized in that: include: The narrowband Internet of Things terminal receives an RRC connection release message sent by the base station after the inactivity timer of the narrowband Internet of Things terminal times out; The narrowband Internet of Things terminal obtains one of the data packets of the firmware upgrade data in the RRC connection release message and enters an idle state, wherein the base station obtains all data packets of the firmware upgrade data of the narrowband Internet of Things terminal from the mobility management entity MME, and the MME obtains the firmware upgrade data of the narrowband Internet of Things terminal from the application server. Among them, the firmware is a program written into an erasable programmable read-only memory or an electrically erasable programmable read-only memory, and the number of data packets into which the firmware upgrade data is divided is determined based on the total amount of firmware upgrade data and the amount of data transmitted once by the RRC connection release message.
7. The method according to claim 6, characterized in that Also includes: The NB-IoT terminal starts a discontinuous reception timer and enters a power saving mode after the discontinuous reception timer times out. The NB-IoT terminal starts the tracking area update cycle request timer, and after the tracking area update cycle request timer times out, it exits the power saving mode, enters the idle state when there is no data to send, and enters the connected state when there is data to send.
8. A base station, comprising: Memory; as well as A processor coupled to the memory, the processor being configured to execute the firmware upgrade method according to any one of claims 1, 4, and 5 based on instructions stored in the memory.
9. A narrowband Internet of Things terminal, comprising: Memory; as well as A processor coupled to the memory, the processor being configured to execute the firmware upgrade method according to any one of claims 6 to 7 based on instructions stored in the memory.
10. A communication system comprising: The base station as claimed in claim 8 and the narrowband Internet of Things terminal as claimed in claim 9; and The MME is configured to obtain the firmware upgrade data of the narrowband Internet of Things terminal from the application server, and after receiving the context suspension request of the narrowband Internet of Things terminal sent by the base station, trigger the service gateway S-GW to release the bearer of the narrowband Internet of Things terminal, and after the bearer of the narrowband Internet of Things terminal is released, send a context suspension response of the narrowband Internet of Things terminal to the base station.
11. A non-transitory computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the firmware upgrade method according to any one of claims 1 to 7 is implemented.
