CN112770263B - Indoor Lora communication system and method - Google Patents

Indoor Lora communication system and method Download PDF

Info

Publication number
CN112770263B
CN112770263B CN202011481706.6A CN202011481706A CN112770263B CN 112770263 B CN112770263 B CN 112770263B CN 202011481706 A CN202011481706 A CN 202011481706A CN 112770263 B CN112770263 B CN 112770263B
Authority
CN
China
Prior art keywords
terminal
target
indoor
terminal data
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011481706.6A
Other languages
Chinese (zh)
Other versions
CN112770263A (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.)
Clover Shaoxing Intelligent Technology Co ltd
Original Assignee
Clover Shaoxing Intelligent 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 Clover Shaoxing Intelligent Technology Co ltd filed Critical Clover Shaoxing Intelligent Technology Co ltd
Priority to CN202011481706.6A priority Critical patent/CN112770263B/en
Publication of CN112770263A publication Critical patent/CN112770263A/en
Application granted granted Critical
Publication of CN112770263B publication Critical patent/CN112770263B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services

Abstract

The invention discloses an indoor Lora communication system and method, and belongs to the technical field of Internet of things. The processing module is used for acquiring indoor terminal equipment information, and performing data processing on the terminal equipment information to obtain terminal data and position information corresponding to the terminal equipment information; the adjusting module is used for adjusting the current channel parameters of the Lora relay equipment according to the terminal data and the position information to obtain a target channel and sending the terminal data to the receiving module; the receiving module receives the terminal data; and the sending module sends the terminal data to the indoor terminal equipment corresponding to the target channel through the target channel. The terminal data adjusts the parameters of the working channel in time, and a plurality of relay devices are utilized simultaneously, so that the system wireless coverage and the system concurrency are improved, the flexibility of the communication device during working is higher, the utilization rate of the channel is better, and the channel resources are fully used.

Description

