CN109982355B - Method for saving and restoring network path, apparatus, terminal and storage medium thereof - Google Patents

Method for saving and restoring network path, apparatus, terminal and storage medium thereof Download PDF

Info

Publication number
CN109982355B
CN109982355B CN201811599543.4A CN201811599543A CN109982355B CN 109982355 B CN109982355 B CN 109982355B CN 201811599543 A CN201811599543 A CN 201811599543A CN 109982355 B CN109982355 B CN 109982355B
Authority
CN
China
Prior art keywords
parameters
iot module
registration
module
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811599543.4A
Other languages
Chinese (zh)
Other versions
CN109982355A (en
Inventor
苏生辉
陶文洪
宋仁杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Neoway Technology Co Ltd
Original Assignee
Shenzhen Neoway Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Neoway Technology Co Ltd filed Critical Shenzhen Neoway Technology Co Ltd
Priority to CN201811599543.4A priority Critical patent/CN109982355B/en
Publication of CN109982355A publication Critical patent/CN109982355A/en
Application granted granted Critical
Publication of CN109982355B publication Critical patent/CN109982355B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a method for saving and restoring network access, a device, a terminal and a storage medium thereof, wherein the method is a method for rapidly saving and restoring the network access by an NB-IoT module in a PSM mode, and comprises the following steps: judging whether the NB-IoT module is successfully registered with the server; when the NB-IoT module is successfully registered, saving parameters of the remote environment of the corresponding server to a file system; when a trigger signal for pre-exiting the PSM mode is received, recovering parameters of a remote environment stored in a file system; judging whether the parameters of the remote environment are recovered to be normal or not; when the parameters of the remote environment are recovered to be normal, judging whether to update the registration; when the registration needs to be updated, the registration information is updated and data is transmitted to perform the customer service. The invention optimizes the processing flow after PSM awakening, and can directly transmit data without restarting the registration flow, thereby reducing the awakening time consumption in a low power consumption state and ensuring the real-time property of an NB-IoT application scene.

Description

Method for saving and restoring network path, apparatus, terminal and storage medium thereof
Technical Field
The invention relates to a method for rapidly saving and recovering a network path in the technical field of internet of things, in particular to a method for rapidly saving and recovering a network path of an NB-IoT module in a PSM mode, and further relates to a device, a computer terminal and a computer readable storage medium for rapidly saving and recovering the network path.
Background
In an application scenario of NB-IoT (narrowband internet of things), because of the characteristics of the complete equipment of the internet of things such as requirements on power consumption and battery power supply, two schemes exist to realize the function of low power consumption: in the first scheme, when an NB-IoT module does not do business, the complete machine performs power-off processing on the NB-IoT module so as to save power consumption; in the second scheme, when the NB-IoT module is not performing a service, the whole device performs PSM (power saving mode) setting on the NB-IoT module to save power consumption. In the first scheme, when the module does not do business, the whole machine executes power-off operation on the module to save power consumption, when data needs to be transmitted, the module is started, a network is registered and connected with a remote server, data transmission is started after a data path is established, and after the business is completed, the power-off operation is performed. In the second scheme, when the module does not do service, the whole set of the module enters a PSM low power consumption mode, and when data needs to be transmitted, the module is awakened, so that network injection operation does not need to be done again, the network can be automatically recovered in the PSM mode, but the remote server still needs to be reconnected, after a channel is established, data transmission is started, and after the service is completed, PSM operation is performed.
The two existing schemes can basically meet the requirements of a part of complete machines in practical application, but cannot meet the real-time requirement in special application scenes, such as the scenes applied by smoke alarms, and the like, and the application scenes have high real-time requirement on data delivery.
Disclosure of Invention
Aiming at the prior technical problem, the invention provides a method and a device for rapidly saving and recovering a network access of an NB-IoT module in a PSM mode, a computer terminal and a computer readable storage medium, and the method solves the problems that the low-power-consumption scheme adopted by the prior NB-IoT application scene consumes a long time and cannot meet the real-time property.
The invention is realized by adopting the following technical scheme: a method for an NB-IoT module to quickly save and restore network paths in PSM mode, comprising the steps of:
when the NB-IoT module pre-enters a PSM mode, judging whether the NB-IoT module is successfully registered with a server;
when the NB-IoT module is successfully registered, saving parameters of a remote environment of a corresponding server to a file system;
upon receiving a trigger to pre-exit the PSM mode, restoring parameters of the remote environment stored in the file system;
judging whether the parameters of the remote environment are recovered to be normal or not;
when the parameters of the remote environment are recovered to be normal, judging whether to update the registration;
when the registration needs to be updated, the registration information is updated and data is transmitted to perform the customer service.
As a further improvement of the above solution, the NB-IoT module has an RTC timer, and the method for rapidly saving and restoring a network path further includes the following steps before restoring the parameters of the remote environment stored in the file system when the trigger signal is received:
setting a life cycle parameter, and transmitting the life cycle parameter to the server when registering to the server;
setting the RTC timer according to the life cycle parameters;
and enabling the RTC timer to execute timing operation, and starting registration updating operation after the timing time is reached.
As a further improvement of the above solution, the method for rapidly saving and restoring a network path further comprises the following steps:
when the registration does not need to be updated, the client service is directly executed;
and when the parameters of the remote environment are not recovered to be normal, outputting the TIP first and then executing the client service.
As a further improvement of the above scheme, before the parameters of the remote environment are recovered to normal and the registration is judged to need to be updated, a local environment and a UDP channel are created, and the running environment is recovered.
As a further improvement of the above solution, when saving or restoring the parameters of the remote environment, the parameters saved by the multidimensional array structure.
Further, the parameters of the local environment include UDP path information, local object resources, and imei information of the NB-IoT module, and the parameters of the remote environment include server information, server subscription information, server configuration information, and registration time counter information.
As a further improvement of the above scheme, the NB-IoT module is based on the LWM2M open source protocol stack and is used to implement a program of the LWM2M client to access a telecom cloud platform or a mobile OneNET internet of things platform.
Further, when the NB-IoT module performs registration, the client first establishes the operating environment of LWM2M and the UDP channel, and then starts sending a registration request to start a registration process; the server firstly responds to the registration request and then issues a subscription message to complete subscription.
And further, when the NB-IoT module pushes data, the client sends the data to the server in a notify mode.
Furthermore, when the NB-IoT module performs downlink reading and writing, the server performs downlink reading and writing operation to realize the operation of the designated URI resource of the client;
and when the NB-IoT module logs out, the client actively sends a corresponding logout message to disconnect the connection with the server.
The method for rapidly saving and recovering the network access of the NB-IoT module in the PSM mode fully utilizes the PSM mechanism and the LWM2M protocol realization mechanism, discriminates and treats the operating environment, and meets the working requirement of the NB-IoT module in the scene of strong real-time requirement by virtue of the power-down storage function of the file system. In addition, because the invention distinguishes and treats the operating environment parameters, the data storage amount is reduced, the optimization is carried out on the space and the time, and the positions for storing and recovering the environment parameters are correctly selected, so that the invention is noninductive in the whole using process of the client, thereby reducing the data storage amount and saving the storage space. Therefore, the method changes the existing working mode, so that the NB-IoT module can store the environmental parameters of the protocol application layer in the PSM mode, and directly recovers the data path to transmit data instead of reinitiating the registration process in the wake-up stage, thereby meeting the real-time requirement of special application. The invention optimizes the processing flow after PSM awakening, can directly transmit data without restarting the registration flow, and can complete the process from the awakening module to the data transmission within about 1s, thereby reducing the awakening time consumption in a low power consumption state and ensuring the real-time property of an NB-IoT application scene. In the invention, the alarm clock mechanism of the hardware RTC is utilized to realize the push mechanism of the update registration message and realize the timing keep-alive so as to be convenient for PSM awakening.
The invention also provides a device for rapidly saving and recovering the network path of the NB-IoT module in the PSM mode, which adopts the method for rapidly saving and recovering the network path of any NB-IoT module in the PSM mode, and the device comprises:
a storage module, configured to determine whether the NB-IoT module successfully registers with a server when the NB-IoT module pre-enters a PSM mode; the storage module is further used for storing the parameters of the remote environment of the corresponding server to a file system when the NB-IoT module is successfully registered;
a restore network path module for restoring parameters of the remote environment stored in the file system when the NB-IoT module receives a trigger to pre-exit the PSM mode; the recovery network access module is further configured to determine whether the parameter of the remote environment is recovered to normal, and when the parameter of the remote environment is recovered to normal, the recovery network access module determines whether to need to update registration; when the register needs to be updated, the recovery network access module updates the register information and transmits data to execute the client service.
The invention also provides a computer terminal, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of the method for rapidly saving and restoring the network path of any NB-IoT module in the PSM mode.
The present invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the above method for rapidly saving and restoring a network path in a PSM mode for any NB-IoT module.
The beneficial effects of the apparatus for rapidly saving and restoring a network path, the computer terminal, and the computer readable storage medium are the same as those of the method for rapidly saving and restoring a network path in the PSM mode of the NB-IoT module, and are not described herein again.
Drawings
Fig. 1 is a flowchart illustrating a method for rapidly saving and restoring a network path in a PSM mode by an NB-IoT module according to embodiment 1 of the present invention when the NB-IoT module enters the PSM mode in advance;
fig. 2 is a flowchart illustrating the method for fast saving and restoring network paths in fig. 1 when the NB-IoT module exits PSM mode;
fig. 3 is a flowchart of interaction between the LWM2M client and the server according to embodiment 1 of the present invention;
fig. 4 is a flowchart illustrating a method for rapidly saving and restoring a network path in PSM by an NB-IoT module according to embodiment 2 of the present invention when the NB-IoT module enters PSM in advance.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Under the PSM on mode, when the NB-IoT (narrowband internet of things) module in the prior art enters the PSM (low power consumption mode), the operating environment and the registration state are not saved, which results in that after the PSM is awakened, the registration process needs to be started first, and data can be sent after the registration is successful. Therefore, if the NB-IoT module does not start registration, the operating environment cannot be established, the registration information does not exist, and the NB-IoT module cannot directly send data to the platform. This mechanism does not meet the requirements in real-time critical scenarios, such as the scenario where the smoke monitor is located. The monitor is in a dormant state at ordinary times, namely the NB-IoT module enters a PSM low power consumption mode. When the smoke monitor detects a smoke alarm, the NB-IoT module needs to wake up immediately and send the alarm data successfully to the monitoring platform (typically 4s complete is required). If the registration process is started first and then the data is sent, the requirement of real-time performance cannot be met, particularly under the condition of poor network environment, the whole registration process can reach the level of minutes to the maximum extent, and the reaction efficiency of the NB-IoT module is greatly reduced. Therefore, the registration information is stored in the PSM mode, and the characteristic of rapidly recovering the network injection state is achieved, so that the requirement of an application scene on the real-time performance is favorably improved. In addition, through the following embodiments, before entering the PSM mode, the module stores the network injection information and also stores the relevant parameters of the protocol layer, and can quickly recover the network and the data path in the PSM wake-up phase, thereby implementing direct transmission of data.
Example 1
Referring to fig. 1 and fig. 2, the present embodiment provides a method for rapidly saving and restoring a network path of an NB-IoT module in a PSM mode, which on one hand can rapidly save parameters of a remote environment when the NB-IoT module pre-enters the PSM mode to ensure a subsequent rapid restoration of the remote environment of the network path, and on the other hand can rapidly restore the network path between the NB-IoT module and a server or a cloud platform when the NB-IoT module exits the PSM mode.
The NB-IoT module in this embodiment is based on an LWM2M open source protocol stack (lightweight internet of things communication protocol), and implements a program of an LWM2M client through wakaama source code in the protocol stack, so as to access a telecommunication cloud platform or a mobile OneNET internet of things platform.
Referring to fig. 3, when the NB-IoT module performs registration, the ue may first establish the operating environment and UDP channel of LWM2M, and then start sending a registration request to start a registration process. The server can respond to the registration request firstly and then issue a subscription message to complete the subscription. When the NB-IoT module pushes data, the client can send the data to the server in a notify mode.
When the registration information is updated, the client can count time after successfully registering to the telecom cloud platform or the OneNet Internet of things platform, and the updated registration information is sent to the server until the life cycle expires. When the client does not send the registration information for a preset time, the server forces the client to be offline. When the NB-IoT module is read and written downstream, the server can perform operations on the specified URI resource (the resource corresponding to the object defined in the client entity) of the client by performing the operations of reading and writing downstream. When the NB-IoT module performs logout, the client may actively send a corresponding logout message to disconnect the connection with the server.
In this embodiment, the parameters of the local environment may include UDP path information, local object resources, imei of the NB-IoT module, and the like, and the parameters of the remote environment may include server information, server subscription information, server configuration information, and registration time counter information.
On the basis, the method for the NB-IoT module to quickly save and restore the network path in the PSM mode of the embodiment includes the following steps:
one, enter PSM mode
When the NB-IoT module pre-enters the PSM mode, judging whether the NB-IoT module successfully registers with the server; the client sends a request, the server responds to the request, if the client receives the response of the server, the client can judge that the registration is successful, otherwise, the client does not register successfully;
when the NB-IoT module is successfully registered, saving parameters of the remote environment of the corresponding server to a file system;
when the NB-IoT module is not successfully registered, the process may jump to the end, and of course, it may also be determined again whether the NB-IoT module is successfully registered with the server;
II, exiting PSM mode
When a trigger signal for pre-exiting the PSM mode is received, recovering the network injection information and recovering the parameters of the remote environment stored in the file system; since the PSM mode needs to be exited when the NB-IoT module executes the client service (the client service may be determined by the client, such as a smoke alarm task of a smoke detector, and of course, the client service may include multiple groups of tasks or may be only a single task), the NB-IoT module receives the trigger signal when receiving the client service to be executed;
judging whether the parameters of the remote environment are recovered to be normal or not;
when the parameters of the remote environment are recovered to be normal, a local environment and a UDP channel are established, the running environment is recovered, and whether the registration needs to be updated or not is judged;
when the registration needs to be updated, updating the registration information and transmitting data to execute the customer service;
when the registration does not need to be updated, the client service is directly executed;
when the parameters of the remote environment are not recovered to normal, TIP is output first, and then the client service is executed.
The NB-IoT module has an RTC timer, and in the PSM mode, the RTC timer of the NB-IoT module works normally. The method for fast saving and restoring network paths before restoring parameters of a remote environment stored in a file system upon receiving a trigger signal further comprises the steps of: setting a life cycle parameter, and transmitting the life cycle parameter to a server when registering to the server; setting an RTC timer according to the life cycle parameters; and enabling the RTC timer to execute timing operation, and starting registration updating operation after the timing time is reached. Since the wake-up of PSM needs to be promoted by the client service in the client application scenario, the wake-up time is variable, that is, the duration in PSM is not fixed, so the NB-IoT module is required to actively wake up and send the updated registration information to "keep alive". In this embodiment, this mechanism may be implemented using the RTC clock of the NB-IoT module.
It should be noted here that, in terms of saving and restoring the environment parameters, since the design of the SDK package is implemented in a linked list manner, in the stage of saving and restoring the parameters, in order to save time as much as possible, in this embodiment, the most original multidimensional array structure is used to save the parameters, instead of using the linked list manner to process, that is, when saving or restoring the parameters of the remote environment, the parameters saved by the multidimensional array structure are used. After the improved processing, the time consumption for entering the PSM mode is about 50ms, and the time consumption for exiting is about 120ms, because the time for exiting needs to recover the parameters and update the registration information, the time is slightly longer, but the update of the registration information is not triggered every time, and is only triggered temporarily in the life cycle.
In summary, the method for the NB-IoT module to quickly save and restore the network path in the PSM mode of the embodiment has the following advantages:
in the embodiment, the method makes full use of the PSM mechanism and the LWM2M protocol implementation mechanism, discriminates and treats the operating environments, and meets the working requirements of the NB-IoT module in the scene of strong real-time requirements by virtue of the power-down storage function of the file system. In addition, because the embodiment distinguishes and treats the operating environment parameters, the data storage amount is reduced, the optimization is performed on the space and the time, the positions for storing and recovering the environment parameters are correctly selected, and the whole using process of a client is noninductive, so that the data storage amount is reduced, and the storage space is saved. The embodiment changes the existing working mode, so that the NB-IoT module can store the environmental parameters of the protocol application layer in the PSM mode, and directly recovers the data path to transmit data instead of reinitiating the registration process in the wake-up stage, thereby meeting the real-time requirement of special applications.
According to the embodiment, the processing flow after PSM awakening is optimized, data can be directly transmitted without restarting a registration flow, and the process from the awakening module to the data sending can be completed within about 1s, so that the awakening time consumption in a low-power consumption state is reduced, and the instantaneity of an NB-IoT application scene is ensured.
In this embodiment, the method uses an alarm clock mechanism of a hardware RTC to implement a push mechanism of an update registration message, and performs "keep alive" at a fixed time, so as to wake up the PSM.
Example 2
Referring to fig. 4, the present embodiment provides a method for rapidly saving and restoring a network path in PSM mode for an NB-IoT module, which adds the following steps (before determining again whether the NB-IoT module successfully registers with the server) on the basis of embodiment 1:
when the NB-IoT module is not registered successfully, judging whether the registration time is overtime;
when the registration time is overtime, the registration abnormal information can be sent out firstly, and then the process skips to the end, or the process skips to the end directly;
and when the registration time is not overtime, continuing to wait for registration, and judging whether the registration time is overtime again after a period of time, and circulating the steps.
Example 3
The present embodiment provides an apparatus for rapidly saving and restoring a network path in a PSM mode by an NB-IoT module, which employs the method for rapidly saving and restoring a network path in a PSM mode by an NB-IoT module in embodiment 1 or embodiment 2. The device comprises a saving module and a restoring network path module.
The storage module is used for judging whether the NB-IoT module is successfully registered with the server or not when the NB-IoT module pre-enters the PSM mode. The storage module is further used for storing the parameters of the remote environment of the corresponding server to the file system when the NB-IoT module is successfully registered.
And the recovery network access module is used for recovering the parameters of the remote environment stored in the file system when the NB-IoT module receives the trigger signal for pre-exiting the PSM mode. The recovery network access module is also used for judging whether the parameters of the remote environment are recovered to be normal or not, and when the parameters of the remote environment are recovered to be normal, the recovery network access module judges whether the registration needs to be updated or not. When the registration needs to be updated, the recovery network access module updates the registration information and transmits data to execute the client service.
Example 4
The present embodiments provide a computer terminal comprising a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor, when executing the program, implements the steps of the method for the NB-IoT module of embodiment 1 or 2 to quickly save and restore the network path in the PSM mode.
When the method of embodiment 1 or 2 is applied, the method may be applied in a form of software, for example, a program designed to run independently is installed on a computer terminal, and the computer terminal may be a computer, a smart phone, other internet of things equipment, and the like. The method of embodiment 1 or 2 may also be designed as an embedded running program, and installed on a computer terminal, such as a single chip microcomputer.
Example 5
The present embodiment provides a computer-readable storage medium having a computer program stored thereon. The program, when executed by a processor, implements the steps of the method for the NB-IoT module of embodiment 1 or 2 to quickly save and restore network paths in PSM mode.
The method of embodiment 1 or 2 may be applied in the form of software, such as a program designed to be independently run by a computer-readable storage medium, such as a usb flash drive, designed as a usb shield, and a program designed to start the whole method by external triggering through the usb flash drive.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (12)

1. A method for an NB-IoT module to quickly save and restore network paths in PSM, comprising:
when the NB-IoT module pre-enters a PSM mode, judging whether the NB-IoT module is successfully registered with a server;
when the NB-IoT module is successfully registered, storing the network injection information, and storing the parameters of the remote environment of the corresponding server to a file system;
when a trigger signal for pre-exiting the PSM mode is received, recovering the network injection information and recovering the parameters of the remote environment stored in the file system; when the NB-IoT module receives customer service to be executed, determining to receive the trigger signal;
judging whether the parameters of the remote environment are recovered to be normal or not;
when the parameters of the remote environment are recovered to be normal, judging whether to update the registration;
when the registration needs to be updated, updating the registration information and transmitting data to execute the customer service;
before the parameters of the remote environment are restored to normal and before determining whether the registration needs to be updated, the method further comprises: and creating a local environment and a UDP channel, and recovering the running environment.
2. The NB-IoT module in PSM according to claim 1, wherein the NB-IoT module has an RTC timer, and wherein the method of rapidly saving and restoring network paths further comprises, before restoring the parameters of the remote environment stored in the file system upon receiving the trigger signal:
setting a life cycle parameter, and transmitting the life cycle parameter to the server when registering to the server;
setting the RTC timer according to the life cycle parameters;
and enabling the RTC timer to execute timing operation, and starting registration updating operation after the timing time is reached.
3. The method of fast saving and restoring network paths for NB-IoT modules in PSM mode as claimed in claim 1, wherein the method of fast saving and restoring network paths further comprises the steps of:
when the registration does not need to be updated, the client service is directly executed;
and when the parameters of the remote environment are not recovered to be normal, outputting the TIP first and then executing the client service.
4. The method of claim 1, wherein the parameters saved by the multidimensional array structure are saved when saving or restoring parameters of the remote environment.
5. The method of claim 1, wherein the parameters of the local environment comprise UDP path information, local object resources, and imei information of the NB-IoT module, and wherein the parameters of the remote environment comprise server information, server subscription information, server configuration information, and registration time counter information.
6. The method for NB-IoT modules to quickly save and restore network paths in PSM mode according to claim 1, wherein the NB-IoT modules are based on LWM2M open source protocol stack and are configured to implement LWM2M client programs to access telecom cloud platforms or mobile OneNET internet of things platforms.
7. The NB-IoT module according to claim 6, wherein when the NB-IoT module performs registration, the client first establishes the operating environment of LWM2M and the UDP channel, and then starts sending a registration request to start a registration procedure; the server firstly responds to the registration request and then issues a subscription message to complete subscription.
8. The method for the NB-IoT module to quickly save and restore network paths in the PSM mode as claimed in claim 7, wherein the client sends data to the server in a notify manner when the NB-IoT module pushes data.
9. The method for the NB-IoT module to quickly save and restore network paths in the PSM mode as claimed in claim 6, wherein when the NB-IoT module reads and writes downstream, the server performs the operation of the specified URI resource of the client by performing the read and write downstream;
and when the NB-IoT module logs out, the client actively sends a corresponding logout message to disconnect the connection with the server.
10. An apparatus for rapidly saving and restoring network path in PSM mode by NB-IoT module, which is configured to employ the method of any one of claims 1 to 9, the apparatus comprising:
a storage module, configured to determine whether the NB-IoT module successfully registers with a server when the NB-IoT module pre-enters a PSM mode; the storage module is further used for storing the network injection information and storing the parameters of the remote environment of the corresponding server to a file system when the NB-IoT module is successfully registered;
a network path recovery module, configured to recover the network injection information and recover the parameters of the remote environment stored in the file system when the NB-IoT module receives a trigger signal to pre-exit the PSM mode; when the NB-IoT module receives customer service to be executed, the trigger signal is determined to be received; the recovery network access module is further configured to determine whether the parameter of the remote environment is recovered to normal, and when the parameter of the remote environment is recovered to normal, the recovery network access module determines whether to need to update registration; when the register needs to be updated, the recovery network access module updates the register information and transmits data to execute the customer service;
the network path restoring module is further configured to create a local environment and a UDP channel and restore an operating environment when the parameters of the remote environment are restored to normal and before determining whether to update the registration.
11. A computer terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of the method for fast saving and restoring network paths for NB-IoT modules in PSM mode as claimed in any of claims 1 to 9.
12. A computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the method for fast saving and restoring network paths in PSM for NB-IoT modules according to any of claims 1 to 9.
CN201811599543.4A 2018-12-26 2018-12-26 Method for saving and restoring network path, apparatus, terminal and storage medium thereof Active CN109982355B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811599543.4A CN109982355B (en) 2018-12-26 2018-12-26 Method for saving and restoring network path, apparatus, terminal and storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811599543.4A CN109982355B (en) 2018-12-26 2018-12-26 Method for saving and restoring network path, apparatus, terminal and storage medium thereof

Publications (2)

Publication Number Publication Date
CN109982355A CN109982355A (en) 2019-07-05
CN109982355B true CN109982355B (en) 2022-05-27

Family

ID=67076354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811599543.4A Active CN109982355B (en) 2018-12-26 2018-12-26 Method for saving and restoring network path, apparatus, terminal and storage medium thereof

Country Status (1)

Country Link
CN (1) CN109982355B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427201A (en) * 2019-07-25 2019-11-08 金卡智能集团股份有限公司 A kind of NB mould group upgrade method, device, equipment and storage medium
CN111817897A (en) * 2020-07-17 2020-10-23 四川长虹电器股份有限公司 Acquisition transmission monitoring system and acquisition transmission monitoring method capable of configuring gateway
CN112702403B (en) * 2020-12-17 2023-04-07 深圳市新国都通信技术有限公司 Intelligent service connection method based on re-networking and communication module
WO2023134874A1 (en) * 2022-01-17 2023-07-20 Telefonaktiebolaget Lm Ericsson (Publ) Lwm2m client registration

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150191A (en) * 2013-03-27 2013-06-12 青岛中星微电子有限公司 Terminal equipment
CN107835360A (en) * 2017-10-27 2018-03-23 深圳市共进电子股份有限公司 A kind of quick start method and system of dormancy low power consumption network camera

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11050705B2 (en) * 2017-03-20 2021-06-29 At&T Intellectual Property I, L.P. Signaling optimization during short messaging for internet of things devices in a mobility network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150191A (en) * 2013-03-27 2013-06-12 青岛中星微电子有限公司 Terminal equipment
CN107835360A (en) * 2017-10-27 2018-03-23 深圳市共进电子股份有限公司 A kind of quick start method and system of dormancy low power consumption network camera

Also Published As

Publication number Publication date
CN109982355A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN109982355B (en) Method for saving and restoring network path, apparatus, terminal and storage medium thereof
US10912035B2 (en) Power management via coordination and selective operation of timer-related tasks
Athivarapu et al. Radiojockey: mining program execution to optimize cellular radio usage
US9867131B2 (en) Wake-up control method and apparatus, and terminal device
KR101171533B1 (en) Mobile network device battery conservation system and methods
US9319993B1 (en) Injecting active periods into scheduled inactive periods
US10091307B2 (en) Application management method and terminal
US8310969B2 (en) Mobile device and power saving method thereof
US9461927B2 (en) Method, device, and system for delaying packets during a network-triggered wake of a computing device
US20230073156A1 (en) Method for controlling pdcch monitoring, medium, and electronic device
US9681378B2 (en) Energy efficient data handling for mobile devices
CN107204999B (en) Method and device for realizing heartbeat
CN107968713B (en) Remote wake-up method, device and system
JP2005354687A (en) Client session recovery method for mobile communication terminal
CN110545309B (en) Internet of things terminal eUICC card management method, device and system
CN115529654A (en) Method, apparatus, storage medium, and relay device for standby communication
CN109379449B (en) Data connection method, device, terminal and storage medium
WO2021190246A1 (en) Data transmission method, terminal, and computer-readable storage medium
CN109981660B (en) Information processing method and electronic equipment
CN114364056B (en) Control method, system, device and storage medium for LWM2M session of terminal
WO2024022352A1 (en) Communication method, apparatus and device, and storage medium
CN117714018A (en) Monitoring processing method and device, terminal and network side equipment
EP2728907A1 (en) Method for enhancing machine type communication between a mobile communication network and a machine type communication device, machine type communication device, mobile communication network, program and computer program product
CN111355782A (en) Equipment management method and device, storage medium and electronic equipment
CN115914137A (en) Method, device, equipment and medium for automatically recovering message forwarding

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant