CN107277182A - A kind of data transmission method and device - Google Patents

A kind of data transmission method and device Download PDF

Info

Publication number
CN107277182A
CN107277182A CN201710704326.6A CN201710704326A CN107277182A CN 107277182 A CN107277182 A CN 107277182A CN 201710704326 A CN201710704326 A CN 201710704326A CN 107277182 A CN107277182 A CN 107277182A
Authority
CN
China
Prior art keywords
preset format
data
sent
node
data acquisition
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
CN201710704326.6A
Other languages
Chinese (zh)
Other versions
CN107277182B (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.)
Lanzhou Jiaotong University
Original Assignee
Lanzhou Jiaotong University
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 Lanzhou Jiaotong University filed Critical Lanzhou Jiaotong University
Priority to CN201710704326.6A priority Critical patent/CN107277182B/en
Publication of CN107277182A publication Critical patent/CN107277182A/en
Application granted granted Critical
Publication of CN107277182B publication Critical patent/CN107277182B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the present invention provides a kind of data transmission method and device.Methods described includes:Networking node receives the observation data with the first preset format that data acquisition transmission instrument is sent;Observation data with the first preset format are packaged into the observation data with the second preset format;Observation data with the second preset format are sent to gateway node, so that the observation data with the second preset format are packaged into the observation Data Concurrent with the 3rd preset format by gateway node gives data center.Methods described is applied to be provided with networking node, gateway node and the field inspection of data center Transmission system, networking node is by receiving the observation data that data acquisition transmission instrument is sent, and gateway node is sent it to using wireless self-organization network, so as to be sent by gateway node public mobile communication net or LAN to data center, realize real-time to field inspection data and accurately collect, transmit and handle.

Description

