Networking method and device, nonvolatile storage medium and electronic equipment

By sensing the status of the cellular module in advance and optimizing the network connection process, the problems of delay and high power consumption in multimode IoT terminals are solved, and timely data reporting and power consumption are achieved.

CN119212017APending Publication Date: 2024-12-27CHINA TELECOM CORP LTD SATELLITE COMMUNICATIONS BRANCH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411274989.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The cellular module and satellite communication module cannot be directly interoperated in multimode IoT terminals, resulting in problems of delay in data reporting and excessive power consumption.

Method used

By obtaining the first time point in the data reporting cycle and the registration time of the satellite communication module, sense the status of the cellular module in advance, determine the second time point to execute the network connection process, optimize the multi-mode network switching timing, and ensure that data is reported in a timely manner and Reduce power consumption.

Benefits of technology

It has achieved timely enhancement of data reporting and reduced overall power consumption of terminals, solving the problem of delay and high power consumption caused by the inability to directly interoperate between cellular modules and satellite communication modules and the continuous search of cellular modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119212017A_ABST
    Figure CN119212017A_ABST
Patent Text Reader

Abstract

The invention discloses a networking method and device, a nonvolatile storage medium and electronic equipment. The method comprises the steps that a first time point of a terminal in a data reporting period is acquired, and the first time point is a moment when the terminal reports data in the data reporting period; according to the first time point and the registration duration of a satellite communication module in the terminal, a second time point is determined, the second time point is the moment when the cellular module state of the cellular module in the terminal is sensed in the data reporting period, and the second time point is earlier than the first time point; obtaining a state sensing result of the honeycomb module corresponding to the second time point; and determining to execute a network connection process corresponding to the state sensing result according to the state sensing result. The technical problems that data reporting is delayed and power consumption is too high when the multimode Internet of Things terminal periodically reports data due to the fact that direct interoperability cannot be achieved between the cellular module and the satellite communication module and the cellular module continuously searches the network are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and in particular, to a networking method, device, non-volatile storage medium, and electronic device. Background Art

[0002] Multi-mode IoT terminals generally report sensor data periodically. According to existing technologies, cellular and Tiantong cannot directly interoperate to achieve a smooth transition of services. The main control unit senses the status of the cellular module when data needs to be reported. If it is not online, it starts registering the satellite communication module. Since the registration of the satellite communication module takes about tens of seconds, the data cannot be reported in time. In addition, in order to restore cellular communication in time, the cellular module continues to scan the frequency and search for the network when it is offline, which will result in higher power consumption.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present application provide a networking method, device, non-volatile storage medium and electronic device to at least solve the technical problems of delay in data reporting and excessive power consumption when a multi-mode Internet of Things terminal periodically reports data due to the inability of the cellular module and the satellite communication module to directly interoperate and the continuous network search of the cellular module.

[0005] According to one aspect of an embodiment of the present application, a networking method is provided, including: obtaining a first time point in a data reporting period of a terminal, wherein the first time point is the moment when data is reported in the data reporting period; determining a second time point based on the first time point and the registration duration of a satellite communication module in the terminal, wherein the second time point is the moment when the cellular module status of a cellular module in the terminal is sensed in the data reporting period, and the second time point is earlier than the first time point; obtaining a status perception result of the cellular module corresponding to the second time point, wherein the perception result includes that the cellular module is online, the cellular module is offline and has no signal, and the cellular module is offline but has a signal; and determining to execute a network connection process corresponding to the status perception result based on the status perception result.

[0006] Optionally, the second time point is determined by the following formula: 2 =T 1 -T 卫星 -T 第一预设 Among them, T 2 is the second time point, T 1 is the first time point, T 卫星 is the registration duration of the satellite communication module, T 第一预设 It is a first preset time length, and the first preset time length is greater than the time length required for sensing the cellular module state of the cellular module in the terminal.

[0007] Optionally, based on the status perception result, determining and executing the network connection process corresponding to the status perception result includes: when the perception result is that the cellular module is offline and there is no signal, determining to execute the registration process of the satellite communication module; when the perception result is that the cellular module is offline but there is a signal, determining to execute the registration process of the cellular module; when the perception result is that the cellular module is online, maintaining the connection with the cellular module.

[0008] Optionally, after determining and executing the registration process of the satellite communication module, the method also includes: completing the registration process of the satellite communication module at a third time point, wherein the third time point is equal to the time point obtained by postponing the second time point by the time required for cellular module status perception and the registration time of the satellite communication module, and the third time point is earlier than the first time point; and reporting data at the first time point through the satellite communication module that has been registered.