Indoor Lora communication system and method
Technical Field
The invention relates to the field of Internet of things, in particular to an indoor Lora communication system and method.
Background
In the era of the internet of things, wireless communication technology is required to be developed in a step along with the rapid development of the internet of things. Nowadays, a plurality of low-power-consumption wide area networks which are designed by the application of the Internet of things and have low bandwidth, low energy consumption, long distance and capability of realizing large-scale connection emerge. The Lora technology is distinguished from the Lora technology and is approved by the internet of things.
However, in the prior art, when the Lora communication technology is used indoors, there are usually a small number of channels, channel allocation is not reasonable when the terminal device is accessed, channel parameters cannot meet the terminal data transmission requirements, the flexibility of the whole Lora communication device is not high, and the channel resources are not fully utilized.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide an indoor Lora communication system and method, and aims to solve the technical problems that indoor Lora communication equipment in the prior art is low in flexibility during data transmission and insufficient in waste and utilization of channel resources.
To achieve the above object, the present invention provides an indoor Lora communication system, including: the system comprises Lora central control equipment, a plurality of Lora relay equipment and terminal equipment which are sequentially connected, wherein the Lora central control equipment comprises a processing module and an adjusting module, and the Lora relay equipment comprises a receiving module and a sending module;
the processing module is used for acquiring indoor terminal equipment information, and performing data processing on the terminal equipment information to obtain terminal data and position information corresponding to the terminal equipment information;
the adjusting module is used for adjusting the current channel parameters of the Lora relay equipment according to the terminal data and the position information to obtain a target channel, and sending the terminal data to the receiving module;
the receiving module is used for receiving the terminal data;
and the sending module is used for sending the terminal data to the indoor terminal equipment corresponding to the target channel through the target channel.
Optionally, the processing module is further configured to perform data processing on the terminal device information to obtain terminal data corresponding to the terminal device information
Obtaining indoor terminal equipment according to the terminal data;
determining signal strength information between the Lora relay equipment and the indoor terminal equipment according to the indoor terminal equipment;
and acquiring the current position of the Lora relay equipment, and acquiring the position information of the indoor terminal equipment according to the current position and the signal intensity information.
Optionally, the adjusting module is further configured to obtain an indoor terminal device and a terminal data type according to the terminal data;
obtaining a target spreading factor parameter and a target bandwidth parameter according to the terminal data type;
judging whether the current channel parameters corresponding to the indoor terminal equipment reach the target spreading factor parameters and the target bandwidth parameters or not;
and when the current channel parameters corresponding to the indoor terminal equipment do not reach the target spreading factor and the target bandwidth parameters, adjusting the current channel parameters of the Lora relay equipment to the target spreading factor parameters and the target bandwidth parameters so as to obtain target channels corresponding to the target spreading factor parameters and the target bandwidth parameters.
Optionally, the adjusting module is further configured to obtain an indoor terminal device and a terminal data type according to the terminal data;
obtaining target signal intensity according to the terminal data type;
judging whether the current signal intensity corresponding to the indoor terminal equipment reaches the target signal intensity;
and when the current signal intensity corresponding to the indoor target terminal equipment does not reach the target signal intensity, adjusting the current signal intensity to the target signal intensity so as to obtain a target channel corresponding to the target signal intensity.
Optionally, the processing module is further configured to encrypt the terminal data and the location information according to a preset measure to obtain encrypted terminal data and location information, and send the encrypted terminal data and location information to the adjusting module;
and the adjusting module is further used for adjusting the current channel parameters of the Lora relay equipment according to the encrypted terminal data and the position information so as to obtain a target channel.
Further, to achieve the above object, the present invention further provides an indoor Lora communication method applied to the indoor Lora communication system described above, where the indoor Lora communication system includes: the system comprises Lora central control equipment, a plurality of Lora relay equipment and terminal equipment which are sequentially connected, wherein the Lora central control equipment comprises a processing module and an adjusting module, and the Lora relay equipment comprises a receiving module and a sending module;
the indoor Lora communication method includes:
the processing module acquires indoor terminal equipment information, and performs data processing on the terminal equipment information to obtain terminal data and position information corresponding to the terminal equipment information;
the adjusting module adjusts the current channel parameter of the Lora relay equipment according to the terminal data and the position information to obtain a target channel, and sends the terminal data to the receiving module;
the receiving module receives the terminal data;
and the sending module sends the terminal data to the indoor terminal equipment corresponding to the target channel through the target channel.
Optionally, the processing module performs data processing on the terminal device information to obtain terminal data and location information corresponding to the terminal device information, and the method includes:
the processing module performs data processing on the terminal equipment information to obtain terminal data corresponding to the terminal equipment information;
obtaining indoor terminal equipment according to the terminal data;
determining signal intensity information between the Lora relay equipment and the indoor terminal equipment according to the indoor terminal equipment;
and acquiring the current position of the Lora relay equipment, and acquiring the position information of the indoor terminal equipment according to the current position and the signal intensity information.
Optionally, the adjusting module adjusts a current channel parameter of the Lora relay device according to the terminal data and the location information to obtain a target channel, and sends the terminal data to the receiving module, including:
the adjusting module obtains indoor terminal equipment and a terminal data type according to the terminal data;
obtaining a target spreading factor parameter and a target bandwidth parameter according to the terminal data type;
judging whether the current channel parameters corresponding to the indoor terminal equipment reach the target spreading factor parameters and the target bandwidth parameters or not;
when the current channel parameters corresponding to the indoor terminal equipment do not reach the target spreading factor and the target bandwidth parameters, the current channel parameters of the Lora relay equipment are adjusted to the target spreading factor parameters and the target bandwidth parameters, so that target channels corresponding to the target spreading factor parameters and the target bandwidth parameters are obtained, and the terminal data are sent to the receiving module.
Optionally, the adjusting module adjusts a current channel parameter according to the terminal data and the location information to obtain a target channel, and sends the terminal data to the receiving module, where the adjusting module includes:
the adjusting module obtains indoor terminal equipment and a terminal data type according to the terminal data;
obtaining target signal intensity according to the terminal data type;
judging whether the current signal intensity corresponding to the indoor terminal equipment reaches the target signal intensity;
and when the current signal intensity corresponding to the indoor terminal equipment does not reach the target signal intensity, adjusting the current signal intensity to the target signal intensity so as to obtain a target channel corresponding to the target signal intensity, and sending the terminal data to the receiving module.
Optionally, the adjusting module adjusts the current channel parameter of the Lora relay device according to the terminal data and the location information to obtain a target channel, and sends the terminal data to the receiving module, further including:
the processing module encrypts the terminal data and the position information according to preset measures to obtain encrypted terminal data and encrypted position information, and sends the encrypted terminal data and the encrypted position information to the adjusting module;
the adjusting module adjusts the current channel parameter according to the terminal data and the position information to obtain a target channel, and the adjusting module comprises:
and the adjusting module adjusts the current channel parameter of the Lora relay equipment according to the encrypted terminal data and the encrypted position information to obtain a target channel, and sends the terminal data to the receiving module.
The method comprises the steps that a processing module acquires indoor terminal equipment information, and performs data processing on the terminal equipment information to obtain terminal data and position information corresponding to the terminal equipment information; the adjusting module adjusts the current channel parameter of the Lora relay equipment according to the terminal data and the position information to obtain a target channel, and sends the terminal data to the receiving module; the receiving module receives the terminal data; and the sending module sends the terminal data to the indoor terminal equipment corresponding to the target channel through the target channel. The terminal data adjusts the parameters of the working channel in time, and a plurality of relay devices are utilized simultaneously, so that the wireless coverage of the system and the concurrency of the system are improved, the flexibility of the communication device during working is higher, the utilization rate of the channel is better, and the channel resources are fully used.
Drawings
Fig. 1 is a block diagram of a first embodiment of an indoor Lora communication system according to the present invention;
FIG. 2 is a block diagram of a second embodiment of an indoor Lora communication system according to the present invention;
FIG. 3 is a flowchart illustrating an overall process of an indoor Lora communication system according to an embodiment of the present invention
FIG. 4 is a flowchart illustrating a first embodiment of an indoor Lora communication method according to the present invention;
fig. 5 is a flowchart illustrating an indoor Lora communication method according to a second embodiment of the present invention.
The implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a block diagram illustrating a first embodiment of an indoor Lora communication system according to the present invention.
In this embodiment, the indoor Lora communication system includes a Lora central control device 10, a plurality of Lora relay devices 20, and a terminal device 30, which are sequentially connected, where the Lora central control device includes a processing module 101 and an adjusting module 102, and the Lora relay device includes a receiving module 201 and a sending module 202, and the system performs communication by using a Lora private protocol, and may also use other more suitable protocols, which are explained in this embodiment based on the Lora private protocol. In this embodiment, the indoor Lora communication system is a communication device built by using an arm (advanced RISC machine) architecture based on the Lora communication technology, and may also be built by using other architectures, which is not limited in this embodiment. The method comprises the steps that a processing module in the Lora central control equipment performs data processing on indoor terminal equipment after acquiring indoor terminal equipment information, a current channel parameter of the Lora relay equipment is adjusted by an adjusting module to obtain a target channel, the terminal data are sent to a receiving module in the Lora relay equipment, the Lora central control equipment sends the terminal data to the Lora relay equipment in a wired or wireless mode, at the moment, the Lora relay equipment starts to work, and each relay comprises a plurality of Lora physical channels; finally, a sending module in the Lora relay equipment sends the terminal data to indoor terminal equipment corresponding to the target channel through the target channel; the terminal equipment can be any intelligent indoor equipment which can be used for Lora connection.
It should be noted that the processing module is configured to analyze and process the indoor terminal device information, and obtain corresponding terminal data, where the terminal data includes, but is not limited to, terminal device product category data and terminal device operating mode data.
In a specific implementation, the position information of the indoor terminal device may be determined according to the signal strength received by the indoor terminal device, and specifically, the processing module performs data processing on the terminal device information to obtain terminal data corresponding to the terminal device information; obtaining indoor terminal equipment according to the terminal data; determining signal strength information between the Lora relay equipment and the indoor terminal equipment according to the indoor terminal equipment; and acquiring the current position of the Lora relay equipment, and acquiring the position information of the indoor terminal equipment according to the current position and the signal intensity information.
In this embodiment, each channel parameter in the Lora relay device is not fixed, and different parameter configurations can meet different data transmission requirements, and the channel parameters in this embodiment include, but are not limited to, the bandwidth and the spreading factor of the channel, and the bandwidth is the lower limit frequency and the upper limit frequency of the signal allowed to pass through the channel, which can be understood as a frequency passband. For example, a channel may have an allowed passband of 1.5kHZ to 15kHZ, and a bandwidth of 13.5 kHZ. In the Lora communication system, the bandwidth is increased, and the effective data rate can be improved to shorten the data transmission time. The spreading factor is the ratio of the information chip rate to the nominal transmission rate of the spread information, and transmission after channel spreading can reduce the bit error rate, i.e., the signal-to-noise ratio, but reduce the actual data that can be transmitted. The adjusting module is used for obtaining the current data transmission requirement according to the terminal data and the position information to change the current channel parameter, and the obtained target channel can meet the current data transmission requirement.
It should be noted that, in this embodiment, the receiving module may receive, through the network connection line, terminal data sent by the adjusting module, where the terminal data includes, but is not limited to, a work instruction sent to a certain indoor terminal device, for example, an automatic opening and closing instruction for an indoor curtain, and this embodiment is not limited thereto.
In specific implementation, after the indoor terminal device accesses the network, the Lora communication system allocates a channel to the indoor terminal device, and a target channel obtained after the adjustment module adjusts the channel parameters can meet the transmission requirement of the terminal data. And the sending module sends the terminal data to be transmitted to the indoor terminal equipment corresponding to the target channel through the target channel obtained after adjustment.
In this embodiment, the processing module acquires the information of the indoor terminal device, and performs data processing on the information of the terminal device to obtain terminal data and position information corresponding to the information of the terminal device; the adjusting module is used for adjusting the current channel parameters of the Lora relay equipment according to the terminal data and the position information to obtain a target channel and sending the terminal data to the receiving module; a receiving module receives the terminal data; and the sending module sends the terminal data to the indoor terminal equipment corresponding to the target channel through the target channel. The parameters of the working channel are adjusted in time through the terminal data type, the adjusted channel can meet the transmission requirement of the terminal equipment, meanwhile, the plurality of relay equipment work simultaneously, indoor coverage can be increased, each relay equipment comprises a plurality of Lora communication channels, the concurrency and the real-time performance of the system are improved, the flexibility of the communication equipment during working is high, the utilization rate of the channel is high, and the problem of insufficient channel resource utilization is solved. And the signal intensity is adjusted by acquiring the position information of the terminal equipment, so that the indoor penetrability of the Lora communication equipment is enhanced.
Referring to fig. 2, fig. 2 is a block diagram of a second embodiment of the indoor Lora communication system according to the present invention, and the second embodiment of the indoor Lora communication system according to the present invention is proposed based on the first embodiment.
It should be noted that the terminal data types include, but are not limited to, the operation mode types of the terminal devices, such as interactive terminals, batch processing terminals, and the product type types of the terminal devices, such as intelligently controllable doors, lights, curtains, etc.
It should be noted that the target spreading factor parameter and the target bandwidth parameter are conditions and requirements that need to be met by channel parameters when the terminal data is transmitted according to the type of the terminal data.
In a specific implementation, if a channel required by the indoor terminal device has high real-time performance in data transmission and can respond to the operating command in a short time, the parameter configuration of the channel needs to meet the real-time performance requirement when transmitting terminal data corresponding to the operating command, and the channel parameter may have a target spreading factor parameter and a target bandwidth parameter. In addition, the Lora communication system may also adjust the channel parameters according to other data transmission requirements, which is not limited in this embodiment.
It should be noted that, after obtaining the target spreading factor parameter and the target bandwidth parameter, the adjusting module needs to determine whether the spreading factor parameter and the bandwidth parameter in the current channel parameter corresponding to the indoor target terminal device reach the target spreading factor parameter and the target bandwidth parameter.
In this embodiment, when the current channel parameter corresponding to the indoor terminal device does not reach the target spreading factor and the target bandwidth parameter, the adjusting module adjusts the current channel parameter of the Lora relay device to the target spreading factor parameter and the target bandwidth parameter, so as to obtain the target channel corresponding to the target spreading factor parameter and the target bandwidth parameter.
As shown in fig. 3, the Lora central control device in the Lora communication system is connected to the Lora relay device, and the terminal device is connected to the Lora relay device after accessing the network, and if only an uplink terminal or a terminal device in the channel-connected terminal device has a low real-time requirement for data transmission, but requires a better penetrability, the channel parameter and the signal strength can be adjusted at the same time; if there are more downlinks in the terminal devices connected by the channel or the real-time requirement of the terminal device for data transmission is higher, the channel parameter may be adjusted to meet the data transmission requirement, which is not limited in this embodiment. Meanwhile, the Lora communication system is provided with a plurality of Lora relay devices, each relay comprises a plurality of Lora physical channels, wireless coverage of the system is guaranteed, the physical channels are increased, the requirement of simultaneous working of the devices can be met, and concurrency of the system is improved.
It should be noted that the target signal strength is a signal strength that an indoor terminal obtained according to the terminal type can normally interact with when performing data transmission.
In this embodiment, the adjusting module obtains the indoor terminal device and the type of the terminal data according to the terminal data to further obtain the target signal strength; judging whether the current signal intensity corresponding to the indoor terminal equipment reaches the target signal intensity or not; and when the current signal intensity corresponding to the indoor target terminal equipment does not reach the target signal intensity, adjusting the current signal intensity to the target signal intensity so as to obtain a target channel corresponding to the target signal intensity. Through the timely adjustment to Lora communication system's signal strength, improved the efficiency of system work, make Lora communication system efficient higher when indoor use, strengthened the penetrability of system simultaneously, the communication distance that the system can satisfy is farther, has increased the coverage of system signal.
It should be noted that the encryption in this embodiment includes data encryption and access encryption, and the data encryption may be in a fuzzification mode or an anonymization mode, which is not limited in this embodiment. The processing module encrypts the terminal data and the position information, and then sends the encrypted terminal data and the encrypted position information to the adjusting module, and the adjusting module adjusts the channel parameters according to the encrypted terminal data and the encrypted position information. By the mode, the data security of the Lora communication system is improved.
In the embodiment, the indoor terminal equipment and the terminal data type are obtained according to the terminal data through the adjusting module; obtaining a target spreading factor parameter and a target bandwidth parameter according to the terminal data type; judging whether the current channel parameters corresponding to the indoor terminal equipment reach the target spreading factor parameters and the target bandwidth parameters or not; and when the current channel parameters corresponding to the indoor terminal equipment do not reach the target spreading factor and the target bandwidth parameters, adjusting the current channel parameters of the Lora relay equipment to the target spreading factor parameters and the target bandwidth parameters so as to obtain the target channels corresponding to the target spreading factor parameters and the target bandwidth parameters. The channel can meet the transmission requirements of different indoor target terminal equipment types by dynamically adjusting the channel parameters, so that the real-time performance of the system is improved, and the concurrency of the system is also improved. And through the timely adjustment to the signal strength of Lora communication system, improved the efficiency of system work, make Lora communication system efficient higher when indoor use, strengthened the penetrability of system simultaneously, the communication distance that the system can satisfy is farther, has increased the coverage of system signal. Meanwhile, the data security of the Lora communication system is enhanced by encrypting the terminal data and the position information through the processing module.
Referring to fig. 4, fig. 4 is a schematic flowchart of a first embodiment of an indoor Lora communication method according to the present invention, where the indoor Lora communication method is applied to an indoor Lora communication system, and the indoor Lora communication system includes: the system comprises Lora central control equipment, a plurality of Lora relay equipment and terminal equipment which are sequentially connected, wherein the Lora central control equipment comprises a processing module and an adjusting module, and the Lora relay equipment comprises a receiving module and a sending module;
the indoor Lora communication method comprises the following steps:
step S10, the processing module obtains indoor terminal device information, and performs data processing on the terminal device information to obtain terminal data and location information corresponding to the terminal device information.
In this embodiment, the indoor Lora communication system includes: the system comprises Lora central control equipment, a plurality of Lora relay equipment and terminal equipment which are connected in sequence, wherein the Lora central control equipment comprises a processing module and an adjusting module, the Lora relay equipment comprises a receiving module and a sending module, the system communicates by adopting a Lora network protocol, other protocols can be adopted, and the embodiment does not limit the communication. The indoor Lora communication system in this embodiment is a communication device built by using an arm (advanced RISC machine) architecture based on the Lora communication technology, and may also be built by using other architectures, which is not limited in this embodiment. The method comprises the steps that a processing module in the Lora central control equipment performs data processing on indoor terminal equipment after acquiring indoor terminal equipment information, an adjusting module adjusts current channel parameters of the Lora relay equipment to obtain a target channel, the terminal data are sent to a receiving module in the Lora relay equipment, the Lora central control equipment sends the terminal data to the Lora relay equipment in a wired or wireless mode, and at the moment, the Lora relay equipment starts to work; finally, a sending module in the Lora relay equipment sends the terminal data to indoor terminal equipment corresponding to the target channel through the target channel; the terminal equipment can be any intelligent indoor equipment which can be used for Lora connection.
It should be noted that the processing module is configured to analyze and process the indoor terminal device information, and obtain corresponding terminal data, where the terminal data includes, but is not limited to, terminal device product category data and terminal device operating mode data.
In a specific implementation, the position information of the indoor terminal device may be determined according to the signal strength received by the indoor terminal device, and specifically, the processing module performs data processing on the terminal device information to obtain terminal data corresponding to the terminal device information; obtaining indoor terminal equipment according to the terminal data; determining signal intensity information between the Lora relay equipment and the indoor terminal equipment according to the indoor terminal equipment; and acquiring the current position of the Lora relay equipment, and acquiring the position information of the indoor terminal equipment according to the current position and the signal intensity information.
Step S20, the adjusting module adjusts the current channel parameter of the Lora relay device according to the terminal data and the location information to obtain a target channel, and sends the terminal data to the receiving module;
in this embodiment, each channel parameter in the Lora relay device is not fixed, and different parameter configurations can meet different data transmission requirements, and the channel parameters in this embodiment include, but are not limited to, the bandwidth and the spreading factor of the channel, and the bandwidth is the lower limit frequency and the upper limit frequency of the signal allowed to pass through the channel, which can be understood as a frequency passband. For example, a channel may have an allowed passband of 1.5kHZ to 15kHZ, and a bandwidth of 13.5 kHZ. In the Lora communication system, the bandwidth is increased, and the effective data rate can be improved to shorten the data transmission time. The spreading factor is the ratio of the information chip rate to the nominal transmission rate of the spread information, and the transmission after channel spreading can reduce the bit error rate, i.e., the signal-to-noise ratio, but reduce the actual data that can be transmitted. The adjusting module is used for obtaining the current data transmission requirement according to the terminal data and the position information to change the current channel parameter, and the obtained target channel can meet the current data transmission requirement.
Step S30, the receiving module receives the terminal data.
It should be noted that, in this embodiment, the receiving module may receive the terminal data sent by the adjusting module, where the terminal data includes, but is not limited to, a work instruction sent to a certain indoor terminal device, for example, an automatic opening and closing instruction for an indoor curtain, and this embodiment is not limited thereto.
And step S40, the sending module sends the terminal data to the indoor terminal equipment corresponding to the target channel through the target channel.
In specific implementation, after the indoor terminal device accesses the network, the Lora communication system allocates a channel to the indoor terminal device, and a target channel obtained after the channel parameter is adjusted by the adjusting module can meet the transmission requirement of the terminal data. And the sending module sends the terminal data to be transmitted to the indoor terminal equipment corresponding to the target channel through the target channel obtained after adjustment.
In this embodiment, the processing module acquires the information of the indoor terminal device, and performs data processing on the information of the terminal device to obtain terminal data and position information corresponding to the information of the terminal device; the adjusting module is used for adjusting the current channel parameters of the Lora relay equipment according to the terminal data and the position information to obtain a target channel and sending the terminal data to the receiving module; the receiving module receives the terminal data; and the sending module sends the terminal data to the indoor terminal equipment corresponding to the target channel through the target channel. The parameters of the working channel are adjusted in time through the terminal data type, the adjusted channel can meet the transmission requirement of the terminal equipment, meanwhile, the plurality of relay equipment work simultaneously, indoor coverage can be increased, each relay equipment comprises a plurality of Lora communication channels, the concurrency and the real-time performance of the system are improved, the flexibility of the communication equipment during working is high, the utilization rate of the channel is high, and the problem of insufficient channel resource utilization is solved. And the signal intensity is adjusted by acquiring the position information of the terminal equipment, so that the indoor penetrability of the Lora communication equipment is enhanced.
Fig. 5 is a flowchart illustrating a second embodiment of the indoor Lora communication method according to the present invention, and based on the first embodiment, the second embodiment of the indoor Lora communication method according to the present invention is provided.
In the present embodiment, step S20 includes:
step S201, the adjusting module obtains indoor terminal equipment and a terminal data type according to the terminal data.
It should be noted that the terminal data types include, but are not limited to, the operation mode types of the terminal devices, such as interactive terminals, batch processing terminals, and the product type types of the terminal devices, such as intelligently controllable doors, lights, curtains, and the like.
And step S202, obtaining a target spreading factor parameter and a target bandwidth parameter according to the terminal data type.
It should be noted that the target spreading factor parameter and the target bandwidth parameter are conditions and requirements that need to be met by channel parameters when the terminal data is transmitted according to the type of the terminal data.
In a specific implementation, if a channel required by the indoor terminal device has good real-time performance in data transmission and can respond to the operating command in a short time, the parameter configuration of the channel needs to meet the requirement of real-time performance when transmitting terminal data corresponding to the operating command, and the channel parameter may have a target spreading factor parameter and a target bandwidth parameter. In addition, the Lora communication system may also adjust the channel parameters according to other data transmission requirements, which is not limited in this embodiment.
Step S203, determining whether the current channel parameter corresponding to the indoor terminal device reaches the target spreading factor parameter and the target bandwidth parameter.
It should be noted that, after obtaining the target spreading factor parameter and the target bandwidth parameter, the adjusting module needs to determine whether the spreading factor parameter and the bandwidth parameter in the current channel parameter corresponding to the indoor target terminal device reach the target spreading factor parameter and the target bandwidth parameter.
Step S204, when the current channel parameter corresponding to the indoor terminal device does not reach the target spreading factor and the target bandwidth parameter, adjusting the current channel parameter of the Lora relay device to the target spreading factor parameter and the target bandwidth parameter to obtain a target channel corresponding to the target spreading factor parameter and the target bandwidth parameter, and sending the terminal data to the receiving module.
In this embodiment, when the current channel parameter corresponding to the indoor terminal device does not reach the target spreading factor and the target bandwidth parameter, the adjusting module adjusts the current channel parameter of the Lora relay device to the target spreading factor parameter and the target bandwidth parameter, so as to obtain the target channel corresponding to the target spreading factor parameter and the target bandwidth parameter.
Further, step S20 further includes: the adjusting module obtains indoor terminal equipment and a terminal data type according to the terminal data; obtaining target signal intensity according to the terminal data type; judging whether the current signal intensity corresponding to the indoor terminal equipment reaches the target signal intensity; and when the current signal intensity corresponding to the indoor terminal equipment does not reach the target signal intensity, adjusting the current signal intensity to the target signal intensity so as to obtain a target channel corresponding to the target signal intensity, and sending the terminal data to the receiving module.
It should be noted that the target signal strength is a signal strength that an indoor terminal obtained according to the terminal type can normally interact with when performing data transmission.
In this embodiment, the adjusting module obtains indoor terminal equipment and a terminal data type according to the terminal data to further obtain target signal strength; judging whether the current signal intensity corresponding to the indoor terminal equipment reaches the target signal intensity or not; and when the current signal intensity corresponding to the indoor target terminal equipment does not reach the target signal intensity, adjusting the current signal intensity to the target signal intensity so as to obtain a target channel corresponding to the target signal intensity. Through the timely adjustment to Lora communication system's signal strength, improved the efficiency of system work, make Lora communication system efficient higher when indoor use, strengthened the penetrability of system simultaneously, the communication distance that the system can satisfy is farther, has increased the coverage of system signal.
Further, before step S20, the method further includes: the processing module encrypts the terminal data and the position information according to preset measures to obtain the encrypted terminal data and the encrypted position information, and sends the encrypted terminal data and the encrypted position information to the adjusting module; step S20 further includes: and the adjusting module adjusts the current channel parameter of the Lora relay equipment according to the encrypted terminal data and the encrypted position information to obtain a target channel, and sends the terminal data to the receiving module.
It should be noted that the encryption in this embodiment includes data encryption and access encryption, and the data encryption may be in a fuzzification mode or an anonymization mode, which is not limited in this embodiment. The processing module encrypts the terminal data and the position information, and then sends the encrypted terminal data and the encrypted position information to the adjusting module, and the adjusting module adjusts the channel parameters according to the encrypted terminal data and the encrypted position information. By the mode, the data security of the Lora communication system is improved.
In the embodiment, the indoor terminal equipment and the terminal data type are obtained through the adjusting module according to the terminal data; obtaining a target spreading factor parameter and a target bandwidth parameter according to the terminal data type; judging whether the current channel parameters corresponding to the indoor terminal equipment reach the target spreading factor parameters and the target bandwidth parameters or not; and when the current channel parameters corresponding to the indoor terminal equipment do not reach the target spreading factor and the target bandwidth parameters, adjusting the current channel parameters of the Lora relay equipment to the target spreading factor parameters and the target bandwidth parameters so as to obtain the target channels corresponding to the target spreading factor parameters and the target bandwidth parameters. The channel can meet the transmission requirements of different indoor target terminal equipment types by dynamically adjusting the channel parameters, so that the real-time performance of the system is improved, and the concurrency of the system is also improved. And through the timely adjustment to the signal strength of Lora communication system, improved the efficiency of system work, make Lora communication system efficient higher when indoor use, strengthened the penetrability of system simultaneously, the communication distance that the system can satisfy is farther, has increased the coverage of system signal. Meanwhile, the data security of the Lora communication system is enhanced by encrypting the terminal data and the position information through the processing module.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are also included in the scope of the present invention.

