CN106685855A - Data transmission method and data transmission device - Google Patents

Data transmission method and data transmission device Download PDF

Info

Publication number
CN106685855A
CN106685855A CN201710036124.9A CN201710036124A CN106685855A CN 106685855 A CN106685855 A CN 106685855A CN 201710036124 A CN201710036124 A CN 201710036124A CN 106685855 A CN106685855 A CN 106685855A
Authority
CN
China
Prior art keywords
data
communication modules
sent
lorawan communication
network state
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.)
Pending
Application number
CN201710036124.9A
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.)
Ennew Digital Technology Co Ltd
Original Assignee
Ennew Digital 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 Ennew Digital Technology Co Ltd filed Critical Ennew Digital Technology Co Ltd
Priority to CN201710036124.9A priority Critical patent/CN106685855A/en
Publication of CN106685855A publication Critical patent/CN106685855A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/626Queue scheduling characterised by scheduling criteria for service slots or service orders channel conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof

Landscapes

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

Abstract

The invention discloses a data transmission method and a data transmission device. The data transmission method includes judging whether a buffer region has first data to be transmitted or not; if yes, detecting a current network state through a LoRaWAN communication module; when the current network state meets data transmission conditions, transmitting the first data through the LoRaWAN communication module. The data transmission method has the advantages that if the data to be transmitted exist in a data transmission process, the data are stored in the buffer region, then whether the current network state meets the data transmission conditions or not is judged, and the data are transmitted if yes, so that the problem of data transmission failure or data loss possibly caused by the poor current network state is avoided, and data transmission success rate is increased.

Description

A kind of data transmission method for uplink and device
Technical field
The present invention relates to intelligent meter technical field, more particularly to a kind of data transmission method for uplink and device.
Background technology
LPWAN (Low Power Wide Area Network, low-power consumption wide area network) as just started in recent years commercialization Internet of Things access technology, the development in American-European some areas begins to take shape, industrial chain basic forming, and in China also in firm The stage of ground zero, it may be said that the die is cast in the development trend that Internet of Things field will be well worth doing for LPWAN.LPWAN is in State is main to apply in intelligent meter industry, at present in mainly long range (Long Range) skill of Chinese market large-scale application Art, and in LoRa technology applications, mainly have LoRa modules, gateway and other equipment and service of offer etc. is provided. LoRaWAN (Long Range Wide Area Network, long range wide area network) agreement is based on LoRa technologies LPWAN consensus standards.Different according to the agreement being based on, the communication module on domestic market is divided into two classes, and a class is to be based on The LoRa communication modules of LoRa proprietary protocols exploitation, because such LoRa communication modules are based on proprietary protocol, so not having mutual The general character, the another kind of LoRaWAN communication modules for being to be based on the exploitation of LoRaWAN open source protocols, the number based on LoRaWAN open source protocols During communication, main control module can send data by LoRaWAN communication modules to server.
Prior art, if main control module detects data to be sent, directly passes through during data is activation LoRaWAN communication modules, to server data are sent, if during LoRaWAN communication modules send data to service, The frequency range for sending data is occupied, and this this may result in the problem of data is activation failure or loss of data.
The content of the invention
The present invention provides a kind of data transmission method for uplink and device, to solve prior art in increased income association based on LoRaWAN During the data communication of view, the frequency range for sending data is occupied, causes the problem of data is activation failure or loss of data.
In order to solve the above problems, the invention provides a kind of data transmission method for uplink, the method includes:
Judge to whether there is the first data to be sent in buffer area;
If it is, detecting current network state by long range wide area network LoRaWAN communication modules;
When current network state meets data is activation condition, by the LoRaWAN communication modules described first is sent Data.
Further, if current network state is unsatisfactory for data is activation condition, methods described also includes:
Continue at set time intervals to detect current network state by LoRaWAN communication modules.
Further, described to send after first data, methods described also includes:
Empty the buffer area;
Judge in the duration of setting in the buffer area with the presence or absence of the second data to be sent;
If not, controlling the LoRaWAN communication modules enters resting state.
Further, if it is determined that there are the first data to be sent in buffer area, sent by LoRaWAN communication modules It is described also to include before first data:
Wake up the LoRaWAN communication modules.
Further, with the presence or absence of before the first data to be sent in the judgement buffer area, methods described also includes:
The request that networks is sent by the LoRaWAN communication modules.
The invention provides a kind of data sending device, the device includes:
Judge module, for judging buffer area in whether there is the first data to be sent;If it is, detection trigger mould Block;
Detection module, for detecting current network state by long range wide area network LoRaWAN communication modules;
First sending module, for when current network state meets data is activation condition, being communicated by the LoRaWAN Module sends first data.
Further, the detection module, if being unsatisfactory for data is activation condition specifically for current network state, according to The time interval of setting continues to detect current network state by LoRaWAN communication modules.
Further, described device also includes:
Module is emptied, for emptying the buffer area;
The judge module, is additionally operable to judge in the duration of setting in the buffer area with the presence or absence of to be sent second Data;If not, triggering sleep block;
Sleep block, for controlling the LoRaWAN communication modules resting state is entered.
Further, described device also includes:
Wake module, for if it is determined that there are the first data to be sent in buffer area, the wake-up LoRaWAN is communicated Module.
Further, described device also includes:
Second sending module, for sending the request that networks by the LoRaWAN communication modules.
The invention provides a kind of data transmission method for uplink and device, methods described includes:Judge to whether there is in buffer area First data to be sent;If it is, detecting current network state by long range wide area network LoRaWAN communication modules;When work as When front network state meets data is activation condition, first data are sent by the LoRaWAN communication modules.Due to this In the data transmission method for uplink of bright offer during data is activation, if there is data to be sent, first the data are protected In being stored to buffer area, and judge whether current network state meets data is activation condition, if it is satisfied, the data are just sent, During avoiding the data communication based on LoRaWAN open source protocols, the frequency range for sending data is occupied, causes data is activation Failure or the problem of loss of data, improve the success rate of data is activation.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic diagram of data transmission method for uplink that the embodiment of the present invention 1 is provided;
Fig. 2 is a kind of flow chart of data transmission method for uplink that the embodiment of the present invention 3 is provided;
Fig. 3 is a kind of structural representation of data transmission method for uplink that the embodiment of the present invention 4 is provided;
Fig. 4 is a kind of structure chart of data sending device provided in an embodiment of the present invention.
Specific embodiment
In order to improve the success rate of data is activation, a kind of data transmission method for uplink and device are embodiments provided.
In order that the object, technical solutions and advantages of the present invention are clearer, make into one below in conjunction with the accompanying drawing present invention Step ground is described in detail, it is clear that described embodiment a part of embodiment only of the invention, rather than the enforcement of whole Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made Every other embodiment, belongs to the scope of protection of the invention.
Embodiment 1:
Fig. 1 is a kind of schematic diagram of data transmission method for uplink provided in an embodiment of the present invention, and the method is comprised the following steps:
S101:Judge to whether there is the first data to be sent in buffer area;If it is, carrying out S102.
A kind of data transmission method for uplink provided in an embodiment of the present invention is applied to the main control module of intelligent meter.The main control module can Think CPU (Central Processing Unit, central processing unit) or the MCU (Microcontroller in intelligent meter Unit, micro-control unit) etc..
Buffer area is provided with main control module, if there is data to be sent, the main control module will be to be sent Data are saved in buffer area, wherein the data pending can be the data such as the tolerance that intelligent meter is collected.
S102:Current network state is detected by LoRaWAN communication modules.
The detection current network state is to detect the current network state between intelligent meter and server, specific for inspection Current network state between the LoRaWAN communication modules surveyed in intelligent meter and server.
Main control module can send the information for carrying out network state detection, LoRaWAN communication moulds to LoRaWAN communication modules Root tuber, according to the command format of LoRaWAN underlying protocols, to server asking for detection current network state is sent according to the information Ask.
Main control module and LoRaWAN communication modules can be communicated by serial ports so that LoRaWAN communication modules can be with Receive the information for carrying out network state detection of main control module transmission.
S103:When current network state meets data is activation condition, send described by the LoRaWAN communication modules First data.
The request of detection current network state is sent to after server, if receive in the detection duration of setting Server is directed to the request of the detection current network state, the detection response message of transmission, then it is considered that selecting to send data Frequency range it is unoccupied, current network state meets data is activation condition, if setting detection duration in be not received by Server is directed to the request of the detection current network state, the detection response message of transmission, then it is considered that selecting to send data Frequency range it is occupied, current network state is unsatisfactory for data is activation condition, wherein the detection duration of the setting is pre-stored in In main control module, the detection duration of the setting can be 1 second, 5 seconds or 10 seconds etc..
If the detection response message of server transmission can be received, it is considered that the frequency range of currently transmitted data is not It is occupied, and can consider that the frequency range also will not be occupied in setting duration afterwards, so sending number based on the frequency range According to when, be not in data is activation failure or loss of data situation, it is taken as that the network state is to meet data is activation bar Part, a length of comparison short duration when now can be successfully transmitted data, the wherein setting to server for example can be 10 Second, 20 seconds etc..It is described when current network state meets data is activation condition, by the LoRaWAN communication modules send institute State the first data.
Data is activation to be sent can receive to LoRaWAN communication modules, LoRaWAN communication modules by main control module After data to be sent, according to the command format of LoRaWAN underlying protocols, server is sent the data to, so as to realizing and taking The information exchange of business device.
Main control module and LoRaWAN communication modules can be communicated by serial ports so that LoRaWAN communication modules can be with Receive the data of main control module transmission.
In the data transmission method for uplink provided due to the present invention during data is activation, if there is number to be sent According to, first the data are saved in buffer area, and judge whether current network state meets data is activation condition, if full Foot, just sends the data, it is to avoid because of selecting, the frequency range for sending data is occupied, causes data is activation failure or number According to the problem lost, the success rate of data is activation is improve.
Embodiment 2:
On the basis of above-described embodiment, the present invention is implemented in a kind of data transmission method for uplink for providing, if current network State is unsatisfactory for data is activation condition, and methods described also includes:
Continue at set time intervals to detect current network state by LoRaWAN communication modules.
Data in order to ensure buffer area can be successfully sent to server, if current network state is unsatisfactory for number According to the condition of transmission, then need to continue to detect current network state, until network state meets data is activation condition.
The time interval of the setting is pre-stored in the main control module of intelligent meter, wherein the time interval of the setting It can be 1 second, 5 seconds or 10 seconds etc..
Due in the embodiment of the present invention if current network state is unsatisfactory for data is activation condition, according to setting time between Every detection current network state, until the current network state for detecting meets data is activation condition, it is to avoid because of choosing The frequency range for selecting transmission data is occupied, causes the problem of data is activation failure or loss of data, improves the success of data is activation Rate.
Embodiment 3:
In order to reduce power consumption, save resources, on the basis of the various embodiments described above, in the embodiment of the present invention, the transmission After first data, methods described also includes:
Empty the buffer area;
Judge in the duration of setting in the buffer area with the presence or absence of the second data to be sent;
If not, controlling the LoRaWAN communication modules enters resting state.
After by the first data is activation success present in caching, the buffer area is emptied.And after buffer area is emptied There are no data to be sent in the duration of setting in buffer area, then it is considered that intelligent meter need not send new to server Data, in order to reduce the power consumption of intelligent meter, now LoRaWAN communication modules enter resting state described in master control module controls, not LoRaWAN communication module power consumptions under dormancy state are smaller.
Master control module controls LoRaWAN communication module belongs to prior art into the process of resting state, of the invention real Apply in example and do not repeat.
The duration of the setting is pre-stored in main control module, wherein the duration of the setting can be 5 seconds, 10 seconds or 20 seconds etc..
If it is determined that there are the first data to be sent in buffer area, by LoRaWAN communication modules described first is sent It is described also to include before data:
Wake up the LoRaWAN communication modules.
If there are the first data to be sent in buffer area, illustrate that intelligent meter is needed to server transmission data, and this When LoRaWAN communication modules in a dormant state, then main control module wakes up the LoRaWAN communication modules, if current network State meets data is activation condition, and by LoRaWAN communication modules first data are sent.
Below the above embodiment of the present invention is illustrated with a specific embodiment, Fig. 2 is carried for the embodiment of the present invention For a kind of data transmission method for uplink flow chart, the method includes:
S201:Judge to whether there is data to be sent in buffer area;If it is, carrying out S202;If not, carry out S207。
S202:Judge LoRaWAN communication modules whether in a dormant state;If it is, carrying out S203;If not, carry out S204。
It is described to judge whether process in a dormant state belongs to prior art to LoRaWAN communication modules, of the invention real Apply in example and do not repeat.
S203:Wake up the LoRaWAN communication modules.
If the LoRaWAN communication modules are in a dormant state, need to wake up the LoRaWAN communication modules, Follow-up operation can be carried out.
S204:Judge whether current network state meets data is activation condition;If it is, S205 is carried out, if not, continuing Perform S204.
S205:The data are sent by the LoRaWAN communication modules.
S206:Empty buffer area.
S207:Control LoRaWAN communication modules enter resting state;Return S201.
In the dormant state, power consumption is relatively low for LoRaWAN communication modules.In order to lower the power consumption of intelligent meter, if buffer area In there are no data to be sent, with regard to control LoRaWAN communication modules carry out resting state, certainly, in order to avoid control LoRaWAN communication modules reduce LoRaWAN communications into toggling between resting state and wake-up LoRaWAN communication modules , there are no data to be sent in the service life of module, then can be with buffer area in the duration of the setting after buffer area is emptied Think that intelligent meter need not send new data to server, LoRaWAN communication modules are now controlled again and enters resting state.Institute State control LoRaWAN communication modules and belong to prior art into the process of resting state, do not repeat in embodiments of the present invention.
Due in the duration of the setting in the embodiment of the present invention after data success is sent, if do not exist in buffer area treated The data of transmission, then main control module, lowers power consumption, save resources.
Embodiment 4:
On the basis of the various embodiments described above, in embodiments of the present invention, with the presence or absence of pending in the judgement buffer area Before the first data sent, methods described also includes:
The request that networks is sent by the LoRaWAN communication modules.
If the main control module of intelligent meter receives server for the request that networks, the networking confirmation of transmission is then intelligent Table networks successfully, could send data to server.
Main control module can send the announcement information asked that networks, LoRaWAN communication modules to LoRaWAN communication modules After receiving announcement information, according to the command format of LoRaWAN underlying protocols, server is given by networking request Concurrency, so as to Realize the information exchange with server.
Main control module and LoRaWAN communication modules can be communicated by serial ports so that LoRaWAN communication modules can be with Receive the announcement information of the networking request of main control module transmission.
The main control module of the intelligent meter is sent after the request that networks by the LoRaWAN communication modules, starts timer, Judge whether the main control module receives the confirmation of the networking successful connection of server transmission in the timing length of timer Information, if receiving the confirmation of the networking successful connection of server transmission in the timing length of timer, it is determined that Networking successful connection.
If not receiving the confirmation of the networking successful connection of server transmission in the timing length of timer, It is determined that the failure that networks, whether the number of times for judging networking failure reaches the frequency threshold value of setting, if not, continuing through described LoRaWAN communication modules send the request that networks, if it is, determining the failure that networks.
Below the above embodiment of the present invention is illustrated with a specific embodiment, Fig. 3 is carried for the embodiment of the present invention For a kind of data transmission method for uplink structural representation, as shown in figure 3, include in intelligent meter main control module, LoRaWAN communication Module, LCD MODULE, valve control module, acquisition module and power module, the main control module is logical with the LoRaWAN Communicated by serial ports between news module, if there are data to be sent in the buffer area of the main control module, master control mould The information of network state detection is sent to LoRaWAN communication modules by block by serial ports, by LoRaWAN communication modules to service Device sends the request of detection current network state, if receiving request of the server for the detection current network state, sends out The detection response message sent, then it is assumed that current network state meets data is activation condition, then give data is activation to be sent LoRaWAN communication modules, then by LoRaWAN communication modules by data is activation to be sent to server, send out so as to complete data Send, wherein communicated by serial ports between the main control module and the LoRaWAN communication modules also including, main control module control The LoRaWAN communication modules are made into resting state and the LoRaWAN communication modules are waken up.
Additionally, the main control module is by calling LCD MODULE, valve control module, acquisition module and power module Can be respectively completed liquid crystal display, valve are opened or closed, the control that metering gathers and starts shooting or shut down etc..
Due to sending the request that networks in the embodiment of the present invention, if receiving networking confirmation, intelligent meter is networked into Work(, improves the success rate that data are sent to server.
Embodiment 5:
Main control module needs to determine and to send out in the local designator set for preserving when LoRaWAN communication modules are called The corresponding designator of request for sending, information exchange is carried out so as to pass through LoRaWAN communication modules with service, due to different manufacturers life The species of the LoRaWAN communication modules of product is different, and main control module carries out the designator collection of information exchange with LoRaWAN communication modules Close also different.For different types of LoRaWAN communication modules, the designator set preserved in main control module is different, in order to protect Card is normally interacted with the data of server, and in embodiments of the present invention before network state detection is carried out, methods described is also wrapped Include:
The type of identification LoRaWAN communication modules;
For different types of LoRaWAN communication modules, the designator set preserved in main control module is different, main control module According to the type of the LoRaWAN communication modules for recognizing, and the corresponding life of LoRaWAN communication modules of the type for itself preserving Order symbol set, determines corresponding command object symbol, so that LoRaWAN communication modules are accorded with according to command object, with server Carry out information exchange.In embodiments of the present invention LoRaWAN communication modules enter row information friendship based on LoRaWAN agreements and server Mutually.
It is described detection current network state process be:Main control module according to the type of LoRaWAN communication modules, at itself In the corresponding designator set of LoRaWAN communication modules of the type of preservation, it is determined that detection current network state corresponding the One command object is accorded with, and the first object designator is sent to into LoRaWAN communication modules, and LoRaWAN communication modules are according to connecing The corresponding first object designator of detection current network state for receiving, according to the command format of LoRaWAN underlying protocols, sends To server, so as to detect network state.
In the same manner, the process of the transmission data is:Main control module is protected according to the type of LoRaWAN communication modules at itself In the corresponding designator set of LoRaWAN communication modules of the type deposited, it is determined that sending corresponding second command object of data Symbol, by second command object symbol and data is activation to be sent LoRaWAN communication modules, LoRaWAN communication module roots are given According to the corresponding second command object symbol of the transmission data for receiving and the data, according to the life of LoRaWAN underlying protocols Form is made, server is sent to.
In the same manner, the process asked that networks that sends is:Main control module according to the type of LoRaWAN communication modules, from In the corresponding designator set of LoRaWAN communication modules of the type that body is preserved, it is determined that sending the request the corresponding 3rd that networks Command object is accorded with, and the 3rd command object symbol is sent to into LoRaWAN communication modules, and LoRaWAN communication modules are according to reception The transmission arrived networks and asks the corresponding 3rd command object symbol, is sent to according to the command format of LoRaWAN underlying protocols Server.
In the data transmission method for uplink provided due to the present invention during data is activation, if there is number to be sent According to, first the data are saved in buffer area, and judge whether current network state meets data is activation condition, if full Foot, just sends the data, it is to avoid because of selecting, the frequency range for sending data is occupied, causes data is activation failure or number According to the problem lost, the success rate of data is activation is improve.
Embodiment 6:
On the basis of the various embodiments described above, in embodiments of the present invention, methods described also includes:
According to the unity of command symbol set for itself preserving, current network state is detected.
For different types of LoRaWAN communication modules, unity of command symbol set can be set, in embodiments of the present invention LoRaWAN communication modules carry out information exchange based on LoRaWAN agreements and server.
If itself preserving unity of command symbol set, the process for detecting current network state is:Main control module is certainly In the unity of command symbol set that body is preserved, it is determined that detection current network state corresponding first object unity of command symbol, and by the One target unity of command symbol is sent to LoRaWAN communication modules, and LoRaWAN communication modules are according to the detection current network for receiving The corresponding first object unity of command symbol of state, according to the command format of LoRaWAN underlying protocols, is sent to server, so as to Detection network state.
In the same manner, the process of transmission data is:Main control module is accorded with set in the unity of command that itself is preserved, it is determined that sending number Accord with according to corresponding second target unity of command, and the second target unity of command symbol and data is activation to be sent are given LoRaWAN communication modules, LoRaWAN communication modules according to the corresponding second target unity of command symbol of the transmission data that receive and The data, according to the command format of LoRaWAN underlying protocols, are sent to server.
In the same manner, sending the process asked that networks is:Main control module is accorded with set, it is determined that entering in the unity of command that itself is preserved The corresponding 3rd target unity of command symbol of net request, and the 3rd target unity of command symbol is sent to into LoRaWAN communication modules, LoRaWAN communication modules ask corresponding 3rd target unity of command symbol according to the networking for receiving, and assist according to LoRaWAN bottoms The command format of view, is sent to server.
In the data transmission method for uplink provided due to the present invention during data is activation, if there is number to be sent According to, first the data are saved in buffer area, and judge whether current network state meets data is activation condition, if full Foot, just sends the data, it is to avoid because of selecting, the frequency range for sending data is occupied, causes data is activation failure or number According to the problem lost, the success rate of data is activation is improve.
A kind of data sending device is embodiments provided, Fig. 4 sends out for a kind of data provided in an embodiment of the present invention The structure chart of device, described device is sent to include:
Judge module 41, for judging buffer area in whether there is the first data to be sent;If it is, detection trigger mould Block 42;
Detection module 42, for detecting current network state by long range wide area network LoRaWAN communication modules;
First sending module 43 is logical by the LoRaWAN for when current network state meets data is activation condition News module sends first data.
The detection module 42, if being unsatisfactory for data is activation condition specifically for current network state, according to setting Time interval continues to detect current network state by long range wide area network LoRaWAN communication modules.
Described device also includes:
Module 44 is emptied, for emptying the buffer area;
The judge module 42, is additionally operable to judge in the duration of setting in the buffer area with the presence or absence of to be sent the Two data;If not, triggering sleep block 45;
Sleep block 45, for controlling the LoRaWAN communication modules resting state is entered.
Described device also includes:
Wake module 46, for if it is determined that there are the first data to be sent in buffer area, the wake-up LoRaWAN leads to News module.
Described device also includes:
Second sending module 47, for sending the request that networks by the LoRaWAN communication modules.
The invention provides a kind of data transmission method for uplink and device, methods described includes:Judge to whether there is in buffer area First data to be sent;If it is, detecting current network state by long range wide area network LoRaWAN communication modules;When work as When front network state meets data is activation condition, first data are sent by the LoRaWAN communication modules.Due to this In the data transmission method for uplink of bright offer during data is activation, if there is data to be sent, first the data are protected In being stored to buffer area, and judge whether current network state meets data is activation condition, if it is satisfied, the data are just sent, Avoid because of select send data frequency range it is occupied, cause data is activation failure or loss of data problem, improve The success rate of data is activation.
For systems/devices embodiment, because it is substantially similar to embodiment of the method, so the comparison of description is simple Single, related part is illustrated referring to the part of embodiment of the method.
Those skilled in the art are it should be appreciated that embodiments herein can be provided as method, system or computer program Product.Therefore, the application can be using complete hardware embodiment, complete software embodiment or with reference to the reality in terms of software and hardware Apply the form of example.And, the application can be adopted and wherein include the computer of computer usable program code at one or more The computer program implemented in usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) is produced The form of product.
The application is the flow process with reference to method, equipment (system) and computer program according to the embodiment of the present application Figure and/or block diagram are describing.It should be understood that can be by computer program instructions flowchart and/or each stream in block diagram The combination of journey and/or square frame and flow chart and/or the flow process in block diagram and/or square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of specifying in present one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or The function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow process of flow chart or multiple flow processs and/or block diagram one The step of function of specifying in individual square frame or multiple square frames.
Although having been described for the preferred embodiment of the application, those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So, claims are intended to be construed to include excellent Select embodiment and fall into having altered and changing for the application scope.
Obviously, those skilled in the art can carry out the essence of various changes and modification without deviating from the present invention to the present invention God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising these changes and modification.

