CN116996871A - Wireless communication method, system and medium based on LoRa protocol - Google Patents

Wireless communication method, system and medium based on LoRa protocol Download PDF

Info

Publication number
CN116996871A
CN116996871A CN202311251096.4A CN202311251096A CN116996871A CN 116996871 A CN116996871 A CN 116996871A CN 202311251096 A CN202311251096 A CN 202311251096A CN 116996871 A CN116996871 A CN 116996871A
Authority
CN
China
Prior art keywords
data
communication link
transmission
encrypted data
monitoring 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.)
Granted
Application number
CN202311251096.4A
Other languages
Chinese (zh)
Other versions
CN116996871B (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.)
Shenzhen Weike Technology Co ltd
Original Assignee
Shenzhen Wake Up 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 Shenzhen Wake Up Technology Co ltd filed Critical Shenzhen Wake Up Technology Co ltd
Priority to CN202311251096.4A priority Critical patent/CN116996871B/en
Publication of CN116996871A publication Critical patent/CN116996871A/en
Application granted granted Critical
Publication of CN116996871B publication Critical patent/CN116996871B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • H04W12/033Protecting confidentiality, e.g. by encryption of the user plane, e.g. user's traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the application provides a wireless communication method, a system and a medium based on a LoRa protocol, wherein the method comprises the following steps: acquiring health monitoring data, and carrying out noise reduction treatment on the health monitoring data to obtain optimized monitoring data; adding a mask to the optimized monitoring data to generate encrypted data; carrying out communication link matching on the encrypted data to obtain a matching result; judging whether the matching result is larger than a preset matching threshold value or not; if the data is larger than the data, transmitting the encrypted data through a communication link; if the data is smaller than the data, generating correction information, combining the communication links through the correction information, and transmitting the encrypted data through the combined links; the safety of data transmission is improved by carrying out noise reduction and encryption processing on the health monitoring data, and meanwhile, the transmission efficiency of the data is improved by selecting the optimally matched communication link for the encrypted data, so that the remote wireless communication of the data is realized.

Description

