CN110365544A - A kind of LORA concentrator and its data transmission method, system - Google Patents

A kind of LORA concentrator and its data transmission method, system Download PDF

Info

Publication number
CN110365544A
CN110365544A CN201910734718.6A CN201910734718A CN110365544A CN 110365544 A CN110365544 A CN 110365544A CN 201910734718 A CN201910734718 A CN 201910734718A CN 110365544 A CN110365544 A CN 110365544A
Authority
CN
China
Prior art keywords
lora
node
concentrator
sent
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.)
Withdrawn
Application number
CN201910734718.6A
Other languages
Chinese (zh)
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.)
Weihai Jing Jing Tong Electronic Technology Co Ltd
Weihai Jingxun Changtong Electronic Technology Co Ltd
Original Assignee
Weihai Jing Jing Tong Electronic 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 Weihai Jing Jing Tong Electronic Technology Co Ltd filed Critical Weihai Jing Jing Tong Electronic Technology Co Ltd
Priority to CN201910734718.6A priority Critical patent/CN110365544A/en
Publication of CN110365544A publication Critical patent/CN110365544A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • Cardiology (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a kind of LORA concentrator and its data transmission methods, system, including S1:LORA node initializing;S2:LORA Node registry;S3: corresponding data-transmission mode is selected according to the difference of LORA node type, node type is non real-time transmission type, LORA concentrator judges whether LORA node is online, LORA node is in off-line state, then LORA concentrator returns to server error code, LORA node is online, LORA concentrator stores the parameter configuration order that server is sent, and it is sent to server and waits instruction, after the completion of LORA node uploads data, the parameter configuration order that server is sent is sent to LORA node again by LORA concentrator, if node type is real-time Transmission type, the parameter configuration order that then server is sent passes through LORA concentrator immediately and is sent to LORA node.

Description

A kind of LORA concentrator and its data transmission method, system
Technical field
The invention belongs to the radio transmission technical fields of data, are related to the transmission method and system of a kind of wireless data, especially It is a kind of LORA concentrator and its data transmission method, system.
Background technique
In the prior art, the information that traditional LORA concentrator can only send server is packaged and is sent to LORA Node, and LORA node can only often carry out the upload of data due to the requirement of oneself power consumption.
The data transfer mode that LORA concentrator uses at present, strongly limits the function of LORA node, more can not be remote Journey removes the relevant parameter of setting node.This is in place of the deficiencies in the prior art.
In view of this, present invention offer designs a kind of LORA concentrator and its data transmission method, system;Realize long-range clothes The parameter of LORA node is arranged by LORA concentrator for business device, to promote the function of LORA node itself.
Summary of the invention
It is an object of the present invention to for the above-mentioned transmission side data existing in the prior art used by LORA concentrator The limitation of formula strongly limits the function of LORA node, more can not remotely go the defect of the relevant parameter of setting node, provide A kind of LORA concentrator and its data transmission method, system are designed, to solve the above technical problems.
To achieve the above object, the present invention provides following technical scheme:
A kind of data transmission method of LORA concentrator, comprising the following steps:
The step of S1:LORA node initializing, by frequency, bandwidth and rate that LORA node data transmits be set as with LORA concentrator first passage data transmit identical frequency, bandwidth and rate;And by LORA concentrator and LORA node Synchronization character is set as the concentrator ID of this LORA concentrator;Different LORA concentrators, and realization pair are distinguished by concentrator ID It is mutually isolated between different LORA concentrators;
Node ID is sent to LORA concentrator by the step of S2:LORA Node registry, LORA node, and LORA concentrator is being received To after LORA node ID, traversal equipment chained list searches whether LORA node ID has existed, if there is directly returning to the chained list The parameter of node;
If it does not, insertion operation is carried out to LORA node with the presence or absence of vacancy according to equipment chain table index, if set There are vacancies for standby chain table index, then LORA node are inserted into vacant locations, otherwise LORA node is inserted into the tail of equipment chained list Portion end;
S3: selecting corresponding data-transmission mode according to the difference of LORA node type, if node type is non real-time Transport-type thens follow the steps S3.1, if node type is real-time Transmission type, thens follow the steps S3.2;
S3.1:LORA concentrator judges whether LORA node is online, if LORA node is in off-line state, LORA collection Middle device returns to server error code, if LORA node is online, the ginseng that LORA concentrator sends server Number configuration order is stored, and is sent to server and waited instruction, after the completion of LORA node uploads data, LORA concentrator The parameter configuration order that server is sent is sent to LORA node again, the two-way under LORA node low-power consumption is realized with this Letter;
S3.2: the parameter configuration order that server is sent passes through LORA concentrator immediately and is sent to LORA node.
Preferably, all storage is literary to configuration by all LORA nodal informations for LORA concentrator in the step S2 In part, all LORA nodal informations can be added to equipment chained list when being switched on by LORA concentrator, the equipment chained list and configuration text Part content be it is synchronous, the change of equipment chained list can change the change of configuration file.Each LORA concentrator is subordinated to this The LORA node of LORA concentrator, and the LORA node for being subordinated to the LORA concentrator is numbered and is uniformly processed;It is convenient for The deletion and increase of LORA node.
Preferably, LORA node is switched to reception pattern after the completion of uploading data in the step S3.1 at once, wait The transmission of server command enters sleep state more than LORA node after the waiting time.LORA concentrator passed through in the waiting time Interior transmission order, which is realized, configures the parameter of LORA node, reduces the power consumption of LORA node.
Preferably, whether LORA concentrator judges LORA node online by following steps reality in the step S3.1 It is existing:
The timing of LORA node sends heartbeat data packets to LORA concentrator, when LORA concentrator is after exceeding the predetermined time, Still heartbeat data packets are not received, then defaults the LORA node and is in off-line state.Determination LORA node rapidly and efficiently is It is no to be online.
Preferably, the parameter configuration order that server is sent is sent to by LORA concentrator in the step S3.1 LORA node returns to normal data packet to LORA concentrator if LORA node is normally received data;If LORA node is not Correct data is received, then returns to wrong data packet to LORA concentrator, LORA concentrator is sent out again after receiving wrong data packet Send parameter configuration order to LORA node, when the number that LORA concentrator retransmits parameter configuration order exceeds LORA concentrator Pre-determined number, and when LORA node does not receive correct data still, LORA concentrator uploads wrong data packet to server.It is logical It crosses multiplicating to send, the probability that LORA node receives order can be increased substantially;And this repetition is merely present in Between LORA concentrator and LORA node, it is not related to server, saves the resource of server.
Preferably, three LORA transmission channels are arranged in LORA concentrator in the step S3, the parameter of transmission channel is logical The administration page crossed into LORA concentrator is configured, by the frequency, bandwidth and speed of three transmission channels when parameter setting Rate parameter is disposed as different numerical value.
Prevent the signal interference of same frequency and the occupancy of bandwidth.When LORA node distributes transmission channel, three can be sequentially allocated LORA node is given in channel, reduces the probability that equipment uploads parallel with this.
A kind of data transmission system of LORA concentrator, comprising:
LORA node initializing module sets frequency, bandwidth and rate that LORA node data transmits to and LORA Concentrator first passage data transmit identical frequency, bandwidth and rate;And it is LORA concentrator is synchronous with LORA node Word is set as the concentrator ID of this LORA concentrator;Different LORA concentrators is distinguished by concentrator ID, and is realized to difference It is mutually isolated between LORA concentrator;
Node ID is sent to LORA concentrator by LORA Node registry module, LORA node, and LORA concentrator is receiving After LORA node ID, traversal equipment chained list searches whether LORA node ID has existed, if there is directly returning to the chained list section The parameter of point;
If it does not, insertion operation is carried out to LORA node with the presence or absence of vacancy according to equipment chain table index, if set There are vacancies for standby chain table index, then LORA node are inserted into vacant locations, otherwise LORA node is inserted into the tail of equipment chained list Portion end;
Data transmission module selects corresponding data-transmission mode according to the difference of LORA node type, if node class Type is non real-time transmission type, then LORA concentrator judges whether LORA node is online, if LORA node is in off-line state, Then LORA concentrator returns to server error code, if LORA node is online, LORA concentrator is by server The parameter configuration order of transmission is stored, and is sent to server and waited instruction, after the completion of LORA node uploads data, The parameter configuration order that server is sent is sent to LORA node again by LORA concentrator, is realized under LORA node low-power consumption with this Two-way communication;If node type is real-time Transmission type, the parameter configuration order that server is sent passes through LORA immediately Concentrator is sent to LORA node.
Preferably, LORA concentrator all deposits all LORA nodal informations in the LORA Node registry module It stores up in configuration file, all LORA nodal informations can be added to equipment chained list when being switched on by LORA concentrator, the equipment chain Table with configuration file content be it is synchronous, the change of equipment chained list can change the change of configuration file.Each LORA concentrator There is the LORA node for being subordinated to the LORA concentrator, and the LORA node for being subordinated to the LORA concentrator is numbered at unified Reason;Convenient for the deletion and increase of LORA node.
Preferably, whether LORA concentrator judges LORA node online by with lower section in the data transmission module Formula is realized:
The timing of LORA node sends heartbeat data packets to LORA concentrator, when LORA concentrator is after exceeding the predetermined time, Still heartbeat data packets are not received, then defaults the LORA node and is in off-line state.Determination LORA node rapidly and efficiently is It is no to be online.
A kind of LORA concentrator, which is characterized in that LORA concentrator includes processor, memory, wherein the memory is used In storage computer program, the processor from memory for calling and running the computer program, so that terminal executes State data transmission method.
The beneficial effects of the present invention are by technical solution provided by the present application, LORA node is uploaded in addition to data, also Have: node channel distributes automatically, it can be seen that node whether online (heartbeat packet), checking and deletion of node information on the page; When not working, LORA node enters suspend mode, reduces power consumption;Can quickly LORA node be initialized and be registered;It adopts Different number biography sides is selected according to the difference of LORA node data transport-type with the data transfer mode in the technical program Formula makes full use of the data channel between LORA node and LORA concentrator to carry out several biographies, gives full play to the data of LORA node Transfer function, and realize the configuration that LORA node parameter is set by remote controlled manner.
In addition, design principle of the present invention is reliable, structure is simple, has very extensive application prospect.
It can be seen that compared with prior art, the present invention have substantive distinguishing features outstanding and it is significant ground it is progressive, implementation Beneficial effect be also obvious.
Detailed description of the invention
Fig. 1 is a kind of control flow chart of the data transmission method of LORA concentrator provided by the invention.
Fig. 2 is a kind of functional block diagram of the data transmission system of LORA concentrator provided by the invention.
Wherein, 1-LORA node initializing module, 2-LORA Node registry module, 3- data transmission module.
Specific embodiment
The present invention will be described in detail with reference to the accompanying drawing and by specific embodiment, and following embodiment is to the present invention Explanation, and the invention is not limited to following implementation.
Embodiment 1:
As shown in Figure 1, a kind of data transmission method of LORA concentrator provided in this embodiment, comprising the following steps:
The step of S1:LORA node initializing, by frequency, bandwidth and rate that LORA node data transmits be set as with LORA concentrator first passage data transmit identical frequency, bandwidth and rate;And by LORA concentrator and LORA node Synchronization character is set as the concentrator ID of this LORA concentrator;Different LORA concentrators, and realization pair are distinguished by concentrator ID It is mutually isolated between different LORA concentrators;
Node ID is sent to LORA concentrator by the step of S2:LORA Node registry, LORA node, and LORA concentrator is being received To after LORA node ID, traversal equipment chained list searches whether LORA node ID has existed, if there is directly returning to the chained list The parameter of node;
If it does not, insertion operation is carried out to LORA node with the presence or absence of vacancy according to equipment chain table index, if set There are vacancies for standby chain table index, then LORA node are inserted into vacant locations, otherwise LORA node is inserted into the tail of equipment chained list Portion end;
In the step, by all LORA nodal informations, all into configuration file, LORA is concentrated LORA concentrator for storage All LORA nodal informations can be added to equipment chained list when being switched on by device, which is synchronous with configuration file content , the change of equipment chained list can change the change of configuration file.Each LORA concentrator, which has, is subordinated to the LORA concentrator LORA node, and the LORA node for being subordinated to the LORA concentrator is numbered and is uniformly processed;Convenient for the deletion of LORA node And increase.
S3: selecting corresponding data-transmission mode according to the difference of LORA node type, if node type is non real-time Transport-type thens follow the steps S3.1, if node type is real-time Transmission type, thens follow the steps S3.2;In the step, Three LORA transmission channels are arranged in LORA concentrator, and the parameter of transmission channel is carried out by entering the administration page of LORA concentrator The frequency, bandwidth and rate parameter of three transmission channels are disposed as different numerical value when parameter setting by setting.It prevents with frequency The signal interference of rate and the occupancy of bandwidth.When LORA node distributes transmission channel, three channels can be sequentially allocated and give LORA node, The probability that equipment uploads parallel is reduced with this.
S3.1:LORA concentrator judges whether LORA node is online, if LORA node is in off-line state, LORA collection Middle device returns to server error code, if LORA node is online, the ginseng that LORA concentrator sends server Number configuration order is stored, and is sent to server and waited instruction, after the completion of LORA node uploads data, LORA concentrator The parameter configuration order that server is sent is sent to LORA node again, the two-way under LORA node low-power consumption is realized with this Letter;
In step S3.1, LORA node is switched to reception pattern after the completion of uploading data at once, waiting for server order It sends, enters sleep state more than LORA node after the waiting time.LORA concentrator is real by sending order within the waiting time Now the parameter of LORA node is configured, reduces the power consumption of LORA node.
In step S3.1, LORA concentrator judges whether LORA node is realized by following steps online:
The timing of LORA node sends heartbeat data packets to LORA concentrator, when LORA concentrator is after exceeding the predetermined time, Still heartbeat data packets are not received, then defaults the LORA node and is in off-line state.Determination LORA node rapidly and efficiently is It is no to be online.
In step S3.1, the parameter configuration order that server is sent is sent to LORA node by LORA concentrator, if LORA node is normally received data, then returns to normal data packet to LORA concentrator;If LORA node does not receive correct data, Wrong data packet then is returned to LORA concentrator, LORA concentrator retransmits parameter configuration order after receiving wrong data packet To LORA node, when the number that LORA concentrator retransmits parameter configuration order exceeds LORA concentrator pre-determined number, and When LORA node does not receive correct data still, LORA concentrator uploads wrong data packet to server.Pass through multiplicating It sends, the probability that LORA node receives order can be increased substantially;And this repetition is merely present in LORA concentrator Between LORA node, it is not related to server, saves the resource of server.
S3.2: the parameter configuration order that server is sent passes through LORA concentrator immediately and is sent to LORA node.
Embodiment 2:
As shown in Fig. 2, the present embodiment provides a kind of data transmission systems of LORA concentrator, comprising:
LORA node initializing module sets frequency, bandwidth and rate that LORA node data transmits to and LORA Concentrator first passage data transmit identical frequency, bandwidth and rate;And it is LORA concentrator is synchronous with LORA node Word is set as the concentrator ID of this LORA concentrator;Different LORA concentrators is distinguished by concentrator ID, and is realized to difference It is mutually isolated between LORA concentrator;
Node ID is sent to LORA concentrator by LORA Node registry module, LORA node, and LORA concentrator is receiving After LORA node ID, traversal equipment chained list searches whether LORA node ID has existed, if there is directly returning to the chained list section The parameter of point;
If it does not, insertion operation is carried out to LORA node with the presence or absence of vacancy according to equipment chain table index, if set There are vacancies for standby chain table index, then LORA node are inserted into vacant locations, otherwise LORA node is inserted into the tail of equipment chained list Portion end.
In the LORA Node registry module, all storage is literary to configuration by all LORA nodal informations for LORA concentrator In part, all LORA nodal informations can be added to equipment chained list when being switched on by LORA concentrator, the equipment chained list and configuration text Part content be it is synchronous, the change of equipment chained list can change the change of configuration file.Each LORA concentrator is subordinated to this The LORA node of LORA concentrator, and the LORA node for being subordinated to the LORA concentrator is numbered and is uniformly processed;It is convenient for The deletion and increase of LORA node.
Data transmission module selects corresponding data-transmission mode according to the difference of LORA node type, if node class Type is non real-time transmission type, then LORA concentrator judges whether LORA node is online, if LORA node is in off-line state, Then LORA concentrator returns to server error code, if LORA node is online, LORA concentrator is by server The parameter configuration order of transmission is stored, and is sent to server and waited instruction, after the completion of LORA node uploads data, The parameter configuration order that server is sent is sent to LORA node again by LORA concentrator, is realized under LORA node low-power consumption with this Two-way communication;If node type is real-time Transmission type, the parameter configuration order that server is sent passes through LORA immediately Concentrator is sent to LORA node.
In data transmission module, LORA concentrator judges whether LORA node is accomplished by the following way online:
The timing of LORA node sends heartbeat data packets to LORA concentrator, when LORA concentrator is after exceeding the predetermined time, Still heartbeat data packets are not received, then defaults the LORA node and is in off-line state.Determination LORA node rapidly and efficiently is It is no to be online.
Embodiment 3:
The present embodiment provides a kind of LORA concentrators, which is characterized in that and LORA concentrator includes processor, memory, In, for storing computer program, which makes the memory for the computer program to be called and run from memory It obtains terminal and executes above-mentioned data transmission method.
Disclosed above is only the preferred embodiment of the present invention, but the present invention is not limited to this, any this field What technical staff can think does not have creative variation, and without departing from the principles of the present invention made by several improvement and Retouching, should all be within the scope of the present invention.

Claims (10)

1. a kind of data transmission method of LORA concentrator, which comprises the following steps:
The step of S1:LORA node initializing, sets frequency, bandwidth and rate that LORA node data transmits to and LORA Concentrator first passage data transmit identical frequency, bandwidth and rate;And it is LORA concentrator is synchronous with LORA node Word is set as the concentrator ID of this LORA concentrator;
Node ID is sent to LORA concentrator by the step of S2:LORA Node registry, LORA node, and LORA concentrator is receiving After LORA node ID, traversal equipment chained list searches whether LORA node ID has existed, if there is directly returning to the chained list section The parameter of point;
If it does not, insertion operation is carried out to LORA node with the presence or absence of vacancy according to equipment chain table index, if equipment chain There are vacancies for table index, then LORA node are inserted into vacant locations, otherwise LORA node is inserted into the tail portion end of equipment chained list End;
S3: selecting corresponding data-transmission mode according to the difference of LORA node type, if node type is non real-time transmission Type thens follow the steps S3.1, if node type is real-time Transmission type, thens follow the steps S3.2;
S3.1:LORA concentrator judges whether LORA node is online, if LORA node is in off-line state, LORA concentrator Server error code is returned to, if LORA node is online, LORA concentrator matches the parameter that server is sent It sets order to be stored, and is sent to server and wait instruction, after the completion of LORA node uploads data, LORA concentrator again will The parameter configuration order that server is sent is sent to LORA node,
S3.2: the parameter configuration order that server is sent passes through LORA concentrator immediately and is sent to LORA node.
2. a kind of data transmission method of LORA concentrator according to claim 1, which is characterized in that the step S2 In, all into configuration file, LORA concentrator can be by institute when being switched on for storage by all LORA nodal informations for LORA concentrator Some LORA nodal informations are added to equipment chained list, the equipment chained list with configuration file content be it is synchronous, equipment chained list changes Become the change that can change configuration file.
3. a kind of data transmission method of LORA concentrator according to claim 2, which is characterized in that the step S3.1 In, LORA node is switched to reception pattern after the completion of uploading data at once, and the transmission of waiting for server order is more than the waiting time LORA node enters sleep state afterwards.
4. a kind of data transmission method of LORA concentrator according to claim 3, which is characterized in that the step S3.1 In, LORA concentrator judges whether LORA node is realized by following steps online:
The timing of LORA node sends heartbeat data packets to LORA concentrator, when LORA concentrator is after exceeding the predetermined time, still Heartbeat data packets are not received, then defaults the LORA node and is in off-line state.
5. a kind of data transmission method of LORA concentrator according to claim 4, which is characterized in that the step S3.1 In, the parameter configuration order that server is sent is sent to LORA node by LORA concentrator, if LORA node is normally received number According to then to LORA concentrator return normal data packet;If LORA node does not receive correct data, returned to LORA concentrator Wrong data packet, LORA concentrator retransmit parameter configuration order to LORA node after receiving wrong data packet, work as LORA The number that concentrator retransmits parameter configuration order exceeds LORA concentrator pre-determined number, and LORA node does not receive still When correct data, LORA concentrator uploads wrong data packet to server.
6. a kind of data transmission method of LORA concentrator according to claim 5, which is characterized in that the step S3 In, three LORA transmission channels are arranged in LORA concentrator, and the parameter of transmission channel passes through the administration page into LORA concentrator It is configured, the frequency, bandwidth and rate parameter of three transmission channels is disposed as different numerical value when parameter setting.
7. a kind of data transmission system of LORA concentrator characterized by comprising
Frequency, bandwidth and rate that LORA node data transmits are set as concentrating with LORA by LORA node initializing module Device first passage data transmit identical frequency, bandwidth and rate;And the synchronization character of LORA concentrator and LORA node is set It is set to the concentrator ID of this LORA concentrator;
Node ID is sent to LORA concentrator by LORA Node registry module, LORA node, and LORA concentrator is receiving LORA section After point ID, traversal equipment chained list searches whether LORA node ID has existed, if there is the ginseng for directly returning to the chained list node Number;
If it does not, insertion operation is carried out to LORA node with the presence or absence of vacancy according to equipment chain table index, if equipment chain There are vacancies for table index, then LORA node are inserted into vacant locations, otherwise LORA node is inserted into the tail portion end of equipment chained list End;
Data transmission module selects corresponding data-transmission mode according to the difference of LORA node type, if node type is Non real-time transmission type, then LORA concentrator judges whether LORA node is online, if LORA node is in off-line state, LORA concentrator returns to server error code, if LORA node is online, LORA concentrator sends out server The parameter configuration order sent is stored, and is sent to server and waited instruction, after the completion of LORA node uploads data, LORA The parameter configuration order that server is sent is sent to LORA node again by concentrator, if node type is real-time Transmission type, The parameter configuration order that then server is sent passes through LORA concentrator immediately and is sent to LORA node.
8. a kind of data transmission system of LORA concentrator according to claim 7, which is characterized in that the LORA node In registration module, all storage is into configuration file by all LORA nodal informations for LORA concentrator, the booting of LORA concentrator When all LORA nodal informations can be added to equipment chained list, which is synchronous, equipment with configuration file content The change of chained list can change the change of configuration file.
9. a kind of data transmission system of LORA concentrator according to claim 8, which is characterized in that the data transmission In module, LORA concentrator judges whether LORA node is accomplished by the following way online:
The timing of LORA node sends heartbeat data packets to LORA concentrator, when LORA concentrator is after exceeding the predetermined time, still Heartbeat data packets are not received, then defaults the LORA node and is in off-line state.
10. a kind of LORA concentrator, which is characterized in that LORA concentrator includes processor, memory, wherein the memory is used In storage computer program, the processor from memory for calling and running the computer program, so that terminal executes State data transmission method.
CN201910734718.6A 2019-08-09 2019-08-09 A kind of LORA concentrator and its data transmission method, system Withdrawn CN110365544A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910734718.6A CN110365544A (en) 2019-08-09 2019-08-09 A kind of LORA concentrator and its data transmission method, system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910734718.6A CN110365544A (en) 2019-08-09 2019-08-09 A kind of LORA concentrator and its data transmission method, system

Publications (1)

Publication Number Publication Date
CN110365544A true CN110365544A (en) 2019-10-22

Family

ID=68223581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910734718.6A Withdrawn CN110365544A (en) 2019-08-09 2019-08-09 A kind of LORA concentrator and its data transmission method, system

Country Status (1)

Country Link
CN (1) CN110365544A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111292518A (en) * 2020-02-17 2020-06-16 上海威派格智慧水务股份有限公司 Management system of DTU data acquisition unit
CN112449006A (en) * 2020-11-12 2021-03-05 深圳防灾减灾技术研究院 Data transmission method, computer and medium for seismic station data acquisition unit and seismic table network central data server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111292518A (en) * 2020-02-17 2020-06-16 上海威派格智慧水务股份有限公司 Management system of DTU data acquisition unit
CN112449006A (en) * 2020-11-12 2021-03-05 深圳防灾减灾技术研究院 Data transmission method, computer and medium for seismic station data acquisition unit and seismic table network central data server
CN112449006B (en) * 2020-11-12 2023-04-07 深圳防灾减灾技术研究院 Data transmission method, computer and medium for seismic station data acquisition unit and seismic table network central data server

Similar Documents

Publication Publication Date Title
CN105450489B (en) The preferential efficient field bus systems of HEBus and communication means for realizing most short message of output
CN103428226B (en) Method and system for communication of user state and inner core
CN106341292A (en) Multi-point networking communication system
CN203827378U (en) Serial server
CN105743757B (en) The method of the free networking of RS485 communicating terminals
CN106502932B (en) Method based on interconnecting interface and its write operation and read operation between layered
CN103248526A (en) Communication equipment and method for achieving out-of-band monitoring and management, and master-slave switching method
CN104813600B (en) Sending method, method of reseptance, device and the communication equipment of signal
CN110365544A (en) A kind of LORA concentrator and its data transmission method, system
CN102891796A (en) Mining intelligent transmission gateway
CN201278536Y (en) Wireless sensor network multi-port gateway equipment with terminal function
CN107567107A (en) A kind of method and device for transmitting data
CN111836332A (en) Lora chain network communication method, Lora gateway and Lora chain network communication system
CN104184687A (en) Flow control method and hardware accelerator circuit of communication base-band processing
CN106292518A (en) Remote PLC monitoring and debugging system and method
CN102937944B (en) A kind of based on Arcnet serial server
CN102692642A (en) Seismic data transmission device based on receiver-transmitter of Ethernet physical layer
CN106571991A (en) Method and data for transmitting data
CN104333842A (en) Intelligent device program resource sharing method and system based on WIFI
CN104486187B (en) A kind of CAN communication device and method of dynamic synchronization
CN105791174B (en) The determination of line card determines processing method and processing device, the determination system of line card
CN203535551U (en) Data communication server
CN105245424B (en) The method that PROFIBUS DP and PROFINET communication network are interconnected by shared memory
CN104063350A (en) Satellite-borne CAN (controller area network) bus plug and play method
CN102082674B (en) Simulation method and simulation system for data channel

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20191022