Claims (10)

1. a kind of data transmission method for uplink, it is characterised in that the method includes:
Judge to whether there is the first data to be sent in buffer area;
If it is, detecting current network state by long range wide area network LoRaWAN communication modules;
When current network state meets data is activation condition, first data are sent by the LoRaWAN communication modules.
2. the method for claim 1, it is characterised in that if current network state is unsatisfactory for data is activation condition, institute Stating method also includes:
Continue at set time intervals to detect current network state by LoRaWAN communication modules.
3. the method for claim 1, it is characterised in that after the transmission first data, methods described also includes:
Empty the buffer area;
Judge in the duration of setting in the buffer area with the presence or absence of the second data to be sent;
If not, controlling the LoRaWAN communication modules enters resting state.
4. method as claimed in claim 3, it is characterised in that if it is determined that there are the first data to be sent in buffer area, Sent before first data by LoRaWAN communication modules, it is described also to include:
Wake up the LoRaWAN communication modules.
5. the method for claim 1, it is characterised in that with the presence or absence of the first number to be sent in the judgement buffer area According to before, methods described also includes:
The request that networks is sent by the LoRaWAN communication modules.
6. a kind of data sending device, it is characterised in that the device includes:
Judge module, for judging buffer area in whether there is the first data to be sent;If it is, detection trigger module;
Detection module, for detecting current network state by long range wide area network LoRaWAN communication modules;
First sending module, for when current network state meets data is activation condition, by the LoRaWAN communication modules Send first data.
7. device as claimed in claim 6, it is characterised in that the detection module, if specifically for current network state Data is activation condition is unsatisfactory for, continues to detect current network state at set time intervals by LoRaWAN communication modules.
8. device as claimed in claim 6, it is characterised in that described device also includes:
Module is emptied, for emptying the buffer area;
The judge module, is additionally operable to judge in the duration of setting in the buffer area with the presence or absence of the second number to be sent According to;If not, triggering sleep block;
Sleep block, for controlling the LoRaWAN communication modules resting state is entered.
9. device as claimed in claim 8, it is characterised in that described device also includes:
Wake module, for if it is determined that there are the first data to be sent in buffer area, the wake-up LoRaWAN communicates mould Block.
10. device as claimed in claim 6, it is characterised in that described device also includes:
Second sending module, for sending the request that networks by the LoRaWAN communication modules.
CN201710036124.9A 2017-01-17 2017-01-17 Data transmission method and data transmission device Pending CN106685855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710036124.9A CN106685855A (en) 2017-01-17 2017-01-17 Data transmission method and data transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710036124.9A CN106685855A (en) 2017-01-17 2017-01-17 Data transmission method and data transmission device

