WO2019047895A1 - Method for networking, terminal, and internet-of-things platform - Google Patents

Method for networking, terminal, and internet-of-things platform Download PDF

Info

Publication number
WO2019047895A1
WO2019047895A1 PCT/CN2018/104373 CN2018104373W WO2019047895A1 WO 2019047895 A1 WO2019047895 A1 WO 2019047895A1 CN 2018104373 W CN2018104373 W CN 2018104373W WO 2019047895 A1 WO2019047895 A1 WO 2019047895A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
sequence table
wake
message
online
Prior art date
Application number
PCT/CN2018/104373
Other languages
French (fr)
Chinese (zh)
Inventor
赵志华
Original Assignee
西安中兴新软件有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 西安中兴新软件有限责任公司 filed Critical 西安中兴新软件有限责任公司
Publication of WO2019047895A1 publication Critical patent/WO2019047895A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • 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
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W68/00User notification, e.g. alerting and paging, for incoming communication, change of service or the like
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W68/00User notification, e.g. alerting and paging, for incoming communication, change of service or the like
    • H04W68/005Transmission of information for alerting of incoming communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present disclosure relates to, but is not limited to, the field of Internet of Things, and more particularly, to a method and terminal for networking, an Internet of Things platform.
  • Power-Saving-Mode is a new feature of Narrow Band (NB) terminals, which can significantly reduce the power consumption of the terminal, but also brings a new problem, once the terminal If you enter the PSM network and cannot wake up, you can continue to communicate only when you wait for the terminal to wake up (for example, the timer expires).
  • the premise of active communication between the network and the terminal is: 1) the terminal is a multimode terminal, the network can send a short message to the terminal through other modes to trigger the terminal to access the NB network; or 2) the terminal actively wakes up to initiate data. business.
  • a wireless data receiving module can be disposed outside the terminal, and the wireless data receiving module always performs data reading and receiving on the line, and then forwards the data to the terminal.
  • the solution has the following three drawbacks.
  • the cost is too high.
  • the cost of an external data module is high, and a large data cache is required to implement the method, which also adds a lot of hardware costs.
  • a method for networking comprising the steps of: waking up from a power saving mode after receiving a wake-up message through a short-range wireless communication function; and networking with an Internet of Things platform after waking up.
  • a terminal comprising: a short-range wireless communication function module configured to receive a wake-up message to trigger a control module; the control module configured to notify the narrowband module to wake from a power saving mode; and the narrowband module, the setting To wake up, network with the IoT platform.
  • a terminal comprising: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the program to implement the following steps: receiving the wakeup by the short-range wireless communication function After the message, wake up from the power saving mode; and wake up, network with the IoT platform.
  • a method of networking comprising the steps of: determining that a target terminal is offline; and transmitting a paging message requesting to wake up the target terminal to be networked to any online terminal within the network.
  • An Internet of Things platform includes: a determining module configured to determine that a target terminal is offline; and a sending module configured to send a paging message requesting to wake up the target terminal to be networked to any online terminal in the networking.
  • An Internet of Things platform includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to: determine that the target terminal is offline; Sending a paging message requesting to wake up the target terminal to be networked to any online terminal in the networking.
  • a method of networking comprising the steps of: receiving a paging message requesting to wake up a target terminal to be networked; and transmitting a wake-up message to the target terminal by a short-range wireless communication function.
  • a terminal comprising: a narrowband module configured to receive a paging message requesting to wake up a target terminal to be networked; and a short-range wireless communication function module configured to transmit a wake-up message to the target terminal through a short-range wireless communication function.
  • a terminal comprising: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the program to implement the following steps: receiving a request to wake up the target terminal to be networked Calling a message; and transmitting a wake-up message to the target terminal through a short-range wireless communication function.
  • a method for networking includes the following steps: after receiving a sleep state notification message of the first terminal, determining that the first terminal is performing a monitoring task; and randomly selecting a terminal from the currently online terminal to perform a monitoring task, such as current If there is no online terminal, the next terminal is awake according to the monitoring sequence table to network with the Internet of Things platform and perform the monitoring task.
  • a terminal comprising: a determining module, configured to: after receiving a sleep state notification message of the first terminal, determining that the first terminal is performing a listening task; and a processing module configured to randomly select from the currently online terminal A terminal performs a listening task. If there is no online terminal at present, the next terminal is awake according to the listening sequence table to network with the Internet of Things platform and perform a monitoring task.
  • a terminal includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the following steps: receiving a sleep state notification of the first terminal After the message, it is determined that the first terminal is performing a monitoring task; and randomly selecting a terminal from the currently online terminal to perform a monitoring task. If there is no online terminal, the next terminal is connected to the Internet of Things platform according to the monitoring sequence table. And perform a listening task.
  • a computer readable storage medium storing a program, when the program is executed, to cause a method of networking according to various embodiments.
  • FIG. 1 is a flow chart of a method for networking an Internet of Things platform in accordance with an embodiment of the present disclosure.
  • FIG. 2 is a flow chart of a method of networking an online terminal in accordance with an embodiment of the present disclosure.
  • FIG. 3 is a flow chart of a method of networking at a terminal of a PSM in accordance with an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of an Internet of Things networking in accordance with an embodiment of the present disclosure.
  • FIG. 5 is a schematic diagram of a listening sequence table in accordance with an embodiment of the present disclosure.
  • FIG. 6 is a flow diagram of a network initiating a data request to a terminal in accordance with an embodiment of the present disclosure.
  • FIG. 7 is a flowchart of forwarding by an online NB terminal according to an embodiment of the present disclosure.
  • FIG. 8 is a flow diagram of a terminal waking up from a PSM to re-entering a PSM in accordance with an embodiment of the present disclosure.
  • FIG. 9 is a flow chart of supervision by a proxy terminal in accordance with an embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram of a terminal in accordance with an embodiment of the present disclosure.
  • FIG. 11 is a flow chart of an Internet of Things platform in accordance with an embodiment of the present disclosure.
  • FIG. 12 is a schematic diagram of a proxy terminal in accordance with an embodiment of the present disclosure.
  • NB-IoT The Narrow Band Internet of Things
  • NB-IoT only uses about 180KHz bandwidth and supports low-power devices in the WAN cellular data connection, so it is also called Low Power Wide Area (LPWA).
  • LPWA Low Power Wide Area
  • NB-IoT supports efficient connection of devices with long standby time and high network connection requirements.
  • NB-IoT devices also provide a very comprehensive indoor cellular data connection coverage.
  • NB-IoT there are more and more applications of NB-IoT.
  • it can be applied to the Internet of Things networking, such as intelligent parking lot, intelligent community security, and intelligent community fire protection.
  • Many applications of NB-IoT involve NB networking, but in this case, once the NB terminal enters the PSM, the network cannot wake up the terminal, and it is necessary to wait until the terminal wakes up next time to perform data interaction.
  • the embodiment of the present disclosure is applied to the case where the network initiates a data request to any one of the terminals in the NB network in the case of the NB-IoT networking. According to the embodiment of the present disclosure, if the target terminal is found to be offline, the target terminal is awakened by the online terminal. .
  • FIG. 1 is a flow chart of a method for networking an Internet of Things platform in accordance with an embodiment of the present disclosure. As shown in FIG. 1, the method includes: steps 11-12.
  • the IoT platform determines that the target terminal is offline.
  • the Internet of Things platform sends a paging message requesting to wake up the target terminal to be networked to any of the online terminals in the network.
  • the Internet of Things platform registers all terminals in the network and constructs a monitoring sequence table in a certain order.
  • the terminal wakes up in sequence and is responsible for monitoring network paging; if there is no abnormality, the other terminals are in the PSM.
  • Near-range wireless communication is used between all terminals, for example, ZigBee, WiFi, etc., to keep operating at low power consumption.
  • the Internet of Things platform can maintain a list of terminals in a network.
  • the list of terminals can record which terminals are in an active state and which terminals are in a PSM state.
  • the terminal When the terminal enters the PSM, it may initiate a Route Area Update (RAU) or a Tracking Area Update (TAU) to inform the network that the terminal enters the PSM, so the IoT platform can know which terminals are online.
  • RAU Route Area Update
  • TAU Tracking Area Update
  • Status which terminals are in the PSM state.
  • the IoT platform When the IoT platform wants to wake up the terminal in the PSM, it can randomly select a currently online terminal from the terminal list, and send the terminal with the target terminal identifier (identification, ID, which can be IMSI).
  • ID which can be IMSI
  • the terminal responsible for monitoring receives the paging message, it can parse the corresponding target terminal from the carried target ID, and directly notify the target terminal through the short-range wireless communication function; after that, the corresponding target terminal Wake up to complete the data transmission and reception process and take over the monitoring sequence table.
  • FIG. 2 is a flow chart of a method of networking an online terminal in accordance with an embodiment of the present disclosure. As shown in FIG. 2, the method includes: steps 21-22.
  • a paging message requesting to wake up the target terminal to be networked is received.
  • a wake-up message is sent to the target terminal via a short-range wireless communication function.
  • the method further includes the step of transmitting a listening sequence table to the target terminal.
  • FIG. 3 is a flow chart of a method of networking at a terminal of a PSM in accordance with an embodiment of the present disclosure. As shown in FIG. 3, the method includes steps 31-32.
  • the terminal at the PSM wakes up from the power saving mode after receiving the wakeup message through the short-range wireless communication function.
  • step 32 after waking up, a connection is established with the Internet of Things platform.
  • the method further includes the steps of: acquiring a listening sequence table, and updating the listening sequence table.
  • the Internet of Things platform may maintain a list of terminals (eg, an ID list) within a network, and when a data request needs to be sent to a terminal (target terminal) of any one of the lists in the list, Any online terminal in the network sends a paging message, and sends an ID of the terminal (target terminal) to which the data request is to be sent to the online terminal, and the online terminal notifies the target terminal.
  • a list of terminals eg, an ID list
  • Any online terminal in the network sends a paging message, and sends an ID of the terminal (target terminal) to which the data request is to be sent to the online terminal, and the online terminal notifies the target terminal.
  • a terminal in an NB network interacts with an Internet of Things platform, and the Internet of Things platform maintains a list of terminals, including a networking situation, a member ID, and a current online terminal.
  • the terminals in the NB network enter the PSM in turn by sequentially maintaining a dynamic listening sequence table, thereby ensuring that only the terminal having the business action is online at all times, and the other terminals are in the PSM. Save power.
  • the online terminal When the online terminal receives the paging request and obtains the ID of the called terminal (target terminal), it can send a wake-up message to the target terminal through the short-range communication technology, and the target terminal wakes up from the PSM after receiving the wake-up message. Take over the listener sequence table, move the ID to the table header, and perform data services.
  • the listening sequence table is shown in Figure 5.
  • the table is a dynamically updated sequence table.
  • a terminal for example, the UE
  • it can automatically update the table and queue its ID to the first column.
  • the listening terminal enters the PSM the terminal at the end of the request queue wakes up to be responsible for monitoring and handing over the monitoring sequence table to the next terminal responsible for monitoring.
  • the IoT platform When the IoT platform sends a data request to the target terminal, it first detects whether the target terminal is online. If not online, when the ID of the target terminal is sent to other online terminals in the same network, the online terminal notifies the target terminal by short-range wireless communication technology to trigger the target terminal to wake up from the PSM to access Network and send and receive data.
  • the process of initiating a data request to a terminal includes: steps 101-105.
  • the Internet of Things platform sends a data request to terminal A (the target terminal).
  • the Internet of Things platform detects whether terminal A is online according to the status of terminal A.
  • the terminal When the terminal enters the PSM state, it can send RAU or TAU to inform the Internet of Things platform.
  • the Internet of Things platform can determine whether the terminal is online according to this, and if so, proceeds to step S103, and if not, proceeds to step S104.
  • the Internet of Things platform and terminal A perform a normal data transceiving process.
  • the Internet of Things platform sends a paging request message to any other online terminal in the networking network, requesting to wake up terminal A, and the paging request message carries the ID of terminal A, such as IMSI information.
  • the online terminal sends a wake-up message to terminal A via the short-range wireless communication module to wake up terminal A.
  • FIG. 7 The flow of forwarding by the online NB terminal according to the embodiment of the present disclosure is as shown in FIG. 7, which includes: Steps 201-204.
  • terminal A (online terminal) receives a paging message for the target terminal.
  • terminal A parses the paging message to obtain a target terminal ID, such as IMSI information.
  • terminal A transmits a wake-up message to the target terminal through the short-range wireless communication module.
  • the target terminal wakes up the NB module to send and receive data, and the target terminal takes over the listening sequence table from the terminal A.
  • FIG. 8 The process in which the terminal wakes up from the PSM to re-enter the PSM according to an embodiment of the present disclosure is as shown in FIG. 8, which includes steps 301-306.
  • the terminal wakes up from the PSM mode and receives the listening sequence table.
  • the terminal wakes up from the PSM mode, and can acquire the current latest monitoring sequence table from the online terminal (for example, the terminal A described with reference to FIG. 7) through the short-range wireless communication module;
  • the communication module sends a broadcast message to the terminal in the networking to request to obtain the latest listening sequence table.
  • the terminal may update the listening sequence table and rank its own ID to the first position of the monitoring sequence table.
  • a timer T is started.
  • the timer T timer time is the polling time set according to the need.
  • the timer T is waited for.
  • step 304 while waiting, it is detected whether there is another terminal to take over the listening sequence table within the timing of the timer T, if yes, go to step 306, if not, go to step 305.
  • the terminal determines whether there is a service still in progress. If yes, wait for the business to complete before handing over the monitoring task.
  • a terminal may be randomly selected from the currently online terminal to perform the monitoring task handover, and the monitoring sequence table is sent to the currently online terminal; if there is no other online terminal, the monitoring is performed according to the monitoring.
  • the sequence table wakes up the next terminal, sends the listening sequence table to the next terminal, and then the target terminal enters the PSM.
  • the terminal may initiate a broadcast message to the terminal in the networking to find the terminal currently online.
  • the online terminal may reply a response message.
  • the terminal may select one of the terminals that send the response message, and send the monitoring sequence table to the selected terminal.
  • step 306 another terminal has taken over the listening sequence table, ending the timer T early, and entering the PSM. After that, the terminal that took over the listening sequence table is responsible for monitoring.
  • the terminal updates its state and enters the PSM; if there is no terminal to take over, it checks whether the terminal has the timer when the timer expires. The business is going on. If there is no service, the terminal updates its state and enters the PSM; if there is a service, the terminal waits for the service to complete and then enters the PSM mode.
  • a proxy terminal can be introduced.
  • the proxy terminal is connected to the terminal in the Internet of Things through short-range wireless communication, and the terminal in the Internet of Things sends a wake-up message to the proxy terminal when the terminal wakes up, and the terminal in the Internet of Things also sends a sleep state to the proxy terminal when entering the PSM. Notification message.
  • the agent terminal can record the dormant state and the awake state of each terminal, so that the agent terminal can know whether the terminal in the Internet of Things is online, and can store a list about the status of the terminal in the Internet of Things (for example, the terminal). List). It is to be noted that in the present disclosure, the terminal is in the PSM state and the terminal is in the dormant (or sleep) state to refer to the same meaning.
  • the proxy terminal also manages the snooping order table. If there is no online terminal, the terminal may be sequentially awake to be networked with the Internet of Things platform according to the listening sequence table in the proxy terminal.
  • the flow performed by the agent terminal includes steps 401-404.
  • step 401 after receiving the sleep state notification message of the terminal, the agent terminal records the sleep state of the terminal. If the terminal is found to be performing the monitoring task, the process proceeds to step 402.
  • the proxy terminal queries its stored list to find out if there is an online terminal currently, and if so, proceeds to step 403; if not, then proceeds to step 404.
  • the proxy terminal randomly selects a terminal from the currently online terminal to perform a listening task.
  • the proxy terminal wakes up the next terminal in accordance with the listening sequence table to network with the Internet of Things platform and perform a listening task.
  • the proxy terminal is responsible for supervising and supervising the monitoring sequence table, and other narrowband terminals are only responsible for their respective services without participating in the supervision of the monitoring sequence table, so that power consumption can be reduced.
  • FIG. 10 is a schematic diagram of a terminal in accordance with an embodiment of the present disclosure.
  • a terminal according to an embodiment of the present disclosure may include: a short-range wireless communication function module, a control module, and a narrowband module.
  • the short-range wireless communication function module is responsible for real-time communication between terminals, which is configured to receive a wake-up message to trigger a control module.
  • the control module is configured to notify the narrowband module to wake up from the power saving mode.
  • the narrowband module is configured to interact with the Internet of Things platform to send and receive data.
  • the narrowband module is configured to be networked with the Internet of Things platform after waking up.
  • the short-range wireless communication function module is further configured to acquire a listening sequence table, and the control module is further configured to update the listening sequence table.
  • the short-range wireless communication function module is configured to acquire a listening sequence table by acquiring the monitoring sequence table to a terminal that sends the wake-up message, or sending a request to the terminal in the networking.
  • the latest broadcast message of the listening sequence table receives the listening sequence table.
  • control module is further configured to perform the following operations after the step of notifying the narrowband module to wake up from the power saving mode: starting the timer, and receiving a request to take over the listening sequence table during the timing Ending the timer, notifying the narrowband module to enter a power saving mode; if not receiving a request to take over the listening sequence table, waiting for the timer to expire, when the timer expires, from the current A terminal is randomly selected from the terminal to perform the monitoring task handover. If there is no other online terminal, the next terminal is awake according to the monitoring sequence table, and the short-range wireless communication function module is notified to send the monitoring sequence table to the terminal. The next terminal is described to notify the narrowband module to enter a power saving mode.
  • control module is further configured to: when the timer expires, determine whether there is currently a service still in progress, and if the service is in progress, wait for the service to be completed, and then from the currently online terminal.
  • a terminal is randomly selected for the handover of the monitoring task.
  • control module is configured to randomly select a terminal from the currently online terminal to perform a monitoring task handover by: sending a broadcast message asking whether the line is online to the terminal in the network, and returning the online response.
  • a terminal is randomly selected in the terminal for the handover of the monitoring task.
  • the narrowband module is further configured to notify the IoT platform of the sleep state when entering the power saving mode
  • the short-range wireless communication function module is further configured to notify the agent terminal of the sleep state.
  • the narrowband module is further configured to send a wake-up message to the Internet of Things platform after waking up from the power saving mode, and the short-range wireless communication function module is configured to notify the proxy terminal of the sleep state.
  • the narrowband module is configured to receive a paging message requesting to wake up the target terminal to be networked
  • the short-range wireless communication function module is configured to send a wake-up message to the target terminal through a short-range wireless communication function.
  • the narrowband module is further configured to receive a paging message requesting to wake up the target terminal to be networked, and the short-range wireless communication function module is further configured to send a wake-up to the target terminal by a short-range wireless communication function Message. In one embodiment, the narrowband module is further configured to send a snooping sequence table to the target terminal.
  • the narrowband module is further configured to send a snooping sequence table to the target terminal.
  • An embodiment of the present disclosure further provides a terminal, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the following steps: After receiving the wake-up message, the wireless communication function wakes up from the power-saving mode; and after waking up, establishes a connection with the Internet of Things platform.
  • An embodiment of the present disclosure further provides a terminal, including: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the program to implement the following steps: receiving a request to wake up
  • the target terminal is a networked paging message; and the wake-up message is sent to the target terminal by a short-range wireless communication function.
  • FIG. 11 is a schematic diagram of an Internet of Things platform according to an embodiment of the present disclosure. As shown in FIG. 11 , the Internet of Things platform of the present embodiment includes: a determining module and a sending module.
  • the determining module is configured to determine that the target terminal is offline.
  • the sending module is configured to send a paging message requesting to wake up the target terminal to be networked to any online terminal in the networking.
  • the paging message includes an ID of the target terminal.
  • An embodiment of the present disclosure further provides an Internet of Things platform, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the following steps: Determining that the target terminal is offline; and sending a paging message requesting to wake up the target terminal to be networked to any online terminal in the network.
  • FIG. 12 is a schematic diagram of a proxy terminal according to an embodiment of the present disclosure. As shown in FIG. 12, the proxy terminal of this embodiment includes: a determining module and a processing module.
  • the determining module is configured to determine that the first terminal is performing a listening task after receiving the sleep state notification message of the first terminal.
  • the processing module is configured to randomly select one terminal from the currently online terminal to perform a monitoring task. If there is no online terminal currently, the next terminal is awake according to the monitoring sequence table to network with the Internet of Things platform and perform a monitoring task.
  • the processing module is further configured to: after receiving the sleep state notification message of the first terminal, record the sleep state of the first terminal.
  • the processing module is further configured to: after waking up the next terminal to establish a connection with the Internet of Things platform according to the monitoring sequence table and performing the monitoring task, if receiving the wake-up message of the second terminal, determining that the current monitoring task is performed. After the terminal has no service, the monitoring task is handed over to the second terminal.
  • the processing module is further configured to record the wake-up state of the second terminal after receiving the wake-up message of the second terminal.
  • An embodiment of the present disclosure further provides a terminal, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the following steps: receiving After the dormant state notification message of the first terminal, determining that the first terminal is performing a monitoring task; and randomly selecting one terminal from the currently online terminal to perform a monitoring task, and if there is no online terminal currently, waking up the next one according to the monitoring sequence table.
  • the terminal is networked with the IoT platform and performs monitoring tasks.
  • Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed, implement the method of networking as described in various embodiments of the present disclosure.