A kind of data transmission method and device
Technical field
The present invention relates to observation field, in particular to a kind of data transmission method and device.
Background technology
China Han Qu and the gross area of drought-hit area account for more than 2/3rds of area, and ecological environment is crisp in drought-hit area of trembling with fear It is weak, but all contain the indispensable resource of national economy, strategic position is protruded.Field layout is by observing in cold drought-hit area Various ecological, environmental datas carry out scientific research, important support played in great strategy demand towards the country is solved make With providing important foundation for Cold and drought Region scientific research, be to support the western extremely frigid zones of China, arid area Important Project The basis with social economy's sustainable development is built, is that construction of the West Region and development provide strong support.
Existing field layout, is mostly distributed in Agro-grazing ecotone, semiarid region, arid biogeographic zone, High-cold regions etc. larger High aititude, high and cold, unfrequented extreme natural environment area in territorial scope, wherein the collection of observation data is used mostly The mode artificially collected is carried out, and data processing, transmission are difficult, causes the collection, transmission, the real-time and accuracy of processing of data It is poor.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of data transmission method and device, above-mentioned to solve Problem.
To achieve these goals, the technical scheme that the embodiment of the present invention is used is as follows:
In a first aspect, the embodiments of the invention provide a kind of data transmission method, methods described is passed applied to field inspection Defeated system, the field inspection Transmission system includes networking node, gateway node and data center, the networking node and institute State gateway node to be communicated using wireless self-organization network, the gateway node is logical using common moving with the data center Letter net or LAN are communicated, and methods described includes:What the networking node received that data acquisition transmission instrument sends have the The observation data of one preset format;The observation data with the first preset format are packaged into by the networking node The observation data of two preset formats;The observation data with the second preset format are sent to the net by the networking node Artis, so that the observation data with the second preset format are packaged into the 3rd preset format by the gateway node Observation Data Concurrent give the data center.
Second aspect, the embodiments of the invention provide a kind of data transmission device, described device is passed applied to field inspection Networking node in defeated system, the field inspection Transmission system includes networking node, gateway node and data center, described Networking node is communicated with the gateway node using wireless self-organization network, and the gateway node is adopted with the data center Communicated with public mobile communication net or LAN, described device includes:Data reception module, is passed for receiving data acquisition The observation data with the first preset format that defeated instrument is sent;First package module, for that described will have the first preset format Observation data be packaged into the observation data with the second preset format;Data transmission blocks, the networking node is by the tool The observation data for having the second preset format are sent to the gateway node, so that the gateway node has second to preset by described The observation data of form are packaged into the observation Data Concurrent with the 3rd preset format and give the data center.
Compared with prior art, a kind of data transmission method and device provided in an embodiment of the present invention, applied to being provided with In networking node, gateway node and the field inspection of data center Transmission system, the networking node is adopted by receiving data Collect the observation data that transmission instrument is sent, gateway node is sent to using wireless self-organization network after being packaged to it, so that by Gateway node is sent to data center after being packaged again to it by public mobile communication net or LAN.Methods described is dashed forward Conventional wireless cellular communication network has been broken due to relying on the geographic limitations that static infrastructure is present, has been set in no immobilizing foundation The extreme natural environment region such as cold drought-hit area applied, the wireless self-organization network constituted using networking node and gateway node, also may be used So that observation data are transferred into gateway node in real time, then by gateway node by public mobile communication net or local network transport extremely The data center of distal end, realizes real-time to field inspection data and accurately collects, transmits and handle.
Other features and advantages of the present invention will be illustrated in subsequent specification, also, partly be become from specification It is clear that or by implementing understanding of the embodiment of the present invention.The purpose of the present invention and other advantages can be by saying for being write Specifically noted structure is realized and obtained in bright book, claims and accompanying drawing.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be attached to what is used required in embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore is not construed as pair The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is a kind of structural representation of field inspection Transmission system provided in an embodiment of the present invention.
Fig. 2 is the structural representation of networking node provided in an embodiment of the present invention.
Fig. 3 is the structural representation of gateway node provided in an embodiment of the present invention.
Fig. 4 is a kind of flow chart for data transmission method that first embodiment of the invention is provided.
Fig. 5 is a kind of partial process view for data transmission method that first embodiment of the invention is provided.
Fig. 6 is a kind of partial process view for data transmission method that first embodiment of the invention is provided.
Fig. 7 is a kind of partial process view for data transmission method that first embodiment of the invention is provided.
Fig. 8 is a kind of partial process view for data transmission method that first embodiment of the invention is provided.
Fig. 9 is a kind of structured flowchart for data transmission device that second embodiment of the invention is provided.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then it further need not be defined and explained in subsequent accompanying drawing.Meanwhile, the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
As shown in figure 1, being a kind of structural representation of field inspection Transmission system 300 provided in an embodiment of the present invention.Institute Stating field inspection Transmission system 300 includes networking node 310, gateway node 320 and data center 330, the networking node 310 are communicated with the gateway node 320 using wireless self-organization network, the gateway node 320 and the data center 330 are communicated using public mobile communication net or LAN.It is understood that the networking node 310, the gateway section The number of point 320 and the data center 330 does not constitute the limitation to the specific embodiment of the invention.It is used as one kind implementation Mode, the networking node 310 can also be coupled with least one data acquisition transmission instrument 200, the data acquisition transmission instrument 200 can couple with least one sensor 100, the data acquisition transmission instrument 200, the sensor 100 and the field Observation Transmission system 300 constitutes a field layout together.
Sensor 100 sends the observation electric signal of collection to data acquisition transmission instrument 200, data acquisition transmission instrument 200 Observation electric signal is converted to and observes data and is sent after being packaged to the networking node 310, the weight of networking node 310 It is new it is packaged after be sent to the gateway node 320, then by the gateway node 320 it is packaged again after lead to Public mobile communication net or local network transport are crossed to the data center 330 of distal end, it is in real time and accurate to field inspection data to realize Collection, transmission and handle.Meanwhile, control instruction of data center 330 etc. also can be wireless from group by this by gateway node 320 Knitmesh network sends corresponding networking node 310 to, so that networking node 310 is operated accordingly according to it.
Fig. 2 shows the structural representation of the networking node 310, referring to Fig. 2, the networking node 310 includes the One memory 311, first processor 312, proximal device interface module 313, the first wireless self-organization network interface module 314 with And first power supply 315.
The data that first memory 311 can be used in data storage software program and module, such as embodiment of the present invention are passed Transmission method and the corresponding programmed instruction/module of device, it can also be used to the observation in data storage or information, such as embodiment of the present invention Data, connecting test information, status information etc..First memory 311 may include high speed random access memory, may also include non-volatile Property memory, such as one or more magnetic storage device, flash memory or other non-volatile solid state memories.Further, Software program and module in first memory 311 may also include operating system.Wherein operating system, for example can for LINUX, UNIX, WINDOWS, it may include various for management system task (such as memory management, storage device control, power management Deng) component software and/or driving, and can mutually be communicated with various hardware or component software, so as to provide other software component Running environment.
First processor 312 is stored in software program and module in first memory 311 by operation, so as to perform Various function application and data processing, access control, acquisition observation data and data acquisition such as to data acquisition transmission instrument The tasks such as the working condition of transmission instrument 200, that is, realize the data transmission method in the embodiment of the present invention.
Proximal device interface module 313 can be used for the data transfer management interface of realization and data acquisition transmission instrument 200 such as RS232, RS485 interface is connected and communicate with function.
First wireless self-organization network interface module 314 can be used for and other networking nodes 310 and the gateway node 320 Wireless self-organization network is together constituted with, realizes and transmits various data, information or order with the gateway node 320.
First power supply 315 can be used for providing the energy for the networking node 310.
It is appreciated that the structure shown in Fig. 2 is only signal, the networking node 310 may also include more more than shown in Fig. 2 Either less component or with the configuration different from shown in Fig. 2.Each component shown in Fig. 2 can use hardware, software Or its combination is realized.
Fig. 3 shows the structural representation of the gateway node 320, referring to Fig. 3, the gateway node 320 includes the Two memories 321, second processor 322, distal network interface module 323, the second wireless self-organization network interface module 324 with And second source 325.
Second memory 321 can be used for storing the corresponding data software program of the gateway node 320 and module, also may be used For storing the corresponding data of the gateway node 320 or information.Second memory 321 may include high speed random access memory, also It may include nonvolatile memory, such as one or more magnetic storage device, flash memory or the storage of other nonvolatile solid states Device.Further, the software program and module in second memory 321 may also include operating system.Wherein operating system, example Such as can be LINUX, UNIX, WINDOWS, it may include various for (such as memory management, storage device control of management system task System, power management etc.) component software and/or driving, and can mutually be communicated with various hardware or component software, so as to provide it The running environment of his component software.Second processor 322 by operation be stored in software program in second memory 321 and Module, so as to perform various function application and data processing.
Distal network interface module 323 can be used for realizing to be connected and communicate with various public mobile communication nets or LAN Function.
Second wireless self-organization network interface module 324 can be used for together constituting with wirelessly from group with the networking node 310 Knitmesh network, realizes and transmits various data, information or order with the networking node 310.
Second source 315 can be used for providing the energy for the gateway node 320.
It is appreciated that the structure shown in Fig. 3 is only signal, the gateway node 320 may also include more more than shown in Fig. 3 Either less component or with the configuration different from shown in Fig. 3.Each component shown in Fig. 3 can use hardware, software Or its combination is realized.
Fig. 4 shows a kind of flow chart for data transmission method that first embodiment of the invention is provided, referring to Fig. 4, institute Method is stated applied to field inspection Transmission system 300, methods described includes:
Step S401, the networking node receives the observation number with the first preset format that data acquisition transmission instrument is sent According to.
The networking node is monitored the data acquisition transmission instrument, when the data acquisition transmission instrument has observation number During according to needing transmission, the observation data with the first preset format that the data acquisition transmission instrument is sent are received.
Wherein, first preset format is first used between the networking node and the data acquisition transmission instrument The frame format of communication protocol defined, is assisted for example, first preset format can be RS485 serial port protocols or RS232 serial ports Discuss corresponding frame format.It is understood that the type of first communication protocol is not constituted to specific embodiment party of the present invention The limitation of formula.
The observation data with the first preset format, are the sights that the data acquisition transmission instrument is collected to sensor Electric signal is surveyed to carry out analog-to-digital conversion and be packaged what is obtained to the data after analog-to-digital conversion according to first preset format.Institute The observation electric signal for stating sensor collection can be the various environmental datas pair such as temperature, wind speed, rainfall, intensity of illumination, humidity The electric signal answered, the species of the sensor needs to be configured according to specific observation needs.It is described that there is the first preset format Observation data, can carry corresponding sensor, data acquisition transmission instrument, No. ID of networking node, so as to data Center carries out classification storage, analysis, processing.
The observation data with the first preset format are packaged into pre- with second by step S402, the networking node If the observation data of form.
Because the information transfer between the networking node and the gateway node need to be entered by the wireless self-organization network OK, the second communication protocol that the wireless self-organization network is used is different from first communication protocol, therefore the networking The observation data with the first preset format need to be packaged into the observation data with the second preset format by node, wherein, Second preset format is the frame format for the second communication protocol defined that the wireless self-organization network is used.
The wireless self-organization network is together constituted with by the networking node and the gateway node, to realize the networking Information transfer between node and the gateway node.Disliked because most field layouts are all deployed in the environment such as cold drought-hit area Bad region, without static infrastructure, and use that the networking node and the gateway node voluntarily constitute it is wireless from group Knitmesh network, independent of fixed infrastructure device, when some node needs communication, the forwarding of data is carried out by other nodes, Observation data can also be transferred to the gateway node in real time, then by the gateway node by public mobile communication net or Local network transport is realized real-time to field inspection data and accurately collects, transmits and handle to the data center of distal end.
IPv6 agreements are the important protocols in Next Generation Internet, possess bigger address space, more preferable scalability, More efficient network transmission, more preferable safety management framework and preferably mobile support.IPv6 can not only meet Internet of Things Address need, while the demand of service quality guarantee of the Internet of Things to node mobility, node redundancy, based on stream can also be met. IPv6 packet considerably beyond 64K bytes, using MTU can obtain faster, more reliable data transmit, and And processing data packets speed can be accelerated, forward efficiency is improved, so as to improve the entire throughput of network.In addition, IPv6 data Encapsulation can transmit more data under reduction process consumption, advantageously reduce the field inspection Transmission system 300 of substantial amounts The energy consumption expense of hardware node.
Because the field inspection Transmission system is related to address distribution, addressing and the networking issue of large number quipments, IPv6 Sufficient IP address amount ensure that any communication terminal can obtain public ip address, and this is to set in field inspection Transmission system Standby address distribution, which is provided, to be ensured, and creates possibility for communication end to end.It is preferred, therefore, that described wireless from group Knitmesh network is based on IPv6 agreements, it is to be understood that the wireless self-organization network can also be based on IPv4 or other agreements, association The type of view does not constitute the limitation to the specific embodiment of the invention.
In addition, the observation data with the second preset format, can carry corresponding sensor, data and adopt Collect transmission instrument, networking node, No. ID of gateway node, carry out classification storage, analysis so as to data center, handle.
The observation data with the second preset format are sent to the gateway section by step S403, the networking node Point, so that the observation data with the second preset format are packaged into the sight with the 3rd preset format by the gateway node Survey Data Concurrent and give the data center.
Wherein, the 3rd preset format is the public mobile communication net between the gateway node and the data center Or the corresponding frame format of third communication agreement that LAN is used.
The public mobile communication net can be the public mobile communication net based on GPRS, CDMA, 3G or other technologies, institute It can be that cable LAN can also be WLAN to state LAN.Which kind of the gateway node uses with the data center The remote transmission of real-time performance data, need to be according to the concrete application scene of the field inspection Transmission system, according to described several Depending on the reasons such as the geographical position residing for center, the species of the public mobile communication net or LAN is not constituted to this hair The limitation of bright embodiment.
Further, since the observation data with the 3rd preset format, carry corresponding sensor, data and adopt Collect transmission instrument, networking node, No. ID of gateway node, the data center it can be carried out classification storage, analysis, handle, To complete the various demands such as scientific research, commercial affairs or safety.
As a kind of embodiment, referring to Fig. 5, methods described can also include:
Step S404, the networking node receives the life of the control with the second preset format that the gateway node is sent Order.
Wherein, the control command with the second preset format is to be sent the data center by the gateway node The control command with the 3rd preset format be packaged what is obtained.The control command with the 3rd preset format can be with Carry corresponding sensor, data acquisition transmission instrument, networking node, No. ID of gateway node, therefore, the gateway node can So that the control command with the second preset format is sent to No. ID corresponding networking node of the networking node.
The control command with the second preset format is packaged into pre- with first by step S405, the networking node If the control command of form.
Step S406, the networking node there is the control command of the first preset format to be sent to the data adopt by described Collect transmission instrument, so that the data acquisition transmission instrument carries out decapsulation acquisition to the control command with the first preset format Control command therein, and corresponding operation is performed according to the control command.
Wherein, the data acquisition that the networking node can be carried according to the control command with the first preset format No. ID of transmission instrument, corresponding data acquisition transmission instrument is sent to by the control command with the first preset format.
The control command can terminate order, hardware controls order, status inquiry command for collection initiation command, collection Or parameter modification order etc., other different command types can also be set according to specific demand.For example, when the control life When making to gather initiation command or gathering end order, there is the first preset format described in the data acquisition transmission instrument control No. ID corresponding sensor of the sensor carried in control command starts collection observation data or stops collection observation data;When When the control command is that parameter changes order, the data acquisition transmission instrument changes corresponding parameter according to the order.
Further, referring to Fig. 6, before step S406, methods described can also include:
Connecting test information with the first preset format is sent to the data and adopted by step S407, the networking node Collect transmission instrument.
Step S408, the networking node is sent according to the data acquisition transmission instrument whether is received in preset time The successful connection information with the first preset format, judgement be connected with whether the data acquisition transmission instrument has been set up, if not Set up and be connected with the data acquisition transmission instrument, then set up and be connected with the data acquisition transmission instrument according to handshake mechanism.
Wherein, the handshake mechanism is the conventional mode for setting up connection, and here is omitted.
Further, referring to Fig. 7, after step S406, methods described can also include:
Step S409, the networking node receives the control with the first preset format that the data acquisition transmission instrument is sent Object information processed.
Wherein, the control result information is corresponding with the control command in step S404, according to different control commands to Different control result information are fed back by data center.If for example, control command is collection initiation command, correspondence being returned and gathered Start or gather the control result information not started;If control command is status inquiry command, by data collecting instrument or sensing The status information of device is as control result feedback of the information to data center.
Step S410, the networking node is by the control result Information encapsulation with the first preset format into The control result information of two preset formats.
The control result information with the second preset format is sent to the net by step S411, the networking node Artis, so that the gateway node presets the control result Information encapsulation with the second preset format into the 3rd The control result information of form is simultaneously sent to the data center.
As a kind of embodiment, referring to Fig. 8, methods described can also include:
Step S412, what the networking node reception data acquisition transmission instrument timing was sent has the first preset format Status information.
Wherein, the status information is the data acquisition transmission instrument or the corresponding sensor of the data acquisition transmission instrument Status information, its is various informative, such as can be to represent equipment normal condition, the malfunction that whether normally run, can also For represent equipment current operating situation it is to be collected, gathering or gather and terminating, the status information is using which kind of form need Depending on the real needs of the field layout.
The status information with the first preset format is packaged into pre- with second by step S413, the networking node If the status information of form.
The status information with the second preset format is sent to the gateway section by step S414, the networking node Point, so that the status information with the second preset format is packaged into the shape with the 3rd preset format by the gateway node State information is simultaneously sent to the data center.
By transmitting above-mentioned control command, control result information, status information, realize in field inspection Transmission system Each equipment and node operation and the real-time monitoring of safe condition, can discovering device failure in time, it is to avoid long-time occur not The problem of energy gathered data, while each equipment can also be controlled to perform shirtsleeve operation.
Data transmission method provided in an embodiment of the present invention, applied to being provided with networking node, gateway node and data In the field inspection Transmission system at center.The networking node is right by receiving the observation data that data acquisition transmission instrument is sent It is sent to gateway node after being packaged using wireless self-organization network, so that after gateway node is packaged to it again Sent by public mobile communication net or LAN to data center.Further, the networking node is also by receiving gateway The control command that node is sent, and corresponding data acquisition transmission instrument is sent to after being encapsulated, so that corresponding data acquisition Transmission instrument performs corresponding operation according to control command.Further, the networking node is by receiving data acquisition transmission instrument The status information that the control result information of transmission or timing are sent, and gateway node is fed back to after being encapsulated, so that gateway section Point is back to data center after being packaged again to it.Methods described breaches conventional wireless cellular communication network due to dependence The geographic limitations that static infrastructure is present, in extreme natural environment regions such as the cold drought-hit areas of no static infrastructure, are adopted Observation data can also be transferred to gateway section in real time by the wireless self-organization network constituted with networking node and gateway node Point, then by data center of the gateway node by public mobile communication net or local network transport to distal end, realize to field inspection Data are real-time and accurately collect, transmit and handle.Further, by transmit above-mentioned control command, control result information and Status information, is realized to each equipment in field inspection Transmission system and node operation and the real-time monitoring of safe condition, Can discovering device failure in time, it is to avoid the problem of occurring being unable to gathered data for a long time, while each equipment can also be controlled to perform Every shirtsleeve operation.
Fig. 9 is a kind of structured flowchart for data transmission device 500 that second embodiment of the invention is provided, referring to Fig. 9, institute Data transmission device 500 is stated applied to the networking node 310 in field inspection Transmission system 300, the data transmission device 500 Including data reception module 501, the first package module 502 and data transmission blocks 503.
The data reception module 501, the sight with the first preset format for receiving the transmission of data acquisition transmission instrument Survey data.
First package module 502, for the observation data with the first preset format to be packaged into The observation data of two preset formats.
The data transmission blocks 503, for the observation data with the second preset format to be sent into the net Artis, so that the observation data with the second preset format are packaged into the 3rd preset format by the gateway node Observation Data Concurrent give the data center
As a kind of embodiment, described device can also include Order receiver module 504, the second package module 505 with And order sending module 506.
The Order receiver module 504, for receiving the control with the second preset format that the gateway node is sent Order.
Second package module 505, for the control command with the second preset format to be packaged into The control command of one preset format.
The order sending module 506, for the control command with the first preset format to be sent into the number According to collection transmission instrument, so that the data acquisition transmission instrument is decapsulated to the control command with the first preset format Control command therein is obtained, and corresponding operation is performed according to the control command.
Further, described device can also include test information sending module 507 and connection establishment module 508.
The test information sending module 507, for sending out the control command with the first preset format described Give before the data acquisition transmission instrument, the connecting test information with the first preset format is sent to the data acquisition Transmission instrument.
The connection establishment module 508, for being sent to the control command with the first preset format described Before the data acquisition transmission instrument, according to having of whether receiving that the data acquisition transmission instrument sends in preset time The successful connection information of first preset format, judgement be connected with whether the data acquisition transmission instrument has been set up, if not with it is described Data acquisition transmission instrument sets up connection, then is set up and be connected with the data acquisition transmission instrument according to handshake mechanism.
Further, described device can also include control result receiving module 509, control result package module 510 with And control result sending module 511.
The control result receiving module 509, for sending out the control command with the first preset format described Give after the data acquisition transmission instrument, receive the control with the first preset format that the data acquisition transmission instrument is sent Object information.
The control result package module 510, for sending out the control command with the first preset format described After giving the data acquisition transmission instrument, by the control result Information encapsulation with the first preset format into second The control result information of preset format.
The control result sending module 511, for sending out the control command with the first preset format described Give after the data acquisition transmission instrument, the control result information with the second preset format is sent to the gateway Node so that the gateway node by the control result Information encapsulation with the second preset format into the 3rd default lattice The control result information of formula is simultaneously sent to the data center.
As a kind of embodiment, described device can also include status information receiving module 512, status information Encapsulation Moulds Block 513 and status information sending module 514.
The status information receiving module 512, has first for receive that data acquisition transmission instrument timing sends The status information of preset format.
The status information package module 513, for the status information with the first preset format to be packaged into tool There is the status information of the second preset format.
The status information sending module 514, for the status information with the second preset format to be sent into institute Gateway node is stated, so that the gateway node there is the status information of the second preset format to be packaged into preset with the 3rd by described The status information of form is simultaneously sent to the data center.
Each module can be that now, above-mentioned each module can be stored in networking node 310 by software code realization above In first memory 311.Each module can equally be realized by hardware such as IC chip above.
The technique effect of the data transmission device 500 that the embodiment of the present invention is provided, its realization principle and generation and foregoing Embodiment of the method is identical, to briefly describe, and device embodiment part does not refer to part, refers to corresponding in preceding method embodiment Content.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can also pass through Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing Show according to the device of multiple embodiments of the present invention, the architectural framework in the cards of method and computer program product, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code Part a, part for the module, program segment or code is used to realize holding for defined logic function comprising one or more Row instruction.It should also be noted that in some implementations as replacement, the function of being marked in square frame can also with different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they are sometimes It can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart The combination of individual square frame and block diagram and/or the square frame in flow chart, can use the special base for performing defined function or action Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized using in the form of software function module and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need Illustrate, herein, such as first and second or the like relational terms be used merely to by an entity or operation with Another entity or operation make a distinction, and not necessarily require or imply between these entities or operation there is any this reality The relation or order on border.Moreover, term " comprising ", "comprising" or its any other variant are intended to the bag of nonexcludability Contain, so that process, method, article or equipment including a series of key elements are not only including those key elements, but also including Other key elements being not expressly set out, or also include for this process, method, article or the intrinsic key element of equipment. In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element Process, method, article or equipment in also there is other identical element.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.Therefore, protection scope of the present invention should be described It is defined by scope of the claims.It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, because This, once being defined in a certain Xiang Yi accompanying drawing, then need not carry out further definition to it in subsequent accompanying drawing and conciliate Release.