[0009] Optionally, when the sensing result is that the cellular module is offline but has a signal, determining and executing the registration process of the cellular module includes: starting the registration process of the cellular module at a fourth time point, wherein the fourth time point is determined according to the following formula: T 4 =T 1 -T 第二预设 Among them, T 4 is the fourth time point, T 1 is the first time point, T 第二预设 It is a second preset time length, and the second preset time length is greater than the registration time length of the cellular module.

[0010] Optionally, after starting the registration process of the cellular module, the method further includes: completing the registration process of the cellular module before a first time point; and reporting data through the registered cellular module at the first time point.

[0011] Optionally, before determining the second time point based on the first time point and the registration duration of the satellite communication module, the method also includes: obtaining a data reporting plan for each sensor, wherein the sensor, cellular module and satellite communication module are in the same terminal device, the sensor is used to collect data, and the reporting plan includes a data reporting cycle.

[0012] According to another aspect of an embodiment of the present application, a networking device is also provided, including: an acquisition module, used to acquire a first time point of a terminal in a data reporting cycle, wherein the first time point is the moment when data is reported within the data reporting cycle; a determination module, used to determine a second time point based on the first time point and the registration duration of a satellite communication module in the terminal, wherein the second time point is the moment when the cellular module status of a cellular module in the terminal is sensed within the data reporting cycle, and the second time point is earlier than the first time point; a perception module, used to acquire a status perception result of the cellular module corresponding to the second time point, wherein the perception result includes that the cellular module is online, the cellular module is offline and has no signal, and the cellular module is offline but has a signal; a connection module, used to determine, based on the status perception result, to execute a network connection process corresponding to the status perception result.

[0013] According to another aspect of an embodiment of the present application, a non-volatile storage medium is provided, in which a program is stored, wherein when the program is running, a device where the non-volatile storage medium is located is controlled to execute a networking method.

[0014] According to another aspect of an embodiment of the present application, there is also provided an electronic device, including: a memory and a processor, the processor being configured to run a program stored in the memory, wherein the networking method is executed when the program is run.

[0015] According to another aspect of an embodiment of the present application, a computer program product is also provided, including a computer program, and when the computer program is executed by a processor, the networking method is implemented.

[0016] In an embodiment of the present application, a first time point of a terminal in a data reporting period is obtained, wherein the first time point is the moment when data is reported in the data reporting period; a second time point is determined based on the first time point and the registration duration of the satellite communication module in the terminal, wherein the second time point is the moment when the cellular module state of the cellular module in the terminal is sensed in the data reporting period, and the second time point is earlier than the first time point; a state perception result of the cellular module corresponding to the second time point is obtained, wherein the perception result includes that the cellular module is online, the cellular module is offline and has no signal, and the cellular module is offline but has a signal; based on the state perception As a result, a method for executing the network connection process corresponding to the status perception result is determined. By detecting the status of the cellular module in advance at a reasonable time point before the data reporting cycle of the IoT terminal, and intelligently scheduling the registration process of the Tiantong module or the cellular module according to the detection result, the purpose of optimizing the timing of multi-mode network switching is achieved, thereby achieving the technical effect of enhancing the timeliness of data reporting and reducing the overall power consumption of the terminal, and further solving the technical problems of delay in data reporting and excessive power consumption when the multi-mode IoT terminal periodically reports data due to the inability to directly interoperate between the cellular module and the satellite communication module and the continuous network search of the cellular module. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0018] Figure 1 It is a schematic diagram of the architecture of a multi-mode Internet of Things terminal provided according to an embodiment of the present application;

[0019] Figure 2 is a schematic diagram of a traditional multi-mode access process provided according to an embodiment of the present application;

[0020] Figure 3 It is a structural schematic diagram of a computer terminal (mobile device) provided according to an embodiment of the present application;

[0021] Figure 4 It is a flowchart of a networking method provided according to an embodiment of the present application;

[0022] Figure 5 is a schematic diagram of an optimized multi-mode access process provided according to an embodiment of the present application;

[0023] Figure 6 It is a structural schematic diagram of a networking device provided according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0026] In order to better understand the embodiments of the present application, the technical terms involved in the embodiments of the present application are explained as follows:

[0027] AT (Attention) message: A set of instructions used to control data circuit terminal equipment (DCE) such as modems or GSM modules. These instructions can control the functions of mobile stations (MS) and interact with GSM network services. Users can use AT instructions to control calls, text messages, phone books, data services, faxes, etc. The AT instruction set is a string that starts with AT and ends with specific characters. The execution result will return a corresponding response data packet. Each instruction has a corresponding return code for success or failure, and the module will also give prompt information for unexpected information (such as incoming calls, line no signal, etc.).