Abstract

A method for networking, a terminal, and an Internet-of-Things platform are provided. The method for networking comprises the following steps: waking up from a power-saving mode after receiving a wake-up message via a near field communication function; and networking with the Internet-of-Things platform after waking up.

Description

联网的方法及终端、物联网平台Networked method and terminal, Internet of Things platform 技术领域Technical field
本公开涉及但不限于物联网领域,并且更具体地,涉及一种联网的方法及终端、物联网平台。The present disclosure relates to, but is not limited to, the field of Internet of Things, and more particularly, to a method and terminal for networking, an Internet of Things platform.
背景技术Background technique
省电模式(Power-Saving-Mode,PSM)是窄带(Narrow Band,NB)终端的新特性,其能够将终端的功耗大幅降低,但同时也带来了一个新的问题,即,一旦终端进入PSM网络无法唤醒,则只有等待终端醒来(例如,定时器到时)才可以继续进行通信。在这种情况下,网络和终端主动通信的前提是:1)终端是多模终端,网络可以通过其他模式向终端发送短信从而触发终端接入NB网络;或者2)终端主动醒来以发起数据业务。Power-Saving-Mode (PSM) is a new feature of Narrow Band (NB) terminals, which can significantly reduce the power consumption of the terminal, but also brings a new problem, once the terminal If you enter the PSM network and cannot wake up, you can continue to communicate only when you wait for the terminal to wake up (for example, the timer expires). In this case, the premise of active communication between the network and the terminal is: 1) the terminal is a multimode terminal, the network can send a short message to the terminal through other modes to trigger the terminal to access the NB network; or 2) the terminal actively wakes up to initiate data. business.
对此,可以在终端外设置一个无线数据接收模块,所述无线数据接收模块永远在线进行数据读取接收,然后将所述数据转发给终端。然而,所述方案有如下三个缺陷。In this regard, a wireless data receiving module can be disposed outside the terminal, and the wireless data receiving module always performs data reading and receiving on the line, and then forwards the data to the terminal. However, the solution has the following three drawbacks.
1、成本太高。外接一个数据模块成本很高,而且,为实现所述方法还需要加一个大的数据缓存,这也会增加很多硬件成本。1. The cost is too high. The cost of an external data module is high, and a large data cache is required to implement the method, which also adds a lot of hardware costs.
2、耗电严重。外置数据模块耗电较大,不能像NB设备那样以低功耗来工作。2. Power consumption is serious. External data modules consume a lot of power and cannot operate at low power consumption like NB devices.
3、没有有效利用用户数多、覆盖广的优势,造成了资源浪费。3, the lack of effective use of the number of users, the wide coverage, resulting in waste of resources.
发明内容Summary of the invention
一种联网的方法,包括以下步骤:通过近距离无线通信功能接收到唤醒消息后,从省电模式中唤醒;以及唤醒后,与物联网平台进行联网。A method for networking, comprising the steps of: waking up from a power saving mode after receiving a wake-up message through a short-range wireless communication function; and networking with an Internet of Things platform after waking up.
一种终端,包括:近距离无线通信功能模块,其设置为接收唤醒消息以触发控制模块;所述控制模块,其设置为通知窄带模块从省电模式中唤醒;以及所述窄带模块,其设置为唤醒后,与物联网平台 进行联网。A terminal comprising: a short-range wireless communication function module configured to receive a wake-up message to trigger a control module; the control module configured to notify the narrowband module to wake from a power saving mode; and the narrowband module, the setting To wake up, network with the IoT platform.
一种终端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现以下步骤:通过近距离无线通信功能接收到唤醒消息后,从省电模式中唤醒;以及唤醒后,与物联网平台进行联网。A terminal comprising: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the program to implement the following steps: receiving the wakeup by the short-range wireless communication function After the message, wake up from the power saving mode; and wake up, network with the IoT platform.
一种联网的方法,包括以下步骤:确定目标终端不在线;以及向组网内任一在线终端发送请求唤醒所述目标终端以联网的寻呼消息。A method of networking, comprising the steps of: determining that a target terminal is offline; and transmitting a paging message requesting to wake up the target terminal to be networked to any online terminal within the network.
一种物联网平台,包括:确定模块,其设置为确定目标终端不在线;以及发送模块,其设置为向组网内任一在线终端发送请求唤醒所述目标终端以联网的寻呼消息。An Internet of Things platform includes: a determining module configured to determine that a target terminal is offline; and a sending module configured to send a paging message requesting to wake up the target terminal to be networked to any online terminal in the networking.
一种物联网平台,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现以下步骤:确定目标终端不在线;以及向组网内任一在线终端发送请求唤醒所述目标终端以联网的寻呼消息。An Internet of Things platform includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to: determine that the target terminal is offline; Sending a paging message requesting to wake up the target terminal to be networked to any online terminal in the networking.
一种联网的方法,包括以下步骤:接收请求唤醒目标终端以联网的寻呼消息;以及通过近距离无线通信功能向所述目标终端发送唤醒消息。A method of networking, comprising the steps of: receiving a paging message requesting to wake up a target terminal to be networked; and transmitting a wake-up message to the target terminal by a short-range wireless communication function.
一种终端,包括:窄带模块,其设置为接收请求唤醒目标终端以联网的寻呼消息;以及近距离无线通信功能模块,其设置为通过近距离无线通信功能向所述目标终端发送唤醒消息。A terminal comprising: a narrowband module configured to receive a paging message requesting to wake up a target terminal to be networked; and a short-range wireless communication function module configured to transmit a wake-up message to the target terminal through a short-range wireless communication function.
一种终端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现以下步骤:接收请求唤醒目标终端以联网的寻呼消息;以及通过近距离无线通信功能向所述目标终端发送唤醒消息。A terminal comprising: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the program to implement the following steps: receiving a request to wake up the target terminal to be networked Calling a message; and transmitting a wake-up message to the target terminal through a short-range wireless communication function.
一种联网的方法,包括以下步骤:接收到第一终端的休眠状态通知消息后,确定所述第一终端正执行监听任务;以及从当前在线的终端中随机选取一个终端执行监听任务,如当前没有在线终端,则按照监听顺序表唤醒下一个终端与物联网平台进行联网并执行监听任务。A method for networking includes the following steps: after receiving a sleep state notification message of the first terminal, determining that the first terminal is performing a monitoring task; and randomly selecting a terminal from the currently online terminal to perform a monitoring task, such as current If there is no online terminal, the next terminal is awake according to the monitoring sequence table to network with the Internet of Things platform and perform the monitoring task.
一种终端,包括:确定模块,其设置为接收到第一终端的休眠状态通知消息后,确定所述第一终端正执行监听任务;以及处理模块,其设置为从当前在线的终端中随机选取一个终端执行监听任务,如当前没有在线终端,则按照监听顺序表唤醒下一个终端与物联网平台进行联网并执行监听任务。A terminal, comprising: a determining module, configured to: after receiving a sleep state notification message of the first terminal, determining that the first terminal is performing a listening task; and a processing module configured to randomly select from the currently online terminal A terminal performs a listening task. If there is no online terminal at present, the next terminal is awake according to the listening sequence table to network with the Internet of Things platform and perform a monitoring task.
一种终端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现以下步骤:接收到第一终端的休眠状态通知消息后,确定所述第一终端正执行监听任务;以及从当前在线的终端中随机选取一个终端执行监听任务,如当前没有在线终端,则按照监听顺序表唤醒下一个终端与物联网平台进行联网并执行监听任务。A terminal includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the following steps: receiving a sleep state notification of the first terminal After the message, it is determined that the first terminal is performing a monitoring task; and randomly selecting a terminal from the currently online terminal to perform a monitoring task. If there is no online terminal, the next terminal is connected to the Internet of Things platform according to the monitoring sequence table. And perform a listening task.
一种计算机可读介质,所述计算机可读存储介质存储有程序,当所述程序被执行时,使得实现根据各实施例所述的联网的方法。A computer readable storage medium storing a program, when the program is executed, to cause a method of networking according to various embodiments.
附图说明DRAWINGS
图1为根据本公开实施例的物联网平台进行联网的方法的流程图。1 is a flow chart of a method for networking an Internet of Things platform in accordance with an embodiment of the present disclosure.
图2为根据本公开实施例的在线终端进行联网的方法的流程图。2 is a flow chart of a method of networking an online terminal in accordance with an embodiment of the present disclosure.
图3为根据本公开实施例的处于PSM的终端进行联网的方法的流程图。3 is a flow chart of a method of networking at a terminal of a PSM in accordance with an embodiment of the present disclosure.
图4为根据本公开实施例的物联网组网的示意图。4 is a schematic diagram of an Internet of Things networking in accordance with an embodiment of the present disclosure.
图5为根据本公开实施例的监听顺序表的示意图。FIG. 5 is a schematic diagram of a listening sequence table in accordance with an embodiment of the present disclosure.
图6为根据本公开实施例的网络向终端发起数据请求的流程图。6 is a flow diagram of a network initiating a data request to a terminal in accordance with an embodiment of the present disclosure.
图7为根据本公开实施例的在线NB终端进行转发的流程图。FIG. 7 is a flowchart of forwarding by an online NB terminal according to an embodiment of the present disclosure.
图8为根据本公开实施例的终端从PSM醒来到再次进入PSM的流程图。8 is a flow diagram of a terminal waking up from a PSM to re-entering a PSM in accordance with an embodiment of the present disclosure.
图9为根据本公开实施例的代理终端进行监管的流程图。9 is a flow chart of supervision by a proxy terminal in accordance with an embodiment of the present disclosure.
图10为根据本公开实施例的终端的示意图。FIG. 10 is a schematic diagram of a terminal in accordance with an embodiment of the present disclosure.
图11为根据本公开实施例的物联网平台的流程图。11 is a flow chart of an Internet of Things platform in accordance with an embodiment of the present disclosure.
图12为根据本公开实施例的代理终端的示意图。FIG. 12 is a schematic diagram of a proxy terminal in accordance with an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开的目的、技术方案和优点更加清楚明白,下文中将结合附图对本公开的实施例进行详细说明。需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互任意组合。The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments in the present disclosure and the features in the embodiments may be arbitrarily combined with each other without conflict.
基于蜂窝的窄带物联网(Narrow Band Internet of Things,简称NB-IoT)是万物互联网络的一个重要分支。NB-IoT只使用大约180KHz的带宽,并且支持低功耗设备在广域网的蜂窝数据连接,因而也被叫作低功耗广域网(Low Power Wide Area,简称LPWA)。NB-IoT支持待机时间长、对网络连接要求较高设备的高效连接。NB-IoT设备还能提供非常全面的室内蜂窝数据连接覆盖。The Narrow Band Internet of Things (NB-IoT) is an important branch of the Internet of Everything. NB-IoT only uses about 180KHz bandwidth and supports low-power devices in the WAN cellular data connection, so it is also called Low Power Wide Area (LPWA). NB-IoT supports efficient connection of devices with long standby time and high network connection requirements. NB-IoT devices also provide a very comprehensive indoor cellular data connection coverage.
当前,NB-IoT的应用越来越多,例如,其可以应用于物联网组网,比如智能停车场、智能小区安防、智能小区消防等。NB-IoT的很多应用都涉及NB组网,但是在这种情况下,一旦NB终端进入PSM后,网络无法唤醒终端,要等到终端下次醒来才能进行数据交互。本公开实施例应用于在NB-IoT组网情况下网络向NB组网内任意一个终端发起数据请求的情况,根据本公开实施例,如发现目标终端不在线,则通过在线终端来唤醒目标终端。At present, there are more and more applications of NB-IoT. For example, it can be applied to the Internet of Things networking, such as intelligent parking lot, intelligent community security, and intelligent community fire protection. Many applications of NB-IoT involve NB networking, but in this case, once the NB terminal enters the PSM, the network cannot wake up the terminal, and it is necessary to wait until the terminal wakes up next time to perform data interaction. The embodiment of the present disclosure is applied to the case where the network initiates a data request to any one of the terminals in the NB network in the case of the NB-IoT networking. According to the embodiment of the present disclosure, if the target terminal is found to be offline, the target terminal is awakened by the online terminal. .
图1为根据本公开实施例的物联网平台进行联网的方法的流程图。如图1所示,所述方法包括:步骤11-12。1 is a flow chart of a method for networking an Internet of Things platform in accordance with an embodiment of the present disclosure. As shown in FIG. 1, the method includes: steps 11-12.
在步骤11处,物联网平台确定目标终端不在线。At step 11, the IoT platform determines that the target terminal is offline.
在步骤12处,物联网平台向组网内任一在线终端发送请求唤醒所述目标终端以联网的寻呼消息。At step 12, the Internet of Things platform sends a paging message requesting to wake up the target terminal to be networked to any of the online terminals in the network.
在本公开实施例中,物联网平台将组网内的所有终端进行登记,并按照一定顺序构建一个监听顺序表。所述终端依次醒来并负责监听网络寻呼;如果无异常情况,则其他终端处于PSM。In the embodiment of the present disclosure, the Internet of Things platform registers all terminals in the network and constructs a monitoring sequence table in a certain order. The terminal wakes up in sequence and is responsible for monitoring network paging; if there is no abnormality, the other terminals are in the PSM.
所有终端之间使用近距离无线通信,例如,ZigBee、WiFi等,以保持以低功耗进行操作。Near-range wireless communication is used between all terminals, for example, ZigBee, WiFi, etc., to keep operating at low power consumption.
物联网平台可以维护一个组网内的终端列表,所述终端列表中可以记载哪些终端处于激活状态、哪些终端处于PSM状态。在终端进 入PSM的时候,可以主动发起路由区更新(Route Area Update,RAU)或者跟踪区更新(Tracking Area Update,TAU)以告知网络所述终端进入PSM,因此物联网平台可以知晓哪些终端是在线状态、哪些终端是PSM状态。The Internet of Things platform can maintain a list of terminals in a network. The list of terminals can record which terminals are in an active state and which terminals are in a PSM state. When the terminal enters the PSM, it may initiate a Route Area Update (RAU) or a Tracking Area Update (TAU) to inform the network that the terminal enters the PSM, so the IoT platform can know which terminals are online. Status, which terminals are in the PSM state.
当物联网平台要唤醒处于PSM的终端时,可以随机地从所述终端列表中选择一个当前在线的终端,并向该终端发送带有目标终端标识(identification,ID,其可以是IMSI)的寻呼消息;当负责监听的终端接收到该寻呼消息时,可以从携带的目标ID中解析出相应的目标终端,并直接通过近距离无线通信功能通知所述目标终端;之后,对应的目标终端醒来以完成数据发送和接收过程,并接管监听顺序表。When the IoT platform wants to wake up the terminal in the PSM, it can randomly select a currently online terminal from the terminal list, and send the terminal with the target terminal identifier (identification, ID, which can be IMSI). When the terminal responsible for monitoring receives the paging message, it can parse the corresponding target terminal from the carried target ID, and directly notify the target terminal through the short-range wireless communication function; after that, the corresponding target terminal Wake up to complete the data transmission and reception process and take over the monitoring sequence table.
图2为根据本公开实施例的在线终端进行联网的方法的流程图。如图2所示,所述方法包括:步骤21-22。2 is a flow chart of a method of networking an online terminal in accordance with an embodiment of the present disclosure. As shown in FIG. 2, the method includes: steps 21-22.
在步骤21处,接收请求唤醒目标终端以联网的寻呼消息。At step 21, a paging message requesting to wake up the target terminal to be networked is received.
在步骤22处,通过近距离无线通信功能向所述目标终端发送唤醒消息。At step 22, a wake-up message is sent to the target terminal via a short-range wireless communication function.
在步骤22后,所述方法还包括以下步骤:将监听顺序表发送给所述目标终端。After step 22, the method further includes the step of transmitting a listening sequence table to the target terminal.
图3为根据本公开实施例的处于PSM的终端进行联网的方法的流程图。如图3所示,所述方法包括:步骤31-32。3 is a flow chart of a method of networking at a terminal of a PSM in accordance with an embodiment of the present disclosure. As shown in FIG. 3, the method includes steps 31-32.
在步骤31处,处于PSM的终端通过近距离无线通信功能接收到唤醒消息后,从省电模式中唤醒。At step 31, the terminal at the PSM wakes up from the power saving mode after receiving the wakeup message through the short-range wireless communication function.
在步骤32处,唤醒后,与物联网平台建立连接。At step 32, after waking up, a connection is established with the Internet of Things platform.
在处于PSM模式的终端从PSM中唤醒的步骤后,所述方法还包括以下步骤:获取监听顺序表,并更新所述监听顺序表。After the step of waking up the terminal in the PSM mode from the PSM, the method further includes the steps of: acquiring a listening sequence table, and updating the listening sequence table.
根据本公开实施例,物联网平台可以维护一个组网内的终端列表(例如,ID列表),在需要向所述列表中的任意一个处于PSM的终端(目标终端)发送数据请求时,可以向组网内任意一个在线的终端发送寻呼消息,并将要向其发送数据请求的终端(目标终端)的ID发送给该在线终端,由该在线终端通知该目标终端。According to an embodiment of the present disclosure, the Internet of Things platform may maintain a list of terminals (eg, an ID list) within a network, and when a data request needs to be sent to a terminal (target terminal) of any one of the lists in the list, Any online terminal in the network sends a paging message, and sends an ID of the terminal (target terminal) to which the data request is to be sent to the online terminal, and the online terminal notifies the target terminal.
如图4所示,一个NB组网内的终端和物联网平台交互,物联网平台维护这样的一个终端列表,所述终端列表包括组网情况、成员ID、当前在线的终端等信息。As shown in FIG. 4, a terminal in an NB network interacts with an Internet of Things platform, and the Internet of Things platform maintains a list of terminals, including a networking situation, a member ID, and a current online terminal.
根据本公开实施例,NB组网内的终端通过共同维护一个动态的监听顺序表来依照顺序轮流进入PSM,从而保证每时每刻仅仅有业务动作的终端在线,而其他终端则处于PSM,以节省功耗。According to the embodiment of the present disclosure, the terminals in the NB network enter the PSM in turn by sequentially maintaining a dynamic listening sequence table, thereby ensuring that only the terminal having the business action is online at all times, and the other terminals are in the PSM. Save power.
当在线的终端接收到寻呼请求,并获取所呼叫的终端(目标终端)的ID后,其可以通过近距离通信技术发送唤醒消息给目标终端,目标终端收到唤醒消息后从PSM醒来,接管监听顺序表,将自身ID移到表首,并进行数据业务。When the online terminal receives the paging request and obtains the ID of the called terminal (target terminal), it can send a wake-up message to the target terminal through the short-range communication technology, and the target terminal wakes up from the PSM after receiving the wake-up message. Take over the listener sequence table, move the ID to the table header, and perform data services.
监听顺序表如图5所示,该表是一个动态更新的顺序表,当某个终端(例如,UE)接管监听任务后可以自动更新该表,并将其ID排到最首列,当负责监听的终端进入PSM时,请求队列末尾的终端醒来以负责监听并将该监听顺序表转交给下一个负责监听的终端。The listening sequence table is shown in Figure 5. The table is a dynamically updated sequence table. When a terminal (for example, the UE) takes over the monitoring task, it can automatically update the table and queue its ID to the first column. When the listening terminal enters the PSM, the terminal at the end of the request queue wakes up to be responsible for monitoring and handing over the monitoring sequence table to the next terminal responsible for monitoring.
当物联网平台向目标终端发送数据请求时,首先检测目标终端是否在线。若不在线,则将目标终端的ID发送给同一个组网内的其他在线的终端时,该在线的终端通过近距离无线通信技术来通知目标终端,以触发目标终端从PSM醒来以接入网络并收发数据。When the IoT platform sends a data request to the target terminal, it first detects whether the target terminal is online. If not online, when the ID of the target terminal is sent to other online terminals in the same network, the online terminal notifies the target terminal by short-range wireless communication technology to trigger the target terminal to wake up from the PSM to access Network and send and receive data.
如图6所示,向终端发起数据请求的流程包括:步骤101-105。As shown in FIG. 6, the process of initiating a data request to a terminal includes: steps 101-105.
在步骤101处,物联网平台向终端A(目标终端)发送数据请求。At step 101, the Internet of Things platform sends a data request to terminal A (the target terminal).
在步骤102处,物联网平台根据终端A的状态来检测终端A否在线。At step 102, the Internet of Things platform detects whether terminal A is online according to the status of terminal A.
终端在进入PSM状态时,可以发送RAU或者TAU以告知物联网平台。物联网平台可以据此来判定终端是否在线,若是,进入步骤S103,若否进入步骤S104。When the terminal enters the PSM state, it can send RAU or TAU to inform the Internet of Things platform. The Internet of Things platform can determine whether the terminal is online according to this, and if so, proceeds to step S103, and if not, proceeds to step S104.
在步骤103处,物联网平台与终端A进行正常数据收发流程。At step 103, the Internet of Things platform and terminal A perform a normal data transceiving process.
在步骤104处,物联网平台向组网内其他任一在线终端发送寻呼请求消息,请求唤醒终端A,寻呼请求消息携带终端A的ID,例如IMSI信息。At step 104, the Internet of Things platform sends a paging request message to any other online terminal in the networking network, requesting to wake up terminal A, and the paging request message carries the ID of terminal A, such as IMSI information.
在步骤105处,在线终端通过近距离无线通信模块向终端A发 送唤醒消息,以使终端A醒来。At step 105, the online terminal sends a wake-up message to terminal A via the short-range wireless communication module to wake up terminal A.
根据本公开实施例的在线NB终端进行转发的流程如图7所示,其包括:步骤201-204。The flow of forwarding by the online NB terminal according to the embodiment of the present disclosure is as shown in FIG. 7, which includes: Steps 201-204.
在步骤201处,终端A(在线终端)接收针对目标终端的寻呼消息。At step 201, terminal A (online terminal) receives a paging message for the target terminal.
在步骤202处,终端A解析所述寻呼消息,以得到目标终端ID,例如IMSI信息。At step 202, terminal A parses the paging message to obtain a target terminal ID, such as IMSI information.
在步骤203处,终端A通过近距离无线通信模块向目标终端发送唤醒消息。At step 203, terminal A transmits a wake-up message to the target terminal through the short-range wireless communication module.
在步骤204处,目标终端接收到唤醒消息后,触发NB模块醒来以收发数据,同时目标终端从终端A接管监听顺序表。At step 204, after receiving the wake-up message, the target terminal wakes up the NB module to send and receive data, and the target terminal takes over the listening sequence table from the terminal A.
根据本公开实施例的终端从PSM醒来到再次进入PSM过程如图8所示,其包括:步骤301-306。The process in which the terminal wakes up from the PSM to re-enter the PSM according to an embodiment of the present disclosure is as shown in FIG. 8, which includes steps 301-306.
在步骤301处,终端从PSM模式醒来,并接收监听顺序表。At step 301, the terminal wakes up from the PSM mode and receives the listening sequence table.
终端(例如,目标终端)从PSM模式醒来,并可以通过近距离无线通信模块从在线终端(例如,参照图7所描述的终端A)获取当前最新的监听顺序表;也可以通过近距离无线通信模块向组网内的终端发送广播消息,以请求获取最新的监听顺序表。获取所述监听顺序表后,该终端可以更新所述监听顺序表,将自身的ID排到监听顺序表第一位。The terminal (for example, the target terminal) wakes up from the PSM mode, and can acquire the current latest monitoring sequence table from the online terminal (for example, the terminal A described with reference to FIG. 7) through the short-range wireless communication module; The communication module sends a broadcast message to the terminal in the networking to request to obtain the latest listening sequence table. After obtaining the listening sequence table, the terminal may update the listening sequence table and rank its own ID to the first position of the monitoring sequence table.
在步骤302处,启动定时器T。At step 302, a timer T is started.
定时器T的定时时间是根据需要来设定的轮流监听时间。The timer T timer time is the polling time set according to the need.
在步骤303处,等待定时器T到时。At step 303, the timer T is waited for.
在步骤304处,在等待的同时,检测在该定时器T的定时时间内是否有别的终端要接管监听顺序表,如有,转到步骤306,如没有,则转到步骤305。At step 304, while waiting, it is detected whether there is another terminal to take over the listening sequence table within the timing of the timer T, if yes, go to step 306, if not, go to step 305.
在步骤305处,定时器T到时后,所述终端判断是否有业务还在进行。如有,则等待业务完成后再进行监听任务的交接。在进行监听任务的交接时,可以从当前在线的终端中随机选取一个终端进行监听任务交接,并将所述监听顺序表发送给当前在线的终端;如当前没 有其他在线终端,则按照所述监听顺序表唤醒下一个终端,将所述监听顺序表发送给所述下一个终端,然后所述目标终端进入PSM。At step 305, after the timer T expires, the terminal determines whether there is a service still in progress. If yes, wait for the business to complete before handing over the monitoring task. When performing the handover of the monitoring task, a terminal may be randomly selected from the currently online terminal to perform the monitoring task handover, and the monitoring sequence table is sent to the currently online terminal; if there is no other online terminal, the monitoring is performed according to the monitoring. The sequence table wakes up the next terminal, sends the listening sequence table to the next terminal, and then the target terminal enters the PSM.
终端可以向组网内的终端发起广播消息以寻找当前在线的终端。当在线终端接收到所述广播消息时,可以回复响应消息。所述终端可以从发送响应消息的终端中任选一个,将监听顺序表发送给所选的终端。The terminal may initiate a broadcast message to the terminal in the networking to find the terminal currently online. When the online terminal receives the broadcast message, it may reply a response message. The terminal may select one of the terminals that send the response message, and send the monitoring sequence table to the selected terminal.
在步骤306处,已经有别的终端接管了监听顺序表,提前结束定时器T,进入PSM。之后,由接管了监听顺序表的终端负责监听。At step 306, another terminal has taken over the listening sequence table, ending the timer T early, and entering the PSM. After that, the terminal that took over the listening sequence table is responsible for monitoring.
在定时器T的定时时间内,一旦有别的终端接管监听顺序表,则结束定时器T,所述终端更新其状态并进入PSM;若没有终端接管,则在定时器到时时检查终端是否有业务在进行。如无业务,则所述终端更新其状态并进入PSM;如有业务,则所述终端等待业务完成再进入PSM模式。During the timing of the timer T, once another terminal takes over the monitoring sequence table, the timer T is ended, the terminal updates its state and enters the PSM; if there is no terminal to take over, it checks whether the terminal has the timer when the timer expires. The business is going on. If there is no service, the terminal updates its state and enters the PSM; if there is a service, the terminal waits for the service to complete and then enters the PSM mode.
在一个实施例中,可以引入代理终端。所述代理终端通过近距离无线通信与物联网中的终端连接,物联网中的终端醒来时要向代理终端发送醒来消息,物联网中的终端进入PSM时也要向代理终端发送休眠状态通知消息。所述代理终端可以记录各终端的休眠状态及醒来状态,这样,代理终端可获知物联网中的终端是否在线,并可以存储有关于所述物联网中的终端的状态的列表(例如,终端列表)。要注意的是,在本公开中,终端处于PSM状态与终端处于休眠(或睡眠)状态指代的是相同的含义。In one embodiment, a proxy terminal can be introduced. The proxy terminal is connected to the terminal in the Internet of Things through short-range wireless communication, and the terminal in the Internet of Things sends a wake-up message to the proxy terminal when the terminal wakes up, and the terminal in the Internet of Things also sends a sleep state to the proxy terminal when entering the PSM. Notification message. The agent terminal can record the dormant state and the awake state of each terminal, so that the agent terminal can know whether the terminal in the Internet of Things is online, and can store a list about the status of the terminal in the Internet of Things (for example, the terminal). List). It is to be noted that in the present disclosure, the terminal is in the PSM state and the terminal is in the dormant (or sleep) state to refer to the same meaning.
根据本公开实施例,代理终端还管理监听顺序表。如当前没有在线终端,则可以根据所述代理终端中的监听顺序表来依次唤醒终端以与物联网平台进行联网。According to an embodiment of the present disclosure, the proxy terminal also manages the snooping order table. If there is no online terminal, the terminal may be sequentially awake to be networked with the Internet of Things platform according to the listening sequence table in the proxy terminal.
如图9所示,由代理终端进行的流程包括:步骤401-404。As shown in FIG. 9, the flow performed by the agent terminal includes steps 401-404.
在步骤401处,代理终端接收到终端的休眠状态通知消息后,记录该终端的休眠状态,如发现该终端正在执行监听任务,则转到步骤402。At step 401, after receiving the sleep state notification message of the terminal, the agent terminal records the sleep state of the terminal. If the terminal is found to be performing the monitoring task, the process proceeds to step 402.
在步骤402处,代理终端查询其存储的列表,以查找当前是否有在线终端,如有,则转到步骤403;如没有,则转到步骤404。At step 402, the proxy terminal queries its stored list to find out if there is an online terminal currently, and if so, proceeds to step 403; if not, then proceeds to step 404.
在步骤403处,代理终端从当前在线的终端中随机选取一个终端以执行监听任务。At step 403, the proxy terminal randomly selects a terminal from the currently online terminal to perform a listening task.
在步骤404处,代理终端按照监听顺序表唤醒下一个终端以与物联网平台进行联网并执行监听任务。At step 404, the proxy terminal wakes up the next terminal in accordance with the listening sequence table to network with the Internet of Things platform and perform a listening task.
根据本实施例中,由代理终端来统一负责监管所述监听顺序表,其他窄带终端只负责各自的业务而不用参与所述监听顺序表的监管,这样可以减少功耗。According to the embodiment, the proxy terminal is responsible for supervising and supervising the monitoring sequence table, and other narrowband terminals are only responsible for their respective services without participating in the supervision of the monitoring sequence table, so that power consumption can be reduced.
图10为根据本公开实施例的终端的示意图。如图10所示,根据本公开实施例的终端可以包括:近距离无线通信功能模块、控制模块和窄带模块。FIG. 10 is a schematic diagram of a terminal in accordance with an embodiment of the present disclosure. As shown in FIG. 10, a terminal according to an embodiment of the present disclosure may include: a short-range wireless communication function module, a control module, and a narrowband module.
所述近距离无线通信功能模块负责终端之间的实时通信,其设置为接收唤醒消息以触发控制模块。The short-range wireless communication function module is responsible for real-time communication between terminals, which is configured to receive a wake-up message to trigger a control module.
所述控制模块设置为通知窄带模块从省电模式中唤醒。The control module is configured to notify the narrowband module to wake up from the power saving mode.
所述窄带模块设置为和物联网平台进行交互以收发数据。所述窄带模块设置为唤醒后与物联网平台进行联网。The narrowband module is configured to interact with the Internet of Things platform to send and receive data. The narrowband module is configured to be networked with the Internet of Things platform after waking up.
在一实施例中,所述近距离无线通信功能模块还设置为获取监听顺序表,并且所述控制模块还设置为更新所述监听顺序表。In an embodiment, the short-range wireless communication function module is further configured to acquire a listening sequence table, and the control module is further configured to update the listening sequence table.
在一实施例中,所述近距离无线通信功能模块设置为通过以下操作来获取监听顺序表:向发送所述唤醒消息的终端获取所述监听顺序表,或者向组网内的终端发送请求获取最新的监听顺序表的广播消息,接收所述监听顺序表。In an embodiment, the short-range wireless communication function module is configured to acquire a listening sequence table by acquiring the monitoring sequence table to a terminal that sends the wake-up message, or sending a request to the terminal in the networking. The latest broadcast message of the listening sequence table receives the listening sequence table.
在一实施例中,所述控制模块还设置为在通知窄带模块从省电模式中唤醒的步骤后执行以下操作:启动定时器,在计时过程中,如果接收到接管所述监听顺序表的请求,则结束所述定时器,通知所述窄带模块进入省电模式;如果没有接收到接管所述监听顺序表的请求,则等待所述定时器到时,当所述定时器到时时,从当前在线的终端中随机选取一个终端进行监听任务交接,如当前没有其他在线终端,则按照所述监听顺序表唤醒下一个终端,通知所述近距离无线通信功能模块将所述监听顺序表发送给所述下一个终端,通知所述窄带模块进入省电模式。In an embodiment, the control module is further configured to perform the following operations after the step of notifying the narrowband module to wake up from the power saving mode: starting the timer, and receiving a request to take over the listening sequence table during the timing Ending the timer, notifying the narrowband module to enter a power saving mode; if not receiving a request to take over the listening sequence table, waiting for the timer to expire, when the timer expires, from the current A terminal is randomly selected from the terminal to perform the monitoring task handover. If there is no other online terminal, the next terminal is awake according to the monitoring sequence table, and the short-range wireless communication function module is notified to send the monitoring sequence table to the terminal. The next terminal is described to notify the narrowband module to enter a power saving mode.
在一实施例中,所述控制模块还设置为当所述定时器到时时,,判断当前是否有业务还在进行,如有业务在进行,则等待业务完成后,再从当前在线的终端中随机选取一个终端进行监听任务交接。In an embodiment, the control module is further configured to: when the timer expires, determine whether there is currently a service still in progress, and if the service is in progress, wait for the service to be completed, and then from the currently online terminal. A terminal is randomly selected for the handover of the monitoring task.
在一实施例中,所述控制模块设置为通过以下操作来从当前在线的终端中随机选取一个终端进行监听任务交接:向组网内的终端发送询问是否在线的广播消息,从返回在线响应的终端中随机选取一个终端进行监听任务交接。In an embodiment, the control module is configured to randomly select a terminal from the currently online terminal to perform a monitoring task handover by: sending a broadcast message asking whether the line is online to the terminal in the network, and returning the online response. A terminal is randomly selected in the terminal for the handover of the monitoring task.
在一实施例中,所述窄带模块还设置为:进入省电模式时,将休眠状态通知所述物联网平台,并且所述近距离无线通信功能模块还设置为将休眠状态通知代理终端。In an embodiment, the narrowband module is further configured to notify the IoT platform of the sleep state when entering the power saving mode, and the short-range wireless communication function module is further configured to notify the agent terminal of the sleep state.
在一实施例中,所述窄带模块还设置为从省电模式中唤醒后,向所述物联网平台发送醒来消息,并且所述近距离无线通信功能模块设置为将休眠状态通知代理终端。In an embodiment, the narrowband module is further configured to send a wake-up message to the Internet of Things platform after waking up from the power saving mode, and the short-range wireless communication function module is configured to notify the proxy terminal of the sleep state.
在一实施例中,所述窄带模块设置为接收请求唤醒目标终端以联网的寻呼消息,并且所述近距离无线通信功能模块设置为通过近距离无线通信功能向所述目标终端发送唤醒消息。In an embodiment, the narrowband module is configured to receive a paging message requesting to wake up the target terminal to be networked, and the short-range wireless communication function module is configured to send a wake-up message to the target terminal through a short-range wireless communication function.
在一个实施例中,所述窄带模块还设置为接收请求唤醒目标终端以联网的寻呼消息,并且所述近距离无线通信功能模块还设置为通过近距离无线通信功能向所述目标终端发送唤醒消息。在一个实施例中,所述窄带模块还设置为将监听顺序表发送给所述目标终端。In one embodiment, the narrowband module is further configured to receive a paging message requesting to wake up the target terminal to be networked, and the short-range wireless communication function module is further configured to send a wake-up to the target terminal by a short-range wireless communication function Message. In one embodiment, the narrowband module is further configured to send a snooping sequence table to the target terminal.
在一个实施例中,所述窄带模块还设置为将监听顺序表发送给所述目标终端。In one embodiment, the narrowband module is further configured to send a snooping sequence table to the target terminal.
本公开实施例还提供一种终端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现以下步骤:通过近距离无线通信功能接收到唤醒消息后,从省电模式中唤醒;以及唤醒后,与物联网平台建立连接。An embodiment of the present disclosure further provides a terminal, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the following steps: After receiving the wake-up message, the wireless communication function wakes up from the power-saving mode; and after waking up, establishes a connection with the Internet of Things platform.
本公开实施例还提供一种终端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现以下步骤:接收请求唤醒目标终端以联网的寻呼消息;以及通过近距离无线通信功能向所述目标终端发送唤醒消息。An embodiment of the present disclosure further provides a terminal, including: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the program to implement the following steps: receiving a request to wake up The target terminal is a networked paging message; and the wake-up message is sent to the target terminal by a short-range wireless communication function.
图11为根据本公开实施例的物联网平台的示意图,如图11所示,本实施例的物联网平台包括:确定模块和发送模块。FIG. 11 is a schematic diagram of an Internet of Things platform according to an embodiment of the present disclosure. As shown in FIG. 11 , the Internet of Things platform of the present embodiment includes: a determining module and a sending module.
所述确定模块设置为确定目标终端不在线。The determining module is configured to determine that the target terminal is offline.
所述发送模块设置为向组网内任一在线终端发送请求唤醒所述目标终端以联网的寻呼消息。The sending module is configured to send a paging message requesting to wake up the target terminal to be networked to any online terminal in the networking.
在一实施例中,所述寻呼消息包括所述目标终端的ID。In an embodiment, the paging message includes an ID of the target terminal.
本公开实施例还提供了一种物联网平台,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现以下步骤:确定目标终端不在线;以及向组网内任一在线终端发送请求唤醒所述目标终端以联网的寻呼消息。An embodiment of the present disclosure further provides an Internet of Things platform, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the following steps: Determining that the target terminal is offline; and sending a paging message requesting to wake up the target terminal to be networked to any online terminal in the network.
图12为根据本公开实施例的代理终端的示意图,如图12所示,本实施例的代理终端包括:确定模块和处理模块。FIG. 12 is a schematic diagram of a proxy terminal according to an embodiment of the present disclosure. As shown in FIG. 12, the proxy terminal of this embodiment includes: a determining module and a processing module.
所述确定模块设置为接收到第一终端的休眠状态通知消息后,确定所述第一终端正执行监听任务。The determining module is configured to determine that the first terminal is performing a listening task after receiving the sleep state notification message of the first terminal.
所述处理模块设置为从当前在线的终端中随机选取一个终端执行监听任务,如当前没有在线终端,则按照监听顺序表唤醒下一个终端与物联网平台进行联网并执行监听任务。The processing module is configured to randomly select one terminal from the currently online terminal to perform a monitoring task. If there is no online terminal currently, the next terminal is awake according to the monitoring sequence table to network with the Internet of Things platform and perform a monitoring task.
在一实施例中,所述处理模块还设置为:接收到第一终端的休眠状态通知消息后,记录所述第一终端的休眠状态。In an embodiment, the processing module is further configured to: after receiving the sleep state notification message of the first terminal, record the sleep state of the first terminal.
在一实施例中,所述处理模块还设置为:按照监听顺序表唤醒下一个终端与物联网平台建立连接并执行监听任务后,如接收到第二终端的醒来消息,确定当前执行监听任务的终端没有业务后,将监听任务移交给所述第二终端。In an embodiment, the processing module is further configured to: after waking up the next terminal to establish a connection with the Internet of Things platform according to the monitoring sequence table and performing the monitoring task, if receiving the wake-up message of the second terminal, determining that the current monitoring task is performed. After the terminal has no service, the monitoring task is handed over to the second terminal.
在一实施例中,所述处理模块还设置为接收到第二终端的醒来消息后,记录所述第二终端的醒来状态。In an embodiment, the processing module is further configured to record the wake-up state of the second terminal after receiving the wake-up message of the second terminal.
本公开实施例还提供了一种终端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现以下步骤:接收到第一终端的休眠状态通知消息后,确定所述第一终端正执行监听任务;以及从当前在线的终端中随机选取一个终端执行监听任务,如当前没有在线终端,则按照监听顺 序表唤醒下一个终端与物联网平台进行联网并执行监听任务。An embodiment of the present disclosure further provides a terminal, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the following steps: receiving After the dormant state notification message of the first terminal, determining that the first terminal is performing a monitoring task; and randomly selecting one terminal from the currently online terminal to perform a monitoring task, and if there is no online terminal currently, waking up the next one according to the monitoring sequence table. The terminal is networked with the IoT platform and performs monitoring tasks.
本公开实施例还提供了一种计算机可读存储介质,其存储有计算机可执行指令,所述计算机可执行指令被执行时实现本公开各实施例中所述的联网的方法。Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed, implement the method of networking as described in various embodiments of the present disclosure.
本领域普通技术人员可以理解,上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本公开不限制于任何特定形式的硬件和软件的结合。It will be understood by those skilled in the art that all or part of the above steps may be completed by a program to instruct related hardware, and the program may be stored in a computer readable storage medium such as a read only memory, a magnetic disk or an optical disk. All or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. The present disclosure is not limited to any specific form of combination of hardware and software.
以上仅为本公开的示例性实施例。当然,本公开还可有其他多种实施例。在不背离本公开的精神及其实质的情况下,本领域技术人员当可根据本公开做出各种相应的改变和变形,但这些相应的改变和变形都应落入本公开的权利要求书的保护范围内。The above is merely an exemplary embodiment of the present disclosure. Of course, there are other various embodiments of the present disclosure. Various changes and modifications may be made by those skilled in the art without departing from the spirit and scope of the disclosure, but the corresponding changes and modifications are intended to fall within the scope of the claims Within the scope of protection.