Claims (8)

1. An indoor Lora communication system, characterized in that, indoor Lora communication system includes: the system comprises Lora central control equipment, a plurality of Lora relay equipment and terminal equipment which are sequentially connected, wherein the Lora central control equipment comprises a processing module and an adjusting module, and the Lora relay equipment comprises a receiving module and a sending module;
the processing module is used for acquiring indoor terminal equipment information, performing data processing on the terminal equipment information, and acquiring terminal data and position information corresponding to the terminal equipment information, wherein the terminal data comprises but is not limited to at least one of terminal equipment product type data and terminal equipment working mode data;
the adjusting module is used for adjusting the current channel parameters of the Lora relay equipment according to the terminal data and the position information to obtain a target channel, and sending the terminal data to the receiving module;
the receiving module is used for receiving the terminal data;
the sending module is used for sending the terminal data to the indoor terminal equipment corresponding to the target channel through the target channel;
the adjusting module is further used for obtaining indoor terminal equipment and a terminal data type according to the terminal data;
obtaining a target spreading factor parameter and a target bandwidth parameter according to the terminal data type;
judging whether the current channel parameters corresponding to the indoor terminal equipment reach the target spreading factor parameters and the target bandwidth parameters;
when the current channel parameters corresponding to the indoor terminal equipment do not reach the target spreading factor and the target bandwidth parameters, the current channel parameters of the Lora relay equipment are adjusted to the target spreading factor parameters and the target bandwidth parameters, so that target channels corresponding to the target spreading factor parameters and the target bandwidth parameters are obtained, and the terminal data are sent to the receiving module.
2. The indoor Lora communication system as claimed in claim 1, wherein the processing module is further configured to perform data processing on the terminal device information to obtain terminal data corresponding to the terminal device information;
obtaining indoor terminal equipment according to the terminal data;
determining signal strength information between the Lora relay equipment and the indoor terminal equipment according to the indoor terminal equipment;
and acquiring the current position of the Lora relay equipment, and acquiring the position information of the indoor terminal equipment according to the current position and the signal intensity information.
3. The indoor Lora communication system of claim 1, wherein the adjusting module is further configured to obtain an indoor terminal device and a terminal data type according to the terminal data;
obtaining the target signal intensity according to the terminal data type;
judging whether the current signal intensity corresponding to the indoor terminal equipment reaches the target signal intensity;
and when the current signal intensity corresponding to the indoor terminal equipment does not reach the target signal intensity, adjusting the current signal intensity to the target signal intensity so as to obtain a target channel corresponding to the target signal intensity, and sending the terminal data to the receiving module.
4. The indoor Lora communication system as claimed in claim 1, wherein the processing module is further configured to encrypt the terminal data and the location information according to a preset measure to obtain encrypted terminal data and location information, and send the encrypted terminal data and location information to the adjusting module;
and the adjusting module is further used for adjusting the current channel parameters of the Lora relay equipment according to the encrypted terminal data and the position information so as to obtain a target channel.
5. The indoor Lora communication method is applied to an indoor Lora communication system, and the indoor Lora communication system comprises the following components: the system comprises Lora central control equipment, a plurality of Lora relay equipment and terminal equipment which are sequentially connected, wherein the Lora central control equipment comprises a processing module and an adjusting module, and the Lora relay equipment comprises a receiving module and a sending module;
the indoor Lora communication method includes:
the processing module acquires indoor terminal equipment information, and performs data processing on the terminal equipment information to obtain terminal data and position information corresponding to the terminal equipment information;
the adjusting module adjusts the current channel parameter of the Lora relay device according to the terminal data and the position information to obtain a target channel, and sends the terminal data to the receiving module, wherein the terminal data includes but is not limited to at least one of terminal device product variety data and terminal device working mode data;
the receiving module receives the terminal data;
the sending module sends the terminal data to indoor terminal equipment corresponding to the target channel through the target channel;
wherein, the adjusting module adjusts the current channel parameter of the Lora relay device according to the terminal data and the position information to obtain a target channel, and sends the terminal data to the receiving module, and the adjusting module includes:
the adjusting module obtains indoor terminal equipment and a terminal data type according to the terminal data;
obtaining a target spreading factor parameter and a target bandwidth parameter according to the terminal data type;
judging whether the current channel parameters corresponding to the indoor terminal equipment reach the target spreading factor parameters and the target bandwidth parameters or not;
when the current channel parameters corresponding to the indoor terminal equipment do not reach the target spreading factor and the target bandwidth parameters, the current channel parameters of the Lora relay equipment are adjusted to the target spreading factor parameters and the target bandwidth parameters, so that target channels corresponding to the target spreading factor parameters and the target bandwidth parameters are obtained, and the terminal data are sent to the receiving module.
6. The indoor Lora communication method as claimed in claim 5, wherein the processing module performs data processing on the terminal device information to obtain terminal data and location information corresponding to the terminal device information, and includes:
the processing module performs data processing on the terminal equipment information to obtain terminal data corresponding to the terminal equipment information;
obtaining indoor terminal equipment according to the terminal data;
determining signal intensity information between the Lora relay equipment and the indoor terminal equipment according to the indoor terminal equipment;
and acquiring the current position of the Lora relay equipment, and acquiring the position information of the indoor terminal equipment according to the current position and the signal intensity information.
7. The indoor Lora communication method of claim 5, wherein the adjusting module adjusts a current channel parameter according to the terminal data and the location information to obtain a target channel, and sends the terminal data to the receiving module, including:
the adjusting module obtains indoor terminal equipment and a terminal data type according to the terminal data;
obtaining target signal intensity according to the terminal data type;
judging whether the current signal intensity corresponding to the indoor terminal equipment reaches the target signal intensity;
and when the current signal intensity corresponding to the indoor terminal equipment does not reach the target signal intensity, adjusting the current signal intensity to the target signal intensity so as to obtain a target channel corresponding to the target signal intensity, and sending the terminal data to the receiving module.
8. The indoor Lora communication method of claim 5, wherein the adjusting module adjusts a current channel parameter of the Lora relay device according to the terminal data and the location information, so as to obtain a target channel, further comprising:
the processing module encrypts the terminal data and the position information according to preset measures to obtain encrypted terminal data and encrypted position information, and sends the encrypted terminal data and the encrypted position information to the adjusting module;
the adjusting module adjusts the current channel parameter according to the terminal data and the position information to obtain a target channel, and the adjusting module comprises:
and the adjusting module adjusts the current channel parameter of the Lora relay equipment according to the encrypted terminal data and the encrypted position information to obtain a target channel, and sends the terminal data to the receiving module.
CN202011481706.6A 2020-12-15 2020-12-15 Indoor Lora communication system and method Active CN112770263B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011481706.6A CN112770263B (en) 2020-12-15 2020-12-15 Indoor Lora communication system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011481706.6A CN112770263B (en) 2020-12-15 2020-12-15 Indoor Lora communication system and method