[0028] MCU (Microcontroller Unit) is a core component in the field of embedded systems and communications. It is a highly integrated chip that integrates a processor core, memory (including ROM and RAM), input / output interfaces, and other functional modules. MCU is specially designed to control small electronic devices and systems, such as home appliances, automotive electronics, industrial control, medical equipment, etc. In the field of communications, MCU can be used to implement various communication protocols and interfaces, so that devices can exchange data with other devices or networks. These communication functions of MCU make it an ideal choice for implementing applications such as Internet of Things (IoT) devices and smart sensors. Through programming, MCU can control the sending and receiving of data packets, handle network communications, and perform network-based control and monitoring tasks.

[0029] LTE Cat.1 (Long-Term Evolution UE-Category 1) is a standard for user terminal categories in 4G communication LTE networks. When the 3GPP organization formulated the LTE standard, Cat.1 to 20 were used to measure the wireless performance of user terminal equipment, that is, to divide the terminal rate levels. Among them, Cat.1 has an uplink peak rate of 5Mbit / s and a downlink peak rate of 10Mbit / s. It is positioned as a category for the IoT application market. LTE Cat.1 is built on the LTE communication network to achieve communication between things and between things and people. Cat.1 focuses on the wide coverage (LPWA) Internet of Things (IoT) market and is a communication protocol that meets medium-speed IoT and voice needs.

[0030] In the related technology, the architecture of multi-mode IoT terminal is as follows: Figure 1As shown, it includes multiple sensors, an MCU (Microcontroller Unit), and multiple communication modules, including Tiantong module and cellular module. Among them, MCU is the core control module of the terminal; Tiantong module interacts with MCU through AT (Attention) message interface to realize Tiantong network registration and data transmission and reception; cellular module interacts with MCU through AT message interface to realize cellular network registration and data transmission and reception. The actual supported may be LTE Cat1 (LTE UE-Category 1, LTE user equipment category 1), LTE Cat4 (LTE user equipment category 1) or NB-IoT (Narrow Band Internet of Things, Narrow Band Internet of Things), eMTC (Enhanced Machine-Type Communications, Enhanced Machine-Type Communications), RedCap (Reduced Capability) and other cellular networks; sensors collect sensor data such as temperature, humidity, wind speed, etc. according to application demand scenarios, and interact with MCU through buses such as RS232 / RS485. The entire Internet of Things terminal realizes the function of periodic sensor data reporting according to application demand scenarios.

[0031] The design concept of multi-mode IoT terminals in the industry is based on the complementarity of communication methods to achieve network continuity and optimized cost control. Multi-mode IoT terminals usually integrate multiple communication modules such as cellular networks and satellite communications to adapt to communication needs under different environments and conditions. Cellular networks have become the preferred communication method for IoT terminals due to their wide ground network coverage and low communication costs. This network can provide fast data transmission rates and stable connections, which is very suitable for application scenarios of large-scale data transmission and real-time communication. When the cellular network is unavailable, the multi-mode IoT terminal switches to satellite communication networks such as Tiantong to ensure that basic communication functions are not affected, ensuring communication continuity in emergency situations or specific scenarios. When the cellular network is restored, the multi-mode IoT terminal will switch back to the cellular network in time. This is because the cellular network can provide better service quality than satellite communications, such as lower latency and higher data rates. At the same time, since the communication cost of the cellular network is usually lower than that of satellite communications, this switch also helps to control the operating costs of IoT terminals and reduce overall charges.

[0032] Since multi-mode IoT terminals require switching between multiple networking modules, there is a problem of how to control multi-mode access. Figure 2 A schematic diagram of a traditional multi-mode access process is shown in FIG. Figure 2As shown: First, the cellular module registration is started when the power is turned on; when the MCU needs to report sensor data, the cellular module status is sensed through the AT interface; if the cellular module is online, the data is reported through the cellular module, if the cellular module is not online, the Tiantong module registration is started through the AT interface, and the data is reported through the Tiantong module after successful registration; the MCU senses the cellular module status through the AT interface, and if the cellular module is back online, the data is reported through the cellular module next time.

[0033] Since the registration of the Tiantong module takes about tens of seconds, the cellular module will not be able to report the data in time when it is offline due to the time-consuming registration of the Tiantong module. In addition, in order to restore cellular communication in time, the cellular module continues to scan the frequency and search for the network when it is offline, resulting in higher power consumption.