Claims (40)

  1. 一种联网的方法,包括以下步骤:A method of networking that includes the following steps:
    通过近距离无线通信功能接收到唤醒消息后,从省电模式中唤醒;以及Awakening from the power saving mode after receiving the wakeup message through the short-range wireless communication function;
    唤醒后,与物联网平台进行联网。After waking up, network with the IoT platform.
  2. 如权利要求1所述的方法,其中,所述从省电模式中唤醒的步骤后,还包括以下步骤:The method of claim 1, wherein the step of waking up from the power saving mode further comprises the steps of:
    获取监听顺序表,更新所述监听顺序表。Obtain a listen order table and update the listen order table.
  3. 如权利要求2所述的方法,其中,所述获取监听顺序表的步骤包括以下步骤:The method of claim 2 wherein said step of obtaining a snooping sequence table comprises the steps of:
    向发送所述唤醒消息的终端获取所述监听顺序表,或者Obtaining the monitoring sequence table from a terminal that sends the wake-up message, or
    向组网内的终端发送请求获取最新的监听顺序表的广播消息,接收返回的所述监听顺序表。Sending a broadcast message requesting to acquire the latest listening sequence table to the terminal in the networking, and receiving the returned listening sequence table.
  4. 如权利要求2所述的方法,其中,所述从省电模式中唤醒的步骤后,还包括以下步骤:The method of claim 2, wherein the step of waking up from the power saving mode further comprises the steps of:
    启动定时器,在计时过程中,如果接收到接管所述监听顺序表的请求,则结束所述定时器,进入省电模式;如果没有接收到接管所述监听顺序表的请求,则等待所述定时器到时,当所述定时器到时时,从当前在线的终端中随机选取一个终端进行监听任务交接,如当前没有其他在线终端,则按照所述监听顺序表唤醒下一个终端,将所述监听顺序表发送给所述下一个终端,然后进入省电模式。Starting a timer, in the process of timing, if receiving a request to take over the listening sequence table, ending the timer, entering a power saving mode; if not receiving a request to take over the listening sequence table, waiting for the When the timer expires, when the timer expires, a terminal is randomly selected from the currently online terminal to perform the monitoring task handover. If there is no other online terminal, the next terminal is awake according to the monitoring sequence table, and the The listening sequence table is sent to the next terminal and then enters the power saving mode.
  5. 如权利要求4所述的方法,其中,当所述定时器到时时,还包括以下步骤:The method of claim 4, wherein when the timer expires, the method further comprises the steps of:
    判断当前是否有业务还在进行,如有业务在进行,则等待业务完成后,再从当前在线的终端中随机选取一个终端进行监听任务交接。It is judged whether there is currently a service still in progress. If there is a service in progress, after waiting for the service to be completed, a terminal is randomly selected from the currently online terminal to perform the monitoring task handover.
  6. 如权利要求4或5所述的方法,其中,所述从当前在线的终端中随机选取一个终端进行监听任务交接的步骤包括以下步骤:The method according to claim 4 or 5, wherein the step of randomly selecting a terminal from the currently online terminal for the handover of the monitoring task comprises the following steps:
    向组网内的终端发送询问是否在线的广播消息,从返回在线响应的终端中随机选取一个终端进行监听任务交接。Send a broadcast message asking whether the line is online to the terminal in the networking, and randomly select a terminal from the terminal that returns the online response to perform the monitoring task handover.
  7. 如权利要求4所述的方法,其中,所述进入省电模式时,还包括以下步骤:The method of claim 4, wherein when the power saving mode is entered, the method further comprises the steps of:
    向所述物联网平台发送休眠状态通知消息,或者Sending a sleep status notification message to the Internet of Things platform, or
    向所述物联网平台和代理终端发送休眠状态通知消息。A sleep status notification message is sent to the Internet of Things platform and the proxy terminal.
  8. 如权利要求1所述的方法,其中,所述从省电模式中唤醒的步骤后,还包括以下步骤:The method of claim 1, wherein the step of waking up from the power saving mode further comprises the steps of:
    向所述物联网平台发送醒来消息,或者向所述物联网平台和代理终端发送醒来消息。Sending a wake-up message to the Internet of Things platform or sending a wake-up message to the Internet of Things platform and the agent terminal.
  9. 一种终端,其中,包括:A terminal, including:
    近距离无线通信功能模块,其设置为接收唤醒消息以触发控制模块;a short-range wireless communication function module configured to receive a wake-up message to trigger a control module;
    所述控制模块,其设置为通知窄带模块从省电模式中唤醒;以及The control module is configured to notify the narrowband module to wake up from the power saving mode;
    所述窄带模块,其设置为唤醒后,与物联网平台进行联网。The narrowband module is configured to be networked with the Internet of Things platform after waking up.
  10. 如权利要求9所述的终端,其中,The terminal of claim 9, wherein
    所述近距离无线通信功能模块还设置为获取监听顺序表;并且The short-range wireless communication function module is further configured to acquire a listening sequence table; and
    所述控制模块还设置为更新所述监听顺序表。The control module is further configured to update the listening sequence table.
  11. 如权利要求10所述的终端,其中,The terminal of claim 10, wherein
    所述近距离无线通信功能模块通过以下操作来获取监听顺序表:向发送所述唤醒消息的终端获取所述监听顺序表,或者向组网内的终 端发送请求获取最新的监听顺序表的广播消息,接收所述监听顺序表。The short-range wireless communication function module acquires a monitoring sequence table by acquiring a listening sequence table to a terminal that sends the wake-up message, or sending a broadcast message requesting to acquire a latest listening sequence table to a terminal in the networking. Receiving the listening sequence table.
  12. 如权利要求10所述的终端,其中,The terminal of claim 10, wherein
    所述控制模块还设置为在通知窄带模块从省电模式中唤醒后,进行以下操作:启动定时器,在计时过程中,如果接收到接管所述监听顺序表的请求,则结束所述定时器,通知所述窄带模块进入省电模式;如果没有接收到接管所述监听顺序表的请求,则等待所述定时器到时,当所述定时器到时时,从当前在线的终端中随机选取一个终端进行监听任务交接,如当前没有其他在线终端,则按照所述监听顺序表唤醒下一个终端,通知所述近距离无线通信功能模块将所述监听顺序表发送给所述下一个终端,然后通知所述窄带模块进入省电模式。The control module is further configured to: after notifying the narrowband module to wake up from the power saving mode, perform the following operation: start a timer, and if receiving a request to take over the monitoring sequence table, the timer ends Notifying the narrowband module to enter a power saving mode; if the request to take over the listening sequence table is not received, waiting for the timer to expire, when the timer expires, randomly selecting one from the currently online terminal The terminal performs the monitoring task handover. If there is no other online terminal, the next terminal is awake according to the monitoring sequence table, and the short-range wireless communication function module is notified to send the monitoring sequence table to the next terminal, and then notify The narrowband module enters a power saving mode.
  13. 如权利要求12所述的终端,其中,The terminal of claim 12, wherein
    所述控制模块还设置为当所述定时器到时时进行以下操作:判断当前是否有业务还在进行,如有业务在进行,则等待业务完成后,再从当前在线的终端中随机选取一个终端进行监听任务交接。The control module is further configured to: when the timer expires, perform the following operations: determine whether there is currently a service still in progress, and if a service is in progress, wait for the service to be completed, and then randomly select a terminal from the currently online terminal. Perform a monitoring task handover.
  14. 如权利要求12或13所述的终端,其中,The terminal according to claim 12 or 13, wherein
    所述控制模块通过以下操作来从当前在线的终端中随机选取一个终端进行监听任务交接:向组网内的终端发送询问是否在线的广播消息,从返回在线响应的终端中随机选取一个终端进行监听任务交接。The control module randomly selects a terminal from the currently online terminal to perform a monitoring task handover by: sending a broadcast message asking whether the line is online to the terminal in the network, and randomly selecting a terminal from the terminal that returns the online response to perform monitoring. Task handover.
  15. 如权利要求12所述的终端,其中,The terminal of claim 12, wherein
    所述窄带模块还设置为:进入省电模式时,将休眠状态通知所述物联网平台;以及The narrowband module is further configured to notify the IoT platform of the dormant state when entering the power saving mode;
    所述近距离无线通信功能模块还设置为将休眠状态通知代理终端。The short-range wireless communication function module is further configured to notify the agent terminal of the sleep state.
  16. 如权利要求9所述的终端,其中,The terminal of claim 9, wherein
    所述窄带模块还设置为:从省电模式中唤醒后,向所述物联网 平台发送醒来消息;并且The narrowband module is further configured to: send a wakeup message to the Internet of Things platform after waking up from the power saving mode;
    所述近距离无线通信功能模块还设置为将休眠状态通知代理终端。The short-range wireless communication function module is further configured to notify the agent terminal of the sleep state.
  17. 一种终端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现以下步骤:A terminal comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor performs the following steps when executing the program:
    通过近距离无线通信功能接收到唤醒消息后,从省电模式中唤醒;以及Awakening from the power saving mode after receiving the wakeup message through the short-range wireless communication function;
    唤醒后,与物联网平台进行联网。After waking up, network with the IoT platform.
  18. 一种计算机可读介质,所述计算机可读存储介质存储有程序,当所述程序被执行时,使得实现如权利要求1-8中任一项所述的方法。A computer readable storage medium storing a program, when the program is executed, such that the method of any one of claims 1-8 is implemented.
  19. 一种联网的方法,包括以下步骤:A method of networking that includes the following steps:
    确定目标终端不在线;以及Determining that the target terminal is not online;
    向组网内任一在线终端发送请求唤醒所述目标终端以联网的寻呼消息。Sending a paging message requesting to wake up the target terminal to be networked to any online terminal in the networking.
  20. 如权利要求19所述的方法,其中,The method of claim 19, wherein
    所述寻呼消息包括所述目标终端的标识。The paging message includes an identifier of the target terminal.
  21. 一种物联网平台,包括:An Internet of Things platform, including:
    确定模块,其设置为确定目标终端不在线;以及Determining a module configured to determine that the target terminal is not online;
    发送模块,其设置为向组网内任一在线终端发送请求唤醒所述目标终端以联网的寻呼消息。And a sending module, configured to send a paging message requesting to wake up the target terminal to be networked to any online terminal in the networking.
  22. 如权利要求21所述的物联网平台,其中,The Internet of Things platform according to claim 21, wherein
    所述寻呼消息包括所述目标终端的标识。The paging message includes an identifier of the target terminal.
  23. 一种物联网平台,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现以下步骤:An Internet of Things platform includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor performs the following steps when executing the program:
    确定目标终端不在线;以及Determining that the target terminal is not online;
    向组网内任一在线终端发送请求唤醒所述目标终端以联网的寻呼消息。Sending a paging message requesting to wake up the target terminal to be networked to any online terminal in the networking.
  24. 一种计算机可读介质,所述计算机可读存储介质存储有程序,当所述程序被执行时,使得实现如权利要求19-20中任一项所述的方法。A computer readable storage medium storing a program, when the program is executed, such that the method of any one of claims 19-20 is implemented.
  25. 一种联网的方法,包括以下步骤:A method of networking that includes the following steps:
    接收请求唤醒目标终端以联网的寻呼消息;以及Receiving a paging message requesting to wake up the target terminal to be networked;
    通过近距离无线通信功能向所述目标终端发送唤醒消息。A wake-up message is sent to the target terminal through a short-range wireless communication function.
  26. 如权利要求25所述的方法,其中,所述通过近距离无线通信功能向所述目标终端发送唤醒消息的步骤后,还包括以下步骤:The method according to claim 25, wherein said step of transmitting a wake-up message to said target terminal by a short-range wireless communication function further comprises the steps of:
    将监听顺序表发送给所述目标终端。Sending a listening sequence table to the target terminal.
  27. 一种终端,其中,包括:A terminal, including:
    窄带模块,其设置为接收请求唤醒目标终端以联网的寻呼消息;以及a narrowband module configured to receive a paging message requesting to wake up the target terminal to be networked;
    近距离无线通信功能模块,其设置为通过近距离无线通信功能向所述目标终端发送唤醒消息。A short-range wireless communication function module configured to send a wake-up message to the target terminal through a short-range wireless communication function.
  28. 如权利要求27所述的终端,其中,The terminal of claim 27, wherein
    所述窄带模块还设置为将监听顺序表发送给所述目标终端。The narrowband module is further configured to send a listening sequence table to the target terminal.
  29. 一种终端,包括:存储器、处理器及存储在存储器上并可 在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现以下步骤:A terminal comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor performs the following steps when executing the program:
    接收请求唤醒目标终端以联网的寻呼消息;以及Receiving a paging message requesting to wake up the target terminal to be networked;
    通过近距离无线通信功能向所述目标终端发送唤醒消息。A wake-up message is sent to the target terminal through a short-range wireless communication function.
  30. 一种计算机可读介质,所述计算机可读存储介质存储有程序,当所述程序被执行时,使得实现如权利要求25-26中任一项所述的方法。A computer readable storage medium storing a program, when the program is executed, such that the method of any one of claims 25-26 is implemented.
  31. 一种联网的方法,包括以下步骤:A method of networking that includes the following steps:
    接收到第一终端的休眠状态通知消息后,确定所述第一终端正执行监听任务;以及After receiving the sleep state notification message of the first terminal, determining that the first terminal is performing a monitoring task;
    从当前在线的终端中随机选取一个终端执行监听任务,如当前没有在线终端,则按照监听顺序表唤醒下一个终端与物联网平台进行联网并执行监听任务。A terminal is randomly selected from the currently online terminal to perform a monitoring task. If there is no online terminal at present, the next terminal is awake according to the monitoring sequence table to network with the Internet of Things platform and perform a monitoring task.
  32. 如权利要求31所述的方法,其中,所述接收到第一终端的休眠状态通知消息的步骤后,还包括以下步骤:The method of claim 31, wherein after the step of receiving the sleep state notification message of the first terminal, the method further comprises the steps of:
    记录所述第一终端的休眠状态。Recording a sleep state of the first terminal.
  33. 如权利要求31所述的方法,其中,所述按照监听顺序表唤醒下一个终端与物联网平台建立连接并执行监听任务的步骤后,还包括以下步骤:The method of claim 31, wherein the step of waking up the next terminal to establish a connection with the Internet of Things platform and performing the monitoring task according to the monitoring sequence table further comprises the following steps:
    如接收到第二终端的醒来消息,确定当前执行监听任务的终端没有业务后,将监听任务移交给所述第二终端。After receiving the wakeup message of the second terminal, determining that the terminal currently performing the monitoring task has no service, handing over the monitoring task to the second terminal.
  34. 如权利要求33所述的方法,其中,所述接收到第二终端的醒来消息的步骤后,还包括以下步骤:The method of claim 33, wherein after the step of receiving the wakeup message of the second terminal, the method further comprises the steps of:
    记录所述第二终端的醒来状态。Recording the waking state of the second terminal.
  35. 一种终端,其中,包括:A terminal, including:
    确定模块,其设置为接收到第一终端的休眠状态通知消息后,确定所述第一终端正执行监听任务;以及a determining module, configured to: after receiving the sleep state notification message of the first terminal, determining that the first terminal is performing a monitoring task;
    处理模块,其设置为从当前在线的终端中随机选取一个终端执行监听任务,如当前没有在线终端,则按照监听顺序表唤醒下一个终端与物联网平台进行联网并执行监听任务。The processing module is configured to randomly select one terminal from the currently online terminal to perform a monitoring task. If no online terminal is currently available, the next terminal is awake according to the monitoring sequence table to network with the Internet of Things platform and perform a monitoring task.
  36. 如权利要求35所述的终端,其中,The terminal of claim 35, wherein
    所述处理模块还设置为接收到第一终端的休眠状态通知消息后,记录所述第一终端的休眠状态。The processing module is further configured to record a sleep state of the first terminal after receiving the sleep state notification message of the first terminal.
  37. 如权利要求35所述的终端,其中,The terminal of claim 35, wherein
    所述处理模块还设置为按照监听顺序表唤醒下一个终端与物联网平台建立连接并执行监听任务后,如接收到第二终端的醒来消息,确定当前执行监听任务的终端没有业务后,将监听任务移交给所述第二终端。The processing module is further configured to: after waking up the next terminal to establish a connection with the Internet of Things platform according to the monitoring sequence table, and performing a listening task, if receiving the wake-up message of the second terminal, determining that the terminal currently performing the monitoring task has no service, The monitoring task is handed over to the second terminal.
  38. 如权利要求37所述的终端,其中,The terminal of claim 37, wherein
    所述处理模块还设置为接收到第二终端的醒来消息后,记录所述第二终端的醒来状态。The processing module is further configured to record a wake-up state of the second terminal after receiving the wake-up message of the second terminal.
  39. 一种终端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现以下步骤:A terminal comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor performs the following steps when executing the program:
    接收到第一终端的休眠状态通知消息后,确定所述第一终端正执行监听任务;以及After receiving the sleep state notification message of the first terminal, determining that the first terminal is performing a monitoring task;
    从当前在线的终端中随机选取一个终端执行监听任务,如当前没有在线终端,则按照监听顺序表唤醒下一个终端与物联网平台进行联网并执行监听任务。A terminal is randomly selected from the currently online terminal to perform a monitoring task. If there is no online terminal at present, the next terminal is awake according to the monitoring sequence table to network with the Internet of Things platform and perform a monitoring task.
  40. 一种计算机可读介质,所述计算机可读存储介质存储有程序,当所述程序被执行时,使得实现如权利要求31-34中任一项所述的方法。A computer readable storage medium storing a program, when the program is executed, such that the method of any one of claims 31-34 is implemented.