Publications (1)

Publication Number Publication Date
CN106685855A true CN106685855A (en) 2017-05-17

Family

ID=58860335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710036124.9A Pending CN106685855A (en) 2017-01-17 2017-01-17 Data transmission method and data transmission device

Country Status (1)

Country Link
CN (1) CN106685855A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107545633A (en) * 2017-08-17 2018-01-05 新华三技术有限公司 A kind of message transmitting method and intelligent wireless door lock
CN107911842A (en) * 2017-11-30 2018-04-13 普天东方通信集团有限公司 Data transmission method, system, medium and the device of the Lora webservers
WO2019154242A1 (en) * 2018-02-08 2019-08-15 云丁网络技术(北京)有限公司 Data processing method and apparatus
CN113037642A (en) * 2021-02-25 2021-06-25 深圳技术大学 Internet of things data transmission method and transmission system
CN113051207A (en) * 2021-04-07 2021-06-29 深圳市广和通无线股份有限公司 Data processing method and device, electronic equipment and storage medium
US11297571B2 (en) 2017-07-21 2022-04-05 Signify Holding B.V. Controlling end nodes of a low-power wide area network
CN116887332A (en) * 2023-07-20 2023-10-13 中国人民解放军军事科学院系统工程研究院 Container fleet state monitoring method and device under no-mobile network state

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833828A (en) * 2011-06-17 2012-12-19 美新微纳传感系统有限公司 Method for realizing low power consumption on radio frequency of wireless sensor network
CN105406883A (en) * 2015-12-01 2016-03-16 上海宏力达信息技术有限公司 Wireless communication device
CN105979547A (en) * 2016-06-30 2016-09-28 深圳市金溢科技股份有限公司 Communication method, node device and system of wide-area Internet of things
CN106028350A (en) * 2016-04-28 2016-10-12 北京大学深圳研究生院 Wireless communication method and system for IOT(Internet of Things)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833828A (en) * 2011-06-17 2012-12-19 美新微纳传感系统有限公司 Method for realizing low power consumption on radio frequency of wireless sensor network
CN105406883A (en) * 2015-12-01 2016-03-16 上海宏力达信息技术有限公司 Wireless communication device
CN106028350A (en) * 2016-04-28 2016-10-12 北京大学深圳研究生院 Wireless communication method and system for IOT(Internet of Things)
CN105979547A (en) * 2016-06-30 2016-09-28 深圳市金溢科技股份有限公司 Communication method, node device and system of wide-area Internet of things

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11297571B2 (en) 2017-07-21 2022-04-05 Signify Holding B.V. Controlling end nodes of a low-power wide area network
CN107545633A (en) * 2017-08-17 2018-01-05 新华三技术有限公司 A kind of message transmitting method and intelligent wireless door lock
CN107911842A (en) * 2017-11-30 2018-04-13 普天东方通信集团有限公司 Data transmission method, system, medium and the device of the Lora webservers
CN107911842B (en) * 2017-11-30 2021-03-26 普天东方通信集团有限公司 Data transmission method, system, medium and device of Lora network server
WO2019154242A1 (en) * 2018-02-08 2019-08-15 云丁网络技术(北京)有限公司 Data processing method and apparatus
CN113037642A (en) * 2021-02-25 2021-06-25 深圳技术大学 Internet of things data transmission method and transmission system
CN113051207A (en) * 2021-04-07 2021-06-29 深圳市广和通无线股份有限公司 Data processing method and device, electronic equipment and storage medium
WO2022213598A1 (en) * 2021-04-07 2022-10-13 深圳市广和通无线股份有限公司 Data processing method and apparatus, and electronic device and storage medium
CN116887332A (en) * 2023-07-20 2023-10-13 中国人民解放军军事科学院系统工程研究院 Container fleet state monitoring method and device under no-mobile network state
CN116887332B (en) * 2023-07-20 2024-01-02 中国人民解放军军事科学院系统工程研究院 Container fleet state monitoring method and device under no-mobile network state