[0034] In order to solve the above problems, relevant solutions are provided in the embodiments of the present application, which are described in detail below.

[0035] According to an embodiment of the present application, a method embodiment of a networking method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0036] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 3 FIG. 1 shows a hardware structure block diagram of a computer terminal (or mobile device) for implementing a networking method. Figure 3 As shown, the computer terminal 30 (or mobile device 30) may include one or more (302a, 302b, ..., 302n are used to illustrate) processors 302 (the processor 302 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 304 for storing data, and a transmission device 306 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 3 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 3 More or fewer components as shown, or with Figure 3 Different configurations are shown.

[0037] It should be noted that the one or more processors 302 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 30 (or mobile device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0038] The memory 304 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the networking method in the embodiment of the present application. The processor 302 executes various functional applications and data processing by running the software programs and modules stored in the memory 304, that is, realizing the above-mentioned networking method. The memory 304 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 304 may further include a memory remotely arranged relative to the processor 302, and these remote memories may be connected to the computer terminal 30 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0039] The transmission device 306 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 30. In one example, the transmission device 306 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 306 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0040] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 30 (or mobile device).

[0041] The technical solutions of the embodiments of the present application can be applied to various communication systems, for example: Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication system or 5G system, etc.

[0042] Exemplarily, the communication system applied in the embodiment of the present application may include a network device, and the network device may be a device that communicates with a terminal device (or a communication terminal, terminal). The network device can provide communication coverage for a specific geographical area, and can communicate with terminal devices located in the coverage area. Optionally, the network device may be a base station (Base Transceiver Station, BTS) in a GSM system or a CDMA system, or a base station (NodeB, NB) in a WCDMA system, or an evolved base station (Evolutional Node B, eNB or eNodeB) in an LTE system, or a wireless controller in a cloud radio access network (Cloud Radio Access Network, CRAN), or the network device may be a mobile switching center, a relay station, an access point, a vehicle-mounted device, a wearable device, a hub, a switch, a bridge, a router, a network side device in a 5G network, or a network device in a future evolved public land mobile network (Public Land Mobile Network, PLMN), etc.

[0043] The communication system also includes at least one terminal device within the coverage of the network device. As used herein, "terminal device" includes but is not limited to connection via a wired line, such as via a public switched telephone network (PSTN), a digital subscriber line (DSL), a digital cable, a direct cable connection; and / or another data connection / network; and / or via a wireless interface, such as, for a cellular network, a wireless local area network (WLAN), a digital television network such as a DVB-H network, a satellite network, an AM-FM broadcast transmitter; and / or another terminal device is configured to receive / send a communication signal; and / or an Internet of Things (IoT) device. A terminal device configured to communicate via a wireless interface may be referred to as a "wireless communication terminal", "wireless terminal" or "mobile terminal". Examples of mobile terminals include, but are not limited to, satellite or cellular telephones; Personal Communications System (PCS) terminals that may combine cellular radiotelephones with data processing, fax, and data communications capabilities; PDAs that may include radiotelephones, pagers, Internet / Intranet access, Web browsers, notepads, calendars, and / or Global Positioning System (GPS) receivers; and conventional laptop and / or palmtop receivers or other electronic devices that include radiotelephone transceivers. A terminal device may refer to an access terminal, user equipment (UE), a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent, or a user device. The access terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a 5G network, or a terminal device in a future evolved PLMN, etc.

[0044] Optionally, device to device (D2D) communication may be performed between terminal devices.

[0045] Optionally, the 5G system or 5G network may also be referred to as a New Radio (NR) system or NR network.

[0046] In the above operating environment, the present application embodiment provides a networking method, such as Figure 4 As shown, the method comprises the following steps:

[0047] Step S402, obtaining a first time point in a data reporting period of the terminal, wherein the first time point is a moment when data is reported in the data reporting period;

[0048] In some embodiments of the present application, the data reporting cycle of the IoT terminal data reporting plan is known, and the terminal sends data to the server or cloud through the network (such as the Tiantong satellite network or the cellular network) according to the data reporting cycle. These terminals usually include sensors, microcontrollers (MCUs), and at least one network communication module (such as the Tiantong module, the cellular module). The data reporting plan specifies how and when the sensor data is processed and sent to the network. This plan contains information about the data reporting cycle, that is, the frequency and specific time at which the terminal sends data. The data reporting cycle is the time interval for regularly sending data to the remote server or cloud according to the corresponding application requirements and configuration. For example, some environmental monitoring applications may need to report temperature and humidity data every half an hour, while some industrial equipment may require reporting status information every hour or longer. This cycle is customizable and adjusted according to specific needs or scenarios. Once set, for the terminal, this cycle is known and fixed in the next operation, and a data reporting cycle is separated between adjacent first time points.