PCT/CN2018/104373 2017-09-08 2018-09-06 Method for networking, terminal, and internet-of-things platform WO2019047895A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710807904.9A CN109474975B (en) 2017-09-08 2017-09-08 Networking method and terminal, and Internet of things platform
CN201710807904.9 2017-09-08

Publications (1)

Publication Number Publication Date
WO2019047895A1 true WO2019047895A1 (en) 2019-03-14

Family

ID=65634789

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/104373 WO2019047895A1 (en) 2017-09-08 2018-09-06 Method for networking, terminal, and internet-of-things platform

Country Status (2)

Country Link
CN (1) CN109474975B (en)
WO (1) WO2019047895A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113709594A (en) * 2021-07-27 2021-11-26 深圳市敏泰智能科技有限公司 NB-Iot intelligent water meter power saving method and system and NB-Iot intelligent water meter
CN113810983A (en) * 2021-08-25 2021-12-17 东风汽车集团股份有限公司 Power management optimization method and device based on remote monitoring module
CN114363999A (en) * 2021-12-10 2022-04-15 天翼物联科技有限公司 Internet of things downlink instruction sending method and device and storage medium
CN114364001A (en) * 2021-12-29 2022-04-15 天翼物联科技有限公司 NB-IoT-based power saving parameter configuration method, system, device and storage medium
CN114564239A (en) * 2022-02-18 2022-05-31 中国电子科技集团公司第五十四研究所 Satellite Internet of things monitoring method and system suitable for emergency scene
CN114666196A (en) * 2022-04-08 2022-06-24 深圳市欧瑞博科技股份有限公司 Network distribution method and device of low-power-consumption equipment, proxy equipment and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110071826B (en) * 2019-04-08 2022-04-05 浙江远望信息股份有限公司 Internet of things terminal equipment and method for establishing TCP connection between Internet of things terminal equipment and remote management platform
CN110267296B (en) * 2019-05-17 2023-03-24 中国联合网络通信集团有限公司 State detection method and device
CN112448822B (en) * 2019-09-02 2022-03-01 华为云计算技术有限公司 Cross-network awakening method and related equipment
CN112601270A (en) * 2020-11-19 2021-04-02 广东沃科融合通讯有限公司 Terminal wake-up control method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841776A (en) * 2010-05-18 2010-09-22 华为技术有限公司 Communication method and device for supporting low-rate user terminal
CN102547792A (en) * 2011-12-28 2012-07-04 北京必创科技有限公司 Method, device and system for cooperative work of wireless sensor network nodes
CN103781159A (en) * 2012-10-17 2014-05-07 中国移动通信集团公司 Method and device for remotely waking up terminal, and instruction initiating terminal and destination terminal
US20160227463A1 (en) * 2015-01-30 2016-08-04 Mohammadhadi Baligh System and method for coordinating device-to-device communications

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9402277B2 (en) * 2008-03-03 2016-07-26 Qualcomm Incorporated Proxy server for facilitating power conservation in wireless client terminals
JP5642464B2 (en) * 2010-09-09 2014-12-17 富士通株式会社 Information processing device
KR20130086700A (en) * 2012-01-26 2013-08-05 삼성전자주식회사 Apparatus and method for transmitting packet in mobile terminal
CN103686953A (en) * 2012-09-21 2014-03-26 北京信威通信技术股份有限公司 Mobile-terminal sleep wake-up method
CN103686615B (en) * 2012-09-21 2017-12-01 北京信威通信技术股份有限公司 A kind of method of colony terminal sleep awakening
KR102050379B1 (en) * 2013-07-18 2020-01-08 삼성전자주식회사 Method and appratus for moving call
KR101380608B1 (en) * 2013-07-26 2014-04-10 (주) 코콤 Smart device based home network system and its control method
CN105723780B (en) * 2013-12-16 2019-10-18 英特尔公司 Remote Wake Up for WI-FI equipment
CN103916975A (en) * 2014-04-11 2014-07-09 小米科技有限责任公司 Network connection management method and device
CN105373207B (en) * 2014-08-20 2018-10-12 深圳飞音时代网络通讯技术有限公司 A kind of idle method of wireless communication terminal
CN106376059A (en) * 2015-07-30 2017-02-01 北京智谷睿拓技术服务有限公司 Call processing method and device
CN105554103B (en) * 2015-12-14 2019-02-15 成都信息工程大学 Wireless medical Sensor Network application system based on wearable node
CN106506046B (en) * 2016-11-24 2019-05-31 重庆邮电大学 A kind of electricity saving method of bandwidth carrier communication system terminal node

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841776A (en) * 2010-05-18 2010-09-22 华为技术有限公司 Communication method and device for supporting low-rate user terminal
CN102547792A (en) * 2011-12-28 2012-07-04 北京必创科技有限公司 Method, device and system for cooperative work of wireless sensor network nodes
CN103781159A (en) * 2012-10-17 2014-05-07 中国移动通信集团公司 Method and device for remotely waking up terminal, and instruction initiating terminal and destination terminal
US20160227463A1 (en) * 2015-01-30 2016-08-04 Mohammadhadi Baligh System and method for coordinating device-to-device communications

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113709594A (en) * 2021-07-27 2021-11-26 深圳市敏泰智能科技有限公司 NB-Iot intelligent water meter power saving method and system and NB-Iot intelligent water meter
CN113810983A (en) * 2021-08-25 2021-12-17 东风汽车集团股份有限公司 Power management optimization method and device based on remote monitoring module
CN113810983B (en) * 2021-08-25 2024-01-02 东风汽车集团股份有限公司 Power management optimization method and device based on remote monitoring module
CN114363999A (en) * 2021-12-10 2022-04-15 天翼物联科技有限公司 Internet of things downlink instruction sending method and device and storage medium
CN114363999B (en) * 2021-12-10 2023-10-03 天翼物联科技有限公司 Method, device and storage medium for sending downlink instructions of Internet of things
CN114364001A (en) * 2021-12-29 2022-04-15 天翼物联科技有限公司 NB-IoT-based power saving parameter configuration method, system, device and storage medium
CN114364001B (en) * 2021-12-29 2023-12-12 天翼物联科技有限公司 Power saving parameter configuration method, system, device and storage medium based on NB-IoT
CN114564239A (en) * 2022-02-18 2022-05-31 中国电子科技集团公司第五十四研究所 Satellite Internet of things monitoring method and system suitable for emergency scene
CN114666196A (en) * 2022-04-08 2022-06-24 深圳市欧瑞博科技股份有限公司 Network distribution method and device of low-power-consumption equipment, proxy equipment and storage medium
CN114666196B (en) * 2022-04-08 2023-11-24 深圳市欧瑞博科技股份有限公司 Distribution network method and device of low-power-consumption equipment, proxy equipment and storage medium

