CN109511154A - A kind of terminal access method, device and medium - Google Patents

A kind of terminal access method, device and medium Download PDF

Info

Publication number
CN109511154A
CN109511154A CN201811623933.0A CN201811623933A CN109511154A CN 109511154 A CN109511154 A CN 109511154A CN 201811623933 A CN201811623933 A CN 201811623933A CN 109511154 A CN109511154 A CN 109511154A
Authority
CN
China
Prior art keywords
base station
lora
terminal
request message
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811623933.0A
Other languages
Chinese (zh)
Other versions
CN109511154B (en
Inventor
施伟周
徐晓翔
陈柏坚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Eastcompeace Technology Co Ltd
Original Assignee
Eastcompeace Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Eastcompeace Technology Co Ltd filed Critical Eastcompeace Technology Co Ltd
Priority to CN201811623933.0A priority Critical patent/CN109511154B/en
Publication of CN109511154A publication Critical patent/CN109511154A/en
Application granted granted Critical
Publication of CN109511154B publication Critical patent/CN109511154B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/002Transmission of channel access control information
    • H04W74/004Transmission of channel access control information in the uplink, i.e. towards network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/002Transmission of channel access control information
    • H04W74/006Transmission of channel access control information in the downlink, i.e. towards the terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of terminal access method, device and media, wherein method includes the terminal access method applied to the base station LoRa: when receiving the search base station request message from LoRa terminal, sending according to descending protocol to LoRa terminal and is used to indicate the instruction message that request message edit format is added;When receiving addition request message and request message from LoRa terminal and instruction message matching, LoRa terminal is allowed to access.And the terminal access method applied to LoRa terminal: when needing to access the base station LoRa, search base station request message is sent to the base station LoRa according to uplink agreement;When receiving the instruction message from the base station LoRa, is generated according to instruction message and request message is added, and be sent to the base station LoRa.The present invention provides terminal access method, when terminal needs access base station, it is only necessary to which sending the request of search base station can be successfully accessed, and avoid expending excessive time and resource in search, improve the efficiency and stability of terminal access.

Description

A kind of terminal access method, device and medium
Technical field
The present invention relates to wireless communication technology field more particularly to a kind of terminal access methods, device and medium.
Background technique
Lora (Long Range, over long distances) communication technology is a kind of to be exclusively used in remote, low-power consumption wireless communication skill Art, the more traditional communication communication distance of the modulation system of the technology is longer, because and now be widely used in various fields The Internet of Things wireless communication field for closing medium and long distance, low rate, such as building automation device, industry monitoring and control and wirelessly Security system etc..
The LoRa terminal of the prior art uses preset one or more groups of base station parameters in terminal, using pre- when terminal networks Then the base station parameter set sends the request that networks, the networkings response to be received such as.If not receiving response in certain time, if terminal It changes one group of parameter and re-initiates networking request.When terminal selected parameter is consistent with neighbouring base station parameter, can just network into Function.The mode that above-mentioned terminal networks needs to spend longer time to spend length in search, and it is more to retry number of attempt, thus deposits The disadvantages of terminal networking power consumption is big.
Another terminal networking scheme is then the reception parameter that oneself is persistently broadcasted in base station, and terminal first connects before needing to network The broadcast of base station is received, to obtain the parameter of gateway;Then reuse the message transmission that gateway parameter carries out networking request.Which In, broadcast can continue to occupy spectral channel resource.
Summary of the invention
In view of the deficiencies of the prior art, the present invention provides a kind of terminal access method, device and medium, to solve existing skill It is taken long time when terminal networks in art, power consumption is big and the occupied problem of spectral channel resource long-term.
To achieve the above object, the present invention provides technical solution below:
In a first aspect, the present invention provides a kind of terminal access method, it is applied to the base station LoRa, which comprises
Formulate descending protocol;
When receiving the search base station request message from LoRa terminal, sent out according to descending protocol to the LoRa terminal Send the instruction message for being used to indicate and request message edit format being added;
After receiving the addition request message from LoRa terminal, judge that the request message is with the instruction message No matching;If so, the LoRa terminal is allowed to access.
Further, the descending protocol includes the reception parameter information of base station itself, specifically includes mark message, current The base station unique identifying number of base station, base station networking mode, reception window delay, the random number in uplink agreement, base station are supported Frequency range, SF number of spreading factor that base station is supported, the spreading factor SF of base station support and the verification that frequency range number, base station are supported Value;
The reception window timer is the second.
Further, described that the reception parameter information that request message includes base station is added.
Second aspect, the present invention provide a kind of terminal access method, are applied to LoRa terminal, which comprises
Formulate uplink agreement;
When needing to access the base station LoRa, search base station request message is sent to the base station LoRa according to the uplink agreement;
When receiving the instruction message from the base station LoRa, is generated according to the instruction message and request message is added, and The addition request message is sent to the base station LoRa.
Further, the uplink protocol contents include mark message, the displacement identification number of present node, bin index Number, uplink random number and check value;
The identification message includes the privately owned communications protocol head of base station search.
The third aspect, the present invention provide a kind of terminal access device, are applied to the base station LoRa, and described device includes:
Agreement formulates module, for formulating descending protocol;
Sending module, for when receiving the search base station request message from LoRa terminal, according to descending protocol to The LoRa terminal sends the instruction message for being used to indicate and request message edit format being added;
Judgment module, for after receiving the addition request message from LoRa terminal, judge the request message with Whether the instruction message matches;
Control module is accessed, for allowing the LoRa terminal in the request message and the instruction message matching Access.
Fourth aspect, the present invention provide a kind of storage medium, are applied to the base station LoRa, the storage medium is stored with a plurality of Instruction, described instruction are suitable for processor and are loaded, to execute the step in terminal access method as described in relation to the first aspect.
5th aspect, the present invention provide a kind of terminal access device, are applied to LoRa terminal, and described device includes:
Agreement formulates module, for formulating uplink agreement;
Request message is added for generating according to instruction message in message editing module;
Sending module, for sending search base station request message to the base station LoRa when needing to access the base station LoRa;And When receiving the instruction message from the base station LoRa, the base station Xiang Suoshu LoRa is sent in the addition edited in message editing module and asks Seek report.
6th aspect, the present invention provide a kind of storage medium, are applied to LoRa terminal, the storage medium is stored with a plurality of Instruction, described instruction are suitable for processor and are loaded, to execute the step in the terminal access method as described in second aspect.
Compared with prior art, the invention has the following advantages:
The present invention provides a kind of terminal access method, device and media, when terminal needs access base station, it is only necessary to send out It send a search base station request that can be successfully accessed, avoids expending excessive time and resource in search, improve terminal access Efficiency and stability.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of method flow diagram for terminal access method that the embodiment of the present invention one provides;
Fig. 2 is a kind of method flow diagram of terminal access method provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural schematic diagram for terminal access device that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic diagram for terminal access device that the embodiment of the present invention five provides.
Specific embodiment
To enable the purpose of the present invention, feature, advantage more obvious and understandable, implement below in conjunction with the present invention Attached drawing in example, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that reality disclosed below Applying example is only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field is common Technical staff's all other embodiment obtained without making creative work belongs to the model that the present invention protects It encloses.
Meet LoRaWAN specification LoRa terminal, need to send before communication networking request message to the base station LoRa into Row network, after base station receives the networking request message, can enter network information be forwarded to server carry out network application verifying, if Server, which networks, to be applied being proved to be successful, and base station replies to terminal and agrees to the message to network.
There are many receive parameter configuration: one-segment, multiband, single spreading factor, more spreading factors etc. for base station.Terminal only has Transmission message is carried out using emission parameter identical with base station reception parameter, base station can just receive message.Agreement of the invention is Before terminal sends and networks request, base station search and screening are first carried out, the reception parameter of base station is obtained and then is sent Networking request message, this message can be directly just properly received by base station, do not needed to change parameter and retried and network.
The present invention has formulated the communications protocol between a kind of terminal and base station, is the extension of LoRaWAN standard agreement, is divided into Uplink agreement and descending protocol.Wherein, uplink agreement is the message that terminal is sent to base station, and descending protocol is that base station is sent to end The message at end.
To further illustrate the technical scheme of the present invention below with reference to the accompanying drawings and specific embodiments.
Embodiment one
The embodiment of the present invention provides a kind of terminal access method, is applied to the base station LoRa, as shown in Figure 1, the method packet It includes:
S101, descending protocol is formulated.
Wherein, the content of descending protocol, format are respectively as shown in table 1, table 2;FS&SF division format is as shown in table 3.
Table 1
Table 2
Table 3
The parameter about the base station LoRa for including in the descending protocol, for being obtained after parsing in LoRa terminal The content that should be added in request message is added, in order to match with the base station LoRa.
S102, when receiving the search base station request message from LoRa terminal, according to descending protocol to the LoRa Terminal sends the instruction message for being used to indicate and request message edit format being added.
In the present embodiment, which includes base station unique identification, networking mode, receives serial ports delay, supports Frequency range, the information such as spreading factor of support, in order to which LoRa terminal is by parsing the instruction message to obtain addition request message Content and format, and then to realize that access of the LoRa terminal in the base station LoRa lays the foundation.
S103, after receiving the addition request message from LoRa terminal, judge the request message and the instruction Whether message matches;If so, the LoRa terminal is allowed to access.
Embodiment two
Based on embodiment one, the present embodiment two provides a kind of terminal access method, is applied to LoRa terminal;As shown in Fig. 2, This method comprises:
S201, uplink agreement is formulated.
Wherein, the content of the uplink agreement and format are as shown in table 4, table 5.
Table 4
Table 5
S202, when needing to access the base station LoRa, according to the uplink agreement to the base station LoRa send search base station request Message.
When LoRa needs to network, search base station request message is issued according to uplink agreement.
S203, when receiving the instruction message from the base station LoRa, according to the instruction message generate be added request report Text, and the addition request message is sent to the base station LoRa.
When LoRa terminal receives instruction message, the reception parameter of the base station LoRa is parsed according to descending protocol, and will The emission parameter of terminal and the reception parameter adjustment of base station are consistent.The base station LoRa is contained in the base station requests message generated at this time Reception parameter, i.e., the emission parameter of LoRa terminal is consistent with the reception parameter of the base station LoRa, and then realizes LoRa terminal Quickly access, avoid because emission parameter and receive parameter it is inconsistent due to need to re-replace parameter and retry networking, improve into The efficiency of net.
In addition, LoRa terminal is also sent using the message of emission parameter follow-up data adjusted.
Embodiment three
Based on the above embodiment, the present embodiment provides a kind of terminal access device, which is applied to LoRa Base station;As shown in figure 3, the terminal access device includes:
Agreement formulates module 301, for formulating descending protocol.
Sending module 302, for when receiving the search base station request message from LoRa terminal, according to descending protocol It is sent to the LoRa terminal and is used to indicate the instruction message that request message edit format is added.
Judgment module 303, for judging the request message after receiving the addition request message from LoRa terminal Whether matched with the instruction message.
Control module 304 is accessed, in the request message and the instruction message matching, allowing the LoRa whole Terminate into.
Example IV
Based on above-mentioned each embodiment, the present embodiment provides a kind of storage mediums, are contained in the base station LoRa, store organic Device executable instruction, when being called and being executed by processor, the machine-executable instruction promotes the processor to realize this hair The step being applied in LoRa base station terminal cut-in method that bright embodiment provides.
In the present embodiment, machine readable storage medium is stored with executes application provided by the embodiment of the present invention at runtime It in the application program of the terminal access method of the base station Lora, therefore can be realized: since search base station request message and addition are asked Seeking message is generated according to the unique identification of the base station Lora, and there are corresponding relationships between the base station Lora, that is, ensure that with Correspondence between the base station Lora;During Lora terminal accesses the base station Lora, effectively prevents drawing blind search or add Enter the unmatched phenomenon of reception information of request message Yu the base station Lora, to ensure that the normal access of Lora terminal.
Embodiment five
Based on above-mentioned each embodiment, the present embodiment provides a kind of terminal access devices, are applied to LoRa terminal;Such as Fig. 4 Shown, described device includes:
Agreement formulates module 501, for formulating uplink agreement;
Request message is added for generating according to instruction message in message editing module 502;
Sending module 503, for sending search base station request message to the base station LoRa when needing to access the base station LoRa; And when receiving the instruction message from the base station LoRa, the base station Xiang Suoshu LoRa is sent in adding for the interior editor of message editing module Enter request message.
Embodiment six
Based on above-mentioned each embodiment, the present embodiment provides a kind of storage mediums, are contained in LoRa terminal, store organic Device executable instruction, when being called and being executed by processor, the machine-executable instruction promotes the processor to realize this hair The step in the terminal access method applied to LoRa terminal that bright embodiment provides.
The prior art is using the possible various parameters in base station to carry out that the request that networks repeatedly occurs, when emission parameter and base station When consistent, networking can be received and successfully replied message, terminal is not aware that the reception parameter of neighbouring base station in advance, and use is this The time that chance is attempted spends and hit probability is all very unstable.In the case where undesirable, the networking that can be generated many times is asked It asks, terminal networking power consumption is also very big, this is improper on the product using this Low-power Technology of LoRa.
Terminal access method provided by the invention is needed with a search base station request is sent, and power consumption loss is small;This Outside, agreement of the invention is directly replied by base station, without server authentication, is had a clear superiority on the time.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (9)

1. a kind of terminal access method, which is characterized in that be applied to the base station LoRa, which comprises
Formulate descending protocol;
When receiving the search base station request message from LoRa terminal, sends and use to the LoRa terminal according to descending protocol The instruction message of request message edit format is added in instruction;
After receiving the addition request message from LoRa terminal, judge the request message and the instruction message whether Match;If so, the LoRa terminal is allowed to access.
2. terminal access method according to claim 1, which is characterized in that the descending protocol includes connecing for base station itself Parameter information is received, mark message, the base station unique identifying number of current base station, base station networking mode, reception window is specifically included and prolongs When, the random number in uplink agreement, base station support frequency range number, base station support frequency range, base station support spreading factor SF The spreading factor SF and check value that number, base station are supported;
The reception window timer is the second.
3. terminal access method according to claim 1, which is characterized in that the addition request message includes connecing for base station Receive parameter information.
4. a kind of terminal access method, which is characterized in that be applied to LoRa terminal, which comprises
Formulate uplink agreement;
When needing to access the base station LoRa, search base station request message is sent to the base station LoRa according to the uplink agreement;
When receiving the instruction message from the base station LoRa, is generated according to the instruction message and request message is added, and to institute It states the base station LoRa and sends the addition request message.
5. terminal access method according to claim 4, which is characterized in that the uplink protocol contents include that mark disappears Breath, the displacement identification number of present node, bin index number, uplink random number and check value;
The identification message includes the privately owned communications protocol head of base station search.
6. a kind of terminal access device, which is characterized in that be applied to the base station LoRa, described device includes:
Agreement formulates module, for formulating descending protocol;
Sending module, for when receiving the search base station request message from LoRa terminal, according to descending protocol to described LoRa terminal sends the instruction message for being used to indicate and request message edit format being added;
Judgment module, for after receiving the addition request message from LoRa terminal, judge the request message with it is described Whether instruction message matches;
Control module is accessed, for allowing the LoRa terminal to access in the request message and the instruction message matching.
7. a kind of storage medium, which is characterized in that be applied to the base station LoRa, the storage medium is stored with a plurality of instruction, described Instruction is suitable for processor and is loaded, and requires the step in 1 to 3 described in any item terminal access methods with perform claim.
8. a kind of terminal access device, which is characterized in that be applied to LoRa terminal, described device includes:
Agreement formulates module, for formulating uplink agreement;
Request message is added for generating according to instruction message in message editing module;
Sending module, for sending search base station request message to the base station LoRa when needing to access the base station LoRa;And it is receiving When to instruction message from the base station LoRa, the base station Xiang Suoshu LoRa is sent in the addition request report edited in message editing module Text.
9. a kind of storage medium, which is characterized in that be applied to LoRa terminal, the storage medium is stored with a plurality of instruction, described Instruction is suitable for processor and is loaded, and requires the step in 4 or 5 described in any item terminal access methods with perform claim.
CN201811623933.0A 2018-12-28 2018-12-28 Terminal access method, device and medium Active CN109511154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811623933.0A CN109511154B (en) 2018-12-28 2018-12-28 Terminal access method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811623933.0A CN109511154B (en) 2018-12-28 2018-12-28 Terminal access method, device and medium

Publications (2)

Publication Number Publication Date
CN109511154A true CN109511154A (en) 2019-03-22
CN109511154B CN109511154B (en) 2021-04-20

Family

ID=65756683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811623933.0A Active CN109511154B (en) 2018-12-28 2018-12-28 Terminal access method, device and medium

Country Status (1)

Country Link
CN (1) CN109511154B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110446227A (en) * 2019-10-08 2019-11-12 武汉慧联无限科技有限公司 Control method and device, the equipment, medium on user equipment downlink window unlatching opportunity
CN112188618A (en) * 2019-07-01 2021-01-05 深圳长城开发科技股份有限公司 Networking method, terminal, gateway and storage medium for dynamically adjusting network access resources

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108040339A (en) * 2017-12-06 2018-05-15 深圳大学 Offline network-building method and its system based on LoRa
WO2018093638A1 (en) * 2016-11-16 2018-05-24 Cisco Technology, Inc. Application based intelligent edge computing in a low power wide area network environment
CN108881052A (en) * 2018-06-26 2018-11-23 新华三技术有限公司 A kind of message forwarding method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018093638A1 (en) * 2016-11-16 2018-05-24 Cisco Technology, Inc. Application based intelligent edge computing in a low power wide area network environment
CN108040339A (en) * 2017-12-06 2018-05-15 深圳大学 Offline network-building method and its system based on LoRa
CN108881052A (en) * 2018-06-26 2018-11-23 新华三技术有限公司 A kind of message forwarding method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
D.GARCIA: "Lorawan authentication in radius", 《NETWORK WORKING GROUP INTERNET DRAFT》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112188618A (en) * 2019-07-01 2021-01-05 深圳长城开发科技股份有限公司 Networking method, terminal, gateway and storage medium for dynamically adjusting network access resources
CN112188618B (en) * 2019-07-01 2024-05-14 深圳长城开发科技股份有限公司 Networking method, terminal, gateway and storage medium for dynamically adjusting networking resources
CN110446227A (en) * 2019-10-08 2019-11-12 武汉慧联无限科技有限公司 Control method and device, the equipment, medium on user equipment downlink window unlatching opportunity

Also Published As

Publication number Publication date
CN109511154B (en) 2021-04-20

Similar Documents

Publication Publication Date Title
WO2017118220A1 (en) Method for implementing system information update, access network element, user equipment and system
CN104508996B (en) Connect method for building up, apparatus and system
CN104349420B (en) Communication terminal and its method and apparatus for receiving system information
CN109041039A (en) The user equipment and its method that equipment is communicated for equipment
WO2018227494A1 (en) Measurement gap configuration method, apparatus, device, terminal and system
CN102457933A (en) Wireless network device, wireless network system and routing control method
CN110049485A (en) A kind of methods, devices and systems of the strategy of configuration UE
CN105610866A (en) System and method for automatically accessing intelligent equipment to home wireless local area network
CN109511154A (en) A kind of terminal access method, device and medium
CN104349485A (en) Device to device (D2D) communication and scheduling methods and devices
CN102547658A (en) Method and device for transmitting data
CN102684966B (en) Equipment method of network entry, Apparatus and system
TWI345924B (en) Apparatus, system and method capable of decreasing management frame size in wireless networks
CN104427592B (en) A kind of terminal device and frame method of sending and receiving
CN105744524B (en) Mobile device networking authentication method in a kind of WIA-PA industry wireless network
CN109195199A (en) A kind of management method and device of AP
CN100563236C (en) The transmission method of QoS parameter
CN104429128B (en) Wireless access processing method, apparatus and system
CN106537955A (en) Data transmission method and device
CN107172573B (en) zigbee terminal communication data processing method
CN112738785A (en) Device connection method and apparatus, storage medium, and electronic apparatus
Babu et al. Fog computing–based node‐to‐node communication and mobility management technique for 5G networks
CN101998406A (en) WLAN access authentication based method for accessing services
CN100563188C (en) Communicating terminal inserts the method for routing of request in the communication network
CN107302448B (en) Port snoop method and device

Legal Events

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