Method and apparatus for terminal to access network, Internet of Things system, and computer program product
Abstract
Provided in the present disclosure are a method and apparatus for a terminal to access a network, an Internet of Things (IoT) system, and a computer program product. The method includes: receiving idle timeslot information of a gateway to be accessed that is sent by said gateway in a current timeslot; parsing the number of timeslots between the current timeslot and a latest idle timeslot from the idle timeslot information; determining the sleep duration of a terminal according to the number of timeslots; and sending a network access request to said gateway after sleeping until the latest idle timeslot according to the sleep duration.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A method for a terminal to access a network, applied to the terminal and comprising: receiving idle timeslot information, sent by a gateway to be accessed in a current timeslot, of the gateway to be accessed; parsing a quantity of timeslots between the current timeslot and a latest idle timeslot from the idle timeslot information; determining a dormancy duration of the terminal according to the quantity of timeslots; and sending a network access request to the gateway to be accessed after the terminal is dormant until the latest idle timeslot according to the dormancy duration; wherein the determining the dormancy duration of the terminal according to the quantity of timeslots comprises: determining the dormancy duration of the terminal according to a relational expression t=T(X − 1)/N; wherein t represents the dormancy duration of the terminal, T represents a total duration of a set protocol period between the terminal and the gateway to be accessed, N represents a total quantity of t
- Claim 2Depends on #1
The method according to claim 1, wherein the receiving the idle timeslot information, sent by the gateway to be accessed in the current timeslot, of the gateway to be accessed comprises: sending heartbeat real-time clock information of the terminal to the gateway to be accessed; and receiving heartbeat real-time clock reply information, sent by the gateway to be accessed, for the terminal, the heartbeat real-time clock reply information for the terminal carrying the idle timeslot information.
- Claim 3Depends on #1
The method according to claim 1, wherein the receiving the idle timeslot information, sent by the gateway to be accessed in the current timeslot, of the gateway to be accessed comprises: receiving broadcast information sent by the gateway to be accessed, the broadcast information carrying the idle timeslot information.
- Claim 4Depends on #1
The method according to claim 1, wherein before the receiving the idle timeslot information, sent by the gateway to be accessed in the current timeslot, of the gateway to be accessed, the method further comprises: performing scanning to obtain signal strength information of a plurality of gateways, the plurality of gateways and the terminal being positioned in a same Internet of Things system; and taking, a gateway having the greatest signal strength among the plurality of gateways as the gateway to be accessed according to the signal strength information.
- Claim 5Depends on #4
The method according to claim 4, wherein the sending the network access request to the gateway to be accessed after the terminal is dormant until the latest idle timeslot according to the dormancy duration comprises: monitoring broadcast information from the gateway to be accessed in the latest idle timeslot and accessing the network.
- Claim 6Depends on #4
The method according to claim 4, further comprising: in response to the gateway to be accessed having no idle timeslot in the set protocol period with the terminal, selecting a gateway from other gateways having idle timeslots among the plurality of gateways excluding the gateway to be accessed after one timeslot duration.
- Claim 7Independent Claim
A method for a terminal to access a network, applied to a gateway and comprising: determining a quantity of timeslots between a current timeslot and a latest idle timeslot; adding the quantity of timeslots into idle timeslot information; sending the idle timeslot information to the terminal; and receiving a network access request from the terminal after the terminal is dormant from the current timeslot to the latest idle timeslot; wherein a dormancy duration of the terminal dormant from the current timeslot to the latest idle timeslot is determined according to a relational expression t=T(X − 1)/N; wherein t represents the dormancy duration of the terminal, T represents a total duration of a set protocol period between the terminal and the gateway, N represents a total quantity of timeslots in the set protocol period, and X represents the quantity of timeslots between the current timeslot and the latest idle timeslot.
- Claim 8Depends on #7
The method according to claim 7, wherein the determining the quantity of timeslots between the current timeslot and the latest idle timeslot comprises: detecting an occupation condition of each timeslot in the set protocol period between the gateway and the terminal through a timeslot mark array; and determining the quantity of timeslots between the current timeslot and the latest idle timeslot according to the occupation condition.
Technical Overview & Description
CROSS REFERENCE TO RELATED APPLICATION The present disclosure is a National Stage of International Application No. PCT/CN2021/098927, filed on Jun. 8, 2021, which claims the priority to Chinese Patent Application No. 202010674426.0, filed to the Chinese Patent Office on Jul. 14, 2020 and entitled “ METHOD AND APPARATUS FOR TERMINAL TO ACCESS NETWORK, AND INTERNET OF THINGS SYSTEM ” , both of which are incorporated in their entireties herein by reference. FIELD The present disclosure relates to the technical field of communication, and in particular to a method and apparatus for a terminal to access a network, an Internet of Things system, and a computer program product. BACKGROUND As a significant transfer station in the Internet of Things system, the gateway is mainly configured for information exchange between the terminal and the server. Generally, the terminal accesses the Internet of Things system through the gateway. In addition, the communication protocol between the gateway and the terminal will have a great impact on the function, timely response, power consumption, etc. of the system. The terminal is required to scan the signal sent by the gateway and to wait for the idle timeslot of the gateway to access the network. Owing to numerous terminals carried by the gateway and few idle timeslots, the terminal will keep scanning the gateway until the idle timeslot is scanned, so as to access the network. Especially when the gateway has carried a maximum number of terminals, if the gateway has no idle timeslot, the terminal determines that it cannot access the network only after the entire scanning period. SUMMARY The present disclosure provides a method and apparatus for a terminal to access a network, an Internet of Things system, and a computer program product. A specific solution is as follows. Provided in an embodiment of the present disclosure is a method for a terminal to access a network. The method is applied to a terminal and includes: receiving an idle
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (17)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (3)
- CN202010674426.0 first office action.
- CN202010674426.0 second office action.
- PCT/CN2021/098927 international search report.