Wireless communication method, system and medium based on LoRa protocol
Technical Field
The application relates to the field of wireless communication, in particular to a wireless communication method, a wireless communication system and a wireless communication medium based on LoRa protocol.
Background
The intelligent watch can realize various functions such as communication, health detection and position tracking, in the process of realizing the functions, the collected data can be guaranteed to be rapidly transmitted, loRa is a low-power local area network wireless standard developed by semtech company, the LoRa is farther away than other wireless modes under the same power consumption condition, the unification of low power consumption and long distance is realized, the distance of the intelligent watch is 3-5 times longer than that of the traditional wireless radio frequency communication under the same power consumption, the traditional intelligent watch is not a wireless communication watch adopting LoRa (Long Range) protocol, remote and low-power communication is difficult to realize, the service life of a battery of the watch is greatly reduced, the communication range is smaller, the intelligent watch cannot adapt to places without signals such as mine operation, forest patrol, border, bridge construction in remote mountain areas and the like, the real-time of the collected data is influenced, the delay of the data transmission is caused, and the technical scheme to be effective is urgently needed at present.
Disclosure of Invention
The embodiment of the application aims to provide a wireless communication method, a wireless communication system and a wireless communication medium based on a LoRa protocol, which are used for improving the safety of data transmission by carrying out noise reduction and encryption processing on health monitoring data, and simultaneously improving the transmission efficiency of the data by selecting an optimally matched communication link for the encrypted data, so as to realize the long-distance wireless communication of the data.
The embodiment of the application also provides a wireless communication method based on the LoRa protocol, which comprises the following steps:
acquiring health monitoring data, and carrying out noise reduction treatment on the health monitoring data to obtain optimized monitoring data;
adding a mask to the optimized monitoring data to generate encrypted data;
carrying out communication link matching on the encrypted data to obtain a matching result;
judging whether the matching result is larger than a preset matching threshold value or not;
if the data is larger than the data, transmitting the encrypted data through a communication link;
if the data is smaller than the predetermined value, correction information is generated, the communication links are combined by the correction information, and the encrypted data is transmitted through the combined link.
Optionally, in the wireless communication method based on the LoRa protocol according to the embodiment of the present application, health monitoring data is obtained, noise reduction processing is performed on the health monitoring data, and optimized monitoring data is obtained, which specifically includes:
acquiring multi-source monitoring data, processing the monitoring data of the same acquisition source according to the same noise reduction mode to obtain a homologous data set, and generating different source data sets by different acquisition sources;
carrying out weight calculation on a plurality of different source data sets and obtaining corresponding weight coefficients;
multiplying the weight coefficient by corresponding different source data sets to generate data proportions;
and generating monitoring data according to the data proportion combination.
Optionally, in the wireless communication method based on the LoRa protocol according to the embodiment of the present application, adding a mask to the optimized monitoring data to generate encrypted data further includes:
acquiring encrypted data and generating a data transmission signal according to the encrypted data;
carrying out frequency spectrum shifting on the data transmission signal by the data transmission signal to generate a modulation parameter;
modulating the data transmission signal through the modulation parameters, and obtaining a modulation result;
judging whether the modulation result meets the requirement;
if the requirements are not met, generating feedback information, and adjusting the modulation parameters through the feedback information;
and if the requirements are met, receiving the modulation result through the receiving end, and demodulating and recovering the modulation result to obtain the encrypted data.
Optionally, in the wireless communication method based on the LoRa protocol according to the embodiment of the present application, if the wireless communication method is greater than the LoRa protocol, after transmitting the encrypted data through the communication link, the method further includes:
receiving the encrypted data and generating transmission parameters of the communication link according to the encrypted data;
calculating the real-time transmission rate of the communication link through the transmission parameters;
performing difference calculation on the real-time transmission rate and a preset transmission rate to obtain a rate difference;
and compensating the transmission parameters of the communication link according to the rate difference.
Optionally, in the wireless communication method based on the LoRa protocol according to the embodiment of the present application, the transmission parameters of the communication link are compensated according to the rate difference, which specifically includes:
acquiring a real-time transmission rate of a communication link, and comparing the real-time transmission rate of the communication link with a preset transmission rate to obtain a transmission deviation rate;
if the transmission deviation rate is larger than the first threshold value and smaller than the second threshold value, generating first compensation information, and compensating the transmission parameters of the communication link according to the first compensation information;
if the transmission deviation rate is greater than or equal to a second threshold value, generating second compensation information, and compensating the transmission parameters of the communication link according to the second compensation information;
the first threshold is less than the second threshold.
Optionally, in the wireless communication method based on the LoRa protocol according to the embodiment of the present application, if the value is smaller than the value, correction information is generated, the communication links are combined through the correction information, and encrypted data is transmitted through the combined links, specifically:
acquiring transmission parameters of a plurality of communication links and transmission quantity of encrypted data;
calculating the load upper limit value of the communication link according to the transmission parameters of the first communication link;
comparing the transmission amount of the encrypted data with the load upper limit value of the first communication link, and calculating the proportion of the transmission amount of the encrypted data;
if the proportion of the transmission quantity is larger than a preset proportion threshold value, generating the transmission quantity exceeding the proportion;
matching the second communication link according to the transmission quantity exceeding the proportion;
superposing the first communication link and the second communication link to generate a combined communication link;
the encrypted data is transmitted over the combined communication link.
In a second aspect, an embodiment of the present application provides a wireless communication system based on the LoRa protocol, where the system includes: the memory comprises a program of a wireless communication method based on the LoRa protocol, and the program of the wireless communication method based on the LoRa protocol realizes the following steps when being executed by the processor:
acquiring health monitoring data, and carrying out noise reduction treatment on the health monitoring data to obtain optimized monitoring data;
adding a mask to the optimized monitoring data to generate encrypted data;
carrying out communication link matching on the encrypted data to obtain a matching result;
judging whether the matching result is larger than a preset matching threshold value or not;
if the data is larger than the data, transmitting the encrypted data through a communication link;
if the data is smaller than the predetermined value, correction information is generated, the communication links are combined by the correction information, and the encrypted data is transmitted through the combined link.
Optionally, in the wireless communication system based on the LoRa protocol according to the embodiment of the present application, health monitoring data is obtained, noise reduction processing is performed on the health monitoring data, and optimized monitoring data is obtained, which specifically includes:
acquiring multi-source monitoring data, processing the monitoring data of the same acquisition source according to the same noise reduction mode to obtain a homologous data set, and generating different source data sets by different acquisition sources;
carrying out weight calculation on a plurality of different source data sets and obtaining corresponding weight coefficients;
multiplying the weight coefficient by corresponding different source data sets to generate data proportions;
and generating monitoring data according to the data proportion combination.
Optionally, in the wireless communication system based on the LoRa protocol according to the embodiment of the present application, adding a mask to the optimized monitoring data to generate encrypted data further includes:
acquiring encrypted data and generating a data transmission signal according to the encrypted data;
carrying out frequency spectrum shifting on the data transmission signal by the data transmission signal to generate a modulation parameter;
modulating the data transmission signal through the modulation parameters, and obtaining a modulation result;
judging whether the modulation result meets the requirement;
if the requirements are not met, generating feedback information, and adjusting the modulation parameters through the feedback information;
and if the requirements are met, receiving the modulation result through the receiving end, and demodulating and recovering the modulation result to obtain the encrypted data.
In a third aspect, an embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium includes a wireless communication method program based on the LoRa protocol, where the wireless communication method program based on the LoRa protocol implements the steps of the wireless communication method based on the LoRa protocol as described in any one of the above when the wireless communication method program based on the LoRa protocol is executed by a processor.
As can be seen from the above, according to the wireless communication method, system and medium based on the LoRa protocol provided by the embodiment of the application, the health monitoring data is noise-reduced by acquiring the health monitoring data, so as to obtain optimized monitoring data; adding a mask to the optimized monitoring data to generate encrypted data; carrying out communication link matching on the encrypted data to obtain a matching result; judging whether the matching result is larger than a preset matching threshold value or not; if the data is larger than the data, transmitting the encrypted data through a communication link; if the data is smaller than the data, generating correction information, combining the communication links through the correction information, and transmitting the encrypted data through the combined links; the safety of data transmission is improved by carrying out noise reduction and encryption processing on the health monitoring data, and meanwhile, the transmission efficiency of the data is improved by selecting the optimally matched communication link for the encrypted data, so that the remote wireless communication of the data is realized.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be realized and attained by the structure particularly pointed out in the written description and claims hereof, as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a wireless communication method based on the LoRa protocol according to an embodiment of the present application;
fig. 2 is a flowchart of a multi-source health monitoring data combination of a wireless communication method based on the LoRa protocol according to an embodiment of the present application;
fig. 3 is a flow chart of modulating and transmitting encrypted data according to a wireless communication method based on the LoRa protocol according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a wireless communication system based on the LoRa protocol according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that like reference numerals and letters refer to like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 is a flowchart of a wireless communication method based on the LoRa protocol according to some embodiments of the present application. The wireless communication method based on the LoRa protocol is used in terminal equipment and comprises the following steps:
s101, acquiring health monitoring data, and carrying out noise reduction treatment on the health monitoring data to obtain optimized monitoring data;
s102, adding a mask to the optimized monitoring data to generate encrypted data;
s103, carrying out communication link matching on the encrypted data to obtain a matching result;
s104, judging whether the matching result is larger than a preset matching threshold value;
s105 is to transmit the encrypted data through the communication link if the data is greater than the data, and to generate correction information if the data is less than the data, to combine the communication links through the correction information, and to transmit the encrypted data through the combined link.
It should be noted that, through carrying out noise reduction processing to health monitoring data, redundant data in the monitoring data is got rid of, improves data transmission's efficiency, simultaneously through carrying out encryption processing to monitoring data, matches best communication link to encrypting data, improves data transmission's security.
Furthermore, the LoRa can provide a longer communication distance which can reach several kilometers, and is suitable for wide area networks and remote communication requirements; the LoRa adopts a low-power consumption technology, so that the equipment can run for a long time, the service life of a battery is prolonged, and the LoRa is suitable for the equipment of the Internet of things requiring low power consumption; the LoRa can still keep stable communication connection under different signal intensities and interference environments through the self-adaptive rate and the modulation technology; the LoRa supports large-scale equipment connection, thousands of equipment can be connected at the same time, and large-scale Internet of things application is realized; the LoRa is capable of penetrating obstacles such as walls and buildings, enabling reliable communication in indoor and urban environments.
Referring to fig. 2, fig. 2 is a flowchart illustrating a multi-source health monitoring data combination method according to some embodiments of the present application. According to the embodiment of the application, health monitoring data are acquired, noise reduction treatment is carried out on the health monitoring data, and optimized monitoring data are obtained, specifically:
s201, acquiring multi-source monitoring data, processing the monitoring data of the same acquisition source according to the same noise reduction mode to obtain a homologous data set, and generating different source data sets by different acquisition sources;
s202, carrying out weight calculation on a plurality of different source data sets, and obtaining corresponding weight coefficients;
s203, multiplying the weight coefficient by corresponding different source data sets to generate data proportions;
and S204, generating monitoring data according to the data proportion combination.
It should be noted that, by performing noise reduction on the monitoring data of the same acquisition source, integrating the monitoring data of different acquisition sources after the noise reduction processing is completed, and calculating the data proportion according to the weight coefficient, generating optimized monitoring data, and improving the accuracy of the monitoring data.
Referring to fig. 3, fig. 3 is a flow chart of modulating and transmitting encrypted data according to a wireless communication method based on the LoRa protocol according to some embodiments of the present application. According to an embodiment of the present application, adding a mask to the optimized monitoring data generates encrypted data, and further includes:
s301, acquiring encrypted data and generating a data transmission signal according to the encrypted data;
s302, carrying out frequency spectrum shifting on the data transmission signal by the data transmission signal to generate a modulation parameter;
s303, modulating the data transmission signal through the modulation parameter, and obtaining a modulation result;
s304, judging whether a modulation result meets the requirement;
s305, if the requirements are not met, generating feedback information, and adjusting modulation parameters through the feedback information; and if the requirements are met, receiving the modulation result through the receiving end, and demodulating and recovering the modulation result to obtain the encrypted data.
The data transmission signal is modulated to form data suitable for communication link transmission, so that transmission efficiency is improved, and in addition, the modulation parameters are corrected in real time according to the modulation result, so that the modulation effect is improved.
According to an embodiment of the present application, if the data is greater than the predetermined value, after the encrypted data is transmitted through the communication link, the method further includes:
receiving the encrypted data and generating transmission parameters of the communication link according to the encrypted data;
calculating the real-time transmission rate of the communication link through the transmission parameters;
performing difference calculation on the real-time transmission rate and a preset transmission rate to obtain a rate difference;
and compensating the transmission parameters of the communication link according to the rate difference.
According to the embodiment of the application, the transmission parameters of the communication link are compensated according to the rate difference value, specifically:
acquiring a real-time transmission rate of a communication link, and comparing the real-time transmission rate of the communication link with a preset transmission rate to obtain a transmission deviation rate;
if the transmission deviation rate is larger than the first threshold value and smaller than the second threshold value, generating first compensation information, and compensating the transmission parameters of the communication link according to the first compensation information;
if the transmission deviation rate is greater than or equal to a second threshold value, generating second compensation information, and compensating the transmission parameters of the communication link according to the second compensation information;
the first threshold is less than the second threshold.
By judging the transmission deviation rate of the communication link, different compensations are carried out according to different deviation rates, so that the dynamic adjustment of transmission parameters is realized, the transmission rate of the communication link is improved, the communication link can transmit the monitoring data fastest, and the time delay of the monitoring data is reduced.
According to the embodiment of the application, if the data is smaller than the data, the correction information is generated, the communication links are combined through the correction information, and the encrypted data is transmitted through the combined links, specifically:
acquiring transmission parameters of a plurality of communication links and transmission quantity of encrypted data;
calculating the load upper limit value of the communication link according to the transmission parameters of the first communication link;
comparing the transmission amount of the encrypted data with the load upper limit value of the first communication link, and calculating the proportion of the transmission amount of the encrypted data;
if the proportion of the transmission quantity is larger than a preset proportion threshold value, generating the transmission quantity exceeding the proportion;
matching the second communication link according to the transmission quantity exceeding the proportion;
superposing the first communication link and the second communication link to generate a combined communication link;
the encrypted data is transmitted over the combined communication link.
When the transmission amount is larger than the load upper limit value of the first communication link, the first communication link cannot complete all transmission of the encrypted data, at the moment, the load upper limit value of the first communication link is subtracted from the transmission amount to obtain the residual transmission amount, the second communication link which is matched with the optimal transmission amount is matched with the residual transmission amount, a combined link of the first communication link and the second communication link is formed, the optimal transmission of the encrypted data is realized through the combined link, and the data loss of the data transmission is reduced while the transmission efficiency is improved.
According to an embodiment of the present application, further comprising:
acquiring transmission parameters of a communication link, and acquiring loss information of the communication link in real time;
calculating the generated heat according to the communication link loss information, and generating the temperature information of the watch battery in real time;
comparing the temperature information with preset temperature information to obtain a temperature change rate;
judging whether the temperature change rate is larger than a preset temperature change rate threshold value or not;
if the transmission parameters are larger than the preset transmission parameters, judging that the communication link is in overload operation, and adjusting the transmission parameters of the communication link;
if the communication link is smaller than the preset value, the communication link is judged to normally operate.
It should be noted that, by calculating the loss of the collected data in the transmission process and calculating the temperature change in real time, whether the communication link is overloaded in the data transmission process is judged by the temperature change, and the transmission parameters of the communication link are dynamically adjusted, so that the safety of data transmission is improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a wireless communication system based on the LoRa protocol according to some embodiments of the present application. In a second aspect, an embodiment of the present application provides a wireless communication system 4 based on the LoRa protocol, which includes: the memory 41 and the processor 42, the memory 41 includes a program of the wireless communication method based on the LoRa protocol, and when the program of the wireless communication method based on the LoRa protocol is executed by the processor, the following steps are implemented:
acquiring health monitoring data, and carrying out noise reduction treatment on the health monitoring data to obtain optimized monitoring data;
adding a mask to the optimized monitoring data to generate encrypted data;
carrying out communication link matching on the encrypted data to obtain a matching result;
judging whether the matching result is larger than a preset matching threshold value or not;
if the data is larger than the data, transmitting the encrypted data through a communication link;
if the data is smaller than the predetermined value, correction information is generated, the communication links are combined by the correction information, and the encrypted data is transmitted through the combined link.
It should be noted that, through carrying out noise reduction processing to health monitoring data, redundant data in the monitoring data is got rid of, improves data transmission's efficiency, simultaneously through carrying out encryption processing to monitoring data, matches best communication link to encrypting data, improves data transmission's security.
Furthermore, the LoRa can provide a longer communication distance which can reach several kilometers, and is suitable for wide area networks and remote communication requirements; the LoRa adopts a low-power consumption technology, so that the equipment can run for a long time, the service life of a battery is prolonged, and the LoRa is suitable for the equipment of the Internet of things requiring low power consumption; the LoRa can still keep stable communication connection under different signal intensities and interference environments through the self-adaptive rate and the modulation technology; the LoRa supports large-scale equipment connection, thousands of equipment can be connected at the same time, and large-scale Internet of things application is realized; the LoRa is capable of penetrating obstacles such as walls and buildings, enabling reliable communication in indoor and urban environments.
According to the embodiment of the application, health monitoring data are acquired, noise reduction treatment is carried out on the health monitoring data, and optimized monitoring data are obtained, specifically:
acquiring multi-source monitoring data, processing the monitoring data of the same acquisition source according to the same noise reduction mode to obtain a homologous data set, and generating different source data sets by different acquisition sources;
carrying out weight calculation on a plurality of different source data sets and obtaining corresponding weight coefficients;
multiplying the weight coefficient by corresponding different source data sets to generate data proportions;
and generating monitoring data according to the data proportion combination.
It should be noted that, by performing noise reduction on the monitoring data of the same acquisition source, integrating the monitoring data of different acquisition sources after the noise reduction processing is completed, and calculating the data proportion according to the weight coefficient, generating optimized monitoring data, and improving the accuracy of the monitoring data.
According to an embodiment of the present application, adding a mask to the optimized monitoring data generates encrypted data, and further includes:
acquiring encrypted data and generating a data transmission signal according to the encrypted data;
carrying out frequency spectrum shifting on the data transmission signal by the data transmission signal to generate a modulation parameter;
modulating the data transmission signal through the modulation parameters, and obtaining a modulation result;
judging whether the modulation result meets the requirement;
if the requirements are not met, generating feedback information, and adjusting the modulation parameters through the feedback information;
and if the requirements are met, receiving the modulation result through the receiving end, and demodulating and recovering the modulation result to obtain the encrypted data.
The data transmission signal is modulated to form data suitable for communication link transmission, so that transmission efficiency is improved, and in addition, the modulation parameters are corrected in real time according to the modulation result, so that the modulation effect is improved.
According to an embodiment of the present application, if the data is greater than the predetermined value, after the encrypted data is transmitted through the communication link, the method further includes:
receiving the encrypted data and generating transmission parameters of the communication link according to the encrypted data;
calculating the real-time transmission rate of the communication link through the transmission parameters;
performing difference calculation on the real-time transmission rate and a preset transmission rate to obtain a rate difference;
and compensating the transmission parameters of the communication link according to the rate difference.
According to the embodiment of the application, the transmission parameters of the communication link are compensated according to the rate difference value, specifically:
acquiring a real-time transmission rate of a communication link, and comparing the real-time transmission rate of the communication link with a preset transmission rate to obtain a transmission deviation rate;
if the transmission deviation rate is larger than the first threshold value and smaller than the second threshold value, generating first compensation information, and compensating the transmission parameters of the communication link according to the first compensation information;
if the transmission deviation rate is greater than or equal to a second threshold value, generating second compensation information, and compensating the transmission parameters of the communication link according to the second compensation information;
the first threshold is less than the second threshold.
By judging the transmission deviation rate of the communication link, different compensations are carried out according to different deviation rates, so that the dynamic adjustment of transmission parameters is realized, the transmission rate of the communication link is improved, the communication link can transmit the monitoring data fastest, and the time delay of the monitoring data is reduced.
According to the embodiment of the application, if the data is smaller than the data, the correction information is generated, the communication links are combined through the correction information, and the encrypted data is transmitted through the combined links, specifically:
acquiring transmission parameters of a plurality of communication links and transmission quantity of encrypted data;
calculating the load upper limit value of the communication link according to the transmission parameters of the first communication link;
comparing the transmission amount of the encrypted data with the load upper limit value of the first communication link, and calculating the proportion of the transmission amount of the encrypted data;
if the proportion of the transmission quantity is larger than a preset proportion threshold value, generating the transmission quantity exceeding the proportion;
matching the second communication link according to the transmission quantity exceeding the proportion;
superposing the first communication link and the second communication link to generate a combined communication link;
the encrypted data is transmitted over the combined communication link.
When the transmission amount is larger than the load upper limit value of the first communication link, the first communication link cannot complete all transmission of the encrypted data, at the moment, the load upper limit value of the first communication link is subtracted from the transmission amount to obtain the residual transmission amount, the second communication link which is matched with the optimal transmission amount is matched with the residual transmission amount, a combined link of the first communication link and the second communication link is formed, the optimal transmission of the encrypted data is realized through the combined link, and the data loss of the data transmission is reduced while the transmission efficiency is improved.
According to an embodiment of the present application, further comprising:
acquiring transmission parameters of a communication link, and acquiring loss information of the communication link in real time;
calculating the generated heat according to the communication link loss information, and generating the temperature information of the watch battery in real time;
comparing the temperature information with preset temperature information to obtain a temperature change rate;
judging whether the temperature change rate is larger than a preset temperature change rate threshold value or not;
if the transmission parameters are larger than the preset transmission parameters, judging that the communication link is in overload operation, and adjusting the transmission parameters of the communication link;
if the communication link is smaller than the preset value, the communication link is judged to normally operate.
It should be noted that, by calculating the loss of the collected data in the transmission process and calculating the temperature change in real time, whether the communication link is overloaded in the data transmission process is judged by the temperature change, and the transmission parameters of the communication link are dynamically adjusted, so that the safety of data transmission is improved.
In a third aspect, the present application provides a computer readable storage medium, the readable storage medium including a wireless communication method program based on the LoRa protocol, the wireless communication method program based on the LoRa protocol implementing the steps of the wireless communication method based on the LoRa protocol as any one of the above steps when executed by a processor.
According to the wireless communication method, system and medium based on the LoRa protocol, the health monitoring data is obtained and noise reduction treatment is carried out on the health monitoring data to obtain optimized monitoring data; adding a mask to the optimized monitoring data to generate encrypted data; carrying out communication link matching on the encrypted data to obtain a matching result; judging whether the matching result is larger than a preset matching threshold value or not; if the data is larger than the data, transmitting the encrypted data through a communication link; if the data is smaller than the data, generating correction information, combining the communication links through the correction information, and transmitting the encrypted data through the combined links; the safety of data transmission is improved by carrying out noise reduction and encryption processing on the health monitoring data, and meanwhile, the transmission efficiency of the data is improved by selecting the optimally matched communication link for the encrypted data, so that the remote wireless communication of the data is realized.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of units is only one logical function division, and there may be other divisions in actual implementation, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present application may be stored in a readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the embodiments of the present application may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.

