Method, device and electronic device for controlling on-line communication equipment of narrowband Internet of Things
By determining the target frequency point in the NB-IoT communication device and clearing the remaining frequency point information, combined with the random delay model and low power consumption control, the problems of network congestion and power consumption optimization in the meter terminal are solved, and faster network resident processes and lower power consumption are achieved.
Patent Information
- Application Number
- CN202211103476.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-09
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2042-09-09
AI Technical Summary
The existing narrowband Internet of Things (NB-IoT) communication modules have problems such as network congestion, long networking time, and networking failure in meter terminals, and their power consumption has not yet been optimized.
After the NB-IoT communication device completes the network resident process, determine the current frequency point and neighboring frequency points as the target frequency points, and clear the remaining frequency point information, a random delay model and low power control strategy are adopted, such as using low power mode, turning off the power supply module or dynamically configuring the low power mode to optimize network resident control.
It effectively shortens the search time, reduces the search time in frequency change scenarios, improves the user experience, and reduces power consumption, and improves the success rate of network resident and data transmission success rate.
Smart Images

Figure CN117729609B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, device and electronic equipment for controlling a narrowband Internet of Things communication device. Background Art
[0002] Narrowband Internet of Things (NB-IoT) communication modules are widely used in meter terminals due to their advantages of low cost, wide coverage and low power consumption. Currently, all NB-IoT communication modules on the market use a general software system, providing AT commands that comply with the 3GPP (3rd Generation Partnership Project) specifications and general AT commands customized by manufacturers, such as MQTT (Message Queue Telemetry Transmission), HTTP (Hypertext Transfer Protocol), CoAP (CoAP Protocol), LWM2M (Lightweight M2M) and other network protocol application AT commands. Meter manufacturers send general AT commands to NB-IoT communication modules through the module external MCU (microcontroller unit) and get response results. Meter terminals using the above-mentioned general software system have the following defects: a large number of meter terminals are installed and used in the same communication cell. Due to the limited bandwidth of the communication cell, it is easy to cause network congestion, long network time, network failure and other problems; there is still room for optimization of power consumption. Summary of the invention
[0003] The purpose of this application is to provide a method, device and electronic equipment for on-line control of narrowband Internet of Things communication equipment, so as to optimize the technical defects existing in the meter terminal of the general software system.
[0004] To achieve the above-mentioned purpose, an embodiment of the present application provides a method for controlling a narrowband Internet of Things communication device, comprising:
[0005] After the narrowband Internet of Things NB-IoT communication device completes the network stationing process, the current frequency point where the NB-IoT communication device is located and the neighboring frequency point corresponding to the current frequency point are determined as the target frequency point, and the remaining frequency point information is cleared.
[0006] Optionally, before the narrowband Internet of Things NB-IoT communication device completes the network stationing process, the method further includes:
[0007] Divide the NB-IoT communication devices into N groups, and for each NB-IoT communication device in each group, determine a random delay time corresponding to each NB-IoT communication device, and determine a preset buffer time between different groups; wherein N is a positive integer;
[0008] The network search process is performed during the random delay time, and after the network search process is completed, the network stay process is executed.
[0009] Optionally, after the NB-IoT communication device completes the network stationing process, the NB-IoT communication device further includes performing low power consumption control in at least one of the following ways:
[0010] Use low power mode;
[0011] After the communication of the NB-IoT communication device is completed, turning off the power supply module of the NB-IoT communication device;
[0012] Dynamically configure the low power consumption mode or turn off the power supply module of the NB-IoT communication device.
[0013] Optionally, dynamically configuring a low power consumption mode or shutting down a power supply module of the NB-IoT communication device includes:
[0014] After the NB-IoT communication device completes the on-network process, obtaining the login flag of the NB-IoT communication device;
[0015] When the login flag is a first value, restoring the cloud preset data through the preset flash memory;
[0016] According to the cloud preset data, send data to the cloud and determine the sending result;
[0017] According to the sending result, a low power consumption mode is dynamically configured or the power supply module of the NB-IoT communication device is turned off.
[0018] Optionally, dynamically configuring a low power consumption mode or turning off a power supply module of the NB-IoT communication device according to the sending result includes:
[0019] When the number of sending failures of the sending result is less than a first preset value, determining that the NB-IoT communication device is configured in a low power consumption mode;
[0020] When the number of sending failures of the sending result is greater than or equal to the first preset value, it is determined to turn off the power supply module of the NB-IoT communication device.
[0021] Optionally, the above method further includes:
[0022] When the login flag is a second value, determining a registration result of the NB-IoT communication device logging into a remote end;
[0023] When the number of registration failures of the registration result is less than a second preset value, determining that the NB-IoT communication device is configured in a low power consumption mode;
[0024] When the number of registration failures of the registration result is greater than or equal to the second preset value, determining to turn off the power supply module of the NB-IoT communication device;
[0025] When the registration result is successful, the login flag is determined to be the first value, data is sent to the cloud, and the sending result is determined.
[0026] Optionally, before the narrowband Internet of Things NB-IoT communication device completes the network stationing process, the method further includes:
[0027] Determine a first frequency band of the first network, where the first frequency band is a network frequency band of the first network supported by a target operator, and the target operator is an operator to which a user identity card currently used by a narrowband Internet of Things NB-IoT communication device belongs;
[0028] If there is a first frequency point / first cell on the first frequency band, a frequency search is performed on the first frequency band to determine a second cell; the first frequency point is the frequency point information pre-saved by the NB-IoT communication device; the first cell is a target cell that can be resided on the first frequency point;
[0029] The network stationing process is performed in the second cell.
[0030] Optionally, the above method further includes:
[0031] If a first frequency point exists in the first frequency band, determining whether there is a target cell that can be resided in the first frequency point;
[0032] If there is no target cell that can be camped on the first frequency point, performing a frequency search in the first frequency band to determine a second cell;
[0033] If there is a target cell that can be resided in on the first frequency point, the network residency process is performed in the target cell that can be resided in.
[0034] Optionally, the above method further includes:
[0035] After the NB-IoT communication device is powered on / awakened from sleep mode, the voltage or temperature of the NB-IoT communication device is obtained;
[0036] When the voltage or the temperature exceeds a first threshold range, sending a warning message to the cloud;
[0037] When the voltage or the temperature is lower than the first threshold range, determining whether the voltage or the temperature is in a second threshold range; the second threshold range is smaller than the first threshold range;
[0038] When it is in the second threshold range, when it is determined that the NB-IoT communication device enters a connected state, the step of obtaining the voltage or temperature of the NB-IoT communication device is re-executed.
[0039] To achieve the above-mentioned purpose, an embodiment of the present application further provides a network control device for a narrowband Internet of Things communication device, comprising:
[0040] The first processing module is used to determine the current frequency point where the narrowband Internet of Things NB-IoT communication device is located and the neighboring frequency point corresponding to the current frequency point as the target frequency point after the narrowband Internet of Things NB-IoT communication device completes the network stationing process, and clear the remaining frequency point information.
[0041] To achieve the above-mentioned purpose, an embodiment of the present application also provides an electronic device, including: a transceiver, a processor, a memory, and a program or instruction stored on the memory and executable on the processor; when the processor executes the program or instruction, the on-line control method of the narrowband Internet of Things communication device as described in any one of the above items is implemented.
[0042] To achieve the above-mentioned purpose, an embodiment of the present application further provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps in the on-line control method of a narrowband Internet of Things communication device as described in any of the above items are implemented.
[0043] The beneficial effects of the above technical solution of the present application are as follows:
[0044] In the above technical solution, after the narrowband Internet of Things NB-IoT communication device completes the network stationing process, the current frequency point where the NB-IoT communication device is located and the neighboring frequency point corresponding to the current frequency point are determined as the target frequency point, and the remaining frequency point information is cleared. By adopting the solution of the present application, after the network stationing is completed, only the current frequency point and its neighboring frequency point are saved as priority frequency points, and the remaining historical frequency points are cleared, which can effectively shorten the network search time, and can also reduce the network search time in scenarios where the frequency point changes, and provide users with a better user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A schematic diagram of a flow chart of a method for controlling a narrowband Internet of Things communication device in accordance with an embodiment of the present application;
[0046] Figure 2 A schematic diagram of an application of a random delay model provided in an embodiment of the present application;
[0047] Figure 3 A control flow chart for power consumption optimization provided in an embodiment of the present application;
[0048] Figure 4 A control flow chart of on-line optimization provided in an embodiment of the present application;
[0049] Figure 5 A voltage / temperature monitoring control flow chart provided in an embodiment of the present application;
[0050] Figure 6 A schematic diagram of the architecture of an on-line control system of a narrowband Internet of Things communication device provided in an embodiment of the present application;
[0051] Figure 7 A schematic diagram of the structure of a network control device for a narrowband Internet of Things communication device provided in an embodiment of the present application;
[0052] Figure 8 A schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0053] In order to make the technical problems, technical solutions and advantages to be solved by the present application clearer, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0054] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present application. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0055] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0056] Additionally, the terms "system" and "network" are often used interchangeably herein.
[0057] In the embodiments provided in the present application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, but B can also be determined according to A and / or other information.
[0058] Here, first explain the AT command:
[0059] The sending of short messages depends on the communication interface specification of the GSM network. According to GSM 07.07, the sending and receiving of short messages are realized through AT commands, which are mainly divided into block mode, text mode and protocol data unit (PDU) mode. With the continuous development of technology, the block mode that uses binary code for data transmission has been gradually eliminated, while the text mode and PDU mode belong to the interface protocol that uses AT commands for communication.
[0060] AT stands for Attention. The command set is sent from the terminal equipment (TE) or data terminal equipment (DTE) to the terminal adapter (TA) or data circuit terminal equipment (DCE). AT commands are sent from the terminal equipment to the terminal adapter, which then parses the AT commands and controls the mobile device to implement various network functions.
[0061] AT command is a standard interface. Its command format and return command are fixed. The main grammatical features are:
[0062] (1) All AT commands begin with AT. <cr>The command ends with the Enter key, and the format is <Enter><Line Feed><Response Content><Enter><Line Feed>. The Enter key is used as a sign of the end of the command. After the module receives the Enter key, its response will follow immediately.
[0063] (2) If the AT command is executed successfully, "OK" will be returned; if the AT command syntax is incorrect or the execution fails, "ERROR" will be returned.
[0064] (3) Multiple instructions can be sent continuously, but the instructions must be separated by spaces.
[0065] AT commands are the only way for a PC to operate a mobile phone through a serial port.
[0066] Here, it should be noted that since the driving instructions of the GPRS / GSM chip all rely on AT instructions, the main control chip sends AT instructions corresponding to various services through the serial port to achieve communication with the user's mobile phone. According to the GSM response mechanism and the characteristics of serial port data transmission, a function for sending AT instructions is written. When the AT instruction is sent to the chip, it will return instructions to determine whether the working status is normal. To achieve a function, it is not enough to send only one AT instruction. Therefore, in order to facilitate the sending of different AT instructions, it is necessary to clean up the data in the serial port buffer.
[0067] like Figure 1 As shown, the embodiment of the present application provides a method for controlling a narrowband Internet of Things communication device, including:
[0068] Step 101: After the narrowband Internet of Things NB-IoT communication device completes the network stationing process, the current frequency point where the NB-IoT communication device is located and the neighboring frequency point corresponding to the current frequency point are determined as the target frequency point, and the remaining frequency point information is cleared.
[0069] It should be noted that meter terminals refer to NB-IoT communication equipment such as gas meters, electricity meters, and water meters. The characteristics of meter terminals are: low cost, large number, wide geographical distribution, and low requirements for real-time communication. NB-IoT communication equipment has the advantages of low cost, wide coverage, and low power consumption, but has the following defects: there are many AT instructions, and a microcontroller unit (MCU) is required to complete additional calculations, control, storage and other functions, resulting in a high MCU cost; a large number of meter terminals are installed and used in the same communication community, causing network congestion, long network time, network failure and other problems; there is still room for optimization of power consumption.
[0070] This application optimizes the network stationing process of the meter terminal. After the network stationing is completed, only the current frequency and its neighboring frequency are saved as target frequencies, that is, as priority frequencies, and the remaining historical frequencies are cleared. Since the meter uses a fixed installation address and the probability of frequency change is low, the network search time can be effectively shortened; it can also reduce the network search time in the scenario where the frequency of the NB-IoT communication device changes.
[0071] Optionally, before the narrowband Internet of Things NB-IoT communication device completes the network stationing process, the method further includes:
[0072] Step 102: Divide the NB-IoT communication devices into N groups, and determine a random delay time corresponding to each NB-IoT communication device in each group, and determine a preset buffer time between different groups; wherein N is a positive integer;
[0073] Step 103: Perform a network search process during the random delay time, and after the network search process is completed, execute a network stay process.
[0074] Since the installation and application location of meter terminals is fixed and the number of them in the same area is large, if a large number of meters are online or sending data at the same base station frequency and cell, it will cause mutual interference, NB-IoT communication equipment network congestion, and noise floor increase, resulting in long-term online stay on the terminal side, data transmission failure, and increased power consumption. To solve this problem, this application delays online stay or data transmission after the NB-IoT communication equipment is turned on, so as to achieve the purpose of staggered online stay and staggered data transmission, improve the success rate of online stay and data transmission, and reduce module power consumption.
[0075] The NB-IoT communication device of the present application provides a random delay network model, which reduces the number of meter terminals connected to RRC at the same time, randomly divides the meter terminals into N groups, and reserves a buffer interval between each group. The number of terminals concurrently on the network is 1 / N of the prior art, and the buffer interval can meet the access and release of RRC connections of most terminals in the group. Secondly, a random delay is generated to increase the concurrent time of the meter terminals and the concurrent time of the RRC connections of the meter terminals, thereby solving the problems of network and packet sending failures caused by a large number of modules concurrently on the network and sending packets in the same communication cell.
[0076] After the NB-IoT communication device is turned on, the random delay model of the NB-IoT communication device will generate a random delay time. During this time, the module will shut down the protocol stack and enter deep sleep mode to save power. The main reasons for the network congestion and terminal interference of NB-IoT communication equipment are that there are a large number of terminals whose RRC connections are not released or RRC connection requests, data transmission and reception are being carried out at the same time. Therefore, to solve the network congestion and interference problems, it is necessary to stagger the duration of the meter terminals in the same area from the first RRC connection to the last RRC release.
[0077] In a specific embodiment, Figure 2 A schematic diagram of a random delay model is provided, in which T is a random value generated by a random algorithm built into an NB-IoT communication device, N is the maximum value of a meter terminal group, wherein N is a positive integer, T1 is the maximum time for an NB-IoT communication device in each group to start staying on the network, T4 is the sum of the maximum time for each group to complete the release of an RRC connection and the buffer time, N, T1, and T4 are configured by an MCU through an AT command, T2 is the actual time for the meter terminal to initiate an RRC request, T3 is the time for the meter terminal to release the RRC connection, and n is the actual number of terminals in each group. The meter products in the same area are randomly divided into N groups. Taking group 0 as an example, each terminal randomly selects time T from 0 to T1 to start searching the network. After searching for a suitable cell, an RRC connection request is initiated at time T2. The network stationing, uplink and downlink data services are completed and the RRC connection is released at time T3. The theoretical value of the concurrent network stationing and uplink and downlink data service time of terminals 1 to n is (T1+T2), and a buffer time of (T4-T3) is left between each group to meet the differences in network search, network stationing time, and data service time of different NB-IoT communication devices. When group 2 starts searching the network, most of the terminals in group 1 have completed the RRC connection release.
[0078] If random delay and grouped network access are not used, there will be n*N terminals concurrently on the network and sending and receiving data within the time (T3-T2), while this random delay model only has n terminals on the network within the time (T1+T2).
[0079] Combined with the above step 101, only one frequency point and its adjacent area are saved in this application. If there is a saved frequency point and the frequency point can be resident, the NB-IoT communication device does not need to perform the BAND (frequency band) search step, that is, the network search process. However, if there is no saved frequency point, the NB-IoT communication device will enter the BAND search. The BAND search searches the frequencies within the frequency band one by one. For example, BAND 8 contains 350 frequencies. The quick search of each frequency point takes 80ms, and the quick search of the entire BAND 8 takes 28s. Therefore, for any NB-IoT communication device to see whether there is a saved frequency point, in Figure 2 The time shown in the figure is quite different. In order to enable each group to complete the network station and uplink data service within the estimated time of each group, the network station delay steps of any NB-IoT communication device are as follows:
[0080] Step 1: After the NB-IoT communication device is turned on, determine whether there is a saved frequency point. If so, proceed to step 2; if not, proceed to step 3;
[0081] Step 2: Generate a random number M in the range of 0-N and a random number T in the range of 0-T1 by using the Monte Carlo method, and execute step 4;
[0082] Step 3: According to the network search time recorded by the NB-IoT communication device, the network search time t is predicted by the grey prediction GM(1,1) model, and a random number M is generated in the range of 0-N and a random number T is generated in the range of 0-(T1-t) by the Monte Carlo method, and step 4 is executed;
[0083] Step 4: NB-IoT communication equipment delay M*T1+T.
[0084] In this application, the Monte Carlo method is used to generate random numbers. Compared with the random numbers generated by the linear congruential method, it can satisfy the uniform distribution. The grey prediction GM (1,1) model has the advantages of convenient calculation and high modeling accuracy for systems with short time series, few statistical data, and incomplete information. It is suitable for NB-IoT communication devices with limited computing power.
[0085] After the delay times out, the NB-IoT communication device automatically wakes up from deep sleep, opens the protocol stack, reads the PLMN (Public Land Mobile Network) information of the USIM card, matches the BAND supported by the operator according to the PLMN information to complete the BAND locking, and the NB-IoT communication device checks whether there is a saved frequency point within the locked BAND frequency range. If the saved frequency point exists and there is a cell that can be resident, it initiates the link establishment and completes the network stationing. If there is no or no resident cell, the NB-IoT communication device enters the BAND fast search and slow search frequency point. After the NB-IoT communication device completes the network stationing, it will clear the remaining historical frequency point records and only retain the current resident frequency point and its neighboring frequency point information.
[0086] Optionally, after the NB-IoT communication device completes the network stationing process, the NB-IoT communication device further includes performing low power consumption control in at least one of the following ways:
[0087] Step 104: Use low power mode (PSM mode); here, after entering PSM mode, shut down the preset hardware group. In this embodiment, the preset hardware group includes CPU, memory, radio frequency and SIM card module; exit PSM mode; after exiting PSM mode, restart the preset hardware group; the protocol stack reruns.
[0088] Step 105: After the NB-IoT communication device completes communication, the power supply module of the NB-IoT communication device is turned off;
[0089] Step 106: Dynamically configure a low power consumption mode or turn off the power supply module of the NB-IoT communication device.
[0090] In the first implementation method of step 104 adopted in the present application, after the initial reporting is completed, the NB-IoT communication device does not disconnect from the network, but uses the low power mode (PSM) for low power control and enters the PSM state. In the PSM state, the power consumption is low and the device can always remain online, but no longer transmits data. When reporting is needed again, there is no need to reattach to the network, which saves the power consumption of network search. The NB-IoT communication device is awakened again and reports directly.
[0091] Specifically, the power consumption of NB-IoT communication equipment using PSM is shown in Table 1 below. In the table, R represents the number of days. In meter applications, meter reading is generally performed in months. For example, when R=30, the total power consumption of the meter in one meter reading cycle is: 215+259.2*30=7991mAs. It can be seen that the power consumption of the PSM technology is relatively large due to the long cycle of the meter.
[0092] Table 1: Power consumption of NB-IoT communication equipment using PSM
[0093]
[0094] In the second implementation method of step 105 adopted in the present application, after the communication of the NB-IoT communication device is completed, the power supply module of the NB-IoT communication device is turned off. It can also be understood that a customizable acquisition frequency time controller is set in the NB-IoT communication device, and the time controller has a self-power-off and restart function. It automatically cuts off the power after the acquisition cycle of the NB-IoT communication device is completed, thereby reducing the power consumption of the NB-IoT communication device.
[0095] Specifically, the power consumption of the NB-IoT communication device directly powering off after sending and receiving data is shown in Table 2 below. In the table, R represents the number of days, and N represents the time taken to upload and download data. Compared with the first implementation method, the second implementation method is that the NB-IoT communication device is powered off within the meter reading cycle interval, and the power consumption is 0, which reduces the PSM power consumption. Due to the second implementation method, the NB-IoT communication device is restarted after power failure, and the cloud platform or server registration and login context information is lost. The NB-IoT communication device will re-search the network, stay on the network, and register and log in to the cloud platform to complete the cloud platform or server data reporting. Therefore, the RRC connection duration and the number of data transmission packets will also increase. The time taken to log in and register the cloud platform is generally within 20s. Therefore, the total power consumption of this solution for one cycle is 833+8*20=993mAs. When the number of days of the data transmission cycle is R=2, the power consumption of the first implementation method is 733.4mAs. Therefore, when R is less than or equal to 2, the first implementation method is better than the second implementation method, and when R is greater than or equal to 3, the second implementation method is better than the first implementation method.
[0096] Table 2: Power consumption of NB-IoT communication equipment when it is powered off directly after sending and receiving data
[0097]
[0098] The present application adopts the third implementation method of step 106, which is combined with the above-mentioned first implementation method and second implementation method, that is, PSM is used for retransmission packets with a shorter cycle due to communication abnormalities, and power-off mode is used for meter reading data packets with a longer cycle due to normal communication, and dynamic adjustment is made to save power consumption and traffic.
[0099] Optionally, the above step 106 includes:
[0100] Step 107: After the NB-IoT communication device completes the on-network process, obtain the login flag of the NB-IoT communication device;
[0101] Step 108: When the login flag is a first value, restore the cloud preset data from the preset flash memory;
[0102] Step 109: Send data to the cloud according to the cloud preset data, and determine the sending result;
[0103] Step 110: According to the sending result, dynamically configure a low power consumption mode or turn off the power supply module of the NB-IoT communication device.
[0104] In this embodiment, after the NB-IoT communication device is turned on and on the network, it is determined whether the login flag is the first value. Here, the first value is 1, that is, the login flag is 1 after the NB-IoT communication device is turned on. Then the module restores the cloud preset data from the preset flash memory, that is, reads and restores the cloud platform or server registration, login information and context. Secondly, the NB-IoT communication device directly sends data. This process saves the NB-IoT uplink and downlink data registered and logged in by the cloud platform or server, and reduces the duration of the RRC connection.
[0105] In this application, according to the application characteristics of the long meter reading cycle of NB-IoT communication equipment (meter terminal), the power-off and PSM technologies are dynamically selected for mixed application. When data is successfully sent, the meter chooses the power-off mode to achieve low power consumption. When data transmission fails, the meter terminal chooses to enter PSM and wake up and resend data after a few hours. After the module successfully registers and logs in to the cloud platform or server, the registration and login context information is backed up and the flag is marked to Flash. When the module is turned on again, the registration and login context information and flag are restored from Flash, and data can be sent directly without repeated registration and login to the server, thereby saving power consumption and traffic.
[0106] Optionally, the above step 110 includes:
[0107] Step 111: When the number of failed transmissions of the transmission result is less than a first preset value, determine that the NB-IoT communication device is configured in a low power consumption mode;
[0108] Step 112: When the number of sending failures of the sending result is greater than or equal to the first preset value, determine to turn off the power supply module of the NB-IoT communication device.
[0109] In this application, if the sending result is that the platform registration keep-alive time has timed out, and the number of sending failures is less than the first preset value, the first preset value is configured by the MCU through AT instructions, then the NB-IoT communication device records the number of failures, and uses RAI (release auxiliary information) technology to achieve rapid release of the RRC connection. Since the PSM power consumption is better than the power consumption of the power-off mode when the data sending cycle is less than or equal to 2 days, therefore, when the PSM cycle is within 2 days, the data is resent after waking up after the timeout. This process uses RAI technology to shorten the duration of the RRC connection, reduce power consumption, and if data transmission fails, resending data periodically within 2 days can eliminate factors such as network abnormalities in the current time period and improve the success rate of packet sending.
[0110] When the number of sending failures of the sending result is greater than or equal to the first preset value, it is determined that the data sending has failed, and the reason for the failure is that the platform registration keep-alive time has timed out, indicating that the life cycle of the NB-IoT communication device login registration information on the cloud platform or server has expired and needs to be re-registered and logged in. The flag position is set to 0, and the login is performed again. At this time, similar to the conditions for successful data sending, the NB-IoT communication device is turned off and the power is disconnected, and the power is turned on again after the next meter reading cycle. Therefore, the power supply module of the NB-IoT communication device is turned off to further reduce the power.
[0111] Optionally, the above method further includes:
[0112] Step 113: When the login flag is a second value, determine a registration result of the NB-IoT communication device logging into the remote end;
[0113] It should be noted that the second value is a non-1 value, 0 is taken as an example here, and the second value and the above-mentioned first value are data for distinguishing whether the flag bit is valid.
[0114] Step 114: When the number of registration failures of the registration result is less than a second preset value, determine that the NB-IoT communication device is configured in a low power consumption mode;
[0115] Step 115: When the number of registration failures of the registration result is greater than or equal to the second preset value, determine to turn off the power supply module of the NB-IoT communication device;
[0116] Step 116: When the registration result is successful, determine that the login flag is the first value, send data to the cloud, and determine the sending result.
[0117] In the present application, when the number of registration failures of the registration result is greater than or equal to the second preset value, the MCU sends a simplified AT command to the NB-IoT communication device to log in to the cloud platform server. If successful, the cloud platform or server registration, login information and context are saved to the Flash, and the login flag is determined to be the first value, that is, the login flag is set to 1, and data is sent. If the data is sent successfully, the NB-IoT communication device is shut down, the power is disconnected, and waits for the next meter reading cycle before powering on again.
[0118] In step 114 and step 115, when the number of registration failures of the registration result is less than the second preset value, that is, the number of failures to register and log in to the cloud platform is less than the second preset value, and the second preset value is configured by the MCU through an AT command, the NB-IoT communication device records the number of failures and uses the RAI technology to achieve rapid release of the RRC connection. Since the PSM power consumption is better than the power consumption of the power-off mode when the data sending cycle is less than or equal to 2 days, when the PSM cycle is within 2 days, the data is resent after waking up after timeout.
[0119] In a specific embodiment, Figure 3 As shown, the present application, in combination with the above steps 107 to 116, provides a specific method for dynamically configuring a low power consumption mode or shutting down the power supply module of the NB-IoT communication device, which optimizes the RRC connection, network stationing, and data transmission, and the power consumption is better than the above-mentioned first implementation method and the second implementation method. Figure 3 The module here refers to the NB-IoT communication device.
[0120] In this application, the PSM mode is used for retransmission packets with a shorter cycle due to communication anomalies, and the power-off mode is used for meter reading data packets with a longer cycle due to normal communication. The use of RAI technology in the PSM mode can reduce the RRC connection duration in the first implementation; the use of cloud platform or server registration, login information and context Flash storage and recovery methods reduces the amount of uplink and downlink data, reducing the data transmission power consumption by 8N and the RRC connection duration by 2 / 3 in the second implementation. In the case of successful communication, the power consumption statistics in this application are shown in Table 3 below. When the meter reading frequency is greater than 2 days, the optimization scheme of this application is better than the above-mentioned first and second implementations.
[0121] Table 3: Power consumption of NB-IoT communication equipment using the third implementation method
[0122]
[0123] This application provides a power consumption optimization process. According to the application characteristics of the long meter reading cycle of the meter terminal, the power-off and PSM technologies are dynamically selected for mixed applications. When data is sent successfully, the meter chooses to power off to achieve low power consumption. When data transmission fails, the meter chooses to enter PSM and wake up after several hours to resend data. After the NB-IoT communication device successfully registers and logs in to the cloud platform or server, the registration and login context information is backed up and the flag is marked to Flash. When the NB-IoT communication device is turned on again, the registration and login context information and flag are restored from Flash, and data can be sent directly without repeated registration and login to the server, thereby saving power consumption and traffic.
[0124] It should be noted that NB-IoT communication equipment generally searches the network in the order of historical frequency records, fast search of BAND (frequency band) list frequencies, and slow search of BAND list frequencies. This application optimizes the network search based on the characteristics of fixed meter installation and application locations and a large number of meters in the same area.
[0125] Optionally, before the narrowband Internet of Things NB-IoT communication device completes the network stationing process, the above method further includes:
[0126] Step 117: determining a first frequency band of the first network, where the first frequency band is a network frequency band of the first network supported by a target operator, and the target operator is an operator to which a user identity card currently used by a narrowband Internet of Things NB-IoT communication device belongs;
[0127] This application locks the BAND information corresponding to the operator according to the USIM card (Universal Subscriber Identity Module) information, which can cover the scene where the frequency point changes and reduce the network search time in this scene. Specifically, the current operator is confirmed according to the USIM card, and the corresponding preset frequency band in the preset frequency band list is obtained according to the type of the operator.
[0128] Step 118: If there is a first frequency point / first cell on the first frequency band, a frequency search is performed on the first frequency band to determine a second cell; the first frequency point is the frequency point information pre-saved by the NB-IoT communication device; the first cell is a target cell that can be resident on the first frequency point;
[0129] Step 119: Perform a network stationing process in the second cell.
[0130] In this embodiment, it is determined whether there is a saved frequency point on the first frequency band, that is, the first frequency point, or, after determining the first frequency point, it is further determined whether there is a cell that can be resided on the first frequency point, that is, the first cell. If any of the above conditions are not met, a frequency search is performed, including BAND fast search, slow frequency search, etc., so as to find a suitable cell, that is, determine the second cell, and initiate link establishment in the second cell to complete the network resident process.
[0131] Optionally, the above method further includes:
[0132] Step 120: If there is a first frequency point on the first frequency band, determine whether there is a target cell that can be resided on the first frequency point;
[0133] Step 121: If there is no target cell that can be camped on the first frequency point, a frequency search is performed in the first frequency band to determine a second cell;
[0134] Step 122: If there is a target cell that can be camped on at the first frequency point, a camping process is performed in the target cell that can be camped on.
[0135] The method of the present application also includes, if the first frequency point does not exist on the first frequency band, then a frequency point search is performed on the first frequency band to determine the second cell. The present application performs a preset frequency band quick search process on the first frequency band. When the frequency point of the preset frequency band is successfully obtained, the candidate cell is searched in the frequency point of the preset frequency band, and the terminal selects the candidate cell to perform the cell residence process. Its beneficial effect is that the search process based on the preset frequency band can greatly reduce the search spectrum width compared to the full frequency band search, thereby saving search time. The preset frequency band search process is not restricted by the region, and can well support the terminal in the mobile state to search for frequencies and cells. The preset frequency band information can be placed in the factory settings.
[0136] Further preferably, when the frequency point of the preset frequency band fails to be obtained through the preset frequency band quick search process, the enhanced slow search process of the preset frequency band is performed; when the frequency point of the preset frequency band is successfully obtained through the preset frequency band enhanced slow search process, the frequency points of the preset frequency band are searched for to-be-selected cells, and the terminal selects the to-be-selected cell to perform the cell residence process.
[0137] In another specific embodiment, Figure 4 As shown in the figure, after the module is powered on, the module generates a random delay time by the random delay model, the module closes the protocol stack, enters deep sleep, waits for the delay time to time out, opens the protocol stack, reads the USIM card, locks the first frequency band, and determines whether there is a saved frequency point in the first frequency band. If not, perform a BAND fast search and slow search of the frequency point to find a suitable cell; if so, further determine whether the saved frequency point has a cell that can be resident. If not, perform a BAND fast search and slow search of the frequency point to find a suitable cell. If the saved frequency point has a cell that can be resident, initiate a link to complete the network, and save the frequency point and its neighboring area to clear the historical frequency point record. The module here refers to the NB-IoT communication device.
[0138] Optionally, the above method further includes:
[0139] Step 123: After the NB-IoT communication device is powered on / awakened from sleep mode, the voltage or temperature of the NB-IoT communication device is obtained;
[0140] Step 124: When the voltage or the temperature exceeds a first threshold range, sending a warning message to the cloud;
[0141] Step 125: when the voltage or the temperature is lower than the first threshold range, determine whether the voltage or the temperature is in a second threshold range; the second threshold range is smaller than the first threshold range;
[0142] Step 126: When it is within the second threshold range and it is determined that the NB-IoT communication device enters a connected state, re-execute the step of obtaining the voltage or temperature of the NB-IoT communication device.
[0143] like Figure 5 As shown, after the module is turned on or awakened from sleep, the ADC (analog-to-digital converter) collects the module Vbat (voltage pin) voltage and temperature, and determines whether the voltage or temperature is out of range. If so, the alarm event is reported to the simplified AT command module, and the voltage or temperature alarm event is output to the MCU via the serial port. The MCU controls the meter terminal to issue a warning and reports the voltage and temperature alarm to the cloud management platform; if not, it determines whether the voltage or temperature is close to the critical value. If it is close to the critical value, when the module enters the connected state, the step of obtaining the voltage or temperature of the NB-IoT communication device is re-executed. Figure 5 The module here refers to the NB-IoT communication device.
[0144] In one implementation, after the NB-IoT communication device module is powered on, the module VBAT power supply voltage and chip temperature are collected through the built-in ADC interface of the baseband chip, and then it is determined whether the voltage or temperature exceeds the tolerable range of the meter. If it exceeds the range, the alarm event is reported to the simplified AT command module, and then the AT command simplification module outputs the alarm information to the MCU serial port. After receiving the alarm information, the MCU controls the meter terminal to prompt a battery undervoltage alarm and a temperature alarm, and sends the voltage or temperature alarm information to the cloud platform, and records the warning information to facilitate accident analysis.
[0145] like Figure 6 As shown, an embodiment of the present application provides a system architecture diagram of an NB-IoT communication device applied to a meter, including: a hardware driver module, an NB-IoT protocol stack, a voltage / temperature monitoring module, an application layer protocol, a network search optimization module, a power consumption optimization module, a storage / computation module, a LOG module (log module), a firmware security authentication module, and a simplified AT command module.
[0146] In this application, the AT command module is simplified to simplify the AT command, and the network station, communication, one-click connection to the cloud platform or server and data transmission, data storage, encryption and other applications for meter terminals such as electricity meters, water meters, and gas meters are realized. Through battery monitoring, LOG recording, firmware security protection and other functions, the development is convenient, the functions are complete, and the use is safe; a random delay network station model is proposed, so that RRC (Radio Resource The number of meter terminals connected to the wireless resource control (RFC) is reduced, and the concurrent time is expanded, which solves the problem of network stationing and packet sending failure caused by a large number of modules in the same communication cell being stationed and sending packets concurrently; it provides a network stationing optimization process for meters, which is different from the existing NB-IoT communication equipment. According to the characteristics of the fixed installation address and low probability of frequency change of the meter, after the network stationing is completed, only the current frequency and the frequency of the neighboring area are saved as the priority frequency, and the remaining historical frequencies are cleared, which can effectively shorten the network search time; it provides a power consumption optimization process, according to the application characteristics of the long meter reading cycle, the power outage and PSM technology are dynamically selected for mixed application, and the RAI technology is applied to the PSM solution to reduce the RRC connection time; the cloud platform or server registration, login information and context Flash storage and recovery method are used to reduce the amount of uplink and downlink data. After the module successfully registers and logs in to the cloud platform or server, the registration and login context information is backed up and the flag is marked to Flash. When the module is powered on again, the registration and login context information and flag are restored from Flash, and data can be sent directly without repeated registration and login to the server, thereby saving power consumption and traffic.
[0147] In the present application, the power consumption optimization module can implement the implementation methods of the above steps 104 to 116 and achieve the same technical effects, which will not be repeated here.
[0148] In the present application, the voltage / temperature monitoring module can implement the implementation of the above-mentioned steps 123 to 126, and can achieve the same technical effect, which will not be repeated here.
[0149] In this application, the network search optimization module: NB-IoT communication equipment generally searches the network in the order of historical frequency records, fast search BAND (frequency band) list frequencies, and slow search BAND list frequencies. This proposed software system optimizes the network search based on the characteristics of fixed meter installation and application locations and a large number of meters in the same area.
[0150] In this application, the hardware driver module provides API functions for controlling hardware resources for the NB-IoT protocol stack, voltage and temperature monitoring module, LOG module, and firmware security authentication module. This system mainly includes Uart (Universal Asynchronous Receiver / Transmitter), ADC (analog-to-digital converter), FLASH (flash memory), RTC (real-time clock chip), timer and other hardware resources.
[0151] In this application, the NB-IoT protocol stack: implements signal processing of the NB-IoT communication protocol, provides communication and protocol foundation for the application layer protocol, network search optimization module, power consumption optimization module, and 3GPP protocol specification instruction API function.
[0152] In this application, the application layer protocol module: implements the application layer communication protocols such as TCP / IP, TLS / DTLS, CoAP, LWM2M, MQTT, HTTP, etc. required by NB-IoT, implements FOTA upgrade (Firmware Over-the-Air), cloud platform connection and other functions, and provides a simplified AT command module to call API functions to implement simplified AT command functions.
[0153] In this application, the network search optimization module: NB-IoT communication equipment generally searches the network in the order of historical frequency records, fast search BAND (frequency band) list frequencies, and slow search BAND list frequencies. This proposed software system optimizes the network search based on the characteristics of fixed meter installation and application locations and a large number of meters in the same area.
[0154] In this application, the storage / computation module: stores voltage, temperature, application protocol context, historical frequency records, and the MCU can store data by simplifying AT instructions and store meter collection data.
[0155] In this application, the LOG module: records the reasons for the failure of the communication equipment, collects data and stores it in the storage / computation module to provide data to be read directly through the serial port when the meter is abnormal. 2. Externally connect the log tool to output the LOG of each functional module in real time.
[0156] In this application, the firmware security authentication module: the estimated security authentication module encrypts and protects the factory information to prevent IMEI, radio frequency, and calibration data from being tampered with; through firmware download security authentication, signing and encryption must be completed before downloading the tool or FOTA upgrade to prevent the firmware from being reburned or damaged.
[0157] Simplified AT command module: Simplify AT commands and provide MCU to send and respond to AT through the serial port. This module will integrate simplified commands such as cloud platform, MQTT, HTTP, etc., and implement AT command configuration of network optimization module and power consumption optimization module parameters. MCU only needs to execute AT command "AT+PLTCFG= <platform>", you can choose different cloud platforms to access, including " <platform>"The value range is 0 to n, representing n cloud platforms or servers. When the meter needs to send data, just execute "AT+DATASEND= <data>",in" <data>" is the data to be sent, the NB-IoT communication device will complete the processes of judging the flag bit, logging into the cloud platform or server, and recovering Flash data in the power consumption optimization module. When the voltage / temperature monitoring module alarms, it outputs an AT command report message to the MCU, and the MCU calls "AT+DATASEND" to send an alarm message to the cloud platform. The simplified AT command module of the present application solves the problem that the AT commands in the prior art are numerous and the MCU needs to complete additional calculation, control, storage and other functions, resulting in a high MCU cost.
[0158] To summarize, the simplified AT command module provided by the NB-IoT communication device in the system of this application realizes the network access, communication, one-click connection to the cloud platform or server and data sending, data storage, encryption and other applications for meter terminals such as electricity meters, water meters, and gas meters, and through battery monitoring, LOG recording, firmware security protection and other functions, it is easy to develop, complete in functions, and safe to use.
[0159] In the system of the present application, the NB-IoT communication equipment provides staggered network access and staggered packet sending functions, which can enable a large number of modules in the same communication cell to stagger network access and packet sending, thereby improving the success rate of network access and packet sending; the system provides a random delay network access model to optimize the network search process and shorten the network access cycle.
[0160] In the system of the present application, the NB-IoT communication equipment provides a power consumption optimization process. According to the characteristics of fixed meter placement, the power outage and PSM are dynamically configured to optimize the network search and network access process after power off and then restart, reduce the network access time after power off, and reduce the power consumption caused by logging into and registering on the cloud platform or server after power off and then restarting.
[0161] The system architecture provided in this application provides simplified AT commands to realize network access, communication, one-click connection to cloud platforms or servers, data sending, data storage, encryption and other applications for meter terminals such as electricity meters, water meters, and gas meters. It also provides battery monitoring, LOG recording, firmware security protection and other functions to ensure convenient development, complete functions and safe use.
[0162] To sum up, the network control method and system for narrowband Internet of Things communication equipment provided by the present application, after the network is completed, only save the current frequency and its adjacent frequency as priority frequencies, and clear the remaining historical frequencies. Since the meter uses a fixed installation address, the probability of the frequency changing is low, which can effectively shorten the network search time. The BAND information corresponding to the operator is locked according to the USIM card information, which can cover the scenario where the frequency changes, and can reduce the network search time in this scenario.
[0163] like Figure 7 As shown, the embodiment of the present application provides a network control device for a narrowband Internet of Things communication device, including:
[0164] The first processing module 701 is used to determine the current frequency point where the narrowband Internet of Things NB-IoT communication device is located and the neighboring frequency point corresponding to the current frequency point as the target frequency point, and clear the remaining frequency point information after the narrowband Internet of Things NB-IoT communication device completes the network stationing process.
[0165] In the present application, the above-mentioned on-line control device also includes:
[0166] A second processing module is used to divide the NB-IoT communication devices into N groups, and determine a random delay time corresponding to each NB-IoT communication device in each group, and a preset buffer time is determined between different groups; wherein N is a positive integer;
[0167] The third processing module is used to perform a network search process during the random delay time, and execute a network stay process after the network search process is completed.
[0168] In the present application, the above-mentioned on-line control device further includes a fourth processing module, and the fourth processing module includes:
[0169] A first processing unit, configured to use a low power consumption mode;
[0170] A second processing unit is used to turn off the power supply module of the NB-IoT communication device after the communication of the NB-IoT communication device is completed;
[0171] The third processing unit is used to dynamically configure a low power consumption mode or turn off the power supply module of the NB-IoT communication device.
[0172] In the present application, the third processing unit includes:
[0173] A first acquisition subunit is used to obtain a login flag of the NB-IoT communication device after the NB-IoT communication device completes the network stationing process;
[0174] A first processing sub-unit, configured to restore the cloud preset data from a preset flash memory when the login flag is a first value;
[0175] A first determining subunit, configured to send data to the cloud according to the cloud preset data, and determine a sending result;
[0176] The second processing subunit is used to dynamically configure a low power consumption mode or turn off the power supply module of the NB-IoT communication device according to the sending result.
[0177] Optionally, the second processing subunit is specifically configured to:
[0178] When the number of sending failures of the sending result is less than a first preset value, determining that the NB-IoT communication device is configured in a low power consumption mode;
[0179] When the number of sending failures of the sending result is greater than or equal to the first preset value, it is determined to turn off the power supply module of the NB-IoT communication device.
[0180] In the present application, the above-mentioned on-line control device also includes:
[0181] a fourth processing unit, configured to determine a registration result of the NB-IoT communication device logging into a remote end when the login flag bit is a second value;
[0182] A fifth processing unit, configured to determine that the NB-IoT communication device is configured in a low power consumption mode when the number of registration failures of the registration result is less than a second preset value;
[0183] a sixth processing unit, configured to determine to turn off the power supply module of the NB-IoT communication device when the number of registration failures of the registration result is greater than or equal to the second preset value;
[0184] The seventh processing unit is used to determine that the login flag is the first value when the registration result is successful, send data to the cloud, and determine the sending result.
[0185] In the present application, the above-mentioned on-line control device also includes:
[0186] a fifth processing module, configured to determine a first frequency band of a first network, where the first frequency band is a network frequency band of the first network supported by a target operator, and the target operator is an operator to which a user identity card currently used by a narrowband Internet of Things NB-IoT communication device belongs;
[0187] a sixth processing module, configured to perform a frequency search in the first frequency band to determine a second cell if there is a first frequency point / first cell in the first frequency band; the first frequency point is the frequency point information pre-saved by the NB-IoT communication device; the first cell is a target cell that can be resided in on the first frequency point;
[0188] The seventh processing module is used to perform the network station process in the second cell.
[0189] In the present application, the above-mentioned on-line control device also includes:
[0190] an eighth processing module, configured to determine whether there is a target cell that can be resided on the first frequency point if there is a first frequency point on the first frequency band;
[0191] a ninth processing module, configured to perform a frequency search in the first frequency band to determine a second cell if there is no target cell that can be resided on the first frequency;
[0192] The tenth processing module is configured to perform a network stationing process in a target cell that can be stationed in if there is a target cell that can be stationed in the first frequency point.
[0193] In the present application, the above-mentioned on-line control device also includes:
[0194] An eleventh processing module is used to obtain the voltage or temperature of the NB-IoT communication device after the NB-IoT communication device is powered on / awakened from sleep mode;
[0195] A twelfth processing module, configured to send a warning message to the cloud when the voltage or the temperature exceeds a first threshold range;
[0196] A thirteenth processing module, configured to determine whether the voltage or the temperature is in a second threshold range when the voltage or the temperature is lower than the first threshold range; the second threshold range is smaller than the first threshold range;
[0197] The fourteenth processing module is used to re-execute the step of obtaining the voltage or temperature of the NB-IoT communication device when it is determined that the NB-IoT communication device enters a connected state when it is in the second threshold range.
[0198] Among them, the implementation embodiments of the on-line control method of the above-mentioned narrowband Internet of Things communication device are all applicable to the embodiments of the on-line control device of the narrowband Internet of Things communication device, and can also achieve the same technical effect. To avoid repetition, they will not be repeated here.
[0199] like Figure 8 As shown, an embodiment of the present application provides an electronic device, including a transceiver 810, a processor 800, a memory 820, and a program or instruction stored in the memory 820 and executable on the processor 800; when the processor 800 executes the program or instruction, the above-mentioned on-network control method applied to a narrowband Internet of Things communication device is implemented.
[0200] The transceiver 810 is used to receive and send data under the control of the processor 800 .
[0201] Among them, Figure 8 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 800 and various circuits of memory represented by memory 820 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 810 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. For different user devices, the interface may also be an interface capable of externally and internally connecting required devices, and the connected devices include but are not limited to keypads, displays, speakers, microphones, joysticks, etc.
[0202] The processor 800 is responsible for managing the bus architecture and general processing, and the memory 820 can store data used by the processor 800 when performing operations.
[0203] A readable storage medium in an embodiment of the present application stores a program or instruction thereon. When the program or instruction is executed by a processor, the steps in the on-line control method of a narrowband Internet of Things communication device as described above are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0204] The processor is the processor in the on-line control method of the narrowband Internet of Things communication device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0205] It should be further explained that the electronic devices described in this specification include but are not limited to smart phones, tablet computers, etc., and many of the functional components described are called modules in order to more particularly emphasize the independence of their implementation methods.
[0206] In the embodiment of the present application, module can be implemented with software so that it can be executed by various types of processors. For example, an executable code module of an identification can include one or more physical or logical blocks of computer instructions, for example, it can be constructed as an object, process or function. Nevertheless, the executable code of the identified module does not need to be physically located together, but can include different instructions stored in different positions, and when these instructions are logically combined together, it constitutes a module and realizes the specified purpose of the module.
[0207] In fact, executable code module can be a single instruction or many instructions, and can even be distributed on a plurality of different code segments, distributed among different programs, and distributed across a plurality of memory devices. Similarly, operating data can be identified in the module, and can be implemented and organized in the data structure of any appropriate type according to any appropriate form. The operating data can be collected as a single data set, or can be distributed in different locations (including on different storage devices), and can only be present on a system or network as an electronic signal at least in part.
[0208] When a module can be implemented by software, considering the level of existing hardware technology, a person skilled in the art can build a corresponding hardware circuit to implement the corresponding function of the module that can be implemented by software without considering the cost. The hardware circuit includes a conventional very large scale integration (VLSI) circuit or gate array and existing semiconductors such as logic chips, transistors, or other discrete components. The module can also be implemented by a programmable hardware device, such as a field programmable gate array, a programmable array logic, a programmable logic device, etc.
[0209] The above exemplary embodiments are described with reference to the accompanying drawings, and many different forms and embodiments are feasible without departing from the spirit and teachings of the present application. Therefore, the present application should not be constructed as a limitation of the exemplary embodiments proposed herein. More specifically, these exemplary embodiments are provided so that the present application will be perfect and complete, and the scope of the present application will be conveyed to those who are familiar with the technology. In these figures, the component sizes and relative sizes may be exaggerated for clarity. The terms used here are only based on the purpose of describing specific exemplary embodiments and are not intended to be limiting. As used herein, unless the text clearly indicates otherwise, the singular forms "one", "an" and "the" are intended to include these multiple forms. It will be further understood that the terms "comprising" and / or "including" when used in this specification indicate the presence of the features, integers, steps, operations, components and / or components, but do not exclude the presence or increase of one or more other features, integers, steps, operations, components, components and / or their groups. Unless otherwise indicated, when stated, a range of values includes the upper and lower limits of that range and any subranges therebetween.
[0210] The above is a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles described in the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.< / data> < / data> < / platform> < / platform> < / cr>
Claims
1. A method for controlling a narrowband Internet of Things communication device, characterized in that: include: After the narrowband Internet of Things NB-IoT communication device completes the network stationing process, the current frequency point where the NB-IoT communication device is located and the neighboring frequency point corresponding to the current frequency point are determined as the target frequency point, and the remaining frequency point information is cleared; Before the narrowband Internet of Things NB-IoT communication device completes the network stationing process, the method further includes: dividing the NB-IoT communication device into N groups, and determining a random delay time corresponding to each NB-IoT communication device in each group, and determining a preset buffer time between different groups; wherein N is a positive integer; performing a network search process during the random delay time, and executing the network stationing process after the network search process is completed; Among them, the steps for delaying the network entry of any NB-IoT communication device are as follows: Step 1, after the NB-IoT communication device is turned on, determine whether there is a saved frequency point, if so, execute step 2, if not, execute step 3; Step 2, generate a random number M in the range of 0-N by the Monte Carlo method, and generate a random number T in the range of 0-T1, and execute step 4; Step 3, according to the network search time recorded by the NB-IoT communication device, use the gray prediction GM (1,1) model to predict the network search time t, generate a random number M in the range of 0-N by the Monte Carlo method, and generate a random number T in the range of 0-(T1-t), and execute step 4; Step 4, the NB-IoT communication device delays M*T1+T; N is the maximum value of the group of the NB-IoT communication device; T1 is the maximum time for the NB-IoT communication device to start the network entry in each group.
2. The method according to claim 1, characterized in that After the NB-IoT communication device completes the network stationing process, the NB-IoT communication device further includes performing low power consumption control in at least one of the following ways: Use low power mode; After the communication of the NB-IoT communication device is completed, turning off the power supply module of the NB-IoT communication device; Dynamically configure the low power consumption mode or turn off the power supply module of the NB-IoT communication device.
3. The method according to claim 2, characterized in that Dynamically configuring a low power consumption mode or shutting down a power supply module of the NB-IoT communication device includes: After the NB-IoT communication device completes the on-network process, obtaining the login flag of the NB-IoT communication device; When the login flag is a first value, restoring the cloud preset data through the preset flash memory; According to the cloud preset data, send data to the cloud and determine the sending result; According to the sending result, a low power consumption mode is dynamically configured or the power supply module of the NB-IoT communication device is turned off.
4. The method according to claim 3, characterized in that According to the sending result, dynamically configuring a low power consumption mode or shutting down a power supply module of the NB-IoT communication device includes: When the number of sending failures of the sending result is less than a first preset value, determining that the NB-IoT communication device is configured in a low power consumption mode; When the number of sending failures of the sending result is greater than or equal to the first preset value, it is determined to turn off the power supply module of the NB-IoT communication device.
5. The method according to claim 4, characterized in that The method further comprises: When the login flag is a second value, determining a registration result of the NB-IoT communication device logging into a remote end; When the number of registration failures of the registration result is less than a second preset value, determining that the NB-IoT communication device is configured in a low power consumption mode; When the number of registration failures of the registration result is greater than or equal to the second preset value, determining to turn off the power supply module of the NB-IoT communication device; When the registration result is successful, the login flag is determined to be the first value, data is sent to the cloud, and the sending result is determined.
6. The method according to claim 1, characterized in that Before the narrowband Internet of Things NB-IoT communication device completes the network stationing process, the method further includes: Determine a first frequency band of the first network, where the first frequency band is a network frequency band of the first network supported by a target operator, and the target operator is an operator to which a user identity card currently used by a narrowband Internet of Things NB-IoT communication device belongs; If a first frequency point exists on the first frequency band, determining whether there is a target cell that can be resided on the first frequency point; the first frequency point is the frequency point information pre-stored by the NB-IoT communication device; If there is no target cell that can be camped on the first frequency point, a frequency search is performed in the first frequency band to determine a second cell, and a network camping process is performed in the second cell; If there is a target cell that can be resided in on the first frequency point, the network residency process is performed in the target cell that can be resided in.
7. The method according to claim 1, characterized in that The method further comprises: After the NB-IoT communication device is powered on / awakened from sleep mode, the voltage or temperature of the NB-IoT communication device is obtained; When the voltage or the temperature exceeds a first threshold range, sending a warning message to the cloud; When the voltage or the temperature is lower than the first threshold range, determining whether the voltage or the temperature is in a second threshold range; the second threshold range is smaller than the first threshold range; When it is in the second threshold range, when it is determined that the NB-IoT communication device enters a connected state, the step of obtaining the voltage or temperature of the NB-IoT communication device is re-executed.
8. A network control device for narrowband Internet of Things communication equipment, characterized in that: include: The first processing module is used to determine the current frequency point where the narrowband Internet of Things NB-IoT communication device is located and the neighboring frequency point corresponding to the current frequency point as the target frequency point after the narrowband Internet of Things NB-IoT communication device completes the network stationing process, and clear the remaining frequency point information; The on-line control device further includes: a second processing module, configured to divide the NB-IoT communication devices into N groups, and determine a random delay time corresponding to each NB-IoT communication device in each group, and a preset buffer time is determined between different groups; wherein N is a positive integer; a third processing module, configured to perform a network search process during the random delay time, and execute a network on-line process after the network search process is completed; Among them, the steps for delaying the network entry of any NB-IoT communication device are as follows: Step 1, after the NB-IoT communication device is turned on, determine whether there is a saved frequency point, if so, execute step 2, if not, execute step 3; Step 2, generate a random number M in the range of 0-N by the Monte Carlo method, and generate a random number T in the range of 0-T1, and execute step 4; Step 3, according to the network search time recorded by the NB-IoT communication device, use the gray prediction GM (1,1) model to predict the network search time t, generate a random number M in the range of 0-N by the Monte Carlo method, and generate a random number T in the range of 0-(T1-t), and execute step 4; Step 4, the NB-IoT communication device delays M*T1+T; N is the maximum value of the group of the NB-IoT communication device; T1 is the maximum time for the NB-IoT communication device to start the network entry in each group.
9. An electronic device, comprising: A transceiver, a processor, a memory, and a program or instruction stored in the memory and executable on the processor; characterized in that when the processor executes the program or instruction, the on-line control method of a narrowband Internet of Things communication device as described in any one of claims 1 to 7 is implemented.
10. A readable storage medium having a program or instruction stored thereon, characterized in that: When the program or instruction is executed by the processor, the steps in the on-line control method of a narrowband Internet of Things communication device as described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Network searching method and device and computer readable storage medium
CN108834199A
Network search method and device, and computer readable storage medium
CN109302732A
Terminal attachment method and device based on narrowband Internet of Things
CN111901898A
Network searching control method and device of terminal equipment and terminal equipment
CN112040533A