Similar Documents

Publication Publication Date Title
CN106685855A (en) Data transmission method and data transmission device
CN110300461A (en) A kind of method for connecting network, device and terminal
CN110121204A (en) A kind of communication means, mobile management entity equipment, communication equipment, storage medium and communication system
CN105594261A (en) Power saving with adaptive inactivity time out
CN108632309B (en) Method and device for upgrading narrow-band Internet of things terminal
US9351317B2 (en) Method and device of managing MTC devices in an MTC network environment
CN109511133A (en) A kind of method and device waking up processing
CN102790776A (en) Heartbeat connection normalizing processing method, terminal, server and communication system
CN110149369A (en) The rotation report method and tele-control system of terminal device based on Internet of Things
CN107168853A (en) A kind of server performance information acquisition method, system and substrate control manager
CN107567107A (en) A kind of method and device for transmitting data
CN106550438A (en) Limit method and system, the mobile device of periodic wakeup
CN111953655B (en) Method and equipment for server to respond to request message in communication system
CN109714833A (en) A kind of data communications method, apparatus and system
CN105792339A (en) Low power consumption design method for wireless sensor network node
CN106658686A (en) Data forwarding method and access device
CN106550021A (en) The method for pushing and device of PUSH message
TW202008813A (en) Communication method and apparatus
CN104836920B (en) A method and system carrying out intersect waking between mobile terminal applications according to a server terminal
CN105357387A (en) Method, apparatus and system for wakening terminal
CN108271116A (en) A kind of realtime communication system and method for intelligent wearable device
CN105391666B (en) Multi-service bus transmission system and transmission method based on FSK modulation demodulation
CN113784232A (en) Low-power-consumption communication method of intelligent water meter based on LoRa
CN112888050B (en) Equipment energy saving method and device and computer storage medium
CN109600764B (en) Awakening and sleeping control method and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170517

RJ01 Rejection of invention patent application after publication