Claims (10)

1. A wireless communication method based on the LoRa protocol, comprising:
acquiring health monitoring data, and carrying out noise reduction treatment on the health monitoring data to obtain optimized monitoring data;
adding a mask to the optimized monitoring data to generate encrypted data;
carrying out communication link matching on the encrypted data to obtain a matching result;
judging whether the matching result is larger than a preset matching threshold value or not;
if the data is larger than the data, transmitting the encrypted data through a communication link;
if the data is smaller than the predetermined value, correction information is generated, the communication links are combined by the correction information, and the encrypted data is transmitted through the combined link.
2. The wireless communication method based on the LoRa protocol according to claim 1, wherein health monitoring data is obtained, noise reduction processing is performed on the health monitoring data, and optimized monitoring data is obtained, specifically:
acquiring multi-source monitoring data, processing the monitoring data of the same acquisition source according to the same noise reduction mode to obtain a homologous data set, and generating different source data sets by different acquisition sources;
carrying out weight calculation on a plurality of different source data sets and obtaining corresponding weight coefficients;
multiplying the weight coefficient by corresponding different source data sets to generate data proportions;
and generating monitoring data according to the data proportion combination.
3. The method of claim 2, wherein adding a mask to the optimized monitoring data to generate encrypted data, further comprises:
acquiring encrypted data and generating a data transmission signal according to the encrypted data;
carrying out frequency spectrum shifting on the data transmission signal by the data transmission signal to generate a modulation parameter;
modulating the data transmission signal through the modulation parameters, and obtaining a modulation result;
judging whether the modulation result meets the requirement;
if the requirements are not met, generating feedback information, and adjusting the modulation parameters through the feedback information;
and if the requirements are met, receiving the modulation result through the receiving end, and demodulating and recovering the modulation result to obtain the encrypted data.
4. The method of claim 3, further comprising, after transmitting the encrypted data over the communication link if the received encrypted data is greater than the received encrypted data,:
receiving the encrypted data and generating transmission parameters of the communication link according to the encrypted data;
calculating the real-time transmission rate of the communication link through the transmission parameters;
performing difference calculation on the real-time transmission rate and a preset transmission rate to obtain a rate difference;
and compensating the transmission parameters of the communication link according to the rate difference.
5. The method for wireless communication based on the LoRa protocol according to claim 4, wherein the compensating the transmission parameters of the communication link according to the rate difference is specifically:
acquiring a real-time transmission rate of a communication link, and comparing the real-time transmission rate of the communication link with a preset transmission rate to obtain a transmission deviation rate;
if the transmission deviation rate is larger than the first threshold value and smaller than the second threshold value, generating first compensation information, and compensating the transmission parameters of the communication link according to the first compensation information;
if the transmission deviation rate is greater than or equal to a second threshold value, generating second compensation information, and compensating the transmission parameters of the communication link according to the second compensation information;
the first threshold is less than the second threshold.
6. The wireless communication method according to claim 5, wherein if the received data is less than the predetermined threshold, generating correction information, combining the communication links by the correction information, and transmitting encrypted data by the combined links, specifically:
acquiring transmission parameters of a plurality of communication links and transmission quantity of encrypted data;
calculating the load upper limit value of the communication link according to the transmission parameters of the first communication link;
comparing the transmission amount of the encrypted data with the load upper limit value of the first communication link, and calculating the proportion of the transmission amount of the encrypted data;
if the proportion of the transmission quantity is larger than a preset proportion threshold value, generating the transmission quantity exceeding the proportion;
matching the second communication link according to the transmission quantity exceeding the proportion;
superposing the first communication link and the second communication link to generate a combined communication link;
the encrypted data is transmitted over the combined communication link.
7. A wireless communication system based on the LoRa protocol, the system comprising: the memory comprises a program of a wireless communication method based on the LoRa protocol, and the program of the wireless communication method based on the LoRa protocol realizes the following steps when being executed by the processor:
acquiring health monitoring data, and carrying out noise reduction treatment on the health monitoring data to obtain optimized monitoring data;
adding a mask to the optimized monitoring data to generate encrypted data;
carrying out communication link matching on the encrypted data to obtain a matching result;
judging whether the matching result is larger than a preset matching threshold value or not;
if the data is larger than the data, transmitting the encrypted data through a communication link;
if the data is smaller than the predetermined value, correction information is generated, the communication links are combined by the correction information, and the encrypted data is transmitted through the combined link.
8. The wireless communication system based on the LoRa protocol according to claim 7, wherein the health monitoring data is obtained, and the health monitoring data is subjected to noise reduction treatment to obtain optimized monitoring data, which specifically includes:
acquiring multi-source monitoring data, processing the monitoring data of the same acquisition source according to the same noise reduction mode to obtain a homologous data set, and generating different source data sets by different acquisition sources;
carrying out weight calculation on a plurality of different source data sets and obtaining corresponding weight coefficients;
multiplying the weight coefficient by corresponding different source data sets to generate data proportions;
and generating monitoring data according to the data proportion combination.
9. The wireless communication system according to claim 8, wherein adding a mask to the optimized monitoring data generates encrypted data, further comprising:
acquiring encrypted data and generating a data transmission signal according to the encrypted data;
carrying out frequency spectrum shifting on the data transmission signal by the data transmission signal to generate a modulation parameter;
modulating the data transmission signal through the modulation parameters, and obtaining a modulation result;
judging whether the modulation result meets the requirement;
if the requirements are not met, generating feedback information, and adjusting the modulation parameters through the feedback information;
and if the requirements are met, receiving the modulation result through the receiving end, and demodulating and recovering the modulation result to obtain the encrypted data.
10. A computer readable storage medium, wherein a radio communication method program based on the LoRa protocol is included in the computer readable storage medium, and when the radio communication method program based on the LoRa protocol is executed by a processor, the steps of the radio communication method based on the LoRa protocol according to any one of claims 1 to 6 are implemented.
CN202311251096.4A 2023-09-26 2023-09-26 Wireless communication method, system and medium based on LoRa protocol Active CN116996871B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311251096.4A CN116996871B (en) 2023-09-26 2023-09-26 Wireless communication method, system and medium based on LoRa protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311251096.4A CN116996871B (en) 2023-09-26 2023-09-26 Wireless communication method, system and medium based on LoRa protocol