Claims (10)

1. a kind of data transmission method, it is characterised in that applied to field inspection Transmission system, the field inspection Transmission system Including networking node, gateway node and data center, the networking node uses mobile Ad hoc network with the gateway node Network is communicated, and the gateway node is communicated with the data center using public mobile communication net or LAN, described Method includes:
The networking node receives the observation data with the first preset format that data acquisition transmission instrument is sent;
The observation data with the first preset format are packaged into the observation with the second preset format by the networking node Data;
The observation data with the second preset format are sent to the gateway node by the networking node, so that the net Artis there are the observation data of the second preset format to be packaged into the observation Data Concurrent with the 3rd preset format send by described To the data center.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
The networking node receives the control command with the second preset format that the gateway node is sent;
The control command with the second preset format is packaged into the control with the first preset format by the networking node Order;
The control command with the first preset format is sent to the data acquisition transmission instrument by the networking node, so that The data acquisition transmission instrument carries out decapsulation acquisition control life therein to the control command with the first preset format Order, and corresponding operation is performed according to the control command.
3. method according to claim 2, it is characterised in that described will have the first preset format in the networking node Control command be sent to before the data acquisition transmission instrument, methods described also includes:
Connecting test information with the first preset format is sent to the data acquisition transmission instrument by the networking node;
The networking node is first pre- according to having of whether receiving that the data acquisition transmission instrument sends in preset time If the successful connection information of form, judgement is connected with whether the data acquisition transmission instrument has been set up, if not adopted with the data Collect transmission instrument and set up connection, then set up and be connected with the data acquisition transmission instrument according to handshake mechanism.
4. method according to claim 2, it is characterised in that described will have the first preset format in the networking node Control command be sent to after the data acquisition transmission instrument, methods described also includes:
The networking node receives the control result information with the first preset format that the data acquisition transmission instrument is sent;
The networking node is by the control result Information encapsulation with the first preset format into the second preset format Control result information;
The control result information with the second preset format is sent to the gateway node by the networking node, so that institute Gateway node is stated by the control result Information encapsulation with the second preset format into the control knot with the 3rd preset format Fruit information is simultaneously sent to the data center.
5. according to the method described in claim 1, it is characterised in that methods described also includes:
The networking node receives the status information with the first preset format that the data acquisition transmission instrument timing is sent;
The status information with the first preset format is packaged into the state with the second preset format by the networking node Information;
The status information with the second preset format is sent to the gateway node by the networking node, so that the net The status information with the second preset format is packaged into the status information with the 3rd preset format and transmission by artis To the data center.
6. according to the method described in claim 1, it is characterised in that the wireless self-organization network is based on IPv6 agreements.
7. according to the method described in claim 1, it is characterised in that the observation data with the first preset format, are institutes State the observation electric signal that data acquisition transmission instrument collects to sensor and carry out analog-to-digital conversion and according to first preset format What is obtained is packaged to the data after analog-to-digital conversion.
8. a kind of data transmission device, it is characterised in that applied to the networking node in field inspection Transmission system, the field Observing Transmission system includes networking node, gateway node and data center, and the networking node is used with the gateway node Wireless self-organization network is communicated, and the gateway node is entered with the data center using public mobile communication net or LAN Row communication, described device includes:
Data reception module, the observation data with the first preset format for receiving the transmission of data acquisition transmission instrument;
First package module, for the observation data with the first preset format to be packaged into the second preset format Observe data;
Data transmission blocks, for the observation data with the second preset format to be sent into the gateway node, so that The observation data with the second preset format are packaged into the observation data with the 3rd preset format by the gateway node And it is sent to the data center.
9. device according to claim 8, it is characterised in that described device also includes Order receiver module, the second encapsulation Module and order sending module,
The Order receiver module, for receiving the control command with the second preset format that the gateway node is sent;
Second package module, for the control command with the second preset format to be packaged into the first default lattice The control command of formula;
The order sending module, for the control command with the first preset format to be sent into the data acquisition biography Defeated instrument, so that the data acquisition transmission instrument carries out decapsulation acquisition wherein to the control command with the first preset format Control command, and corresponding operation is performed according to the control command.
10. device according to claim 9, it is characterised in that described device also include test information sending module and Connection establishment module,
The test information sending module, for it is described the control command with the first preset format is sent to it is described Before data acquisition transmission instrument, the connecting test information with the first preset format is sent to the data acquisition transmission instrument;
The connection establishment module, for the connecting test information with the first preset format to be sent into the data described Before gathering transmission instrument, have first to preset according to whether receive that the data acquisition transmission instrument sends in preset time The successful connection information of form, judgement be connected with whether the data acquisition transmission instrument has been set up, if not with the data acquisition Transmission instrument sets up connection, then is set up and be connected with the data acquisition transmission instrument according to handshake mechanism.
CN201710704326.6A 2017-08-16 2017-08-16 Data transmission method and device Active CN107277182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710704326.6A CN107277182B (en) 2017-08-16 2017-08-16 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710704326.6A CN107277182B (en) 2017-08-16 2017-08-16 Data transmission method and device