[0049] Step S404, determining a second time point according to the first time point and the registration duration of the satellite communication module in the terminal, wherein the second time point is a moment at which the cellular module state of the cellular module in the terminal is sensed within the data reporting period, and the second time point is earlier than the first time point;

[0050] In some embodiments of the present application, the second time point is determined by the following formula:

[0051] T 2 =T 1 -T 卫星 -T 第一预设

[0052] Among them, T 2 is the second time point, T 1 For the first time point, T 卫星 is the registration duration of the satellite communication module, T 第一预设 It is a first preset time length, and the first preset time length is greater than the time length required for sensing the cellular module status of the cellular module in the terminal.

[0053] In some embodiments of the present application, the first preset duration is "slightly greater than" the duration required for cellular module status perception, which can ensure that the cellular module status check can be completed before the time point of periodic data reporting, and the registration process of the Tiantong module can be started and completed when the cellular module is offline. The satellite communication module registration process lasts for about tens of seconds, which is relatively long; the registration process of the cellular module is shorter when there is cellular signal coverage, which can be approximated to be instant. Therefore, the first preset duration is also shorter, and the second time point is mainly affected by the satellite communication module registration duration. By advancing the time of perceiving the cellular module status of the cellular module in the terminal by a time slightly greater than the satellite communication module registration duration, it can be ensured that when the cellular module is offline, the module registration process is started in time, the module registration process is completed at the first time point, and the data is reported on time.

[0054] In some embodiments of the present application, the cellular module is used to access and utilize a cellular network (such as 2G, 3G, 4G, 5G, etc.) for data transmission, thereby realizing remote communication and data exchange. The cellular module internally includes a baseband processor, a radio frequency (RF) chip, a power management unit, a memory, etc., and can process mobile network protocols (such as GSM, UMTS, LTE, etc.) to realize communication with mobile network base stations. Through the cellular module, the Internet of Things device can send or receive sensor data, control instructions, location information, etc.

[0055] In some embodiments of the present application, sensing the cellular module status of the cellular module in the terminal includes sensing the cellular module status through an AT interface. Specifically, the MCU (microcontroller unit) in the terminal sends AT commands to the cellular module through a communication interface such as a serial port or USB, such as AT+CGATT? (query cellular network attachment status), AT+CSQ (query signal quality), AT+COPS? (query operator selection status), etc. After receiving the command, the cellular module will return corresponding status information, which includes a number, a string or a specific response code, indicating whether the module is currently connected to the network, the signal quality, etc. The MCU receives the status information returned by the cellular module, parses the status information returned by the cellular module, and obtains the corresponding status perception result.

[0056] Step S406, obtaining a state perception result of the cellular module corresponding to the second time point, wherein the perception result includes that the cellular module is online, the cellular module is offline and has no signal, and the cellular module is offline but has a signal;

[0057] In some embodiments of the present application, the cellular module is online, indicating that the module has completed the registration process with the cellular network, established a connection with the network, and can normally send and receive data through the cellular network. In this state, the Internet of Things terminal can communicate with the back-end server or other network devices through the cellular module efficiently and in real time, and data reporting and receiving can be completed within the expected time without additional network access time. The cellular module is offline and has no signal, indicating that the connection between the module and the cellular network has been disconnected, and no cellular network signal is detected around the module (i.e., the effective range in which the cellular module can detect or receive signals, which is determined by the hardware performance of the module and the signal propagation conditions of the current environment), that is, the environment in which the Internet of Things terminal is located has no cellular network coverage, or the cellular network has a serious failure, resulting in the module being unable to find a network that can be registered. In this case, even if the module tries to re-register, it will not succeed until the terminal moves to an area with a signal or the network returns to normal. At this time, data reporting will not be able to be performed through the cellular network, and the Internet of Things terminal needs to switch to other communication methods, such as satellite communication networks, to ensure the continuity of data transmission. The cellular module is offline but there is a signal indicating that the connection between the module and the network is temporarily interrupted, but the surrounding environmental conditions allow the module to re-register with the network. This interruption may be due to an instantaneous drop in the network signal, a temporary failure of the module, or a software problem. In this case, the cellular module can restore its connection to the network through the re-registration process. However, since re-registration takes a certain amount of time, if the registration is not completed before the data reporting time, the data reporting will be delayed. Therefore, the Internet of Things terminal in this embodiment triggers the re-registration of the module in advance by pre-sensing the status and signal conditions of the cellular module, thereby ensuring that the module is online and ready for data transmission in the next data reporting cycle, effectively improving the real-time performance of data reporting and reducing unnecessary power consumption.