Publications (2)

Publication Number Publication Date
CN116996871A true CN116996871A (en) 2023-11-03
CN116996871B CN116996871B (en) 2023-12-22

Family

ID=88523539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311251096.4A Active CN116996871B (en) 2023-09-26 2023-09-26 Wireless communication method, system and medium based on LoRa protocol

Country Status (1)

Country Link
CN (1) CN116996871B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110022261A (en) * 2019-05-20 2019-07-16 北京邮电大学 Multi-path transmission method and apparatus based on SCTP-CMT transport protocol
CN111106964A (en) * 2017-04-28 2020-05-05 华为技术有限公司 Method and apparatus for configuring link group
CN111526607A (en) * 2020-04-14 2020-08-11 北京小米移动软件有限公司 Communication data processing method and device, terminal equipment and storage medium
US20230208507A1 (en) * 2020-06-18 2023-06-29 Datang Mobile Communications Equipment Co., Ltd. Transmission signal compensation method, network side device and terminal
CN116506953A (en) * 2023-05-05 2023-07-28 南通润东计算机科技发展有限公司 Multi-channel switching method, system and medium applied to intelligent communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111106964A (en) * 2017-04-28 2020-05-05 华为技术有限公司 Method and apparatus for configuring link group
CN110022261A (en) * 2019-05-20 2019-07-16 北京邮电大学 Multi-path transmission method and apparatus based on SCTP-CMT transport protocol
CN111526607A (en) * 2020-04-14 2020-08-11 北京小米移动软件有限公司 Communication data processing method and device, terminal equipment and storage medium
US20230208507A1 (en) * 2020-06-18 2023-06-29 Datang Mobile Communications Equipment Co., Ltd. Transmission signal compensation method, network side device and terminal
CN116506953A (en) * 2023-05-05 2023-07-28 南通润东计算机科技发展有限公司 Multi-channel switching method, system and medium applied to intelligent communication system