Publications (2)

Publication Number Publication Date
CN107277182A true CN107277182A (en) 2017-10-20
CN107277182B CN107277182B (en) 2020-10-27

Family

ID=60077408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710704326.6A Active CN107277182B (en) 2017-08-16 2017-08-16 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN107277182B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110334900A (en) * 2019-05-27 2019-10-15 北京华能新锐控制技术有限公司 Data processing method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6708107B2 (en) * 2002-04-02 2004-03-16 Lockheed Martin Corporation Real-time ad hoc traffic alert distribution
CN101867869A (en) * 2010-06-01 2010-10-20 上海海洋大学 Water mobile robot network water area monitoring pre-warning system and realization method thereof
CN102269014A (en) * 2011-08-01 2011-12-07 煤炭科学研究总院 Coal mine down-hole fire monitoring system based on wireless sensor network
CN202381120U (en) * 2011-08-01 2012-08-15 煤炭科学研究总院 Coal mine downhole fire hazard monitoring system based on wireless sensor network
CN103167632A (en) * 2011-12-13 2013-06-19 无锡国科微纳传感网科技有限公司 Oil field data transmission system and method thereof
CN103325228A (en) * 2013-06-26 2013-09-25 中国地质大学(武汉) Transient electromagnetic data acquisition system and method based on wireless sensor network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6708107B2 (en) * 2002-04-02 2004-03-16 Lockheed Martin Corporation Real-time ad hoc traffic alert distribution
CN101867869A (en) * 2010-06-01 2010-10-20 上海海洋大学 Water mobile robot network water area monitoring pre-warning system and realization method thereof
CN102269014A (en) * 2011-08-01 2011-12-07 煤炭科学研究总院 Coal mine down-hole fire monitoring system based on wireless sensor network
CN202381120U (en) * 2011-08-01 2012-08-15 煤炭科学研究总院 Coal mine downhole fire hazard monitoring system based on wireless sensor network
CN103167632A (en) * 2011-12-13 2013-06-19 无锡国科微纳传感网科技有限公司 Oil field data transmission system and method thereof
CN103325228A (en) * 2013-06-26 2013-09-25 中国地质大学(武汉) Transient electromagnetic data acquisition system and method based on wireless sensor network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110334900A (en) * 2019-05-27 2019-10-15 北京华能新锐控制技术有限公司 Data processing method
CN110334900B (en) * 2019-05-27 2023-08-15 北京华能新锐控制技术有限公司 Data processing method