Also Published As

Publication number Publication date
CN109474975B (en) 2022-04-12
CN109474975A (en) 2019-03-15

Similar Documents

Publication Publication Date Title
WO2019047895A1 (en) Method for networking, terminal, and internet-of-things platform
JP6306199B2 (en) Neighbor aware network (NAN) discovery using wake-up messages
US8761064B2 (en) Power savings through cooperative operation of multiradio devices
US8527017B2 (en) Power savings through cooperative operation of multiradio devices
US9706600B2 (en) Connectionless Wi-Fi mesh communication
US8566594B2 (en) Power savings through cooperative operation of multiradio devices
US9294545B2 (en) Fast join of peer to peer group with power saving mode
TWI517631B (en) Apparatus, method, wireless access point, wireless access terminal, and computer-program product for infrastructure assisted discovery in a wireless peer-to-peer network
EP3200512B1 (en) Method, apparatus and device for waking up devices in batches
US7133398B2 (en) System and method for asynchronous communications employing direct and indirect access protocols
KR100678522B1 (en) Multi-mode communication system and method thereof
JP2020502908A (en) Improved power saving mode for wireless devices
JP2013509140A (en) Method and system for discoverability of power saving P2P devices
US20160352842A1 (en) Proxy advertisements in a neighbor aware network
JP2016517660A (en) Assisted energy efficient peer-to-peer (P2P) communication
JP2008507058A (en) System and method for providing UPnP announcement concentration
KR20050067334A (en) Apparatus supporting active and passive telecommunication and control method thereof
WO2022017359A1 (en) Direct communication start-up control method and related device
CN111200661A (en) Internet of things terminal equipment and sleep control method thereof
CN110232810B (en) Method, system and electronic equipment for positioning remote controller based on Bluetooth mesh network
US20220159558A1 (en) Enhancing Wireless Communications with a Dedicated-Scan Radio
WO2018051947A1 (en) Communication device, communication method, and program
WO2022174798A1 (en) Power saving method and apparatus, device, and readable storage medium
WO2019037704A1 (en) Method and apparatus for waking up terminal device
CN113329471A (en) Method, system, storage medium, and electronic device for establishing peer-to-peer communication

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18854940

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18854940

Country of ref document: EP

Kind code of ref document: A1