Publications (2)

Publication Number Publication Date
CN112770263A CN112770263A (en) 2021-05-07
CN112770263B true CN112770263B (en) 2022-09-23

Family

ID=75693896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011481706.6A Active CN112770263B (en) 2020-12-15 2020-12-15 Indoor Lora communication system and method

Country Status (1)

Country Link
CN (1) CN112770263B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613186A (en) * 2021-07-06 2021-11-05 三叶草(绍兴)智能技术有限公司 Communication system and method for improving real-time performance of LoRa

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076432A (en) * 2013-12-27 2018-05-25 华为技术有限公司 Broadcasting Control bandwidth allocation and data receiving-transmitting method and device
CN112073133A (en) * 2020-08-17 2020-12-11 成都极企科技有限公司 LoRa gateway, channel detection system and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101111047B (en) * 2006-07-18 2011-03-30 华为技术有限公司 Method and system for communication using relaying base station
CN101374009B (en) * 2007-08-20 2013-12-04 中兴通讯股份有限公司 Method for switching business channel of relay network
US8644210B2 (en) * 2009-05-19 2014-02-04 Lg Electronics Inc. Method and apparatus of transmitting and receiving backhaul downlink control information in a wireless communication system
CN106211341B (en) * 2016-07-19 2020-02-14 北京邮电大学 Bandwidth allocation method and device in wireless relay system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076432A (en) * 2013-12-27 2018-05-25 华为技术有限公司 Broadcasting Control bandwidth allocation and data receiving-transmitting method and device
CN112073133A (en) * 2020-08-17 2020-12-11 成都极企科技有限公司 LoRa gateway, channel detection system and method