[0058] Step S408: Determine, based on the state sensing result, to execute a network connection process corresponding to the state sensing result.

[0059] In some embodiments of the present application, when the perception result is that the cellular module is offline and there is no signal, it is determined to execute the registration process of the satellite communication module; when the perception result is that the cellular module is offline but there is a signal, it is determined to execute the registration process of the cellular module; when the perception result is that the cellular module is online, the connection with the cellular module is maintained.

[0060] Specifically, when the perception result is that the cellular module is offline and there is no signal, determining to execute the registration process of the satellite communication module includes completing the registration process of the satellite communication module at a third time point, wherein the third time point is equal to the time point obtained by postponing the second time point by the time required for cellular module status perception and the registration time of the satellite communication module, and the third time point is earlier than the first time point; at the first time point, data is reported through the satellite communication module that has been registered.

[0061] When the perception result is that the cellular module is offline but has a signal, determining and executing the registration process of the cellular module includes starting the registration process of the cellular module at a fourth time point, wherein the fourth time point is determined according to the following formula:

[0062] T 4 =T 1 -T 第二预设

[0063] Among them, T 4 is the fourth time point, T 1 is the first time point, T 第二预设 The second preset time is slightly longer than the registration time of the cellular module. After the registration process of the cellular module is started, the registration process of the cellular module is completed before the first time point; and data is reported through the registered cellular module at the first time point.

[0064] In some embodiments of the present application, after the cellular module is offline, the cellular module does not automatically perform continuous network search and registration, but waits for the MCU to schedule to start network search and registration at each second time point to reduce power consumption.

[0065] Through the above steps, the real-time performance of data reporting can be enhanced and power consumption can be reduced. Specifically, this application proposes for the first time that the IoT MCU refers to the periodic time parameters of terminal data reporting when scheduling cellular or Tiantong module registration, and proposes that the MCU perceive the status of the cellular module in advance before each data reporting time point arrives, and decides to schedule Tiantong module registration or cellular module registration based on the status, and leaves a corresponding amount of time in advance. In the scenario of periodic data reporting by multi-mode IoT terminals that cannot directly interoperate, timely data reporting can be achieved during multi-mode switching, and it can be ensured that the overall power consumption of the terminal can be reduced while being able to switch to the cellular network in time to perform business.

[0066] The present application embodiment provides a networking method, Figure 5 A schematic diagram of multi-mode access control optimized according to the method provided in this embodiment is shown, Figure 5As shown, first, the cellular module registration is started when the power is turned on; before the reporting planned time point of each reporting cycle arrives, the cellular module status is sensed in advance. When the cellular module is detected to be offline, the MCU is scheduled in advance to start the Tiantong registration module registration process, and the Tiantong module registration process is completed before the planned time point. Data is reported through the Tiantong module at the same time as the reported data planned time point. The cellular module does not continuously search for signals, and is only scheduled to start the network search registration before each reporting planned time point by the MCU. When the cellular module recovery signal is sensed, the MCU starts the cellular module registration before the planned time point, and sends data through the cellular module at the planned time point.

[0067] Specifically, the above process includes the following steps:

[0068] Step 1: The MCU senses the cellular module status in advance before each sending time point based on the cycle time parameters of the reported data. The time advance is slightly greater than the registration duration of the Tiantong module.

[0069] Step 2: If the cell is online, wait for the sending time to arrive and report the data through the cell; if the cell is offline, start the Tiantong module registration process immediately;

[0070] Step 3: In the cellular disconnection scenario, it is expected that the Tiantong registration will be completed just before the next data sending time point. At this time, the data is reported through Tiantong, which is consistent with the originally planned reporting cycle;

[0071] Step 4: After the cellular connection is disconnected, the cellular module does not automatically continue to search for network registration, but waits for the MCU to schedule and start network search registration;

[0072] Step 5, repeat step 1. The MCU senses the status of the cellular module in advance before each sending time point based on the cycle time parameters of the reported data. If it senses that the current cellular is offline and there is a cellular signal, it schedules to start the cellular registration process in advance before the next sending time point (a small time, enough for the cellular module to register), and reports data through the cellular.