Also Published As

Publication number Publication date
CN107277182B (en) 2020-10-27

Similar Documents

Publication Publication Date Title
CN105843147B (en) A kind of wisdom Agricultural Monitoring management system
CN201556283U (en) Remote acquisition system structural frame for farmland on-site information
CN101471899A (en) Network data access method, access gateway and system capable of supporting sensor
CN107277155A (en) A kind of remote monitoring crop growth environment platform and its implementation
CN102186228A (en) Wireless multimedia sensor network-based system and method for monitoring information of livestock and poultry facility welfare breeding environment
CN101442556A (en) Wireless sensor network server system based on IPv6
Agarwal et al. Analysis of environmental factors for smart farming: An internet of things based approach
CN101399734A (en) Farm land soil information collecting system and method
CN202663556U (en) Wireless real-time greenhouse supervision and management system based on Zigbee technology
CN102932964A (en) Internet of Things gateway for perceiving wild environment and data transmission method thereof
CN104157120A (en) WSN information perception system and method for industrial equipment and environment monitor
CN203057531U (en) Multiple gateway transmission system based on ZigBee network
CN203632701U (en) Smart city Internet of Things system based on street lamps
CN102098324A (en) Intelligent agricultural information analysis system supporting multiple protocols and agricultural environment control method
CN107666520A (en) A kind of distributed data acquisition system and method for multirobot
CN104955173A (en) ZIGBEE wireless networking method
Xu et al. Wireless sensors in farmland environmental monitoring
CN210298098U (en) Industrial embedded gateway, system and communication equipment based on Bluetooth Mesh
CN112954727B (en) Tunnel wireless sensor network communication method and system
CN107492244A (en) A kind of farm environment monitoring system based on wireless sensor network
CN107277182A (en) A kind of data transmission method and device
CN202121610U (en) Livestock and poultry facility welfare cultivation environment information monitoring system based on wireless multimedia sensor network
Halder et al. Performance analysis of CoAP, 6LoWPAN and RPL routing protocols of IoT using COOJA simulator
CN203561382U (en) An urban forest health care monitoring system based on a WSN
CN107945476A (en) A kind of general microenvironment monitor and its monitoring method

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