Also Published As

Publication number Publication date
CN112770263A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
CN105393605B (en) Terminal, base station and its communication means
EP4099635A1 (en) Method and device for selecting service in wireless communication system
US8874710B2 (en) Access network discovery
US11343660B2 (en) Mobile edge computing applications management for wireless networks
JP7064003B2 (en) Default quality of service (QoS) control methods and equipment
EP2869631A1 (en) Terminal access method and system, and terminal
WO2009006039A2 (en) Security based network access selection
CN102833268A (en) Method, equipment and system for resisting wireless network flooding attack
CN110177384B (en) Access method, device, wireless access point and readable storage medium
CN112312538A (en) Method and system for transmitting new media video data information based on digital technology
CN112770263B (en) Indoor Lora communication system and method
CN108093387B (en) Enterprise-level Bluetooth network system, central controller, Bluetooth gateway and deployment method
CN111698742B (en) Data communication method, terminal device, electronic device, and computer storage medium
CN110933758B (en) Interference coordination method and device, and base station
CN117044361A (en) Optimization of deterministic traffic and non-deterministic traffic in a radio access network
Khan et al. LTE/LTE-A Based Advanced Wireless Networks
CN103581904B (en) Network access method and device
CN111726880A (en) Resource allocation method, electronic device and storage medium
CN101790176A (en) Interference solution of indoor covering equipment based on cognitive technique
CN107690174B (en) Method for realizing access control compatible with WLAN wireless local area network protocol
CN114449637B (en) Terminal power control method and device
US9537828B2 (en) Secure mobile communication relay having firewall function
KR101247167B1 (en) Security mobile communication repeater with firewall capability
CN116233896B (en) Method and system for transmitting message by user equipment in wireless communication system
US20240089930A1 (en) Configuration method, allocation method, apparatus, device, and storage medium

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