[0073] The present application embodiment provides a networking device, Figure 6 is a schematic diagram of the structure of the device, such as Figure 6As shown, the device includes: an acquisition module 60, which is used to acquire a first time point of the terminal in a data reporting cycle, wherein the first time point is the moment when data is reported in the data reporting cycle; a determination module 62, which is used to determine a second time point based on the first time point and the registration duration of the satellite communication module in the terminal, wherein the second time point is the moment when the cellular module status of the cellular module in the terminal is sensed in the data reporting cycle, and the second time point is earlier than the first time point; a perception module 64, which is used to obtain a state perception result of the cellular module corresponding to the second time point, wherein the perception result includes that the cellular module is online, the cellular module is offline and has no signal, and the cellular module is offline but has a signal; a connection module 66, which is used to determine, based on the state perception result, to execute a network connection process corresponding to the state perception result.

[0074] In some embodiments of the present application, the second time point is determined by the following formula: 2 =T 1 -T 卫星 -T 第一预设 Among them, T 2 is the second time point, T 1 is the first time point, T 卫星 is the registration duration of the satellite communication module, T 第一预设 It is a first preset time length, and the first preset time length is greater than the time length required for sensing the cellular module state of the cellular module in the terminal.

[0075] In some embodiments of the present application, the connection module 66 determines and executes the network connection process corresponding to the status perception result based on the status perception result, including: when the perception result is that the cellular module is offline and there is no signal, determining to execute the registration process of the satellite communication module; when the perception result is that the cellular module is offline but there is a signal, determining to execute the registration process of the cellular module; when the perception result is that the cellular module is online, maintaining the connection with the cellular module.

[0076] In some embodiments of the present application, after the connection module 66 determines and executes the registration process of the satellite communication module, the method also includes: completing the registration process of the satellite communication module at a third time point, wherein the third time point is equal to the time point obtained by postponing the time required for cellular module status perception and the registration time of the satellite communication module from the second time point, and the third time point is earlier than the first time point; and reporting data at the first time point through the satellite communication module that has been registered.

[0077] In some embodiments of the present application, when the sensing result is that the cellular module is offline but has a signal, the connection module 66 determines and executes the registration process of the cellular module, including: starting the registration process of the cellular module at a fourth time point, wherein the fourth time point is determined according to the following formula: T 4 =T1 -T 第二预设 Among them, T 4 is the fourth time point, T 1 is the first time point, T 第二预设 It is a second preset time length, and the second preset time length is greater than the registration time length of the cellular module.

[0078] In some embodiments of the present application, after the connection module 66 starts the registration process of the cellular module, the method further includes: completing the registration process of the cellular module before the first time point; and reporting data through the registered cellular module at the first time point.

[0079] In some embodiments of the present application, the determination module 62 determines before the second time point based on the first time point and the registration duration of the satellite communication module, and the method also includes: obtaining a data reporting plan for each sensor, wherein the sensor, the cellular module and the satellite communication module are in the same terminal device, the sensor is used to collect data, and the reporting plan includes a data reporting cycle.

[0080] It should be noted that the various modules in the above-mentioned networking device can be program modules (for example, a set of program instructions that implement a certain specific function) or hardware modules. For the latter, it can be expressed in the following forms, but is not limited to this: the expression form of each of the above-mentioned modules is a processor, or the functions of each of the above-mentioned modules are implemented by a processor.

[0081] An embodiment of the present application provides a non-volatile storage medium, in which a program is stored, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the following networking method: obtaining a first time point in a data reporting cycle of a terminal, wherein the first time point is the moment when data is reported within the data reporting cycle; determining a second time point based on the first time point and the registration duration of a satellite communication module in the terminal, wherein the second time point is the moment when the cellular module status of a cellular module in the terminal is sensed within the data reporting cycle, and the second time point is earlier than the first time point; obtaining a status perception result of the cellular module corresponding to the second time point, wherein the perception result includes that the cellular module is online, the cellular module is offline and has no signal, and the cellular module is offline but has a signal; and determining to execute a network connection process corresponding to the status perception result based on the status perception result.

[0082] An embodiment of the present application provides an electronic device, including: a memory and a processor, the processor being used to run a program stored in the memory, wherein the following networking method is executed when the program is running: obtaining a first time point in a data reporting period of a terminal, wherein the first time point is the moment when data is reported in the data reporting period; determining a second time point based on the first time point and the registration duration of a satellite communication module in the terminal, wherein the second time point is the moment when a cellular module status of a cellular module in the terminal is sensed in the data reporting period, and the second time point is earlier than the first time point; obtaining a status perception result of the cellular module corresponding to the second time point, wherein the perception result includes that the cellular module is online, the cellular module is offline and has no signal, and the cellular module is offline but has a signal; and determining to execute a network connection process corresponding to the status perception result based on the status perception result.