Also Published As

Publication number Publication date
CN116996871B (en) 2023-12-22

Similar Documents

Publication Publication Date Title
US20080160921A1 (en) Method and System for Mitigating Interference in Communication System
US20140106801A1 (en) Transceiver operating in a wireless communications network, a system and method for transmission in the network
US20140118163A1 (en) Data processing apparatus and data processing method thereof for use in power line communications
CN110650487B (en) Internet of things edge computing configuration method based on data privacy protection
CN105517136A (en) Method for dynamically adjusting transmitting power to wireless terminal
CN111683078A (en) Block chain communication node verification method and device
CA2945253C (en) Methods for encoding and decoding frames in a telecommunication network
CN110380762B (en) Large-scale access method integrating calculation and communication
CN112260796B (en) Method and device for controlling interference signal emission
CN111866904A (en) Optimal distribution method, device, terminal and storage medium for energy efficiency of relay network
Tekin et al. The impact of error control schemes on lifetime of energy harvesting wireless sensor networks in industrial environments
CN110708698A (en) Physical layer secure transmission method of heterogeneous wireless sensor network based on wireless energy-carrying communication
CN112050742A (en) Landslide crack displacement self-adaptive monitoring system and method
CN116996871B (en) Wireless communication method, system and medium based on LoRa protocol
Courjault et al. How robust is a LoRa communication against impulsive noise?
Jain et al. A fuzzy decision scheme for relay selection in cooperative wireless sensor network
de Souza et al. Code rate optimization for energy efficient delay constrained underwater acoustic communications
Chen et al. Exploiting rateless codes and cross-layer optimization for low-power wide-area networks
CN109511111A (en) A kind of method of energy acquisition Internet of things system data security transmission
Zong et al. Transmission control over satellite network for marine environmental monitoring system
CN212674073U (en) Landslide crack displacement self-adaptive monitoring system
CN110730025B (en) Incremental relay method suitable for energy-carrying non-orthogonal multiple access communication system
Al-Abiad et al. Cross-layer network codes for completion time minimization in device-to-device networks
Agarwal et al. Energy‐efficient UOWC‐RF systems with SLIPT
Lv et al. Exploiting rateless codes and cross-layer optimization for low-power wide-area networks

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
CP03 Change of name, title or address

Address after: 4208, Tower A, Hongrongyuan North Station Center, Minzhi Street North Station Community, Longhua District, Shenzhen City, Guangdong Province, 518000

Patentee after: Shenzhen Weike Technology Co.,Ltd.

Country or region after: China

Address before: 4208, Tower A, Hongrongyuan North Station Center, Minzhi Street North Station Community, Longhua District, Shenzhen City, Guangdong Province, 518000

Patentee before: SHENZHEN WAKE UP TECHNOLOGY CO.,LTD.

Country or region before: China

CP03 Change of name, title or address