[0083] An embodiment of the present application provides a computer program product, including a computer program, which implements the following networking method when executed by a processor: obtaining a first time point in a data reporting cycle of a terminal, wherein the first time point is the moment when data is reported in the data reporting cycle; determining a second time point based on the first time point and the registration duration of a satellite communication module in the terminal, wherein the second time point is the moment when the cellular module status of a cellular module in the terminal is sensed in the data reporting cycle, and the second time point is earlier than the first time point; obtaining a status perception result of the cellular module corresponding to the second time point, wherein the perception result includes that the cellular module is online, the cellular module is offline and has no signal, and the cellular module is offline but has a signal; and determining to execute a network connection process corresponding to the status perception result based on the status perception result.

[0084] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0085] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0086] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0087] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0088] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0089] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the relevant technology or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.

[0090] The above is only a preferred implementation 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 of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A networking method, characterized in that: include: Acquire a first time point in a data reporting period of the terminal, wherein the first time point is a moment when data is reported in the data reporting period; Determine a second time point according to the first time point and the registration duration of the satellite communication module in the terminal, wherein the second time point is a moment at which the cellular module state of the cellular module in the terminal is sensed within a data reporting period, and the second time point is earlier than the first time point; Acquire a state perception result of the cellular module corresponding to the second time point, wherein the perception result includes that the cellular module is online, the cellular module is offline and has no signal, and the cellular module is offline but has a signal; Based on the state sensing result, determine to execute a network connection process corresponding to the state sensing result.

2. The networking method according to claim 1, characterized in that: The second time point is determined by the following formula: T2=T1-T 卫星 -T 第一预设 Wherein, T2 is the second time point, T1 is the first time point, T 卫星 is the registration duration of the satellite communication module, T 第一预设 is a first preset time length, and the first preset time length is greater than the time length required for sensing the cellular module state of the cellular module in the terminal.

3. The networking method according to claim 1, characterized in that: According to the state sensing result, determining and executing a network connection process corresponding to the state sensing result includes: When the sensing result is that the cellular module is offline and has no signal, determining to execute the registration process of the satellite communication module; When the sensing result is that the cellular module is offline but has a signal, determining to execute a registration process of the cellular module; When the sensing result indicates that the cellular module is online, the connection with the cellular module is maintained.

4. The networking method according to claim 3, characterized in that: After determining and executing the registration process satellite communication module of the satellite communication module, the method further includes: completing the registration process of the satellite communication module at a third time point, wherein the third time point is equal to a time point obtained by postponing the second time point by the time required for the state perception of the cellular module and the registration time of the satellite communication module, and the third time point is earlier than the first time point; At the first time point, data is reported through the satellite communication module that has completed registration.

5. The networking method according to claim 3, characterized in that: When the sensing result is that the cellular module is offline but has a signal, determining and executing the registration process of the cellular module includes: The registration process of the cellular module is started at a fourth time point, wherein the fourth time point is determined according to the following formula: T4=T1-T 第二预设 Wherein, T4 is the fourth time point, T1 is the first time point, T 第二预设 is a second preset duration, and the second preset duration is greater than the registration duration of the cellular module.

6. The networking method according to claim 5, characterized in that: After starting the registration process of the cellular module, the method further includes: Completing the registration process of the cellular module before the first time point; At the first time point, data is reported through the cellular module that has completed registration.

7. The networking method according to claim 1, characterized in that: Before determining the second time point based on the first time point and the registration duration of the satellite communication module, the method further includes: A data reporting plan for each sensor is obtained, wherein the sensor, the cellular module and the satellite communication module are in the same terminal device, the sensor is used to collect data, and the reporting plan includes the data reporting period.

8. A networking device, characterized in that: include: An acquisition module, used to acquire a first time point in a data reporting period of a terminal, wherein the first time point is a moment when data is reported in the data reporting period; A determination module, configured to determine a second time point according to the first time point and the registration duration of the satellite communication module in the terminal, wherein the second time point is a moment at which the cellular module state of the cellular module in the terminal is sensed within a data reporting period, and the second time point is earlier than the first time point; A perception module, used to obtain a state perception result of the cellular module corresponding to the second time point, wherein the perception result includes that the cellular module is online, the cellular module is offline and has no signal, and the cellular module is offline but has a signal; A connection module is used to determine, based on the state sensing result, to execute a network connection process corresponding to the state sensing result.

9. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute the networking method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: include: A memory and a processor, wherein the processor is used to run a program stored in the memory, wherein the program executes the networking method described in any one of claims 1 to 7 when running.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the networking method according to any one of claims 1 to 7 are implemented.